Repository navigation
Fix seven test and eval checks that misread correct work or raced their neighbours (GST-2131) - #4223
Merged
Merged
Conversation
…ir neighbours (GST-2131) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
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>
…g refused or conditional defers (GST-2131) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…GST-2131) 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.
Seven gstack test and eval checks no longer fail on correct work or race the tests beside them. A red check in the free suite or the paid gate points at a real problem again, which serves the README's goal of a review and release workflow you can trust unattended.
What changed
No screen or prompt changed, so this shows the check output before and after instead of an image.
bin/helpers and thelib/outside-review-result.tsscript alike, at the checkout, and a free check now fails if any excerpt path cannot run without an install.D) Do it later. I'll mark this step as waiting on you.was missed before and now counts as the defer option. Refusals and conditions such asI refuse to mark this step as blocked on youandOtherwise this step is blocked on youstill do not count.Navigated to <fixture URL> (2xx)line, so a run that navigated through$PWDpasses.Why
"Seven checks failed on correct work or raced other tests in the same shard" (daily flaky pass, census run 42571575838 and Free Tests 42547259416, 42560717406 and 42555737357). Each red cost a rerun or a misdiagnosis. Each repair changes how the check reads the result or isolates its fixture, so real failures still fail.
Blast radius
Only test helpers, test files, one captured fixture, two harness pins and one Windows curation entry change, and no product code ships. The new helpers are called only from the changed case files: I read every caller, and the focused files pass 120 of 120 at this head (QA capture 001).
Summary
Contributors saw eval and free-suite reds that came from the checks, not the work. The checks now read what the model actually did, such as browse's navigation line, a file:line inside the right function or a defer option in its own words. Two free-suite races are gone. The handoff test takes a race-safe X display, and the AUQ fixture turns off git's background maintenance. The Windows curated lane skips one more test that spawns shebang scripts. This head also tightens the defer check against refusals and conditions and makes the codex excerpt fully install-free.
Test Coverage
Tests: 1772 → 1772 (+0 new)
Coverage: 56% value-weighted (67% including 1 weakly covered path)
Test value: 0 tests written, 3 rejected by the authoring gate, 0 existing tests extended, 1 path weakly covered (weak = ★, gate-failing or unrated).
Weak path: the windows-curation entry. Its only test checks that the named file exists; the windows-free-tests and windows-smoke runs are the proof that the lane skips it.
Tests ran: free 1653 (test files, carried from CI run 42646323041 at tree 7edaa30, 36838 tests)
Pre-Landing Review
Pre-Landing Review: 1 issue — 0 auto-fixed, 1 asked (0 fixed, 1 skipped), 0 deferred, 0 noted. Step 11 voices added 5 findings, all classified as notes below the blocking floor.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=5 fixed=0 scope=frozen ledgers_read=2 dispatches=2 est_input_tokens=21123
Gate edits: none detected (28 listed, 16 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
The one RH-1 hunk (test/skill-e2e-test-value.test.ts) moves the refundPayment smoke test into createShipCoverageValueFixture in test/helpers/test-value-fixture.ts; nothing is removed.
Outside review: completed by openai/gpt-6.1-sol (host subagent), 1 finding. Native adversarial (Opus 5.5): 4 findings. Specialists (testing, security, state-machines), Red Team and the targeted gate/auth reader: no findings.
The skipped core finding:
test/helpers/third-party-actions.ts:69still creditsContinue now. Until then the step stays blocked on you.andSkipping it means the step stays blocked on you.as a defer option (QA capture 002). Skipped because blocking "until" or "means" also rejects real defer wordings; adversarial-native#1's deferral-cue fix below covers it.Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
test/skill-e2e-skillify.test.ts:280scrape-prototype-path now credits navigation only from browse's 'Navigated to (2xx)' stdout line, so a correct$B goto "<fixture URL>" >/dev/null && $B htmlrun fails; base credited the literal URL in the command.test/helpers/third-party-actions.ts:69DEFER_OUTCOME credits a credential handover ('C) Give me the API key. The step is waiting on you.') as a defer option, so tpa-present's defer assertion can pass without a defer choice.test/helpers/third-party-actions.ts:69DEFER_OUTCOME misses condition words (when, until) its comment says never count, and its trailing lookahead rejects a comma ('...waiting on you, then continue.').test/helpers/session-runner.ts:97browseNavigatedTo compares the raw file:// URL; percent-encoded temp paths or macOS /private/var realpaths would miss. Linux CI temp paths are plain.test/helpers/test-value-fixture.ts:1enclosingDeclaration counts braces per line; multi-line signatures, arrow consts and braces in strings fail closed. The current fixture is unaffected and the old /refund/i branch stays first.Exploratory QA
Functional surface, report-only, 5-minute smoke budget, 2 probes, both complete on the current inputs:
bun test test/skill-fixture.test.ts test/third-party-actions.test.ts: exit 0, 120 pass, 0 fail.unresolvedBinRefsreturns none, and lib/outside-review-result.ts points at the checkout.Not run: browser surfaces (none changed).
Design Review
No frontend files changed — design review skipped.
Eval Results
claudeon PATH, the second used Claude Code 2.1.141, which the API refused for this model. The run that counts used Claude Code 2.1.292, the CI image's pin.loopback: Failed RTM_NEWADDR: Operation not permitted) and the probe printed CODEX_SANDBOX: unavailable. The repaired excerpt did work: the model ran bin/gstack-codex-probe from the checkout with no HELPER_UNAVAILABLE. Not rerun, by the Captain's rule. This is open, not a pass.bun run eval:selectlists 107 behavioral probes because shared harness inputs changed. Only the cases whose graders changed ran, per the lane brief.Review bot comments
No review bot comments.
Scope Drift
Scope Check: CLEAN. Intent: fix seven flaky or misreading test and eval checks (GST-2131). Delivered: test helpers, fixtures, harness pins, one Windows exclusion and a changelog fragment.
Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches).
Verification Results
No plan-specific obligations (no plan file). Automatic QA above.
TODOS
No TODO items completed in this PR.
Documentation
Status: current. No documentation needed changes for this test and eval flaky-check pass.
Scope: I audited 5 commits and 19 files from 6473a17 to d98f9bb. There were no staged, unstaged or new files. The changes cover test helpers (session-runner, skill-fixture, test-value-fixture, third-party-actions and auq-sdk-capture), the e2e and unit tests, a captured scrape eval fixture, the free-fixture and selection data, the Windows curated-lane exclusion in scripts/lib/windows-curation.ts, and one changelog.d fragment. The banned-terms check returned none because no list exists.
Documentation health:
Coverage debt: None. The changes add no public commands, flags, environment variables or skills, so there are no new critical or common gaps.
Diagram drift: None. The ARCHITECTURE.md session-runner diagram is still accurate.
Test plan
bun run test, carried from CI): green in Free Tests run 42646323041 at d98f9bb, 1653 files and 36838 tests, carried at tree 7edaa30bun test test/skill-fixture.test.ts test/third-party-actions.test.ts: 120 pass, 0 fail🤖 Generated with Claude Code
Agent notes
Lane GSTA-449 (follow-up to GSTA-447, daily flaky pass 2026-11-09). /ship run dir: ~/.capy/work/ship-4223-d798550.
Open and unverified: codex-review at d798550 failed for an environment reason (VM ubirun-gsta449-1794236929-9091b85b-t2, bwrap user namespaces) and was not rerun.
Not verified locally: the handoff case needs Playwright's Chromium (CI runs it); test/auq-parallel.test.ts fails on this Capy machine with main's helper too.
Diagnosed and not repaired here: plan-eng-review-artifact, plan-ceo-mode-routing and plan-design-finding-floor (harness gaps); planning-wave-closing-signals and review-design-lite (product defects); cso-snapshot-state dead hard-link recovery (a likely race in lib/cso/state.ts).
Refs GST-2131
Approvals
No approvals recorded for branch capy/fix-flaky-checks-2026-11-09.
Plan: exempt: flaky
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=5 fixed=0 scope=frozen ledgers_read=2 dispatches=2 est_input_tokens=21123
Gate edits: none detected (28 listed, 16 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)