Private
Public Access
feat(directives): add rule-statement header to 49-56 of 66 v1.md files
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user