Repository navigation
The release gate's live /autoplan guard test runs on Haiku 5.5 (GST-3441) - #4846
Merged
Merged
Conversation
…iewer hands back, and reads that hand-back as the notice (GST-3441) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Review-Finding: test/helpers/autoplan-guard-pty.ts:161:Completeness Gaps reader=core Review-Finding: test/autoplan-guard-pty-fixture.test.ts:202:Completeness Gaps reader=core Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…esult, and reads hand-backs stored as text blocks Review-Finding: p1v/outside-voice#1 reader=outside-voice Review-Finding: p1v/outside-voice#2 reader=outside-voice Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The live /autoplan guard test in the release gate now runs its scripted actor on Claude Haiku 5.5 instead of Haiku 4.5.
On Haiku 5.5 the actor used to act before the background reviewer finished, so the test failed 8 of 8 release gate attempts; the test now waits on the reviewer's hand-back itself, whatever the model's speed.
Nothing to do; it passed one paid run on Claude Code 2.1.326.
What changed
The live guard test now sees the actor's next steps after the reviewer hands back, and passes on Haiku 5.5.
Before/after as text: The live guard test now sees the actor's next steps after the reviewer hands back, and passes on Haiku 5.5
test/helpers/autoplan-guard-pty.ts): after the actor's background CEO reviewer dispatch, the test's local API relay answers the actor with an end-of-turn message until that reviewer's report comes back, and it also counts a report that arrives in the same request as the launch result. It recognises both forms of the notice:<task-notification>naming the call, and the<agent-message from="<agentId>">hand-back that Claude Code 2.1.326 actually sends in the request.CLAUDE_CODE_AUTO_MODE_SERVER=0. Behind a local relay, Claude Code's auto-mode billing notice otherwise holds the reviewer's first checked action waiting for Enter (https://code.claude.com/docs/en/auto-mode-classifier-billing).claude-haiku-5-5, with an assertion that the relay wait ran or the report came back with the launch result.Why
The release gate's live guard test failed 8 of 8 attempts once its actor moved to Haiku 5.5, because the faster model read the close packet before the background reviewer had handed back. The relay now holds the actor until the hand-back arrives, so the test checks the guard instead of the model's timing.
Blast radius
Only the live guard test and its helper change; no product code, skill or prompt is touched. The helper's new exports are used by that test and its free fixture test alone (read in test/skill-e2e-autoplan-guard-pty.test.ts and test/autoplan-guard-pty-fixture.test.ts), and the full free suite passed in CI at this head.
Pre-Landing Review
Two review rounds. In round one the second-model review found two blockers: a reviewer report that arrived in the same request as the launch result left the wait counter at zero, and hand-backs stored as text blocks were missed by the journal reader. Both are fixed, each with a free test that fails without the fix. Round two found nothing.
Documentation
Status: current. This audit found no documentation corrections and made no edits.
Scope: 4 committed files from base e6dd567 to head f012176 on autoplan-guard-runs-on-haiku-5-5, with no staged, unstaged or new files. The change is test-only: the live /autoplan guard test now runs its actor on Claude Haiku 5.5, its relay holds the actor until the reviewer hands back, and the test sets CLAUDE_CODE_AUTO_MODE_SERVER=0. The branch also adds one changelog.d note.
Documentation health:
Coverage debt: none. This is internal test infrastructure with no public surface.
Diagram drift: none.
Tests
bun run test(CI free-tests run 45853980601, at f012176): 1721 files passed, 0 failed, 4 skipped as not owed hereAgent notes
Paid runs (one trial each, Haiku 5.5): gsta796-guard-1 (CC 2.1.292) fail, billing notice; -2 (2.1.292) fail, hand-back not recognised; -3 (2.1.326, diagnostic trace) fail, captured the hand-back shape; -4 (2.1.326) guard part green, evidence check failed; -5 (2.1.326) at 129e1c4 PASS 1/1 (4 verified allows, no permission cards, close packet, Phase 2 section and Design dispatch after the notice).
The final head adds two fixes from the second-model review after -5 (the same-request hand-back count and text-block reading); no paid run was made at the final head, so -5 at 129e1c4 is reused evidence. Free fixture tests at the final head: 13 pass.
The case still runs to its 480 s deadline because its early exit counts only task-notification records; unchanged from main.
Tests ran: test 1721 (files)
REVIEW_LOOP: passes=2 blocking_found=2 deferred=0 noted=0 fixed=4 scope=frozen ledgers_read=4 dispatches=2
Gate edits: none detected (10 listed, 8 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Approvals
No approvals recorded for branch autoplan-guard-runs-on-haiku-5-5.
Plan: exempt: bug fix to a test; bug fixes need no plan review
Plan check: exempt bug fix
Refs GST-3441