Expand description
The test ratchet (CONTEXT.md §10, §12).
Refuses any diff that weakens or deletes tests. An agent under pressure to make a suite pass can “win” by deleting the failing test; the ratchet blocks that move so progress is real, not gamed.
Structs§
- Ratchet
Verdict - The verdict of a ratchet check.
Functions§
- check_
diff - Inspect a unified diff and block it if it removes test code without adding equivalent test code back.