Repository navigation
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
Conversation
… 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>
|
😎 This pull request was merged. |
…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>
10 tasks done
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
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 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.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.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.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), andrunPlanSkillFloorChecktakes it through a new optionalpickSetupChoicehook that only this case passes.boundaries.ts,claude-pty-runner.tsandrunners/floor.tsare recorded non-behavioral inscripts/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 existingskill-fixture.tsentry. 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 --helpadded 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
Evidence
Focused Opus 5.5 runs, trials fixed before any result:
gstack-docs-candidate --help5 times, joined 0 times.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:
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?
What is the case verdict?
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.tsrun in CI (green at this head):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.
pickSetupChoicepicks, 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.auq_observed) only when a later question the agent asks is judgedkind: findingagainst the seeded defect (floor.ts:456, floor.ts:504).test/plan-design-floor-fixture.test.tscovers 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:
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.