Add a dependency-install step before Module 23's 'green test baseline' on a fresh clone #22
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 6 says to "run the existing tests first to establish a green baseline" on an arbitrary fresh clone, but the lab never installs that repo's dependencies (
pip install -e .,npm install,go mod download, …). A fresh clone usually fails with import/missing-runner errors, and the learner can't distinguish a genuine red baseline from an unconfigured environment. The safe-change skill even says "don't let a pre-existing failure get blamed on you," nudging them past what's really a setup failure. The lab also invites non-Python repos, but Module 13 taught only stdlibunittest, so a Go/JS pick needs an untaught, uninstalled toolchain (and even a Python pick needs an install M13 didn't cover).Evidence
modules/23-working-with-existing-codebases/README.md, Part C step 6: "Run the existing tests first to establish a green baseline (pytest, npm test, go test ./… — whatever ORIENT.md and the README confirmed)." "You'll need" only says pick a repo with "a green test suite," no install step.lab/skills/safe-change.mdstep 3: "don't let a pre-existing failure get blamed on you."Why it matters
A fresh clone often won't run green without install, undermining the exact concept the module teaches (establish a trustworthy baseline before changing unfamiliar code).
Proposed change
pip install -e .,npm install,go mod download; if it still won't run green on a clean clone, pick another repo."safe-change.mdstep 3 to distinguish a setup/import failure from a genuine pre-existing red.Acceptance criteria
Affected files
modules/23-working-with-existing-codebases/README.md,modules/23-working-with-existing-codebases/lab/skills/safe-change.mdReferences
Source finding F36 (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.