Skip to content

t27b checked: test blocks for 5 specs in specs/agents, specs/skills, specs/automation and specs/system (1 of 1) - #8106

Merged
gHashTag merged 3 commits into
masterfrom
queen-8063
Oct 10, 2026
Merged

gHashTag merged 3 commits into
masterfrom
queen-8063

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Closes #8063

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

5 files changed, 56 insertions(+)

🤖 Generated with Claude Code

Trinity Bee and others added 2 commits October 9, 2026 08:02
One test block per spec asserting the constants the spec already
declares: str asserts plus a bool or integer assert, so each test is a
checked pass under both counters -- t27c test-report folds the
bool/integer comparison and counts the str ones, the t27b lab folds the
str ones and counts the bool/integer one. No existing line changed; the
number of pub const lines stays the same.

- specs/agents/c.t27
- specs/skills/t27-self-host.t27
- specs/skills/t27-wave-audit.t27 (NAME not asserted: holds a non-ASCII
  character that #7911 will change)
- specs/automation/inngest-queen-scheduler.t27 (test inside the
  module x block, before its closing brace)
- specs/system/unified-agent-operations.t27 (test inside the
  module x block, before its closing brace)

Refs #6063

t27b-blog: +5 specs/agents/c.t27 specs/skills/t27-self-host.t27 specs/skills/t27-wave-audit.t27 specs/automation/inngest-queen-scheduler.t27 specs/system/unified-agent-operations.t27

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

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-09 10:00:25 UTC

Summary

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

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

Seal Status

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

@tri-claw tri-claw 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 c17580200ba7ef45acd4e3f6e7758fe353648ca1 (tools/bees/reviewer.py, zai glm-4.5-flash, 8 turns, 107 s).

BEE-VERDICT: REQUEST_CHANGES
summary: Added test blocks to 5 specs, converting them from pass_vacuous to checked passes
criterion: "append exactly one test <snake_case_name> { ... } block to each spec" -- met -- diff shows one test block added to each of the 5 specs
criterion: "each new test MUST hold at least 4 assert lines" -- met -- each test has 8, 7, 9, 8, and 9 asserts respectively
criterion: "at least one compares a str constant and at least one compares a bool or integer" -- met -- each test has both str and bool/int asserts
criterion: "avoid non-ASCII identifiers" -- met -- NAME assertion avoided in t27-wave-audit.t27 as instructed
discounted-check: t27b-native-ratchet -- already red on master; pre-existing issue unrelated to test additions
blocking-check: duplicate-bodies -- discounted by the review, but the merger reads master as unknown: no completed failure or success of 'duplicate-bodies' in the last 10 'Duplicate Body Ratchet' runs on master

Evidence

The agent approved, but the merger discounts a red check only when master's newest completed run of it, at or after the merge base, failed (specs/queen/merger_gate.t27):

  • duplicate-bodies -- discounted by the review, but the merger reads master as unknown: no completed failure or success of 'duplicate-bodies' in the last 10 'Duplicate Body Ratchet' runs on master

Based on my analysis of the pull request, I can now provide a verdict.

Evidence Summary

The pull request successfully implements the requirements from issue #8063:

  1. All acceptance criteria passed (from brief.md lines 209-218):

    • Each of the 5 specs now has a test block that prints 2 lines for t27c test-report (FAIL 0 and vacuous passes 0)
    • Each test has at least one bool/int assert (grep counts: 2, 2, 2, 3, and 4 respectively)
  2. Requirements met:

    • FR-001: One test block appended to each spec ✓
    • FR-002: Each test has ≥4 asserts including both str and bool/int comparisons ✓
    • FR-003: All assert values match declared constants ✓
    • FR-04: Files are ASCII-only (avoided asserting NAME in t27-wave-audit.t27) ✓
    • FR-05: Only .t27 files modified ✓
    • FR-06: Will raise t27b coverage by 5 specs ✓
  3. Boundary respected: All changes are within the specified boundary files, with test blocks properly placed inside module blocks for specs that use them.

  4. Red checks discounted:

    • duplicate-bodies: Shows general ledger state errors, not introduced by this PR. Not red on master.
    • t27b-native-ratchet: Already red on master. This is a pre-existing issue unrelated to the test additions.

The change successfully converts 5 pass_vacuous specs into checked passes, increasing t27b coverage as intended.

This was referenced Oct 10, 2026
…w310/314/315/316 helper copies, fixed on master by #8135)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-10 09:04:19 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)=bd3352ccb90e != 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).

@tri-claw tri-claw 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 7e0d8e6e8f51c99dfd391f5215264c139d136972 (tools/bees/reviewer.py, zai glm-4.7-flash, 11 turns, 163 s).

BEE-VERDICT: REQUEST_CHANGES
summary: FR-006 not met: PR body lacks required t27b-blog: +5 <spec paths> entry despite 5 specs having runtime checks (t27b-native-ratchet failure confirms this)
criterion: FR-006 -- unmet -- evidence: brief.md line 263: t27b-native-ratchet red due to incorrect t27b count; FR-006 requires t27b-blog: +5 <spec paths> entry in PR body which is absent
discounted-check: Corpus ratchet (expected-failure ledger) -- the same "Pair NEW conflict" error occurs on master (brief.md line 103: "on master: master 7c16bfa: failure")
discounted-check: coverage -- same gen-drift issues occur on master (multiple specs show "gen-drift the spec is UNCHANGED and its generated output is not", brief.md line 155: "on master: master 7c16bfa: failure")
discounted-check: spec-guards -- not run on last 6 commits of master (brief.md line 209: "on master: not run on the last 6 commits of master")
blocking-check: t27b-native-ratchet -- the PR introduced a failure: test blocks add 5 new runtime-checked specs but PR body lacks required t27b-blog: +5 <spec paths> entry, causing incorrect t27b count (brief.md line 263)

Evidence

Evidence

1. Issue requirements analysis

The issue adds test blocks to 5 specs with specific acceptance criteria:

  • FR-001: Append exactly one test block per spec (snake_case name) - ✅ All 5 files have one test block with correct naming (agent_c_constants, self_host_constants, wave_audit_constants, inngest_queen_scheduler_constants, unified_agent_operations_constants)
  • FR-002: At least 4 asserts (str comparison + bool/int comparison) - ✅ All specs meet this:
    • agents/c.t27: 8 asserts (str: KIND, ID, LETTER, LETTER_NAME, REGISTER, SOUL; bool/int: ENABLED, ORDINAL)
    • t27-self-host.t27: 7 asserts (str: KIND, ID, REPO, SOURCE; array: TAGS[0]; bool/int: ENABLED, TIMEOUT_MIN)
    • t27-wave-audit.t27: 8 asserts (str: KIND, ID, REPO, SOURCE; array: TAGS[0-2]; bool/int: ENABLED, TIMEOUT_MIN)
    • inngest-queen-scheduler.t27: 8 asserts (str: KIND, ID, REPO, APP_ID, GITHUB_OWNER; bool/int: RUNS_FANOUT, SCHEDULE_FIELDS, ENABLED)
    • unified-agent-operations.t27: 9 asserts (str: KIND, ID, OWNER, SCHEDULER_ENGINE, SOURCE_LANGUAGE; bool/int: AUTHORITY_FLOWS_DOWN, VERSION, FORMATS, ENABLED)
  • FR-003: Every assert must hold - ✅ Runner confirms all 10 success criteria pass (2 lines per spec: FAIL 0 + vacuous passes 0 of 1)
  • FR-004: ASCII-only (law L3) - ✅ No non-ASCII identifiers detected
  • FR-005: PR contains only .t27 files - ✅ 5 .t27 files changed, 1 docs/now/ markdown entry (expected boundary file)
  • FR-006: If t27b coverage increases, write t27b-blog: +N <spec paths> in PR body - ❌ PR body lacks this entry

2. Red checks analysis

  • Corpus ratchet (expected-failure ledger) - FAILURE

    • Discounted: On master, the same "Pair NEW conflict" error occurs (log shows "Pair NEW conflict" on master 7c16bfa)
    • Evidence: brief.md line 103: "on master: master 7c16bfa: failure"
  • coverage - FAILURE

    • Discounted: On master, the same gen-drift issues occur (multiple specs show "gen-drift the spec is UNCHANGED and its generated output is not")
    • Evidence: brief.md line 155: "on master: master 7c16bfa: failure"
  • spec-guards - FAILURE

    • Discounted: On master, the check is not run on the last 6 commits of master (confirmed by brief.md line 209: "on master: not run on the last 6 commits of master")
    • Evidence: brief.md line 209
  • t27b-native-ratchet - FAILURE

    • This check's conclusion (from runner output) shows the PR introduced a failure: the test blocks add 5 new specs with runtime checks, but the ratchet verdict shows the wrong count. The checker explicitly marks this as "ratchet verdict red" (brief.md line 263).

Why t27b-native-ratchet counts as a blocking check:

The PR adds test blocks to 5 specs, introducing 5 new runtime-checked specs to t27b. The t27b-native-ratchet failure indicates the PR's t27b count is incorrect, likely because the PR body lacks the required t27b-blog: +5 <spec paths> entry that tells the ratchet what to count. The runner's test blocks are syntactically correct and all assertions pass, but the documentation requirement (FR-006) was not met, causing the ratchet to count incorrectly.

BEE-VERDICT: REQUEST_CHANGES

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 5 specs in specs/agents, specs/skills, specs/automation and specs/system (1 of 1)

2 participants