Repository navigation
Conversation
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>
|
Merging to
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 |
…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>
Contributor
|
Frozen in wave |
3 tasks done
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>
Contributor
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.
What changed
Caption: A Haiku- and Sonnet-only eval plan used to pass the dry run. Now it fails with
CHECK: frontierand 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
claude-opus-5-5andgpt-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.gstack-eval-plan dry-run.CHECK: frontierprints whenever an arm is Haiku or Sonnet (matched on the arm's model, so#no-gstackarms 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-questionrejects 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 (
isSmallTierModeldoesn'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)
#no-gstackarm, 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.skill-e2e-autoplan-guard-pty,-journal-drift,-long-session,-schema-canaryandskill-e2e-hermetic-canaryrun onclaude-haiku-4-5. They read as harness canaries rather than models under test, but whoever owns them should confirm.claude-haiku-4-5.Blast radius
The eval-plan CLI, its skill text and docs only.
dryRungains one check andstartPilotone refusal. Their only callers arebin/gstack-eval-planand 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-gstackarms) 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 startnow checks it too. An earlier commit trimmed the skill text to stay inside the eval-plan context budget.Test Coverage
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):
pilot starttrusteddry.passalone, 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:startPilotrefuses an all-Haiku/Sonnet pilot unless its dry run recorded a tier question.--tier-question --jsonaccepted "--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-questionpasses. 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-5behind 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:
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 failbun test test/eval-models.test.ts: 10 pass, 0 failbun run typecheck: exit 0bun run typecheck:test: exit 0bun run gen:skill-docs --dry-run: exit 0 (generated files current)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 indryRun. 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 thatpilot 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:
nand three-trial panels, so it undercounts a multi-trial plan.EVAL_DRY_RUN_FAILEDfix 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.--max-rows, so a sampled dry run prints a lower whole-plan price, and the line doesn't show the row count.pilot starthelp 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-questionon dry-run and main's--seat-meteredon 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 mergedstartPilot. 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).