Skip to content

tools: ledger the three LinkSection constructor copies (Refs #7490) - #7864

Merged
gHashTag merged 1 commit into
masterfrom
claude/night-dupe-linksection
Oct 8, 2026
Merged

gHashTag merged 1 commit into
masterfrom
claude/night-dupe-linksection

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 8, 2026

Copy link
Copy Markdown
Owner

What

Duplicate Body Ratchet is red on master (16:45Z / 16:57Z / 17:10Z pushes, first failing SHA a6d4e558e3). Three fresh 2-copy groups:

LinkSection_bss 2
LinkSection_data 2
LinkSection_text 2

This PR ledgers them — diff is exactly three lines in tools/duplicate_bodies_baseline.txt.

Cause

#7490 unified LinkSection in specs/port/bootstrap/src/compiler/LinkSection_text.t27; its three constructors return byte-identical bodies to specs/fpga/linker.t27's link_text / link_data / link_bss — the same ELF section facts (.text flags 5, .data flags 3, .bss flags 2, align 4) written as per-module helpers in two places. Both copies are correct and deliberate; the group is ledgered, not deduped.

Verification

dupe_scan.py --bless on master head 14e1c7be9; ledger diff verified to contain only the three intended lines.

🤖 Generated with Claude Code

Duplicate Body Ratchet is red on master (16:45Z, 16:57Z, 17:10Z pushes):
three fresh 2-copy groups, LinkSection_text / LinkSection_data /
LinkSection_bss.

Cause: #7490 (a6d4e55) unified LinkSection in
specs/port/bootstrap/src/compiler/LinkSection_text.t27, whose three
constructors return byte-identical bodies to specs/fpga/linker.t27's
link_text / link_data / link_bss -- the same ELF section facts
(.text flags 5, .data flags 3, .bss flags 2, align 4) written as
per-module helpers in two places. Both copies are correct and
deliberate; the group is ledgered, not deduped.

Ledger diff = exactly three lines. Verified with dupe_scan.py on
master head 14e1c7b.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-08 17:35:21 UTC

Summary

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

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=39fa3908f9fd != 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 pushed a commit that referenced this pull request Oct 8, 2026
duplicate-bodies stays red on master after #7864 because of `assign 3`;
the same line as #7874, which no-ops once it lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScHVrGSr6zZUdwkdC8DR9k
gHashTag pushed a commit that referenced this pull request Oct 8, 2026
The previous commit wrote an empty tools/duplicate_bodies_baseline.txt
(a git show of a branch that was not fetched). This restores it: master's
ledger plus the four lines of #7864 and #7874, nothing else
(dupe_scan: ok).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScHVrGSr6zZUdwkdC8DR9k
@gHashTag
gHashTag merged commit eda79f0 into master Oct 8, 2026
24 checks passed
gHashTag added a commit that referenced this pull request Oct 8, 2026
…7887)

Duplicate Body Ratchet went red on master again within minutes of
#7864: the assign group grew to 3.

specs/port/trios/crates/trios-server/src/mcp_endpoints/tasks.t27
(port of the trios server MCP endpoints, #7102) stubs all three of
assign / status / update_status with the same canned reply,
TaskReply{task_id: "task-123", status: "assigned"}. #7491's type
renames unified the reply type so the three bodies became identical
text for the scanner.

The copy is the port as written -- three endpoints, one stub each.
Ledgered, not deduped: giving each endpoint a distinct body is the
port lane's work (#7102 follow-up), and when they diverge the group
shrinks out of the ledger.

Ledger diff = exactly one line (assign 3). Verified with
dupe_scan.py on master head 7c88448.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gHashTag pushed a commit that referenced this pull request Oct 8, 2026
The ledger takes master's entries; dump_ledger drops the counts.
The duplicate-bodies lines this branch carried are on master now
(#7864, #7887).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScHVrGSr6zZUdwkdC8DR9k
gHashTag pushed a commit that referenced this pull request Oct 8, 2026
The ledger takes master's entries; dump_ledger drops the counts.
The duplicate-bodies lines this branch carried are on master now
(#7864, #7887).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScHVrGSr6zZUdwkdC8DR9k
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.

1 participant