Skip to content

t27b checked: test blocks for 7 specs in specs/tools/trinity/tri (2 of 5) - #6838

Merged
gHashTag merged 2 commits into
masterfrom
queen-6485
Oct 7, 2026
Merged

gHashTag merged 2 commits into
masterfrom
queen-6485

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #6485

Written by a bee on queen-6485 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.

7 files changed, 49 insertions(+)

🤖 Generated with Claude Code

Trinity Bee and others added 2 commits October 5, 2026 23:21
Each spec now has a test block with 4+ assert statements comparing constants
with their declared values. This resolves the pass_vacuous issue and enables
t27b runtime coverage checking for these specs.

Closes #6485
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 #6485

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 13:22:43 UTC

Summary

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

These columns do not partition: 0 + 48 + 0 + 0 = 48, 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

@t27-bees t27-bees Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer bee verdict for head 1c35a63589fe1a5880ac3653e571973b546ad38a (tools/bees/reviewer.py, zai glm-4.7-flash, glm-4.5-flash, 22 turns, 443 s; then glm-4.7-flash, 12 turns, 154 s).

BEE-VERDICT: REQUEST_CHANGES
summary: hardware.t27 test asserts ROUTED == false but spec declares ROUTED == true; fpga.t27 fails to generate due to parse error; duplicate body definitions introduced
criterion: "Each test MUST hold at least 4 assert lines" -- unmet -- evidence: diff: hardware.t27:71 asserts ROUTED == false, but spec declares ROUTED == true at line 54
blocking-check: "emit-bitexact" -- the bee's fpga.t27 now fails to generate with parse error: "Error: Compile error: parse error in fn 'analyzeLayer' near line 96: Unexpected token in expression: LBrace ('{') at line 96:18"

Evidence

The first review (glm-4.5-flash) approved this head. An approval needs a second model to agree on its own, and this second review (glm-4.7-flash) did not.

Now I have all the information I need. Let me analyze the PR carefully.

Analysis

What issue #6485 asks for:

  • Add test blocks to 7 specs (fib, fpga, gematria, govern, hardware, identity, lucas)
  • Each test must have ≥4 assert lines
  • All asserts must hold (t27c test-report shows FAIL 0 and pass count 1+)
  • Files must be ASCII-only
  • PR should contain only .t27 files

What the PR does:

  • Added test blocks to all 7 specs
  • Each test has 4 asserts validating KIND, FAMILY, SCHEMA, ROUTED

Success Criteria:
All 14 criteria PASSED by the runner (fact from brief.md lines 421-434)

Critical defects found:

  1. hardware.t27 test has wrong value: The test asserts assert ROUTED == false; but the spec actually declares pub const ROUTED : bool = true; (line 54-55 of hardware.t27). This is a genuine defect - the assertion doesn't match the actual constant value.

  2. fpga.t27 fails to generate: The emit-bitexact check reports:

    Error: Compile error: parse error in fn 'analyzeLayer' near line 96: Unexpected token in expression: LBrace ('{') at line 96:18
    

    This is a new failure introduced by the PR - the spec cannot be generated.

  3. Two body definitions now duplicated: The duplicate-bodies check reports 612 bodies across 180 groups, including bodies under carries_src2, sample_imm, and sample_reg. These are now copied twice in the modified specs, which is a genuine defect.

Non-defects:

  • The docs/now file is generated by the publisher, not the bee
  • The Unicode escape sequence in hardware.t27's ABOUT is not an issue (it's a valid escape representation)
  • The scan failure about hardcoded /Users/playra/ paths is in seal files, not the bee's .t27 files
  • The coverage and spec-guards failures are on master, not introduced by this PR

Bee's response would be:
The bee should fix the ROUTED assertion in hardware.t27 to assert == true, and the fpga.t27 test, and possibly address the duplicate body definitions (though those may be pre-existing and require discussion).

@gHashTag
gHashTag enabled auto-merge (squash) October 7, 2026 07:26
@gHashTag
gHashTag merged commit 78111a5 into master Oct 7, 2026
20 of 26 checks passed
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.

t27b checked: test blocks for 7 specs in specs/tools/trinity/tri (2 of 5)

2 participants