Fix Module 7 Part C: don't run the new clear/count commands 'while the agents run' — they don't exist yet #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Part C step 3 tells the learner to prove isolation by running
python cli.py clearandpython cli.py countfrom a third terminal "while [the agents] run" — but those are the very commands the two agents are still authoring. They don't exist until each agent finishes, so running them during the work prints "unknown command" instead of the intended demonstration. Isolation is further undercut because a fresh worktree starts with notasks.json(gitignored runtime state), so both apps are empty and the "they don't even share data" claim is never actually shown.Evidence
modules/07-worktrees-running-agents-in-parallel/README.md(~lines 272-281): "Let both work at the same time. While they run, prove the isolation from a third terminal:" followed bypython cli.py clear/python cli.py count.Starter
cli.pyships onlyadd/list/doneand printsunknown command: {command}; clear/count are added by the agent prompt files. The README itself callstasks.jsongitignored runtime state.Why it matters
The climactic proof-of-isolation moment can print "unknown command" before the agent writes the command — fragile at the exact payoff, and the data-isolation claim is never demonstrated.
Proposed change
Demonstrate isolation DURING the run with commands that already exist plus distinct data:
python cli.py add "from worktree A"vs…B) andpython cli.py list, showing each worktree'stasks.jsonis independent.Acceptance criteria
tasks.jsonper worktree (distinct data).Affected files
modules/07-worktrees-running-agents-in-parallel/README.mdReferences
Source finding F20 (realVotes 3/3).
Filed from an adversarial multi-agent course review (217 raw findings → 54 adversarially-verified survivors). Scoped for manual review; intentionally not auto-assigned to an agent.