Skip to content

feat(queen): tell the bee how to find what already exists - #4293

Merged
gHashTag merged 1 commit into
masterfrom
feat/bees-search-before-writing
Sep 20, 2026
Merged

gHashTag merged 1 commit into
masterfrom
feat/bees-search-before-writing

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #4292

The other half of #4290: the gate stops new copies, this stops the bee needing one. Every issue the feeder writes now carries dupe_scan --name and --like, and says to reuse with use module::name;.

🤖 Generated with Claude Code

576 of 4021 function bodies in specs/ are byte-identical copies (#4290).
The bee that wrote the thirtieth magadd was not careless: its brief named the
file, the signatures and the criteria and said nothing about the twenty-nine
implementations that already existed, and there was no command it could run to
find out.

Every issue the feeder writes now carries that command - `--name` for where a
function already lives, `--like` for what in this file is written elsewhere -
and says what to do with the answer: reuse it with `use module::name;`, which
494 parsing specs already do.

Closes #4292

Gates: python3 -m py_compile on the feeder; the rendered PREAMBLE carries both
commands and names the ratchet; a --dry-run against master still reports the
same reading it did before (28 files hold 146 empty bodies, 0 uncovered).

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-20 06:56:20 UTC

Summary

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

These columns do not partition: 2 + 17 + 0 + 0 = 19, and there are 20 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 7b51b20 into master Sep 20, 2026
27 of 30 checks passed
gHashTag added a commit that referenced this pull request Sep 20, 2026
…ot compile (#4297)

#4293 added "If it exists, reuse it (`use module::name;`)" to every issue the
feeder writes. Measured on a two-spec minimal case: both `use m::f;` and
`use m;` generate the comment "no references in this module", no @import and an
unqualified call, and zig answers "use of undeclared identifier". spec-status
calls that same file IMPLEMENTED, so the advice passes the cheap gate and fails
the oracle.

The brief now says what is true: do not copy, do not try to import, name the
file and line where the function lives, implement only what this spec asks.

Closes #4296

Gates: python3 -m py_compile; the rendered PREAMBLE carries the corrected
sentence; the minimal case that proves it is quoted in the issue.

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

A bee is told what to write and never told what already exists

1 participant