Repository navigation
test(claw): pin push_gate's reason-7 clamp boundary (#10746) - #10748
Merged
Merged
Conversation
The mutation sweep of push_gate.t27 caught 5 of 6 mutants. The survivor, k >= R_COUNT changed to k > R_COUNT, let reason 7 index the 7-entry tables out of range. One test now writes reason 7 and expects the hold line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 19, 2026 01:12
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The mutation sweep of
specs/claw/push_gate.t27caught 5 of 6 mutants. The one that survived wask >= R_COUNTchanged tok > R_COUNTinpush_line. The existing out-of-range test used reason 42, which both versions clamp. This PR adds one test,the_first_reason_past_the_tables_writes_the_hold_line, which callspush_line(7, ...)and expects the 31-byte hold line. The production code is unchanged.Seals
claw_ClawPushGate. It is the only seal that recordspush_gate.t27.push_gatehas no committedgen/cfile.Verification (Railway lab, master 2ee0cb6; #10745 since then touches none of these dependencies)
test-report: 15 of 15 tests pass, with 0 vacuous passes.index out of bounds at line 93 (index of [7]u8). The sweep is now 6 of 6.seal --verify: 32 of 32 overspecs/claw/*.t27andspecs/verified/gen_file_check.t27.python3 tools/dupe_scan.py: "no new duplicate body".specs/claw/spec: 2 entries, both int27f_frame_cacheand both already listed in seal --verify never checks dependency hashes; 21 claw seals record stale ones #10727 (claw/sarif,claw/text). None comes from this PR.Closes #10746.
🤖 Generated with Claude Code