Skip to content

dupe-ledger: bless log_frame copied by particle_engine (Closes #10315) - #10316

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

gHashTag merged 1 commit into
masterfrom
fix/dupe-bless-log-frame

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #10315

duplicate-bodies is red on master at 4414941: a body written under log_frame is now copied [2] time(s) and was in no ledger.

This PR adds one line to tools/duplicate_bodies_baseline.txt: log_frame 2.

Measured (Railway lab, master 4414941)

  • python3 tools/dupe_scan.py exits 1 with the error above.
  • --bless changes only this line. The sha256 of the committed file (8f2300b5) matches the lab's output.

Not hand-edited.

Not in scope

Merging the two log_frame bodies into one shared helper. That is a separate change for the specs' owners.

🤖 Generated with Claude Code

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>
@gHashTag
gHashTag enabled auto-merge (squash) October 18, 2026 08:35
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-18 08:35:50 UTC

Summary

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

These columns do not partition: 0 + 49 + 0 + 0 = 49, 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 added a commit that referenced this pull request Oct 18, 2026
put_str, digit_byte, put_count, buf_has, str_eq and has_prefix lived as
copies in gates, sarif, suggest, service, preview and sarif_pins. They now
live in specs/claw/text.t27 and every importer says `use claw::text;`. The
sarif.t27 comment claiming the copies exist because the file must lower alone
was wrong: use_resolve splices the imported helpers in before gen-c runs.

preview.t27 swaps its `use claw::recipes;` for `use claw::text;`: it needs a
single use, since recipes::str_eq and text::str_eq are reported ambiguous
together and the qualified references stop resolving. Its tests compare
strings with == instead.

Measured on the Railway lab: test-report passes on text, gates, sarif,
sarif_pins, suggest, service, preview, github_surface and recipes; the
gate-topology claw audit still builds from gen/c/claw/gates.c and reports a
current matrix; check_seal_currency reports 0 stale.

gen/c/claw/gates.c is regenerated and the ClawGates, ClawGatesPins and
ClawService seals re-saved in this commit. The dupe ledger moves down in the
same commit (bytes_eq 3 -> 2; buf_has, digit_byte, has_prefix, put_count,
put_str, str_eq removed). log_frame, which master's ledger lacks since
particle_engine, is left to #10316.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag merged commit 34a4316 into master Oct 18, 2026
26 checks passed
gHashTag added a commit that referenced this pull request Oct 18, 2026
…) (#10318)

put_str, digit_byte, put_count, buf_has, str_eq and has_prefix lived as
copies in gates, sarif, suggest, service, preview and sarif_pins. They now
live in specs/claw/text.t27 and every importer says `use claw::text;`. The
sarif.t27 comment claiming the copies exist because the file must lower alone
was wrong: use_resolve splices the imported helpers in before gen-c runs.

preview.t27 swaps its `use claw::recipes;` for `use claw::text;`: it needs a
single use, since recipes::str_eq and text::str_eq are reported ambiguous
together and the qualified references stop resolving. Its tests compare
strings with == instead.

Measured on the Railway lab: test-report passes on text, gates, sarif,
sarif_pins, suggest, service, preview, github_surface and recipes; the
gate-topology claw audit still builds from gen/c/claw/gates.c and reports a
current matrix; check_seal_currency reports 0 stale.

gen/c/claw/gates.c is regenerated and the ClawGates, ClawGatesPins and
ClawService seals re-saved in this commit. The dupe ledger moves down in the
same commit (bytes_eq 3 -> 2; buf_has, digit_byte, has_prefix, put_count,
put_str, str_eq removed). log_frame, which master's ledger lacks since
particle_engine, is left to #10316.

Co-authored-by: Claude Sonnet 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.

dupe-ledger: bless log_frame copied by particle_engine (#10310) after #10312

1 participant