Skip to content

dupe-ledger: bless the claw helper copies from #10283/#10286/#10287/#10288 (Closes #10311) - #10312

Merged
gHashTag merged 1 commit into
masterfrom
fix/dupe-bless-claw-10288
Oct 18, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/dupe-bless-claw-10288

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #10311

duplicate-bodies is red on master (238b6a9) and on every open PR, including the #10024 epic PR #10275. The claw specs from #10283, #10286, #10287 and #10288 copied helpers without moving the ledger.

What moved in tools/duplicate_bodies_baseline.txt

group copies where why it stays
buf_has, digit_byte, put_count, put_str 2 claw/gates.t27, claw/sarif.t27 (#10288) deliberate: the sarif.t27 header says the writers are private in gates.t27 and sarif.t27 must lower alone under gen-c
bytes_eq 2 -> 3 same in claw/sarif_pins.t27 (#10288) test-only pins companion, compares by .len, never passed to gen-c
str_eq 2 claw/gates.t27, claw/suggest.t27 (#10286) same lower-alone constraint
has_prefix 2 claw/service.t27 (#10283), starts_with in claw/preview.t27 (#10287) same; sharing into one claw helper module is a follow-up

Measured

On the Railway lab, master 238b6a9:

  • python3 tools/dupe_scan.py: exit 1 with these seven errors;
  • --bless: changed only this file (+7 -1);
  • the gate again: exit 0;
  • sha256 b14e1a56...cc39, identical to the file in this commit.

Nothing is hand-edited.

🤖 Generated with Claude Code

…10288 (Closes #10311)

duplicate-bodies has been red on master since the claw specs landed
without moving the ledger. Each new group and why it stays for now:

- buf_has, digit_byte, put_count, put_str (gates.t27 + sarif.t27,
  #10288): deliberate. sarif.t27 says so in its header: the writers are
  private in gates.t27 and sarif.t27 must lower alone under gen-c.
- bytes_eq 2 -> 3 (`same` in sarif_pins.t27, #10288): the test-only
  pins companion compares strings by .len, which gen-c cannot lower.
- str_eq (gates.t27 + suggest.t27, #10286) and has_prefix
  (service.t27 #10283, starts_with in preview.t27 #10287): same
  lower-alone constraint; sharing them into one claw helper module is
  a follow-up, not this commit.

The ledger is `python3 tools/dupe_scan.py --bless` output on master
238b6a9, run on the Railway lab; the gate exits 0 after it. Not
hand-edited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag enabled auto-merge (squash) October 18, 2026 08:17
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-18 08:18:36 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 48
PRs with All Checks Green 2
READY 0
FAILING 48
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 48 + 0 + 0 = 48, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=0f8c66b9ed0e != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit 4414941 into master Oct 18, 2026
26 checks passed
gHashTag added a commit that referenced this pull request Oct 18, 2026
#10316)

master's duplicate-bodies check fails at 4414941: "a body written
under log_frame is now copied [2] time(s) and was in no ledger".
#10310 added specs/t27f/particle_engine.t27, whose log_frame has the same
body as specs/t27f/particle_field.t27's. #10312 blessed the ledger before
#10310 merged, so the copy was in no ledger.

The one new line, `log_frame 2`, is `python3 tools/dupe_scan.py --bless`
output, run on the Railway lab at master 4414941. The file's sha256 here
(8f2300b5) matches the lab's. No other group changed: 188 groups and 662
bodies, as before.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

duplicate-bodies red on master: ledger the claw helper copies from #10283/#10286/#10287/#10288

1 participant