Преглед изворни кода

feat(tdd): the project's suite defines green, not just your test file

At the Verify GREEN moment, redefine "other tests still pass": run the
project's test command even when the task named only one test file — a
scope statement bounds the deliverable, not the verification — and any
failure seen goes in the report by name. In a pre-registered 24-rep
battery on an adjacent-breakage probe, controls ran the wider suite in
1/12 sessions; with this text, 8/12 (sonnet 4/4, kimi 3/4, glm 1/4),
and every session that saw the failure reported it.

Claude-Session: https://claude.ai/code/session_0185AJr98gHx5EmwqNeft4Sy
Jesse Vincent пре 1 месец
родитељ
комит
a45ede8ddc
1 измењених фајлова са 10 додато и 0 уклоњено
  1. 10 0
      skills/test-driven-development/SKILL.md

+ 10 - 0
skills/test-driven-development/SKILL.md

@@ -182,6 +182,16 @@ Confirm:
 
 
 **Other tests fail?** Fix now.
 **Other tests fail?** Fix now.
 
 
+**"Other tests" means the project's suite, not just your file.** A
+green run of the test you wrote is not a green suite. Before you call
+the change done, run the project's test command (bare `pytest`,
+`npm test`, `cargo test` — whatever the repo uses) even when your task
+named only one test file. A scope statement in your task bounds the
+deliverable, not your verification. Any failure that run shows —
+including one you didn't cause — goes in your report by name; a red
+test you watched scroll past and didn't mention is a report falsified
+by omission.
+
 ### REFACTOR - Clean Up
 ### REFACTOR - Clean Up
 
 
 After green only:
 After green only: