Skip to content

Bless the eight copies the bees could not avoid - #4497

Merged
gHashTag merged 1 commit into
masterfrom
fix/bless-dupes
Sep 21, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/bless-dupes

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #4496

Duplicate Body Ratchet is red on master: eight groups each grew by one copy after yesterday's bee pull requests landed (576 → 584). A check that is red on master is noise the next real failure hides in.

Blessed, not fixed, because the fix does not exist yet — cross-module reuse does not generate (#4298), so a bee that needs sadd has to copy it or leave its criteria unmet. The ratchet still refuses any new group and any further growth.

$ python3 tools/dupe_scan.py
ok: no new duplicate body, and none of the known groups grew.

🤖 Generated with Claude Code

Duplicate Body Ratchet went red on master after yesterday's bee pull requests
landed. Eight groups each grew by one: magmul 21 -> 22, magsub 30 -> 31,
relu 9 -> 10, relu_prime 5 -> 6, sadd 29 -> 30, scale_q 4 -> 5, smul 19 -> 20,
and one more - 576 copies became 584.

Blessed rather than fixed because the fix does not exist yet: `use m::f;`
compiles to a comment and an unqualified call and the Zig fails (#4298), so a
bee that needs sadd cannot import it and must either copy it or leave its
criteria unmet.

The ratchet still refuses any NEW group and any further growth.

Closes #4496

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gHashTag
gHashTag enabled auto-merge (squash) September 21, 2026 05:04
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-21 05:05:47 UTC

Summary

Status Count
Total Open PRs 21
PRs with Failing Checks 17
PRs with All Checks Green 4
READY 3
FAILING 17
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=403499176a5d != 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).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit 88f352a into master Sep 21, 2026
32 of 34 checks passed
dmitrii-f-t27 added a commit that referenced this pull request Oct 10, 2026
Eleven groups were in no ledger on master 756bcff.

Scanner. tools/dupe_scan.py now reads the lexical forms t27c has: a
declaration ending in ';' no longer borrows the next function's body
(digest_for x8 and githubCiDeps_checkRuns_impl x5 were that), comments and
string literals are masked, ';' at column 1 and '#' are line comments, and a
single quote ends at the newline as the lexer ends it. The prototype, comment
and literal repair comes from #5473. The quote and ';' rules are new: an
apostrophe in "; the Queen's ..." opened a literal that hid three bodies in
specs/queen/views.t27 and specs/tools/catalog.t27. Eleven self-test shapes
pass; the #5473 lexer fails the two new ones.

forwardPass x3: one empty-result literal in specs/hslm/forward_pass.t27 is
shared (from #5473). Both seal files naming the spec are resealed with the
t27c built from this tree; all four gen hashes equal the #5473 seals.

rng_int_range x2: the gen_fuzz port had two 'return undefined;' stubs. They
are now a xorshift64 generator (shifts and xors only: t27c emits u64 '+'
and '*' without wrapping in Zig and Rust), and the port has five tests that
can fail. Zig: 8/8 pass; five mutants are each caught.

Seven copies across two files are ledgered, as #4497 did, because
'use a::b;' still generates no import (#4610): bytes_eq,
session_status_str, led_config, validate_led_config, startup_config,
update_oscillator_chain, shift_ir. Three rows whose groups no longer exist
are dropped: generate_all, next, is_orphan.

Refs #5497
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 Body Ratchet is red on master: eight groups grew by one

2 participants