Repository navigation
v1.93.10.0 wave(docs): #3590 #3591 #3819 #3618 #3824 #3828 - #3847
Merged
Merged
Conversation
…me, 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>
… cost_known 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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… case 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>
…ut a 5m key 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>
…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>
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>
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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…UQ capture opts out 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>
…gers the flake (GSTA-158) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…closed duplicates and nonzero reruns Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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>
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>
… 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>
…t-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>
…158) 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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ntry moves to changelog.d Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…entry moves to changelog.d Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…er does not read it as a network op Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…; retarget to main Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…mes 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>
…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>
…usal Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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>
…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>
…-smoke is required (#3806) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… orphan free-suite check at 97487df) 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>
Conflict: test/helpers/touchfiles-data.ts 'ship-measure-seeded-flake' kept both sides (main's scripts/lib/shard-jobs.ts and this branch's test/helpers/sdk-system-prompt.ts). Product diff vs main unchanged: 14 files, +269/-77. 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> # Conflicts: # scripts/harness-version.json
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # scripts/harness-version.json # test/helpers/agent-sdk-runner.ts
|
😎 This pull request was merged. |
…s-21563262ae01 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
This was referenced Nov 2, 2026
Closed
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.
Wave docs-21563262ae01
One slot and one version for 6 PRs in area
docs, each merged unchanged with a merge commit:Each constituent is closed with a link to this PR after it lands (
gstack-ship-queue wave settle).Integrator resolutions (rule 19, inside the wave branch only)
scripts/harness-version.json— fix: the paid report prices label-named records, aborted SDK sessions and model-free cases #3590 pinnedscreen.ts/session.tsat main's blobs, fix: price PTY eval sessions from their transcripts #3591 re-pinnedsession.tsand addedtranscript-cost.ts. Kept main'sscreen.tsentry and fix: price PTY eval sessions from their transcripts #3591'ssession.tsandtranscript-cost.tsentries; every pin matches the merged blob.test/helpers/agent-sdk-runner.tskeeps both imports (streamedUsageCostUsdfrom fix: the paid report prices label-named records, aborted SDK sessions and model-free cases #3590 andsdkSystemPromptfrom test(agent-sdk): SDK callers pass the claude_code preset or name why not #3819). Itsharness-version.jsonpin moves to the merged blobd66dac45with both nonBehavioral notes joined.#3591 was stacked on #3590's branch; it was retargeted to main before the build (its head is unchanged, and its pin contains #3590's).
Focused checks at ba30ee0:
test/harness-version.test.ts,test/paid-report-cost.test.ts,test/sdk-system-prompt-tripwire.test.ts,test/helpers/claude-pty-runner.launch.unit.test.ts— 29 pass, 0 fail;bun run typecheckclean.What changed
/eval-plan's dry run gains
CHECK: frontier, so a Haiku- or Sonnet-only plan is refused before it spends (R54, #3824). This is the one prompt-visible change in the wave; the other five constituents change the flaky runner, paid-report cost accounting, the Agent SDK prompt tripwire and docs.image unavailable: gstack-pr-shots could not render on this machine (PR_SHOTS_RENDER_FAILED), so the text version stands in.
Before/after as text: /eval-plan's dry run gains CHECK: frontier, so a Haiku- or Sonnet-only plan is refused before it spends (R54, #3824)
Why
"Consolidating functional areas into larger wave PRs ... so we can land them faster with fewer test passes" (Garry, R46). Six PRs that already passed their own /ship now take one train slot, one version and one round of required checks instead of six.
Blast radius
The wave touches the flaky runner (
bin/gstack-flaky,lib/flaky-run.ts, newlib/quarantine.ts), paid-report cost accounting, the Agent SDK and PTY test harness,/eval-planand docs. Each constituent is merged unchanged, and the two integrator merges only resolvescripts/harness-version.jsonpins and one import list; the remote free tier ran 20301 tests with 0 failures on this exact tree (23e27c064c91), and the PR's CI is green at d485d9d (script ran).Approvals
No approvals recorded for branch wave/docs-21563262ae01.
Summary
The wave lands six shipped PRs together: #3590 and #3591 price the paid-report trials that used to read "cost unknown"; #3819 makes Agent SDK evals refuse the bare stub prompt; #3618 adds the flaky-test quarantine registry; #3824 makes evals test frontier models (R54); #3828 updates the Windows CI wording in docs/support-tiers.md. Nothing in a constituent was edited; the wave adds only the two integrator merge resolutions listed below.
Test Coverage
Step 7 audit (audit only, no tests written): 12 of 15 changed paths tested (80%), value-weighted 11 of 15 (73%).
Tests: 1635 → 1635 (+0 new)
Coverage: 73% value-weighted (80% including 1 weakly covered path)
Test value: 0 tests written, 0 rejected by the authoring gate, 0 existing tests extended, 1 path weakly covered (weak = ★, gate-failing or unrated).
Remaining gaps, proposed as follow-up tests:
test/helpers/pty/transcript-cost.ts: empty or usage-less transcripts return unknown cost, never NaN (only indirect coverage through the launch unit test).gstack-flaky runwith a malformed.gstack/quarantine.json: exits withFLAKY_QUARANTINE_INVALIDinstead of a stack trace.Tests ran: remote_gate 20301 (Ubicloud standard-16, pregate run 20261102T083716Z-80782-9919, 0 failed, $0.08)
Tests ran: typecheck count unavailable (
bun run typecheck, exit 0)Pre-Landing Review
Full depth (gate class, money and gate targeted review): one batched specialist (testing, security, api-contract, state-machines), Red Team, native adversarial, a GPT-6.1 Sol outside voice and the targeted money/gate reader. No finding met the blocking floor (would fail a test, break production, or lose data or secrets), so nothing was fixed and every finding is a note below.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=3 fixed=0 scope=frozen dispatches=5
Gate edits: none detected (50 listed, 30 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review (openai/gpt-6.1-sol, certified configuration): request changes, on outside-voice findings 1 and 2 below. The lead judged both below the floor; the reasoning is under each note.
Review notes
All in the quarantine feature from #3618 unless marked. gstack's own workflows do not call
gstack-flakyyet, so none of these can affect gstack's CI.lib/flaky-run.ts:399, outside voice, rated High/blocking by that reviewer). Under opt-in--rerun-scope test, a quarantined test's rerun that exits without a JUnit report does not stop its 3-attempt loop, so a later passing attempt settles itquarantined-pass. Lead judgment: each rerun runs only that quarantined test, so no other failure can hide; this is the quarantine's own retry budget treating a crash like a failed attempt. Worth a follow-up that makes a missing report end the loop.lib/flaky-run.ts:360, outside voice, rated Medium/blocking by that reviewer). Lead judgment: skipping any test passes in every runner, and the skip is a visible source edit the gate scan inventories; quarantine opens no new hole. Follow-up: count a selected quarantined skip as missing execution.lib/flaky-run.ts:349, native adversarial and Red Team).--shard,--grep,-tor a renamed test leave the id absent from an included file, so the run reportsquarantined-fail(fails closed, contradictsdocs/flaky.md:102-104).docs/flaky.md:155("release the entry with the fix PR") and the captain template ("a PR of its own") disagree.docs/flaky.md:118, native adversarial and Red Team).--base "origin/${{ github.base_ref }}"is empty outsidepull_request, so the step exits 3. Guard it withif: github.event_name == 'pull_request'.add,report,renewandrelease(lib/quarantine.ts:334, testing specialist and native adversarial). A null entry or one with noexpiresAtthrows a TypeError instead ofFLAKY_QUARANTINE_INVALID(fails closed).addandcheck(lib/quarantine.ts:170, targeted and native adversarial), not whenrungrants the attempt budget.--base,runreads the working-tree registry (bin/gstack-flaky:141, targeted), so a PR's CI can honor an entry the same PR adds.FLAKY_RESULTinsertsquarantined=<n>mid-line (native adversarial); a positional outside parser would stop matching.scripts/lib/paid-report.ts:257, targeted money reader, fix: the paid report prices label-named records, aborted SDK sessions and model-free cases #3590/fix: price PTY eval sessions from their transcripts #3591).streamed_cost_usdis a list-rate estimate that excludes server-tool and surcharge categories, but it is folded into the known total without an estimate flag.Exploratory QA
Not run in this /ship: no reviewer plan listed a QA probe, and each constituent ran its own /ship. The remote free tier (20301 tests) is the behavior evidence for this tree.
Design Review
No frontend files changed — design review skipped.
Eval Results
Not run in this /ship.
bun run eval:selectpicks about 120 behavioral probes and 24 judges becausescripts/harness-version.jsonandlib/eval-plan.tsreach 265 gate cases, which is the size of the train's full paid gate. They run there (gstack/full-gate); the six constituents each ran their own evals before this wave.Greptile Review
No Greptile comments (no Greptile signal on this repository).
Scope Drift
Scope Check: CLEAN. The diff is the six pinned constituents plus the two integrator merge resolutions; nothing else.
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.
Issues
Refs #3590
Refs #3612
Refs #3618
Refs #3806
Refs #3824
Refs #3828
Verification Results
No plan verification list applies (no bound plan): 0 PASS, 0 FAIL, 0 BLOCKED, 0 NOT RUN.
TODOS
No TODO items completed in this PR.
Documentation
Status: current. No documentation edits were needed.
Scope: base 0c84f4e, head d485d9d on wave/docs-21563262ae01, mode edit. 51 committed files, no staged, unstaged or untracked content. 149 docs discovered; the 14 changed docs and fragments were diffed and checked against code.
Documentation health:
Coverage debt: quarantine has reference and how-to coverage in docs/flaky.md and docs/standalone-binaries.md, but README.md and docs/skills.md do not mention it, and there is no tutorial or explanation. No diagram drift found in the changed docs. Consider /document-generate for a quarantine walkthrough.
Test plan
UBI_OWNER=gsta158 UBI_REAP=0 gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commands: 20301 tests, 0 failed on tree 23e27c064c91, VM destroyed, $0.08bun run typecheck: exit 0🤖 Generated with Claude Code