Standardize how later labs reference modules/NN/lab/... scripts from inside the standalone tasks-app folder
#7
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
Module 1 creates
tasks-appas a standalone folder at~/workflow-course/tasks-appcontaining only three files; the course'smodules/tree is elsewhere (the unzipped course repo). Yet several later labs run scripts by paths that only resolve inside the course repo, while working "from inside tasks-app":bash lab/verify.sh(there is nolab/in tasks-app).bash modules/06-.../lab/make-conflict.sh.bash modules/07-.../lab/setup-worktrees.sh(its own header says "Run this from INSIDE your tasks-app repo").bash modules/26-.../lab/fan-out.sh.Each fails with "No such file or directory". The course never establishes the directory relationship. M1/M5/M25 handle this correctly (copy the file in, or use a
/path/toplaceholder); these modules don't.Evidence
modules/04-.../README.md~line 328bash lab/verify.sh;modules/06-.../README.md~line 424;modules/07-.../lab/setup-worktrees.shheader lines 4-6;modules/26-.../README.md~line 300.tasks-appis created at M1 README lines 144-149 with onlytasks.py cli.py README.md.Why it matters
These are load-bearing lab steps (M4's
verify.shis the done-check proving the AI change works). Literal commands fail across four modules. The locked exemplars are precise about paths; the course needs one stated convention.Proposed change
Pick the M5/M25 copy-the-script-in convention and apply it everywhere:
modules/NN/lab/and must be copied intotasks-appbefore running.tasks-appand runbash <script>.sh(or use an explicit/path/to/modules/...placeholder as M5 does).verify.shinto tasks-app, then runbash verify.sh(the script already self-locatescli.py).Do NOT adopt the "create tasks-app inside the course repo" option: relative
modules/...from inside tasks-app still wouldn't resolve, tasks-app isgit init'd so nesting creates a repo-in-a-repo, and sibling worktrees (../tasks-app-count) would land inside the course repo.Acceptance criteria
modules/NN/lab/scripts.tasks-app.setup-worktrees.shheader matches the chosen convention.Affected files
modules/04-.../README.md,modules/06-.../README.md,modules/07-.../README.md,modules/07-.../lab/setup-worktrees.sh,modules/26-.../README.mdReferences
Source finding F6 (realVotes 3/3). Interacts with F1 (M4
verify.sh).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.