Skip to content

t27b checked: test blocks for 7 tri cards (1 of 5) - #6607

Merged
gHashTag merged 2 commits into
masterfrom
queen-6484
Oct 5, 2026
Merged

gHashTag merged 2 commits into
masterfrom
queen-6484

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Closes #6484

Refs #6063. Reviewed by hand (review-jam lane A). The bee branch appends one test block to each of the 7 cards in the boundary and changes no existing line. Each block holds 4 asserts that compare a declared constant with its literal value (KIND, FAMILY, SCHEMA, NAMESPACE), no assert true. Measured on the Railway t27c lab (t27c at /data/target/release/t27c, zig 0.16.0): t27c test-report prints tests 1 / pass 1 / FAIL 0 for all 7 specs; spec-status NOFN (cards declare no functions), gen has 0 not yet implemented. The cards still load in tools/trinity_tools_registry.py (it reads only pub const lines).

t27b-blog: +7 specs/tools/trinity/tri/{bench,bio,blindspots,conscious,constants,cosmos,dashboard}.t27

🤖 Generated with Claude Code

- Added test blocks to 7 specs in specs/tools/trinity/tri/
- Each test block contains 4 assert statements comparing constants with their declared values
- All tests pass and maintain existing constant counts
- Addresses #6484

Closes #6484
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-05 21:37:28 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 40
PRs with All Checks Green 10
READY 9
FAILING 40
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

@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 4d7ad7f56c6feeab17ce13c1338c4be0b971e372 (tools/bees/reviewer.py, zai glm-4.7-flash, 7 turns, 98 s; then glm-4.5-flash, 3 turns, 48 s).

BEE-VERDICT: APPROVE
summary: All 7 boundary specs now have one test block each with 4 valid assertions; no lines changed or removed; all 14 runner criteria passed
criterion: FR-001 -- met -- all 7 files got exactly one test block appended, no other lines changed (diff: 7 files, 49 insertions)
criterion: FR-002 -- met -- each test block has 4 asserts comparing declared constants to literals (e.g., bench.t27:11-14)
criterion: FR-003 -- met -- all 14 runner criteria passed (brief:lines 325-338)
criterion: FR-004 -- met -- no new non-ASCII characters added (all asserts use ASCII identifiers and literals)
criterion: FR-005 -- met -- only 7 .t27 files modified (diff shows 7 files changed)
criterion: FR-006 -- met -- PR body includes t27b-blog line with +7 specs
discounted-check: Corpus ratchet (expected-failure ledger) -- same failure on master (282f701) due to new GateScarab entry, not introduced by this PR
discounted-check: coverage -- same failure on master (282f701) with 9 stale seals in files NOT touched by this PR
discounted-check: duplicate-bodies -- same failure on master (282f701) about duplicate put bodies, pre-existing system state issue
discounted-check: fix-carries-source -- CANCELLED on this head, no failure (master succeeded)
discounted-check: spec-guards -- same failure on master (282f701) with 28 known stale entries in files NOT touched by this PR
discounted-check: untrusted-input -- CANCELLED on this head, no failure (master succeeded)

Evidence

Based on my analysis:

1. Criteria Evaluation

All acceptance criteria from issue #6484 are met:

  • FR-001: Each of the 7 boundary files (bench.t27, bio.t27, blindspots.t27, conscious.t27, constants.t27, cosmos.t27, dashboard.t27) has exactly one test block appended. No existing lines were changed, reordered, or removed. (diff: 7 files, 49 insertions, all additions at end of files)

  • FR-002: Each test block has exactly 4 asserts comparing constants to their literal values:

    • assert KIND == "tool"
    • assert FAMILY == "tri-cli"
    • assert SCHEMA == 2
    • Plus one of: NAMESPACE, ROUTED, or CATEGORY (verified in the source files)
  • FR-003: All runner criteria passed (14/14):

    • t27c test-report prints 2 (tests 1/pass 1/FAIL 0) for each of the 7 specs
    • Each file has at least 4 asserts
    • All assertions hold true
  • FR-004: All files remain ASCII-only. No non-ASCII characters added (the existing files have Unicode comments, but no new non-ASCII content was introduced)

  • FR-005: PR contains only the 7 boundary .t27 files (the PR body mentions "changes no existing line")

  • FR-006: PR body includes t27b-blog: +7 specs/tools/trinity/tri/{bench,bio,blindspots,conscious,constants,cosmos,dashboard}.t27

No edits outside the named files, no deleted tests, no weakened assertions, no non-ASCII identifiers added, no secrets introduced.

2. Red Checks Analysis

The 6 red checks do not count against this head:

  1. Corpus ratchet (expected-failure ledger): On master (commit 282f701), this check also failed with the same error. The failure is due to a NEW conflict type name (GateScarab) being added to the ledger. This is an external system state issue, not a defect introduced by this PR.

  2. duplicate-bodies: On master (commit 282f701), this check also failed with the same error about "a body written under put is now copied [2] time(s)". This is a pre-existing system state issue.

  3. coverage: On master (commit 282f701), this check also failed with the same 9 stale seal entries. These failures are in files NOT modified by this PR (e.g., sorting specs, fpga verification, ml specs). The PR author documented these in the brief as "known stale" and the author is re-blessing the ledger.

  4. spec-guards: On master (commit 282f701), this check also failed with the same 28 known stale entries. Again, these are in files not touched by this PR. The author documented these as "known stale (each needs its spec fixed)".

  5. fix-carries-source: CANCELLED on this head (no steps recorded), on master it succeeded. No failure occurred on this head.

  6. untrusted-input: CANCELLED on this head (no steps recorded), on master it succeeded. No failure occurred on this head.

The red checks represent pre-existing system state issues (ledger entries, stale seals, and duplicate bodies) that are documented and expected. This PR itself is sound and does not introduce any real defects.

Second, independent review (glm-4.5-flash): APPROVE -- PR successfully adds test blocks to 7 trinity specs, converting them from pass_vacuous to checked passes

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-05 23:01:20 UTC

Summary

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

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).

@gHashTag
gHashTag merged commit cae66ce into master Oct 5, 2026
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bee-reviewed A reviewer bee reviewed and verified this PR at its current head; the only merge signal (#5525)

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 (1 of 5)

1 participant