Skip to content

eval-plan: frontier models under test (R54) - #3824

Closed
garrytan wants to merge 5 commits into
mainfrom
garrytan/frontier-models-under-test
Closed

garrytan wants to merge 5 commits into
mainfrom
garrytan/frontier-models-under-test

Conversation

@garrytan

@garrytan garrytan commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3824,
  "head": "730a88d490a7701eb505576b2623429c4e4cdc22",
  "version": "1.92.50.0",
  "base": "main",
  "gate": {
    "evalplan": {
      "pass": 70,
      "fail": 0,
      "skip": 0
    },
    "guards": {
      "pass": 43,
      "fail": 0,
      "skip": 0
    },
    "evalmodels": {
      "pass": 10,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "5aacc84c3fcb59f5796db9be11a27009afc0c052",
  "product_patch_id": "647104bab8277dabd48959ac6186fe6ba946c5e0",
  "gstack_version": "1.92.51.0",
  "review_depth": {
    "depth": "full",
    "class": "code",
    "runtime_lines": 43,
    "rules": "97c1e5fe49607f73",
    "base": "a563f476793b61edbb064b853d52cb125a1996c4",
    "registry": "a563f476793b61edbb064b853d52cb125a1996c4",
    "gate_scan": {
      "tagged": 0,
      "head": "730a88d490a7701eb505576b2623429c4e4cdc22"
    },
    "reasons": [
      "risk:money",
      "runtime=43"
    ],
    "risk": [
      "money"
    ]
  },
  "pregate": "requires-remote cleared @5aacc84c3fcb (1 checks, current for 730a88d490a7)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41376557164",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41377343922",
    "pregate.json/remote_gate: remote-gate tree=5aacc84c3fcb tests=18514"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "docs/, README.md, eval-plan/SKILL.md.tmpl and generated SKILL.md (post base merge, base 90a170c94 to 7388cb325)"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 3,
    "deferred": 0,
    "noted": 6,
    "fixed": 3,
    "scope": "frozen",
    "rounds": 2,
    "dispatches": {
      "specialist": 4,
      "red-team": 2
    }
  },
  "review_targeted": {
    "classes": [
      "money",
      "gate"
    ],
    "rules": "baeb8f7ef7da92d0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "647104bab8277dabd48959ac6186fe6ba946c5e0",
    "status": "done",
    "findings": 2,
    "raised_by": "targeted"
  }
}

What changed

Caption: A Haiku- and Sonnet-only eval plan used to pass the dry run. Now it fails with CHECK: frontier and shows what the plan would cost on Opus 5.5 and GPT-6.1 Sol. (The image didn't render on this machine, so this is the text version.)

Before/after as text: A Haiku- and Sonnet-only eval plan used to pass the dry run; now it fails with CHECK: frontier and shows the plan's cost on Opus 5.5 and GPT-6.1 Sol
--- Before · before.txt · captured output
+++ After · after.txt · captured output
@@ ⋯ 2 unchanged ⋯ @@
 CHECK: price-table ok
 CHECK: output-budget ok (8192 tokens; reasoning floor 8192)
 CHECK: retry-prompt ok — "retry"
+CHECK: frontier refused (every arm is Haiku or Sonnet; pass --tier-question "<what the preregistration asks about that tier>" or test a frontier model) small_tier=claude-haiku-4-5,claude-sonnet-5-5; all 2 arm(s) re-costed on frontier prices: claude-opus-5-5 $0.66, gpt-6.1-sol $0.33 (docs/TESTING_INTERNALS.md#frontier-models-under-test)
 CHECK: model-rules ok (source none at origin/main@dd2416f4eb1a)
 ESTIMATE: claude-haiku-4-5 per_item=$0.0410 (estimate: excludes 5 billing categories, see lib/pricing.ts)
 ESTIMATE: claude-sonnet-5-5 per_item=$0.0819 (estimate: excludes 5 billing categories, see lib/pricing.ts)
+DRY_RUN_RESULT: fail
+gstack-eval-plan dry-run: the $0 stub-model dry run found an input or checklist problem (input shape, output budget, retry prompt) (every arm is Haiku or Sonnet (R54; CHECK: frontier above)); fix: repair the named input rows or settings and rerun `gstack-eval-plan dry-run`; the pilot refuses to start on a failed dry run (EVAL_DRY_RUN_FAILED)
+exit=1
-DRY_RUN_RESULT: pass
-exit=0
 
  • docs/TESTING_INTERNALS.md#frontier-models-under-test. Models under test are frontier models: today claude-opus-5-5 and gpt-6.1-sol, plus at most one named low-cost primary. Haiku and Sonnet aren't models under test and aren't stand-ins. A plan gets a tier-transfer arm only when its preregistration says it is asking about that tier. A result measured only on Haiku or Sonnet can't carry a KEEP, FIX-METHOD or CUT-CANDIDATE verdict. Judges, cross-family review voices and a harness's shipped housekeeping model are exempt.
  • /eval-plan. Step 1 and the preregistration template's Arms comment state the rule in a few lines and link to the doc. Step 2 documents the new dry-run line.
  • gstack-eval-plan dry-run. CHECK: frontier prints whenever an arm is Haiku or Sonnet (matched on the arm's model, so #no-gstack arms count). When every arm is Haiku or Sonnet, the dry run fails unless --tier-question "<what the preregistration asks>" is passed, and the pilot already refuses a failed dry run. When only some arms are, it warns. Either way it prints the whole plan's price on Opus 5.5 and GPT-6.1 Sol for comparison with the brief cap (the dry run doesn't enforce that number).
  • gstack-eval-plan pilot start. Refuses a pilot whose every arm is Haiku or Sonnet unless its dry run recorded a tier question, so starting the pilot on different arms than the dry run can't skip the refusal. --tier-question rejects another flag as its answer.

Proof

The new test in test/pricing-eval-plan.test.ts covers refuse, tier-question pass, warn, frontier-only and the exact frontier re-cost. It fails on origin/main (isSmallTierModel doesn't exist there) and passes at this head: 26 tests in that file, 72 across eval-plan, parity, module-size, fence-conformance and skill-size. Typecheck is clean, and gen:skill-docs regenerated only eval-plan/SKILL.md.

Flagged, not changed (out of scope)

  • test/helpers/model-panel-harness.ts and test/fixtures/model-panel/PREREG.md (GST-468). Sonnet 5.5 is a model under test with a #no-gstack arm, and the panel has no GPT-6.1 Sol arm. Under R54 the Sonnet rows can't carry a verdict. The panel needs a new PREREG to swap that arm.
  • The autoplan and hermetic canaries. skill-e2e-autoplan-guard-pty, -journal-drift, -long-session, -schema-canary and skill-e2e-hermetic-canary run on claude-haiku-4-5. They read as harness canaries rather than models under test, but whoever owns them should confirm.
  • test/helpers/plan-floor-review.ts. Its notes cite captured inputs from claude-haiku-4-5.
  • "Frontier" means two things. docs/model-policy.md uses "frontier" as the name of a tier (Fable 5.1, GPT-6 Astra), while R54 uses "frontier models" for Opus 5.5 and GPT-6.1 Sol. Garry's rule names the models, so this PR leaves model-policy.md alone. Bringing the two terms in line is a separate wording call.
  • Context ceiling raised for eval-plan only. test/fixtures/context-budget.json moves the eval-plan ceiling from 4887 to 5458 tokens, the capture helper's value for this skill. Main already sat about 11 tokens under the old ceiling, so even the trimmed R54 lines went over. A full capture would also have moved about 30 other skills' ceilings, most of them up, so only this entry changed.

Blast radius

The eval-plan CLI, its skill text and docs only. dryRun gains one check and startPilot one refusal. Their only callers are bin/gstack-eval-plan and the tests (read at bin/gstack-eval-plan:168 and :190). The refusal fires only for an all-Haiku/Sonnet pilot without a recorded tier question, and the existing pilot tests (Opus, Astra, #no-gstack arms) still pass. No network calls, secrets, workflow edits or dependencies. Existing eval cases and judges keep their models.

Why

Garry, 2026-11-01 (R54): "I think you are spending too much time with Haiku and Sonnet, whereas GBrain and GStack are really designed to be used with frontier models like Opus and 6.1 Sol." Eval plans now have to test those models, and the dry run catches a plan that doesn't before any money is spent.

Approvals

No approvals recorded for branch garrytan/frontier-models-under-test.

Summary

R54 lands where R44's no-gstack arm went. That means the testing doc, /eval-plan and the preregistration template, plus a dry-run check that refuses a Haiku- or Sonnet-only plan unless it states a tier question. The full-depth review found that a pilot could skip that refusal, so pilot start now checks it too. An earlier commit trimmed the skill text to stay inside the eval-plan context budget.

Test Coverage

CODE PATHS
[+] lib/eval-plan.ts
  ├── isSmallTierModel()          [★★★ TESTED] haiku/sonnet match, frontier and low-cost models don't — pricing-eval-plan.test.ts
  ├── dryRun() checks.frontier
  │   ├── every arm small, no question  [★★★ TESTED] refused, pass=false
  │   ├── every arm small + question    [★★★ TESTED] ok, pass=true
  │   ├── some arms small               [★★★ TESTED] warn, pass=true
  │   ├── no small arms                 [★★★ TESTED] no CHECK line
  │   └── frontier re-cost              [★★★ TESTED] exact Opus value, Sol > 0
  └── startPilot() R54 refusal
      ├── Haiku pilot behind an Opus dry run   [★★★ TESTED] EVAL_DRY_RUN_FAILED, nothing reserved
      ├── Haiku pilot behind a tier question   [★★★ TESTED] starts
      └── mixed pilot                          [★★★ TESTED] starts
[+] bin/gstack-eval-plan
  ├── --tier-question --json         [★★★ TESTED] usage error
  ├── Haiku-only dry run             [★★★ TESTED] exit != 0, R54 on stderr
  └── --tier-question "<question>"   [★★★ TESTED] exit 0

COVERAGE: 11/11 paths tested (100%)

Tests: 1619 → 1619 (+0 new files; two tests added to test/pricing-eval-plan.test.ts)
Coverage: 100% value-weighted (100% including 0 weakly covered paths)
Test value: 0 tests written by /ship's coverage audit, 0 rejected by the authoring gate, 0 existing tests extended, 0 paths weakly covered.
Regression proof — fails at HEAD: yes (two tests failing at 857c298) · passes at base: unavailable (the tests need code that doesn't exist on main) · passes after fix: yes (all 27 of that file's tests passing at 4473f71)
Tests ran: evalplan 70
Tests ran: guards 43
Tests ran: evalmodels 10
Tests ran: typecheck count unavailable
Tests ran: typecheck-test count unavailable
Tests ran: skilldocs count unavailable

Pre-Landing Review

Full depth (class=gate, reasons gate-class, risk:money, runtime=40) and two rounds, under R51's cap. Pass 1 ran the batched specialist (testing, security, state machines), red team, native adversarial pass, targeted money and gate reader, and a cross-family outside voice on GPT-6.1 Sol. Pass 2 reviewed only the fix range with the specialist, red team and targeted reader.

Fixed in pass 1 (the tooling counts these as blocking; none would fail a test, break production or lose data):

  • lib/eval-plan.ts:392. pilot start trusted dry.pass alone, so an Opus dry run, or one written before this change, let a Haiku-only pilot start past the R54 refusal. Four readers found it. Fixed: startPilot refuses an all-Haiku/Sonnet pilot unless its dry run recorded a tier question.
  • lib/eval-plan.ts:345. The doc said the budget is checked against frontier prices, but nothing enforces the re-cost. Fixed in the doc: the price is printed for comparison with the brief cap.
  • bin/gstack-eval-plan:168. --tier-question --json accepted "--json" as the tier question. Fixed: that's now a usage error.

REVIEW_LOOP: passes=2 blocking_found=3 deferred=0 noted=6 fixed=3 scope=frozen dispatches=6

Gate edits: 2 listed, 2 read, 0 findings. The eval-plan context ceiling raise in test/fixtures/context-budget.json is kept: it's the ratchet's documented path for real feature growth (noted above).
Outside review: completed. GPT-6.1 Sol ran as a Capy subagent with the outside-voice brief. The Codex CLI isn't installed on this machine.

Exploratory QA

Reviewers ran the CLI against temporary row files. A Haiku-only plan fails with CHECK: frontier refused, and the same plan with --tier-question passes. Opus plus Sonnet warns and passes. An empty rows file re-costs to $0.00 (never NaN). Before the fix, pilot start --arms claude-haiku-4-5 behind an Opus dry run reserved an attempt; the new test now proves it's refused.

Design Review

No frontend files changed — design review skipped.

Eval Results

Prompt-related files changed (eval-plan/SKILL.md). The eval selector lists no quick live coverage for this change and defers the broad eval-plan prompt checks to scheduled coverage. No paid evals ran.

Greptile Review

Greptile isn't set up for this repo, so no Greptile review ran.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). Fix: add "Plan: " to the PR body, or run /autoplan.

Verification Results

No plan-specific checks.

TODOS

No TODO items completed in this PR.

Documentation

Status: updated — one factual addition after the base merge of main 90a170c (merge 7388cb3).

Scope: diff 90a170c..HEAD (8 files; clean tree): bin/gstack-eval-plan, lib/eval-plan.ts, docs/TESTING_INTERNALS.md, eval-plan/SKILL.md(.tmpl), changelog fragment, tests; plus docs/skills.md and docs/eval-calls.md as adjacent eval-plan references.

Documentation health:

  • docs/TESTING_INTERNALS.md — current (frontier models under test matches dry-run/pilot start behavior)
  • eval-plan/SKILL.md.tmpl, eval-plan/SKILL.md — current (CHECK: frontier and --seat-metered both described)
  • bin/gstack-eval-plan help — current (both options listed)
  • docs/skills.md — updated (/eval-plan entry now names the R54 Haiku/Sonnet refusal and --tier-question)
  • docs/eval-calls.md — current

Coverage debt: --tier-question and --seat-metered have reference coverage only (no how-to/tutorial). No diagram drift.

Test plan

  • bun test test/pricing-eval-plan.test.ts test/eval-plan-no-gstack-arm.test.ts test/eval-plan-prereg-diagnostics.test.ts test/eval-plan-results.test.ts: 70 pass, 0 fail (at 730a88d)
  • bun test test/parity-suite.test.ts test/module-size-ratchet.test.ts test/env-host-fence-conformance.test.ts test/skill-md-size-guard.test.ts test/context-budget-ratchet.test.ts: 43 pass, 0 fail
  • bun test test/eval-models.test.ts: 10 pass, 0 fail
  • bun run typecheck: exit 0
  • bun run typecheck:test: exit 0
  • bun run gen:skill-docs --dry-run: exit 0 (generated files current)
  • Remote pregate at tree 4f580077f7ea: 18,382 tests, 0 failed (macOS run 41364613223 and Windows run 41364613257 cleared)

Open in Capy

Depth classifier

The first receipt was light. The train build refused it with QUEUE_RECEIPT_DEPTH_RAISED because the head classifies as class=code reasons=risk:money. The money tag comes from the frontier re-cost in dryRun. That code only prices a plan: it multiplies rows, arms and list prices into an estimate, and it never spends, reserves or charges anything. So for the re-cost line on its own, the money class is a false positive (GST-850). The full panel still earned its keep here. It found that pilot start, which does reserve pilot spend, didn't repeat the new refusal. That gap sat next to the money code rather than in it.

Review notes

Below the floor, listed and not fixed:

  • (pass 1, adversarial) The frontier re-cost counts one call per row per arm. It ignores pilot n and three-trial panels, so it undercounts a multi-trial plan.
  • (pass 1, adversarial) Only Haiku and Sonnet are matched, so other low-cost arms get no warning, and "at most one named low-cost primary" isn't enforced.
  • (pass 1, red team) One Haiku arm plus one non-frontier low-cost arm passes with a warning and no frontier arm. The PR's design warns on a mixed plan rather than refusing it.
  • (pass 1, specialist) Test gap: a whitespace-only tier question has no library test. The new CLI test covers the flag, the R54 reason and the exit code.
  • (pass 1, light round) A frontier-only failure still prints the generic EVAL_DRY_RUN_FAILED fix text; the reason it appends names R54. With an empty arm list the frontier check reads not ok, but the price check already fails that case.
  • (pass 2, targeted) The re-cost uses rows after --max-rows, so a sampled dry run prints a lower whole-plan price, and the line doesn't show the row count.
  • (pass 2, targeted) The eval-plan ceiling went to the capture value 5458, while the measured growth was about 86 tokens. That restores the ratchet's usual 10% headroom. (Superseded by the base merge below: the ceiling is now the measured 5107.)
  • (fix-check after base merge) The pilot start help line doesn't mention the R54 refusal. The refusal's own error message names --tier-question.

Base merge

Main 90a170c (v1.92.50.0) was merged into this branch at 7388cb3 under GStack Minder's rule 19 grant for this PR. The merge kept both sides of the help text in bin/gstack-eval-plan: the PR's --tier-question on dry-run and main's --seat-metered on pilot start. The eval-plan context ceiling in test/fixtures/context-budget.json is set to the measured 5107 tokens with no headroom (main had 5021, this PR had 5458), on the Captain's order. One scoped fix-check read the merged startPilot. It found nothing: the R54 refusal returns before main's seat-metered checks and before anything is written, a seat-metered Haiku or Sonnet-only pilot is still refused without a tier question, and mixed pilots take main's seat-metered path unchanged. pricing-eval-plan and the context-budget ratchet pass at 7388cb3 (41 tests, none failing). The docs audit after the merge added one sentence on the R54 check to the /eval-plan entry in docs/skills.md (730a88d). The remote pregate passed at that head's tree 5aacc84c3fcb (18,514 tests, 0 failed).

Haiku and Sonnet are not models under test. dry-run refuses a plan whose every
arm is Haiku or Sonnet unless --tier-question names what it asks about that
tier, warns on a mix, and re-costs the plan on Opus 5.5 and GPT-6.1 Sol.

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

trunk-io Bot commented Nov 1, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

garrytan and others added 4 commits November 1, 2026 23:07
…ceiling

The R54 paragraph and CHECK: frontier bullet were cut to the minimum; the
exemptions and verdict rule stay in docs/TESTING_INTERNALS.md. The remaining
growth is the feature, so only the eval-plan eager ceiling moves (4887 -> 5458,
the capture helper's value); other skills' ceilings are left as they were.

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

Review pass 1 (full depth) found the frontier refusal could be skipped by
starting a pilot on Haiku or Sonnet arms behind a dry run made on other arms,
or behind a dry-run.json written before the check existed. startPilot now
refuses a pilot whose every arm is Haiku or Sonnet unless its dry run recorded
a tier question. dry-run --tier-question no longer takes the next flag as its
answer. The testing doc now says the frontier re-cost is printed for
comparison with the brief cap, not enforced.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Conflicts: bin/gstack-eval-plan keeps both --tier-question and --seat-metered; context-budget eval-plan ceiling set to the measured 5107 (5106.9 tokens, no headroom).
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>
@capy-ai

capy-ai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Frozen in wave docs-21563262ae01 (branch wave/docs-21563262ae01) at 730a88d. Push nothing here: a moved head drops this PR from the wave. Fixes go on the wave branch through its integrator.

capy-ai Bot added a commit that referenced this pull request Nov 2, 2026
* Attribute every paid trial's cost: bind label-named records by testName, price aborted SDK sessions from streamed usage, model-free cases cost $0

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

* fix: case cost adds streamed sessions to record sums and keeps record cost_known

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

* fix: the paid report headline counts ledger-only session cost once

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

* fix: a cost-only record never sets the trial model

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

* test: recordE2E writes cost_case_id only for a registered label-named case

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

* docs: CHANGELOG for paid-report cost attribution (Unreleased)

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

* fix: the headline adds only streamed session cost; cache writes without a 5m key

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

* docs: how the paid report prices a trial and what stays cost-unknown

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

* Price PTY sessions from their transcripts: pin a session id, sum the session's and its subagents' usage into the ledger's streamed_cost_usd

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

* fix: transcript pricing never throws from a PTY ledger writer

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

* chore: pin transcript-cost.ts as non-behavioral at HARNESS_VERSION 6

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

* fix: recognise --session-id= and --resume= forms

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

* docs: CHANGELOG for PTY transcript pricing (Unreleased)

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

* docs: PTY sessions priced from their transcripts

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

* fix: price PTY transcripts without adding a launch argument; native AUQ capture opts out

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

* docs: harness notes and CHANGELOG match the transcript claim

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

* feat(flaky): gstack-flaky run reruns a failed JUnit test once and ledgers the flake (GSTA-158)

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

* fix(flaky): stream output, keep unreported runner failures red, fail-closed duplicates and nonzero reruns

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

* fix: pre-landing review fixes

gstack-flaky never greens an incomplete run: a targeted rerun needs the
runner's summary proving the first run complete, otherwise (and always for
generic runners) the rerun repeats the whole command. A rerun clears a test
only when it exits 0 and the test passes once on its first attempt. Killed
runners exit 3 (FLAKY_COMMAND_KILLED) and signals are forwarded. The first
report is restored at --junit with reruns kept beside it; ids are redacted at
every output; the ledger gets its own GSTACK_FLAKE_LEDGER_JUNIT; fixtures are
registered in FREE_FIXTURES.

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

* fix: latch cancellation and check whole-command rerun reports

A cancel forwarded to a runner that traps the signal now counts as killed for
every later attempt, so a cancelled job is never rerun or greened. A
whole-command rerun clears nothing when its report has a failed test, misses a
first-run test, or its runner counted failures outside the report.

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

* fix: whole-command rerun when coverage or runner-flaky tests can fail the run

A coverage threshold or a fail-on-flaky policy fails a run for a reason a
narrowed rerun cannot reproduce, so either forces a whole-command rerun.
--junit refuses an existing file that is not a JUnit report instead of
deleting it.

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

* feat(flaky): rerun the whole command by default; targeted rerun is opt-in

A rerun counts only on the runner's own full green verdict: exit 0, no failed
or missing test, nothing counted outside the report. That covers every way a
run can fail, which a narrowed rerun cannot (a coverage threshold with an lcov
reporter, a fail-on-flaky policy, a test never reached). --rerun-scope test
reruns the failed test alone, with its preconditions documented and the
complete-run checks kept as a safety net. An unreadable existing --junit file
is a usage error, not a crash.

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

* docs: gstack-flaky CHANGELOG entry and standalone-binaries row (GSTA-158)

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

* feat(flaky): quarantine registry for repeat flakes (GSTA-158 P2)

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

* fix(flaky): bound renewal dates; match non-ASCII paths in check --base

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

* fix(flaky): reword the FLAKY_QUARANTINE_BASE hint so the egress scanner does not read it as a network op

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

* test(agent-sdk): every SDK caller passes the claude_code preset or names why not

The SDK's default system prompt is a bare stub that drops the line telling the
model to run /skill through the Skill tool. runAgentSdkTest now refuses a
missing, empty or bare-string prompt; non-preset callers name a reason; a free
tripwire scans test/ and scripts/ for the same mistake.

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

* test: record the SDK prompt guard as a non-behavioral harness change and baseline its tripwire

harness-version: runAgentSdkTest validates systemPrompt before starting; every
live caller already passed the claude_code preset, so no verdict can change.
test-of-test ratchet: the tripwire's subject is the eval harness by design.

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

* docs: name the preset literal callers pass and the unnamed-prompt refusal

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

* feat(eval-plan): frontier models under test (R54)

Haiku and Sonnet are not models under test. dry-run refuses a plan whose every
arm is Haiku or Sonnet unless --tier-question names what it asks about that
tier, warns on a mix, and re-costs the plan on Opus 5.5 and GPT-6.1 Sol.

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

* fix(eval-plan): trim R54 skill prose and raise the eval-plan context ceiling

The R54 paragraph and CHECK: frontier bullet were cut to the minimum; the
exemptions and verdict rule stay in docs/TESTING_INTERNALS.md. The remaining
growth is the feature, so only the eval-plan eager ceiling moves (4887 -> 5458,
the capture helper's value); other skills' ceilings are left as they were.

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

* fix(eval-plan): pilot start keeps the R54 refusal; --tier-question rejects a flag

Review pass 1 (full depth) found the frontier refusal could be skipped by
starting a pilot on Haiku or Sonnet arms behind a dry run made on other arms,
or behind a dry-run.json written before the check existed. startPilot now
refuses a pilot whose every arm is Haiku or Sonnet unless its dry run recorded
a tier question. dry-run --tier-question no longer takes the next flag as its
answer. The testing doc now says the frontier re-cost is printed for
comparison with the brief cap, not enforced.

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

* docs(support-tiers): Windows CI in the present tense now that windows-smoke is required (#3806)

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

* chore: empty commit for a clean check set at the same tree (cancelled orphan free-suite check at 97487df)

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

* docs(skills): /eval-plan entry names the R54 frontier check

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>
@capy-ai

capy-ai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Landed in wave #3847 as v1.93.10.0 (daf6613), merged from this PR's pin 730a88d. Integrator changes touching this PR's files: none.

@capy-ai capy-ai Bot closed this Nov 2, 2026
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