feat(directives): add rule-statement header to 49-56 of 66 v1.md files

This commit is contained in:
ed
2026-07-03 09:45:49 -04:00
parent 8cf4b57a74
commit 17e3a37b41
8 changed files with 16 additions and 0 deletions
@@ -1,3 +1,5 @@
# Tests must be written before implementation — write failing tests, see them fail (Red), implement, see pass (Green)
4. **Write Failing Tests (Red Phase):**
- **Pre-Delegation Checkpoint:** Before spawning a worker for dangerous or non-trivial changes, ensure your current progress is staged (`git add .`) or committed. This prevents losing iterations if a sub-agent incorrectly uses `git restore`.
- **Zero-Assertion Ban:** You MUST NOT write tests that contain only `pass` or lack meaningful assertions. A test is only valid if it contains assertions that explicitly test the behavioral change and verify the failure condition.