Skip to content

The release gate's live /autoplan guard test runs its actor on Haiku 4.5 again (GST-3407) - #4639

Merged
capy-ai[bot] merged 2 commits into
mainfrom
autoplan-guard-test-keeps-haiku-4-5
Nov 21, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
autoplan-guard-test-keeps-haiku-4-5

Conversation

@garrytan

@garrytan garrytan commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

The live /autoplan publication guard test goes back to a Claude Haiku 4.5 actor; the four other canaries and the eval defaults stay on Haiku 5.5.
Why: since #4630 moved the actor to Haiku 5.5, the test failed 8 of 8 tries and holds the stable release, because the new actor runs ahead of the background reviewer's notice and never reaches the path the test checks.
Nothing to do.

What changed

The release gate's live /autoplan guard test failed every try after #4630 moved its scripted actor to Haiku 5.5. The test now pins its actor to claude-haiku-4-5-20251001 again, and its header comment records why and which runs showed it. This fix adds its own changelog fragment; the fragment #4630 landed stays as it is.

Actor Commits Tries Result
Haiku 5.5 5db285c, 3c1c22e, c8641cc 8 (runs 44952328945, 44955253712, 44956497475) 8 fail: 7 time out at 488 s with all four guarded steps done before the first notice (afterNotice: []), 1 skipped its Phase 1 publication and was refused publication_missing
Haiku 4.5 bisect prefixes up to 79eea6d 11 (runs 44954167348, 44956497475) 11 pass in 68 to 80 s, notice before the close packet Read
Why

"The release gate failed autoplan-guard-pty 8 of 8 tries." The test asserts that the close packet Read, the Phase 2 entry and the Phase 2 dispatch happen in the turn the CEO reviewer's completion notice starts (closePacketReadAfterNotice). Haiku 5.5 does all four steps before the notice arrives, so the test never reaches the path it checks. The actor acts out a scripted turn and is not a model under test, so Haiku 4.5 keeps it.

Blast radius

Only this one live test reads the changed MODEL constant, and no threshold, trial count or assertion changes. The guard itself made the right call on every try (no wrong allow, no permission card). Run 44954167348 is a bisect over earlier commits, not a rerun of 5db285c, so this is not a flaky case (file read: test/skill-e2e-autoplan-guard-pty.test.ts:34; runs read).

Documentation

Scope: the branch autoplan-guard-test-keeps-haiku-4-5 against base c8641cc. It changes 2 files, all committed: the live /autoplan guard PTY test now pins its scripted actor to Claude Haiku 4.5, and a changelog fragment is added. Docs checked: CONTRIBUTING.md (eval model defaults), README.md, docs/troubleshooting.md, docs/unattended.md, docs/loadouts.md, docs/inventory.md and capy/skill/gstack/SKILL.md.

Result: current, with no edits. CONTRIBUTING.md already says explicit test model selections win over the Haiku 5.5 and Opus 5.5 eval defaults, which covers this one test's pin. No doc names the guard test's actor model. The test's header comment records why it stays on Haiku 4.5 and the run IDs behind that.

Debt: none found.

Tests
  • CI free suite at this tree (run 44959010544): 1733 test files passed, 0 failed; every pull_request check green at 6ab4960.
  • bun test test/skill-e2e-autoplan-guard-pty.test.ts without EVALS: loads and skips (0 fail).
  • bun test on the four free tests that name autoplan-guard-pty or the model-generation rules: 26 pass, 0 fail.
Pre-Landing Review

No issues found. One testing reader and one second-model review (GPT-6.1 Sol) read the whole diff; both returned clean.

Exploratory QA

Functional smoke, pass: the changed live test module loads and skips cleanly without EVALS, and the free tests that name this case or the model-generation guard pass. The live PTY case is paid and did not run here.

Eval Results

The changed file is a paid live test; it did not run in this PR's CI. The merge-commit screen runs it.

Review bot comments

No review bot comments.

TODOS

No TODO items completed in this PR.

Agent notes

Lane GSTA-766 for GST-3407. Changes one model line and the test's header comment, and adds this fix's own changelog fragment; #4630's landed fragment stays as it is.

Refs #4630

Approvals

No approvals recorded for branch autoplan-guard-test-keeps-haiku-4-5.
Plan: exempt: bug fix from a diagnosed, audited failure list (release gate runs 44952328945, 44955253712, 44956497475)
Plan check: exempt bug fix

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen dispatches=1
Gate edits: none detected (0 listed, 0 read; patterns: review-dispatch gate scan; unlisted idioms: none)

{
  "schema_version": 1,
  "pr": 4639,
  "head": "6ab4960d2d2d39de5645c54e33706432e1cdab4c",
  "version": "1.102.2.0",
  "base": "main",
  "gate": {
    "test": {
      "pass": 1733,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "test",
      "run": 44959010544,
      "attempt": 1,
      "tree": "7272f5df0ef2d47c63b2ac028fd76a7856047065"
    }
  ],
  "calls": 14,
  "session_kind": "unattended",
  "run": "/home/user/.capy/work/gstack/ship-4639-6ab4960",
  "head_tree": "7272f5df0ef2d47c63b2ac028fd76a7856047065",
  "product_patch_id": "none",
  "gstack_version": "1.102.2.0",
  "review_depth": {
    "depth": "light",
    "class": "tests",
    "runtime_lines": 0,
    "rules": "85b3923b1a978e41",
    "base": "c8641cc486567a88f37b38d19f776365a7ee3364",
    "registry": "c8641cc486567a88f37b38d19f776365a7ee3364",
    "gate_scan": {
      "tagged": 0,
      "head": "6ab4960d2d2d39de5645c54e33706432e1cdab4c"
    },
    "reasons": [
      "runtime=0"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @7272f5df0ef2 (8 checks, current for 6ab4960d2d2d)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/44959010544/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=7272f5df0ef2 tests=38708 skipped=67 runs=44959010544/1 profiles=ci-reuse/free-tests heads=6ab4960d2d2d verified=2026-11-21T23:08:24.244Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      4630
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md and changelog.d/ against c8641cc; the guard test and its new fragment"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "dispatches": {
      "specialist": 1
    }
  },
  "gate_dispositions": []
}

…4.5 again (GST-3407)

Since #4630 moved the actor to Haiku 5.5 the case failed 8 of 8 tries:
the actor finished Phase 1 and dispatched Phase 2 before the CEO
reviewer's completion notice, so the notice-turn path never ran. The
four other canaries and the eval defaults stay on Haiku 5.5.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

…ntry

The CI check that compares changelog fragments with the base refuses
edits to a fragment that already landed, so restore
eval-plan-refuses-older-models.md to main's text and describe this fix
in its own fragment. (GST-3407)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 1/1 · behavior 0/0 · judge 0/0 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 1m13s · cost $0.21

0 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $0 rule/judge cost | reconcile exit: 0

Profile: pr / mode pr; selected behaviors: 1, judges: 0. Deferred to scheduled/release coverage: 0 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
Fail-closed reconciliation
[test:paid] report: 1/1 slices, 1 planned shards, tier=gate, attempt 1
[test:paid] coverage: profile=pr mode=pr; selected E2E=1, judges=0
[test:paid] deferred: 0 broad behaviors, 0 changed prompts without quick live coverage; these are not PR passes
  slice 1  passed             68s  test/skill-e2e-autoplan-guard-pty.test.ts
[test:paid] collector final outcomes: 0 executed, 0 reused; 0 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (0 attempt records from 0 collectors; every record counts)
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 1/1 · behavior 0/0 · judge 0/0 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 1m13s · cost $0.21
[test:paid] exercised-path map (shadow, non-blocking): 0 MAP_GAP line(s) over 0 executed case(s) with recorded commands
[test:paid] report: every planned shard accounted and passed

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit f1a34a02b625f61dec6dfebf7e18a330429c2d49.

@capy-ai
capy-ai Bot merged commit 2887261 into main Nov 21, 2026
53 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.

1 participant