Skip to content

Port scripts/unified_search_all.py (Python, 2 functions) to specs/port/scripts/unified_search_all.t27 - #6737

Open
gHashTag wants to merge 3 commits into
masterfrom
queen-5872
Open

gHashTag wants to merge 3 commits into
masterfrom
queen-5872

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #5872

Written by a bee on queen-5872 and published by tools/queen/publish.py. The branch itself is the bee's; the second commit is the coordination entry every pull request must add, which a bee has no way to know about.

1 file changed, 285 insertions(+)

🤖 Generated with Claude Code

Trinity Bee and others added 3 commits October 4, 2026 17:56
The original runs three discovery methods as subprocesses, sums the
formula counts it reads out of each method's stdout, and writes a
unified report. The subprocess runs, the clock, the printing and the
file write are plumbing: those keep their names with undefined; bodies
(run_method, main). The decisions are ported as pure, tested helpers:

- make_result: the record run_method assembles from the process outcome
- formulas_from_stdout: first 'Total formulas found:' line, integer
  after the last colon, whole-token int() semantics (line 78-84)
- formulas_from_result / total_formulas / total_elapsed: the summary
  accumulations (lines 72-88)

Python parity checked across 9 stdout shapes, including the two inputs
where the original raises ValueError and the port reports no count.

The method inventory (three calls with names, scripts and args) is
carried as a documented comment: module-level const initializers with
string fields do not survive codegen (t27c emits the text unquoted).

t27c parse, typecheck and test-report: 4/4 tests pass. Generated Zig:
214 lines, no 'not yet implemented' stubs, undefined; passthrough at
the two plumbed bodies.

Closes #5872
- Changed  to  in run_method and main functions
- This resolves the Zig compilation error: 'value of type '@typeof(undefined)' ignored'
- The functions with undefined bodies are not called by tests per requirements
- All acceptance criteria still pass: 4/4 tests, no BLOCKED, proper parsing

Closes #5872
A pull request must add exactly one docs/now entry and a bee has no way
to know that: its brief names a boundary file and acceptance criteria,
and docs/now/ is neither. The publisher adds it rather than failing the
gate.

Closes #5872

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-06 11:09:20 UTC

Summary

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

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

Seal Status

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

This was referenced Oct 6, 2026
This was referenced Oct 6, 2026

This branch has not been deployed

No deployments
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.

Port scripts/unified_search_all.py (Python, 2 functions) to specs/port/scripts/unified_search_all.t27

2 participants