Skip to content

v1.91.185.0 fix(evals): plan-design focus rating in plain words, docsync own-call rule where --help is named, floor Create crop and 0D menu (GSTA-65) - #3358

Merged
capy-ai[bot] merged 8 commits into
mainfrom
flaky-paid-2026-10-23
Oct 23, 2026
Merged

capy-ai[bot] merged 8 commits into
mainfrom
flaky-paid-2026-10-23

Conversation

@garrytan

@garrytan garrytan commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

What changed

Replays of the captured failures: on main's harness all six fail; with this PR all six pass

The captured failures replayed as free tests: main's detector, interface, permission binding and focus picker fail every one; this PR passes them, with the negative controls still refused. Rendered at da91c75; the focus picker has since moved verbatim into the case's fixture.

The ship-docsync interface before and after: the own-call rule moves from a later sentence into the sentence that introduces the candidate and lifecycle commands

The docsync fixture interface: the own-call rule now sits where the agent first learns about gstack-docs-candidate --help, instead of after the read grammar. The grammar itself is unchanged.

  • plan-design-with-ui-scope (test/skill-e2e-plan-design-with-ui.test.ts): the Step 0A rating the focus check needs is any sentence that scores the plan's design out of 10, so the ELI10 plain-words "I rated this plan 4/10 on design." counts.
  • ship-docsync-completion (test/helpers/docsync-interface.ts): the own-call rule ("each as its own Bash call ... a --help is no exception") is stated in the sentence that introduces the Preamble, lifecycle and candidate commands.
  • plan-design-finding-floor, two harness gaps: a cropped owned Create menu that starts on its rule now binds to its pending Write (test/helpers/plan-count-file-permission.ts), and the floor actor identifies the Step 0D focus menu by structure (one all-seven option, narrowing alternatives, a title or question about focus, the seeded plan) instead of one captured wording. That picker moves out of the shared PTY harness into the case's own fixture (test/fixtures/design-floor-focus-picker.ts), and runPlanSkillFloorCheck takes it through a new optional pickSetupChoice hook that only this case passes.
  • HARNESS_VERSION stays 6. boundaries.ts, claude-pty-runner.ts and runners/floor.ts are recorded non-behavioral in scripts/harness-version.json: the picker left the shared harness and the hook has one caller, so no other case's input or verdict can change. plan-design-finding-floor's owned bytes (its test file and the new fixture) start that case's own pass-rate series, the same pattern as the existing skill-fixture.ts entry. The alternative, --bump, would have restarted every case's series for a change one case consumes.

Why

These are the flaky ledger's two repeat paid flakes and its periodic timeout. plan-design-with-ui-scope failed attempt 1 of train gate 39852003387 (its fourth flake) because the agent wrote "4/10 on design" without "completeness". ship-docsync-completion failed attempt 1 of train gate 39904966815, and GSTA-63's focused run, with the same slip: gstack-docs-candidate --help added to the end of its first line of reads. plan-design-finding-floor timed out at 610 s in periodic run 39209106033 on an unanswered owned Create menu whose title had scrolled away; two focused trials here then stalled at the 0D focus menu, worded first as the template's own sentence and then as "Review focus for the landing page plan", which the actor's one-wording picker never answered.

Approvals

Date Ask Words Covers Pending
2026-10-19 Daily flaky-fix pass Garry: "we should have a flaky test fix pass every day that tries to fix flaky tests" This pass (GSTA-65) Merge through a train (standing approval)
2026-10-15 Focused paid runs CREW 5, pre-approved $8.62 measured plus unbilled PTY trials none

Evidence

Focused Opus 5.5 runs, trials fixed before any result:

  • plan-design-with-ui-scope 3/3 PASS (127–149 s) at e47e4cc. A fourth session was cancelled when the machine slept mid-trial; it is not counted.
  • ship-docsync-completion 3/3 PASS ($3.29). The other 11 ship-docsync cases and docsync-spawned 12/12 PASS ($5.33). Across these 13 captures the agent called gstack-docs-candidate --help 5 times, joined 0 times.
  • plan-design-finding-floor: FAIL at e47e4cc (stalled at the 0D menu in the template's words), FAIL at 0dff819 (stalled at a "Review focus" menu), PASS at 3702608 in 86 s, and PASS at 41026ab in 97 s after the picker moved into the fixture (the agent's first counted question was D2, so the hook answered 0D). Each rerun followed a concrete repair. 95efddc only moves the picker's free test rows into the case's owner test.
  • Remote pregate at 95efddc (tree c598e47e2da7): 9,768 tests, 0 failed, $0.05.
  • Cheap checks: harness-version, test-of-test ratchet, typecheck, the test typecheck ratchet, parity-suite, spawnsync tripwire, module-size ratchet, free-fixtures, touchfiles.
  • No threshold, budget, timeout, trial count or case kind changed. Gate-integrity edits to review: the plan-design rating accepts "design" without "completeness"; the floor actor answers the focus menu without a rating sentence or one exact title, and only with the seed's declared all-seven option.

Gate integrity: weakening verdicts

1. The plan-design rating accepts "design" without "completeness": not a weakening, kept.

The rating is not something the case asserts about the agent. It is one of three ways to recognize the Step 0D focus menu, which marks where Step 0 ends (test/skill-e2e-plan-design-with-ui.test.ts:26-56). The verdict (lines 107-114) needs all three of these:

  • the run reaches its review ceiling;
  • a recognized focus menu;
  • after that menu, a separate, non-setup Design finding about concrete UI (an issue-labeled option set, or a UI-behavior title and remedy).

Main already recognizes a design-titled focus menu with no rating at all, so the rating was never required (row H below).

I probed it with a scratch harness (not committed). It runs the real case registration with native observation mocked, the same method as test/plan-design-with-ui-fixture.test.ts, on main b04cc35 and on this head 95efddc. Each scenario is a focus menu ("D1 — Review focus" with "All 7 areas (recommended)" / "Only specific areas") with the ELI10 body shown.

Is the menu recognized as the focus boundary?

ELI10 body main this PR
"I rated this plan 4/10 on design completeness." yes yes
"I rated this plan 4/10 on design." (gate 39852003387) no yes
"I rated this plan 4/10 on visual design." no yes
"I rated this plan 4/10 on accessibility." no no
"I rated this plan 4/10 for test completeness." no no
"The design needs mockups first." (bare mention, no rating) no no
"I rated this plan 4/10. The design needs mockups first." (split) no no
"I rated this plan on design. It needs mockups first." (unscored) no no
no rating sentence no no

What is the case verdict?

Sequence main this PR
A: rated focus menu, then a UI finding FAIL PASS
B: rated focus menu, never followed by a review question FAIL FAIL
C: UI finding before the rated focus menu FAIL FAIL
D: focus menu with no rating, then a finding FAIL FAIL
E: accessibility-rated menu, then a finding FAIL FAIL
F: bare-"design" menu, then a finding FAIL FAIL
G: visual-design-rated menu, then a finding FAIL PASS
H: "Review all 7 design dimensions, or focus?" title, no rating, then a finding PASS PASS

Your first example control, "4/10 on visual design", is accepted. I kept it because it scores the plan's design, and H shows main already accepts a focus menu with no rating at all. Accepting it moves only where Step 0 is taken to end. Every outcome the case asserts about the agent is unchanged, so B and C still fail. The committed controls in test/plan-design-with-ui-fixture.test.ts run in CI (green at this head):

  • design-split-from-rating
  • rating-unscored-design
  • rating-not-design (test completeness)
  • rating-split-across-sentences
  • rating-out-of-seven
  • areas-without-focus
  • areas-not-leading
  • issue-labeled-areas
  • captured-39852003387-no-focus: the gate capture without its focus menu, which fails.

2. The floor actor answers the 0D focus menu without a rating sentence or one exact title: not a weakening, kept.

The actor's answer can never be what passes the case.

  • When pickSetupChoice picks, the runner sends the answer and returns before the question is staged for review (test/helpers/pty/runners/floor.ts:446-454). The answered 0D menu is therefore never a candidate.
  • The case passes (auq_observed) only when a later question the agent asks is judged kind: finding against the seeded defect (floor.ts:456, floor.ts:504).
  • Reaching plan-ready without one is the regression outcome (floor.ts:538). Timeout, silent_write and exited still fail; test/plan-design-floor-fixture.test.ts covers all four.

At 41026ab the actor answered 0D. The judged question was the agent's next one, "D2 — Issue 1: The primary CTA has the same visual weight as 'Learn more'…". The judge quoted the seed's layout defect against it.

What changed is which wording counts as the menu. Before, a 0D menu without the exact title and rating went unanswered, was staged, was judged setup, and sat until the 610 s timeout. That was the stall this PR fixes.

If the agent skipped the rating: the case never asserted the rating. The floor assertion is "the seeded forcing finding makes the agent ask about it". With or without a rating, the run passes only on that later finding question.

Wrong focus: the actor picks only the seed's declared answer, the single all-seven option. It does not answer the menu at all when the menu has:

  • a non-narrowing alternative;
  • two all-seven options;
  • a bundled approve, deploy, implement, ship, merge or delete;
  • a foreign or quoted plan;
  • a second question;
  • no focus wording;
  • multi-select.

These controls are in test/plan-design-floor-fixture.test.ts (census 36597762183 and both GSTA-65 captures), green in CI. So the actor can never narrow the review on the agent's behalf. If the agent narrows it on its own, the case still needs the seeded finding question.

Open in Capy

garrytan and others added 4 commits October 23, 2026 13:18
… rule at the candidate --help, floor Create menu cropped at its rule (GSTA-65)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s own words (GSTA-65)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ure, not one wording (GSTA-65)

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>
@trunk-io

trunk-io Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 4 commits October 23, 2026 14:44
…s owned fixture; no harness series reset (GSTA-65)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t-of-test ratchet)

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:
#	CHANGELOG.md
…ync own-call rule, floor Create crop and 0D menu (GSTA-65) (#3358)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title fix(evals): plan-design focus rating in plain words, docsync own-call rule where --help is named, floor Create crop and 0D menu (GSTA-65) v1.91.185.0 fix(evals): plan-design focus rating in plain words, docsync own-call rule where --help is named, floor Create crop and 0D menu (GSTA-65) Oct 23, 2026
@capy-ai
capy-ai Bot merged commit 6f7488a into main Oct 23, 2026
62 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