Require regular and adversarial slice tests

This commit is contained in:
slhx agent
2026-06-21 01:32:29 +02:00
parent 2d70b9fe0d
commit b69af3c464
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -27,6 +27,8 @@ redgate lint
redgate health
```
Every implementation slice needs carry-their-weight tests: regular tests that prove the intended payoff works, plus adversarial tests for realistic failure, boundary, or regression cases. Prefer protocol/headless/replay/fixture tests over brittle UI snapshots unless rendering behavior is the claim. See req: testing/001 through req: testing/004.
No implementation build/test command exists yet. When the Zig project is created, record the canonical build/test command here.
## Work tracking
+7
View File
@@ -33,6 +33,13 @@ Rows are redgate TSV requirements: `ring<TAB>id<TAB>summary [tag]`.
1 001 File search SHALL respect gitignore rules by default and provide an include-ignored path. [files]
1 002 Git support SHALL use explicit local git commands and avoid hidden mutating operations. [git]
## testing
0 001 Every product slice SHALL include regular carry-their-weight verification that proves the intended payoff works. [test]
0 002 Every product slice SHALL include adversarial carry-their-weight verification for realistic failure, boundary, or regression cases. [test]
1 003 Protocol, headless session, replay, and fixture tests SHALL be preferred over brittle UI snapshots unless rendering behavior is the claim. [test]
1 004 Test/support code SHALL not introduce runtime config, plugin, installer, telemetry, or product surfaces. [test]
## governance
0 001 Defaults SHALL be changed by patching source and rebuilding, not by runtime config files. [suckless]