Skip to content

Commit 487f9e9

Browse files
committed
Addressing feedback and issue with app not running in codespace
1 parent 34f98d9 commit 487f9e9

9 files changed

Lines changed: 39 additions & 61 deletions

File tree

.github/prompts/setup.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Your goal is to successfully build and run the workspace as local development en
1010
- [ ] Required dependencies (Python 3.13+, uv) installed and verified
1111
- [ ] Dependencies synced (`uv sync`)
1212
- [ ] Tests passing (`uv run pytest`)
13-
- [ ] Dev server running (`uv run uvicorn app.main:app --reload --port 8000`)
13+
- [ ] Dev server running (`uv run uvicorn app.main:app --reload --host 0.0.0.0 --port 8000`)
1414
- [ ] Site opened in external browser (use `$BROWSER` or instruct the user to open http://localhost:8000)
1515
- [ ] Short engaging welcome tour for the workspace
1616

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"label": "python: run",
66
"type": "shell",
7-
"command": "uv run uvicorn app.main:app --reload --port 8000",
7+
"command": "uv run uvicorn app.main:app --reload --host 0.0.0.0 --port 8000",
88
"isBackground": true,
99
"problemMatcher": {
1010
"pattern": {

README.md

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,6 @@ Social Bingo game for in-person mixers. Find people who match the questions and
2020
2121
---
2222

23-
## Prerequisites
23+
## 🚀 Getting Started
2424

25-
- [Python 3.13](https://www.python.org/downloads/) or higher
26-
- [uv](https://docs.astral.sh/uv/) package manager
27-
28-
## Setup
29-
30-
```bash
31-
uv sync
32-
```
33-
34-
### Devcontainer / Codespaces
35-
36-
This repository includes a preconfigured devcontainer at `.devcontainer/devcontainer.json`.
37-
38-
- **Local VS Code**: Reopen the repo in container when prompted
39-
- **GitHub Codespaces**: In your own repository created from this template, click **Code****Codespaces****Create codespace on main**
40-
41-
## Run
42-
43-
```bash
44-
uv run uvicorn app.main:app --reload
45-
```
46-
47-
Then open http://localhost:8000 in your browser.
48-
49-
## Test
50-
51-
```bash
52-
uv run pytest
53-
```
54-
55-
## Lint
56-
57-
```bash
58-
uv run ruff check .
59-
uv run ruff format .
60-
```
61-
62-
Deploys automatically to GitHub Pages on push to `main`.
25+
Head to **[Part 00: Overview](workshop/00-overview.md)** for prerequisites and setup instructions.

app/templates/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<meta name="theme-color" content="#2563eb">
77
<meta name="description" content="Social Bingo - Find people who match the questions!">
88
<title>Soc Ops - Social Bingo</title>
9-
<link rel="stylesheet" href="{{ url_for('static', path='css/app.css') }}">
10-
<link rel="icon" type="image/png" href="{{ url_for('static', path='favicon.png') }}">
11-
<script src="{{ url_for('static', path='js/htmx.min.js') }}"></script>
9+
<link rel="stylesheet" href="/static/css/app.css">
10+
<link rel="icon" type="image/png" href="/static/favicon.png">
11+
<script src="/static/js/htmx.min.js"></script>
1212
</head>
1313
<body>
1414
<div id="app">

workshop/00-overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Welcome to Soc Ops — a hands-on workshop where you'll transform a simple Socia
1717
Before you begin, verify:
1818

1919
- [ ] VS Code **v1.107+** (no pending updates)
20-
- [ ] Signed in with **GitHub Copilot** (Pro, Business, or Enterprise)
20+
- [ ] Signed in with **GitHub Copilot** (Free, Pro, Business, or Enterprise)
21+
22+
> ⚠️ **Free-tier users:** Cloud Agents are not available on free-tier Copilot plans. The workshop provides alternative instructions wherever Cloud Agents are used.
2123
- [ ] Git installed
2224
- [ ] Python 3.13 & uv installed
2325
- [ ] Chat panel open and Agent ready

workshop/01-setup.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ The agent will:
5151
- Install any missing dependencies
5252
- Start the development server
5353

54+
> ⚠️ **Codespace in the browser:** If you're running the app inside a GitHub Codespace via the browser (not VS Code Desktop), styles and interactions (e.g. the Start Game button) may not work correctly due to private port authentication. To fix this, either:
55+
> 1. In the **Ports** panel (bottom bar), right-click port `8000`**Port Visibility****Public**
56+
> 2. Or open the Codespace in **VS Code Desktop** instead (click the hamburger menu ``**Open in VS Code Desktop**)
57+
5458
**Success:** App is running in your browser!
5559

5660
---
@@ -65,7 +69,7 @@ Instructions guide all agentic interactions, making them efficient and reliable.
6569

6670
**Steps:**
6771

68-
1. Run command: `Chat: Generate Workspace Instructions File`
72+
1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`) and run: `Chat: Generate Agent Instructions`
6973
2. Wait for the agent to analyze your codebase
7074
3. Review the generated instructions (probably too detailed!)
7175
4. Follow up with:
@@ -99,6 +103,8 @@ Copilot CLI sessions run in isolated git worktrees, which is perfect for tasks t
99103

100104
**Start a Cloud Agent session:**
101105

106+
> ⚠️ **Free-tier Copilot users:** Cloud Agents require a **Copilot Pro, Business, or Enterprise** subscription. If you're on the free tier you will see a 403 Forbidden error. **Alternative:** Open a second **Copilot CLI session** instead and give it the same prompt below.
107+
102108
1. Click the **New Session dropdown** (`+`) and select **New Chat Session**
103109
2. In the **session type dropdown** at the bottom of the chat input (shows `Local`), select **Cloud**
104110
3. Enter:

workshop/02-design.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ Use the **Plan agent** to start any bigger work item. Iterate on the plan (2+ ti
1717
### Steps
1818

1919
1. Click the **New Session dropdown** (`+`) and select **Plan**
20-
2. Enter your vision:
20+
2. Make sure the **session type dropdown** at the bottom of the chat input shows **Local** (if your previous session was Cloud, switch it back)
21+
3. Enter your vision:
2122
```
2223
Let's do a full redesign. Make it [YOUR THEME]
2324
```
24-
3. Review the generated plan
25-
4. Ask for adjustments until you're happy
26-
5. Click **Start Implementation** to execute
25+
4. Review the generated plan
26+
5. Ask for adjustments until you're happy
27+
6. Click **Start Implementation** to execute
2728

2829
### 🎭 Theme Ideas
2930

@@ -61,6 +62,8 @@ When you make major architecture, design, or dependency changes, update your ins
6162

6263
## 🚀 Task 3: Scale Exploration with Cloud Agents
6364

65+
> ⚠️ **Free-tier Copilot users:** Cloud Agents require a **Copilot Pro, Business, or Enterprise** subscription. If you're on the free tier you will see a 403 Forbidden error. **Alternative:** Use **Autopilot** mode or a local **Plan** session to explore one design variation at a time.
66+
6467
Generate multiple design variations in parallel using cloud agents.
6568

6669
### Steps

workshop/03-quiz-master.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ Custom agents are defined in `.github/agents/` and provide:
2525

2626
### Steps
2727

28-
1. Start a **new Chat**
29-
2. Select **Quiz Master** as the custom agent (from the agent picker)
30-
3. Enter your theme:
28+
1. Start a **new Chat** (click the **New Session dropdown** `+`**New Chat Session**)
29+
2. Make sure the **session type dropdown** at the bottom of the chat input shows **Local**
30+
3. Expand the **Copilot Modes dropdown** (top of the chat panel, next to the model picker) — you'll see a list of custom agents below the built-in modes (Ask, Agent, Plan). Select **Quiz Master**
31+
4. Enter your theme:
3132
```
3233
Update questions to [YOUR THEME]
3334
```
@@ -36,11 +37,12 @@ Custom agents are defined in `.github/agents/` and provide:
3637
Update quiz
3738
```
3839

39-
4. Review the generated questions
40-
5. Follow up for more creativity:
40+
5. Review the generated questions
41+
6. Follow up for more creativity:
4142
```
4243
Make them more chaotic and unexpected!
4344
```
45+
7. When you're happy with the result, **commit** the updated questions
4446

4547
### 🎭 Theme Ideas
4648

@@ -67,6 +69,8 @@ Custom agents are defined in `.github/agents/` and provide:
6769

6870
## ☁️ Task: Cloud Quiz Generation
6971

72+
> ⚠️ **Free-tier Copilot users:** Cloud Agents require a **Copilot Pro, Business, or Enterprise** subscription. If you're on the free tier, skip this task or use a **Local** session with the Quiz Master agent instead.
73+
7074
Run the quiz master as a cloud agent for async generation.
7175

7276
### Steps

workshop/04-multi-agent.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,30 @@ A new **Scavenger Hunt** mode:
3737
- ✅ Creates a new component for the list view
3838
- ✅ Includes a progress indicator
3939
- ❌ Doesn't go overboard with features
40+
4. Once you're satisfied with the plan, click **Start Implementation** to execute it
4041

4142
#### Phase 2: TDD Red (Write Failing Tests)
4243

43-
1. Select **TDD Red** agent
44-
2. Click **Start**
45-
3. Watch as it writes tests for:
44+
1. In the same session, open the **Copilot Modes dropdown** (top of the chat panel) and select the **TDD Red** agent — this hands off the conversation context to the new agent
45+
2. The agent will begin writing failing tests. Watch as it writes tests for:
4646
- Component rendering
4747
- Checkbox interactions
4848
- Progress calculation
4949
- State management
5050

51-
4. Check VS Code's **Test Explorer** to see the failing tests
51+
3. Check VS Code's **Test Explorer** to see the failing tests
5252

5353
#### Phase 3: TDD Green (Make Tests Pass)
5454

55-
1. When Red is done, select **TDD Green** agent
55+
1. When Red is done, switch to the **TDD Green** agent using the **Copilot Modes dropdown**
5656
2. Watch as it:
5757
- Implements the minimum code to pass tests
5858
- Runs tests after each change
5959
- Iterates until all tests pass
6060

6161
#### Phase 4: Refactor (Clean Up)
6262

63-
1. Select **TDD Refactor** agent
63+
1. Switch to the **TDD Refactor** agent using the **Copilot Modes dropdown**
6464
2. Let it clean up the code while keeping tests green
6565

6666
### Checkpoint Recovery

0 commit comments

Comments
 (0)