You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(ai): Code Tester restores COVERAGE.md when the coverage ratchet fails #1272
The AI Coverage decision procedure (P4 in ai/global/coverage-ratchet.instructions.md) says to run git -C <repodir> restore COVERAGE.md when the coverage ratchet fails, but names no role for it. The procedure is driven by the Orchestrator, and the Orchestrator never edits files, so the step has no owner and the failed round's figures can stay in the working tree.
Owner decision
Mark decided that Code Tester, the role that runs the measurement, restores COVERAGE.md when the ratchet fails.
Change
coverage-ratchet.instructions.md P4: on failure, have Code Tester run git -C <repodir> restore COVERAGE.md, then go to P6.
agent-roles.instructions.md Code Tester: its existing restore duty covers a failed ratchet as well as coverage runs outside the AI Coverage phase, in one bullet.
Acceptance
P4's failure branch names Code Tester as the role that restores COVERAGE.md.
Code Tester's duty list includes restoring COVERAGE.md when the ratchet fails, without a duplicate rule.
No instruction text has the Orchestrator run the restore.
Activity