Running-example consistency: paths, tasks.json, command collisions (#7,#10,#11) (#57)
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #57.
This commit is contained in:
@@ -273,7 +273,10 @@ thing you're waiting on.
|
||||
three. Browser-only still works; treat each worktree as a separate copy-paste context, but you'll
|
||||
feel the coordination cost more sharply (which is fine — that's the lesson).
|
||||
- The starter files in this module's `lab/` folder: `orchestration-plan.md`, `fan-out.sh`,
|
||||
`status.sh`, `cleanup.sh`, and three prompts under `lab/agent-prompts/`.
|
||||
`status.sh`, `cleanup.sh`, and three prompts under `lab/agent-prompts/`. As established back in
|
||||
Module 4, the course's lab scripts live in the course repo while `tasks-app` is a separate folder —
|
||||
so **copy the scripts into `tasks-app` and run them by name** (`bash fan-out.sh`), using your real
|
||||
course path in place of `/path/to/`.
|
||||
|
||||
### Part A — Plan the split before you launch anything (this is the lab)
|
||||
|
||||
@@ -294,10 +297,11 @@ thing you're waiting on.
|
||||
|
||||
### Part B — Fan out
|
||||
|
||||
3. From inside `tasks-app`, create a worktree per issue:
|
||||
3. From inside `tasks-app`, copy this module's lab scripts in and create a worktree per issue:
|
||||
|
||||
```bash
|
||||
bash modules/26-orchestrating-multiple-agents/lab/fan-out.sh
|
||||
cp /path/to/modules/26-orchestrating-multiple-agents/lab/*.sh . # fan-out.sh, status.sh, cleanup.sh
|
||||
bash fan-out.sh
|
||||
```
|
||||
|
||||
It runs, in effect:
|
||||
@@ -318,10 +322,11 @@ thing you're waiting on.
|
||||
- `tasks-app-43-docs` ← `lab/agent-prompts/agent-43-docs.md`
|
||||
- `tasks-app-44-clear` ← `lab/agent-prompts/agent-44-clear.md`
|
||||
|
||||
While they run, watch the fleet from a fourth terminal:
|
||||
While they run, watch the fleet from a fourth terminal (run from inside `tasks-app`, where you
|
||||
copied the scripts in step 3):
|
||||
|
||||
```bash
|
||||
bash modules/26-orchestrating-multiple-agents/lab/status.sh
|
||||
bash status.sh
|
||||
```
|
||||
|
||||
It prints each worktree, its branch, and how many commits/changes are in flight — your fleet
|
||||
@@ -369,7 +374,12 @@ thing you're waiting on.
|
||||
git add cli.py && git commit
|
||||
```
|
||||
|
||||
9. Close the issues (Module 11 closes them automatically if the PRs referenced them).
|
||||
9. Close the issues (Module 11 closes them automatically if the PRs referenced them). Then tear the
|
||||
fleet down (from inside `tasks-app`):
|
||||
|
||||
```bash
|
||||
bash cleanup.sh
|
||||
```
|
||||
|
||||
### Part D — Score the orchestration honestly
|
||||
|
||||
|
||||
Reference in New Issue
Block a user