Defect
The Debtfile probe for gate-scripts-without-tests treats a script as tested only if one of these files exists: scripts/tests/<b>-test.sh, <b#check->-test.sh or <b#run->-test.sh.
scripts/tests/actions-policy-486-test.sh already tests three scripts: check-actions-policy.sh, set-allowed-actions.sh and rsr-selfaudit.sh. Its name matches none of the three patterns, so the probe counts all three as untested. The committed count is therefore inflated by up to 3. A number the ratchet enforces should measure the truth.
Acceptance criteria
Found while writing #1078.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WPSJ7fBhVAMcpSffCBWUDo
Defect
The Debtfile probe for
gate-scripts-without-teststreats a script as tested only if one of these files exists:scripts/tests/<b>-test.sh,<b#check->-test.shor<b#run->-test.sh.scripts/tests/actions-policy-486-test.shalready tests three scripts:check-actions-policy.sh,set-allowed-actions.shandrsr-selfaudit.sh. Its name matches none of the three patterns, so the probe counts all three as untested. The committed count is therefore inflated by up to 3. A number the ratchet enforces should measure the truth.Acceptance criteria
SCRIPT=/CHECK=/SET=assignment.actions-policy-486-test.sh, and the count must rise.Found while writing #1078.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WPSJ7fBhVAMcpSffCBWUDo