test(access): prove the exit codes deploy's CI keys on #654
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!654
Loading…
Reference in a new issue
No description provided.
Delete branch "test/the-access-check-exit-codes-claude"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #653
The gate from #628 printed failures and exited, and nothing asserted which code. Deploy's CI reads the exit status, not the text — so a run that reports a bad policy on stderr and exits 0 is worse than no gate at all, which is the exact failure #628 exists to prevent.
mainnow returns fromruninstead of callingos.Exitinside the loop. That is the smallest change that makes the codes assertable.Four cases
Both mutations run
None pass for a reason unrelated to the code they assert.
Why the issue exists alongside this
While mutation-testing I checked results with
grep -c "\-\-\- FAIL"and got 0, and read it as "mutation not caught". The package was not compiling — a refactor had been reverted while the test file still referenced the new function. A compile error is not a--- FAILline, so the grep could not see the worst outcome and reported it as the best one.I nearly went looking for a weakness in a test that was fine. That is #592's shape again — zero failures and zero-because-nothing-ran are the same output — and it is recorded rather than remembered as a private slip.
ward exec gategreen.