Skip to content

fix(prototype): allow one shared states line in the explore-directions handover - #16321

Merged
kyle-sexton merged 9 commits into
mainfrom
fix/explore-directions-shared-states-line
Nov 15, 2026
Merged

kyle-sexton merged 9 commits into
mainfrom
fix/explore-directions-shared-states-line

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Closes #16221

Eval record: held as a draft until a pre-registered before/after eval ran. The
result
(both arms on #16346's head 4e080aade4, after arm with this PR's SKILL.md) shows no loss on
three cases in either reading and non-inferiority at margin 0.05; the hold was lifted on that
outcome after #16346 merged. The owner waived one clause of the registration
(waiver):
main changed two explore-directions reference files during the run.

Summary

Step 4 of /prototype:explore-directions allows one shared states line when every variant has the same states, per the owner decision on #16221. The ed-offline-mockup-handover grader handover-shape follows.

Fix

  • plugins/prototype/skills/explore-directions/SKILL.md step 4, part 1: "its states (or, when every variant has the same states, one shared line saying so and naming them)". Line count unchanged (469).
  • graders/handover-shape.md criterion (2) only: passes states on each variant's line (or a named source variant), or one line that names the states and says every variant has them; fails a message with no states, or one that leaves a variant without states or a named source and does not say they are shared. Criteria (1) and (3) to (6) are byte-identical.
  • samples/handover-shape.json: the "Every variant has the same states: ..." sample moves from fail to pass; two fail samples added (no states anywhere; states on A and B, none on C).
  • Changelog fragment .changes/prototype/.

Three fresh-context reviews then tightened the grader and its samples (21 samples: 7 pass, 14
fail); the sample "- States (same in every variant): ..." is a pass sample now. The grader as
measured is described in
pre-registration 2.

Verification

  • validate-cases.py plugins/prototype/evals: exit 0, no FAIL. handover-shape is type: llm, so its 11 samples are not machine-checked ("11 sample answers need judge calibration; this check never calls a model").
  • check-skill.sh plugins/prototype/skills: CHECK-SKILL explore-directions: PASS — 0 errors, 6 warning(s), same as on main; SKILL.md 469/500 lines.
  • Before/after eval and judge calibration (48 of 48 runs agree over 20 samples): see the eval
    record at the top.

Related

Open items

  • handover-shape passes in about half the handover runs of both arms (18 of 33 after, 13 of 26
    before), so the changed sentence is not what fails it; the wording that fails in those runs is
    not traced yet.

Follow-ups

  • Pre-existing (advisory): the handover-shape grader passes states given in a sub-bullet under a
    variant's line, while SKILL.md step 4 asks for one line per variant. Either the grader drops
    the allowance or step 4 says an entry may be a line with sub-bullets.
  • Pre-existing (advisory): the handover-shape grader excuses a bare "same states" on a variant's
    line when any earlier variant's line named states, even when earlier variants named different
    sets; step 4 has no wording for a reference to another variant's states at all.

🤖 Generated with Claude Code

…s handover

Step 4 of explore-directions now allows one shared line, saying so and
naming the states, when every variant has the same states. The
handover-shape grader passes that line and still fails a handover with
no states, or one that leaves a variant without states and does not say
they are shared. Its samples follow.

Closes #16221

Co-authored-by: Claude Opus 5.5 <[email protected]>
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 15, 2026
kyle-sexton and others added 2 commits November 15, 2026 08:25
The handover-shape sample with "States (same in every variant): ..."
names the states once and says every variant has them, which step 4
now allows, so it moves from fail to pass. The case's expected outcome
states the same rule.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The handover-shape grader now places the shared line beside the variant
lines, requires it to name the states and say every variant has them,
and fails one that a variant's own line contradicts. Four fail samples
cover those edges.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Judge calibration passed the sample that gave the shared states in the
key help, on the line directly above the variant lines, which the
grader's own placement rule allows. The grader now fails only a shared
line away from the variant lines, and the sample puts it after the
reply template.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration: before/after eval of the shared states line (issue 16221)

Posted before any run. do-not-merge stays until this run's result.

What is measured. This PR changes one sentence of SKILL.md step 4 (a variant's states may be given once, in a shared line that names them and says every variant has them) and changes criterion (2) of the handover-shape grader and its samples to follow that sentence. The owner decided the rule on issue 16221. The eval asks whether the new sentence costs anything, on the same three cases and by the same rule as PR 16088's eval.

What this eval does not show. Whether the grader change is right. Both arms are graded by the new grader, so the eval measures the sentence only. The grader rests on the owner's decision, the review below and the calibration below.

Arms. Both arms of a pair are graded by the same case files, so the only difference between them is the skill sentence.

  • before: plugins/prototype at 99c790c93c0091b199c3762b2eeaa777f00bf5b4 (main, the PR's merge base). For the handover pair its evals/ed-offline-mockup-handover/ is replaced by the PR head's copy.
  • after: plugins/prototype at the PR head 6ad94cf8657faff7a9faeccad2d7d9ce86fc33d4.
  • Built with git archive <ref> plugins/prototype | tar -x, each copy pruned to its pair's case. Before posting: diff -rq of each pair lists skills/explore-directions/SKILL.md and nothing else.
  • Main has since taken PR 16322 (85fcfa18d2), which changes the notes host page and its test scripts and no skill text or eval case, so the arms stay on the merge base.
  • A handover before arm graded by main's grader is not run: main's handover-shape fails the shared line by design, which is the defect the issue reports, so that comparison would measure the grader change and not the sentence.

Grader review, done before posting. This session read the new criterion (2) and every sample. A fresh-context reviewer read the diff against the skill sentence; its three findings (a shared line that names no states, one placed away from the variant lines, one a variant's own line contradicts) were fixed with a fail sample each. Judge calibration of handover-shape (calibrate-judge.py, judge claude-opus-5-5, 3 runs per sample, 14 samples): a first pass read agreement 34/36 runs (94.4%), both misses on one must-fail sample that gave the shared states in the key help on the path line, which the grader's own placement rule allows; the grader now fails only a shared line away from the variant lines and that sample puts it after the reply template. On the head registered here: agreement 35/35 runs (100.0%) over 14 samples, verdict: PASS (every grader at or above 90%); 7 of 42 runs did not reproduce their sample and are left out, and every sample has a reproduced run.

Frozen graders. The case files do not change after this is posted. Before the launch and again before any score is read, diff -r of each pair's evals/ prints nothing, and git diff --stat 6ad94cf8657faff7a9faeccad2d7d9ce86fc33d4 <PR head> -- plugins/prototype/evals plugins/prototype/skills prints nothing.

Set and runs (model claude-opus-5-5, judge claude-opus-5-5; a working node and playwright-cli on the sandbox PATH; CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1; flags --trust-plugin --ablation none --scaffold --allow-tools Bash Write Edit --keep-temp --no-publish --concurrency 2)

Set Case Runs per arm Minimum counted per arm
handover pair ed-offline-mockup-handover 45 20
staging pair ed-shared-interview-staging 30 20
css pair ed-existing-app-untrusted-css 24 8
  • 198 runs in six invocations. The two arms of a pair launch together on one machine, each under its own lock. Order: handover pair, staging pair, css pair. The result states each start and end time and what ran beside them.

Validity and exclusions, decided before any score is read

  • run-validity.py <file> --runs <n> --scaffolded on each file by its own command; the excluded runs are written down first.
  • Excluded: a run with a denied tool call, a non-null error (a timeout included), or a trace matching not a valid shim, (node|python3|curl|playwright-cli): command not found or Shell command permission check failed for pattern. In PR 16088's eval 16 and 17 of 45 runs of this case were excluded for a denied compound Bash call; 45 per arm is sized for that.
  • A pair with an arm under its minimum, a partial file, a wrong run count, 3 or more errored, missing-program or skill-load runs in one file, or a run ended by a login or rate-limit failure is relaunched once as a pair; a second such pair ends the set with no verdict.
  • Two readings, both reported: the registered reading (exclusions above) and a second reading with no run excluded for a denied tool call. The minimum-counted rule applies to the registered reading only.

Decision rule

  • A run passes at a score of 0.8 or above.
  • Per case, LOSS if a one-sided Fisher exact test of "the after pass rate is lower than the before pass rate" gives p under 0.05 on that case's counted runs, or the case's mean score falls by 0.15 or more. A LOSS in either reading is a LOSS.
  • On the handover case the same test is also run on the handover-shape grader alone (a run passes when that grader passes) and on its other eight graders together (a run passes when all eight pass); a LOSS on either is a LOSS.
  • Non-inferiority over the three cases: noise-report.py <after> --baseline <before> --margin 0.05, run on one merged file per arm built from the three invocations' cases, and reported as the tool prints it. It decides the hold, as below.
  • Graders do not change after any score is read. No detection control runs.

Power (pass rates from PR 16088's eval; the handover rate was taken under main's grader, so it is only a guide).

  • Handover, 27 of 29 and 28 of 28: at a before rate of 0.9 and 28 counted runs per arm, the test finds a drop to 0.6 with power 0.76 and gives a false LOSS on unchanged text 1.2% of the time.
  • Staging, 27 of 30 in both arms: at 0.9 and 30 per arm, a drop to 0.6 is found with power 0.80 and a drop to 0.7 with power 0.49.
  • css, 21 of 21 and 19 of 19: at 1.0 and 19 counted per arm, a drop to 0.67 is found with power 0.80 and a drop to 0.8 with power 0.33.
  • Exact binomial sums computed by this session for equal arms; exclusions lower them. A moderate loss can go unseen on any case; the result will say so.

Expected, stated before the run. Most runs in both arms give the states once in a shared line, so handover-shape should pass in most runs of both arms, where it failed in most runs under main's grader. If it passes in fewer than half the counted runs of the after arm, the result reports the failing wording, and that is a defect in the sentence or the grader to fix under a fresh registration.

Outcome actions

  • No LOSS in either reading, non-inferiority shown, and no defect: do-not-merge comes off and the PR goes through ready, review and merge.
  • No LOSS but non-inferiority not shown: reported with the numbers; do-not-merge stays until a decision is recorded on this PR.
  • LOSS, a set with no verdict, or the defect above: do-not-merge stays and the failing case and graders are reported; a LOSS goes to the owner.
  • A review fix that changes skill text, one of these cases or a grader restores do-not-merge and needs a fresh registration.

Cost (list-price estimate). About 2.1 USD per handover run and 1.6 USD per other run: about 360 USD, up to about 720 USD if every pair is relaunched. Ceilings: 120 USD per handover invocation, 80 USD per staging invocation, 60 USD per css invocation.

Step 4 asks for one shared line under the path. The handover-shape
grader again fails shared states tucked into the path-and-keys line,
now in words the judge cannot read as allowing it, and the sample for
that shape returns beside the after-the-template one.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration withdrawn; its runs are discarded unread.

The pre-registration above registered a handover-shape grader that this session had loosened after the first calibration: it let the shared states sit inside the path-and-keys line. SKILL.md step 4 asks for one shared line under the path, the fresh-context review had named that shape as one the grader must not pass, and the loosened wording was not reviewed again. A grader is not loosened past the text it guards, so that head should not have been registered.

  • The handover pair was launched at 9:22 AM EST and stopped by this session about ten minutes later. No file was gated and no score was read; the partial output is not part of any verdict. The staging and css pairs were never launched.
  • The next commit after 6ad94cf865 makes the grader fail shared states given only inside the path-and-keys line, in words that say so directly, and restores that fail sample beside the after-the-template one.
  • Before a new registration: a fresh-context review of the grader as it now stands, and a fresh judge calibration on that head. do-not-merge stays.

kyle-sexton and others added 2 commits November 15, 2026 09:37
…grader

The shared states line is per file:// path and holds nothing else; a
heading with state sub-bullets, one line for several screens and a
variant line naming other states fail; "same states" backed by a shared
line passes. Five samples cover the new edges.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…grader

A third review's wording fixes: the choice between per-variant states
and a shared line is made per file:// path; the shared line excepts no
variant; only a heading that introduces the variants or the states may
sit between; "a variant" and "the keys" say what they mean.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration 2: before/after eval of the shared states line (issue 16221)

Posted before any run of this registration. It replaces the withdrawn first registration; no score of that run was read and none is used. do-not-merge stays until this run's result.

What is measured. One sentence of SKILL.md step 4: a variant's states may be given once, in a shared line that names them and says every variant has them. The owner decided the rule on issue 16221. The handover-shape grader and its samples follow that sentence.

What this eval does not show. Whether the grader change is right. Both arms are graded by the same new grader, so the eval measures the sentence only. The grader rests on the owner's decision and on the review and calibration below.

Grader, as registered (a05e21ba70)

  • Three fresh-context reviews read it against the skill sentence. The first found three shapes it passed that the sentence does not allow; the second found one more (one shared line covering several screens); the third found wording a judge could read two ways. Each finding in text this PR wrote is fixed, the last round with the third reviewer's own replacement wording. That last wording has not had a fourth review; it has the calibration below.
  • The grader fails: no states; a variant with neither states nor a named source when its path has no shared line; a shared line that names no states or does not say every variant has them; a heading with the states only in sub-bullets; shared states only inside the path-and-keys line, in an earlier plan or after the reply template; one shared line for several file paths; a shared line a variant's own line contradicts.
  • Judge calibration on this head (calibrate-judge.py, judge claude-opus-5-5, 3 runs per sample, 20 samples: 7 must-pass, 13 must-fail): agreement 48/48 runs (100.0%) over 20 samples, verdict: PASS; 12 of 60 runs did not reproduce their sample and are left out, and every sample has a reproduced run. Earlier heads read 34 of 36 and 35 of 35.
  • Two allowances that were already in main's grader are unchanged and listed in the PR's Follow-ups: states in a sub-bullet under a variant's line, and "same states" excused by an earlier variant's line.

Arms, built on PR 16346's head. Three PRs change this skill's text and merge in this order: PR 16346, this PR, PR 16348. So that this eval's "before" is the main this PR will merge into, both arms start from plugins/prototype at PR 16346's head f288cedd04fe841d569face075e5958a8ed75a00.

  • before: that tree. For the handover pair its evals/ed-offline-mockup-handover/ is this PR's copy at a05e21ba7048364316aaad775b4ba7335326bcdf.
  • after: the before tree with this PR's skills/explore-directions/SKILL.md at a05e21ba70.
  • Before posting: diff -rq of each pair lists SKILL.md and nothing else, and diff of the two SKILL.md files shows the one changed line.
  • Condition. This eval counts only if PR 16346 merges with plugins/prototype/skills, plugins/prototype/context and plugins/prototype/reference as they are at f288cedd04, and this PR's head after its branch update then matches the after arm on those paths and on the handover case. This is checked with git diff before any merge. If PR 16346's text changes or it does not merge, these runs are discarded unread and a new registration is posted on the main of that time.

Frozen graders. The case files do not change after this is posted. Before each launch and again before any score is read, diff -r of each pair's evals/ prints nothing, and git diff --stat a05e21ba7048364316aaad775b4ba7335326bcdf <PR head> -- plugins/prototype/evals plugins/prototype/skills prints nothing.

Sets and runs (model claude-opus-5-5, judge claude-opus-5-5; a working node and playwright-cli on the sandbox PATH; CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1; flags --trust-plugin --ablation none --scaffold --allow-tools Bash Write Edit --keep-temp --no-publish --concurrency 2)

Set Case Runs per arm Minimum counted per arm
handover pair ed-offline-mockup-handover 45 20
staging pair ed-shared-interview-staging 30 20
css pair ed-existing-app-untrusted-css 24 8
  • 198 runs in six invocations. The two arms of a pair launch together on one machine, each under its own lock. Order: handover pair, staging pair, css pair. PR 16346's eval may run beside them. The result states each start and end time and what ran beside them.

Validity and exclusions, decided before any score is read

  • run-validity.py <file> --runs <n> --scaffolded on each file by its own command; the excluded runs are written down first.
  • Excluded: a run with a denied tool call, a non-null error (a timeout included), or a trace matching not a valid shim, (node|python3|curl|playwright-cli): command not found or Shell command permission check failed for pattern. In PR 16088's eval 16 and 17 of 45 handover runs were excluded for a denied compound Bash call; 45 per arm is sized for that.
  • A pair with an arm under its minimum, a partial file, a wrong run count, 3 or more errored, missing-program or skill-load runs in one file, or a run ended by a login or rate-limit failure is relaunched once as a pair; a second such pair ends that set with no verdict.
  • Two readings, both reported: the registered reading (exclusions above) and a second reading with no run excluded for a denied tool call. The minimum-counted rule applies to the registered reading only.

Decision rule

  • A run passes at a score of 0.8 or above.
  • Per case, LOSS if a one-sided Fisher exact test of "the after pass rate is lower than the before pass rate" gives p under 0.05 on that case's counted runs, or the case's mean score falls by 0.15 or more. A LOSS in either reading is a LOSS.
  • On the handover case the same test is also run on the handover-shape grader alone (a run passes when that grader passes) and on its other eight graders together (a run passes when all eight pass); a LOSS on either is a LOSS.
  • Non-inferiority over the three cases: noise-report.py <after> --baseline <before> --margin 0.05, run on one merged file per arm, and reported as the tool prints it.
  • Graders do not change after any score is read. No detection control runs.

Power (pass rates from PR 16088's eval; the handover rate was taken under main's grader, so it is only a guide). Exact binomial sums for equal arms; exclusions lower them.

  • Handover, 27 of 29 and 28 of 28: at a before rate of 0.9 and 28 counted per arm, a drop to 0.6 is found with power 0.76; a false LOSS on unchanged text 1.2% of the time.
  • Staging, 27 of 30 in both arms: at 0.9 and 30 per arm, a drop to 0.6 is found with power 0.80 and a drop to 0.7 with power 0.49.
  • css, 21 of 21 and 19 of 19: at 1.0 and 19 counted per arm, a drop to 0.67 is found with power 0.80 and a drop to 0.8 with power 0.33.
  • A moderate loss can go unseen on any case; the result will say so.

Expected, stated before the run. Most runs in both arms give the states once in a shared line, so handover-shape should pass in most runs of both arms, where it failed in most runs under main's grader. If it passes in fewer than half the counted runs of the after arm, the result reports the failing wording, and that is a defect in the sentence or the grader to fix under a fresh registration.

Outcome actions

  • No LOSS in either reading, non-inferiority shown, no defect, and the condition above met: do-not-merge comes off after PR 16346 has merged, and the PR goes through ready, review and merge.
  • No LOSS but non-inferiority not shown: reported with the numbers; do-not-merge stays until a decision is recorded on this PR.
  • LOSS, a set with no verdict, or the defect above: do-not-merge stays and the failing case and graders are reported; a LOSS goes to the owner.
  • A review fix that changes skill text, one of these cases or a grader restores do-not-merge and needs a fresh registration.

Cost (list-price estimate). About 2.1 USD per handover run and 1.6 USD per other run: about 360 USD, up to about 720 USD if every pair is relaunched. Ceilings: 120 USD per handover invocation, 80 USD per staging invocation, 60 USD per css invocation.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration 3: new base for the eval of the shared states line (issue 16221)

Posted before any run. No invocation of pre-registration 2 was launched, so there is nothing to discard. This comment changes that registration's arms and nothing else; every other part of it (what is measured, the grader review and calibration, sets and run counts, validity and exclusions, decision rule, power, expectation, outcome actions, ceilings) stands as written there.

Why the arms move. PR 16336 merged at 10:14 AM EST and edited plugins/prototype skill text, the explore-directions SKILL.md among it. Registration 2's arms were built on the main from before that merge. PR 16346 and this PR have both merged the new main (7cced2dcf4) in.

Arms, as now registered

  • Both arms start from plugins/prototype at PR 16346's head 4e080aade471df47a9e7f01f0b38de012f3783c5.
  • before: that tree. For the handover pair its evals/ed-offline-mockup-handover/ is this PR's copy.
  • after: the before tree with this PR's skills/explore-directions/SKILL.md at the PR head e59687bb9a6f17c85cbd7e070aa5eaa02b141c62.
  • Before posting: diff -rq of each pair lists SKILL.md and nothing else, and diff of the two SKILL.md files shows the one changed line. validate-cases.py reports no FAIL on the six copies.
  • The handover case files are those the calibration read: git diff --stat a05e21ba7048364316aaad775b4ba7335326bcdf e59687bb9a6f17c85cbd7e070aa5eaa02b141c62 -- plugins/prototype/evals/ed-offline-mockup-handover prints nothing. That calibration (48 of 48) is of the grader alone and does not depend on the skill text, so it stands.

Condition, restated for the new base. This eval counts only if PR 16346 merges with plugins/prototype/skills, plugins/prototype/context and plugins/prototype/reference as they are at 4e080aade4, and this PR's head after its branch update then matches the after arm on those paths and on the handover case; checked with git diff before any merge. Otherwise these runs are discarded unread and a new registration is posted.

If main changes this text again. Before each launch and before any score is read, git diff --stat 7cced2dcf45ccf8b8ee33ee1ccb63c5f4669d518 origin/main -- plugins/prototype/skills plugins/prototype/context plugins/prototype/reference is run. If it prints anything, the runs are discarded unread and both arms move to the new main under a new registration.

Frozen graders. git diff --stat e59687bb9a6f17c85cbd7e070aa5eaa02b141c62 <PR head> -- plugins/prototype/evals plugins/prototype/skills prints nothing before each launch and before any score is read.

Order of launch. PR 16346's eval holds the three locks now; this PR's pairs launch as two locks come free, each pair with both arms together.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Handover and staging pairs: login failure, relaunched once as pairs. Posted before any score is read.

  • The desk login was rotated about noon EST, 20 minutes into the handover and staging pairs (launched 11:38 AM EST). Another eval on the same login showed every later run ending in Failed to authenticate: OAuth token revoked, so this session stopped all four invocations. No file was gated and no score was read; the partial output is not part of any verdict.
  • Pre-registration 2, carried by pre-registration 3, says a pair with a run ended by a login failure is relaunched once as a pair. This is that relaunch for both pairs: same arms, cases, run counts (45 and 30 per arm), gate, exclusions and rules, new output files and temp directories. A second failed pair ends its set with no verdict.
  • The css pair had not started; it launches as registered.
  • The login reads valid now (claude auth status), and the plan window reads 21% used.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Decision recorded. Owner, in session, 2026-11-15 about 2:15 PM EST, on the question below: "Go With recommendations". The recommendation was to waive.

Question. Pre-registration 3 says that if main changes this skill's text during the eval, the runs are discarded unread and both arms move to the new main. At 12:23 PM EST PR 16379 merged and changed two explore-directions reference files on main, reference/bundled-design.md (8 added, 1 deleted) and reference/design-canvas.md (10 added): it restores a verification record and history rows about the bundled design skill that a prompt audit had cut. The check found it at 1:51 PM EST, with the staging pair gated, the handover pair running and no score read. Waive that clause for this PR, or rerun on the new main (about 4 hours)?

Waived for this PR. The eval continues and stands as registered, with both arms on PR 16346's head 4e080aade4. The css pair launches now.

What the waiver rests on, and what it gives up:

  • Both arms of every pair were built from the same base, so each comparison isolates the one changed sentence.
  • The runs do open those files: every handover trace so far (20 and 22), and 16 of 29 and 16 of 30 staging traces.
  • This PR changes one sentence about how a handover lists variant states; the restored text is about the bundled design skill.
  • Given up: the "before" side differs from today's main in those two files, so an interaction between the restored text and this PR's sentence is not measured.
  • Unchanged: the frozen-grader check, the gate and exclusions, the decision rule, the condition that PR 16346 merges with its text as at 4e080aade4, and the diff of the measured paths before the merge.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Result: before/after eval of the shared states line (issue 16221)

Run under pre-registration 2, registration 3 (new base), the relaunch note and the owner's waiver of the main-changed clause. Both arms start from PR 16346's head 4e080aade4; the after arm carries this PR's SKILL.md at e59687bb9a. claude-opus-5-5 for runs and judge, Claude Code 2.1.325.

Verdict: no loss in either reading on any of the three cases, non-inferior at margin 0.05, no defect by the registered rule. The condition is met, so do-not-merge comes off.

Condition. PR 16346 merged at 3:27 PM EST. Against the measured base 4e080aade4, main's plugins/prototype/skills, context and reference differ only in the two reference files of PR 16379 that the waiver covers. PR 16346's one later commit changed four grader and sample files of its own two cases and no skill text.

Order, times (EST, 2026-11-15) and neighbours

Set Start End Ran beside it
handover and staging pairs, attempt 1 11:38 AM void login rotated about noon; unread
handover pair, relaunch (together) 12:04 PM 3:31 PM (after), 3:59 PM (before) this eval's other pairs, PR 16346's staging pair and rerun, PR 16348's first runs from 3:37 PM
staging pair, relaunch (together) 12:04 PM 1:47 PM, 1:52 PM the handover pair, PR 16346's staging pair
css pair (together) 2:16 PM 3:37 PM, 3:40 PM the handover pair, PR 16348's first runs

Validity and exclusions (written down before each file's score was read). Trace search: no match in any file. Every file complete, the registered row count, 0 errors, every trace present. Every exclusion is a denied compound Bash call (cd ... && sed -i ...), except the staging one, a Read outside the workspace.

File Denied-call runs excluded Counted (minimum)
handover before 19 26 of 45 (20)
handover after 12 33 of 45 (20)
staging before 0 30 of 30 (20)
staging after 1 29 of 30 (20)
css before 2 22 of 24 (8)
css after 7 17 of 24 (8)

Loss cases (a run passes at 0.8 or above; the second reading, with no exclusion, in brackets)

Case Before After Mean before Mean after Fisher p
ed-offline-mockup-handover 25 of 26 (43 of 45) 33 of 33 (45 of 45) 0.936 (0.931) 0.946 (0.943) 1.0 (1.0)
ed-shared-interview-staging 26 of 30 (26 of 30) 23 of 29 (24 of 30) 0.853 (0.853) 0.834 (0.840) 0.34 (0.37)
ed-existing-app-untrusted-css 22 of 22 (24 of 24) 17 of 17 (24 of 24) 0.926 (0.927) 0.963 (0.964) 1.0 (1.0)

No mean falls by 0.15; the largest fall is 0.019, on staging.

Handover's two extra tests

Test Before After Fisher p
handover-shape alone 13 of 26 (20 of 45) 18 of 33 (23 of 45) 0.73 (0.80)
the other eight graders together 24 of 26 (42 of 45) 32 of 33 (44 of 45) 0.92 (0.94)

The only other grader that failed any handover run is variant-markers (2 and 1 counted runs).

Non-inferiority over the three cases, as noise-report.py --margin 0.05 prints it: with-arm change (this minus baseline), paired over 3 cases: +0.01, 95% interval -0.02 to +0.04; compare verdict: non-inferior at margin 0.05.

The expectation stated before the run was only half right. handover-shape passes in 55% of the after arm's counted runs (51% with no exclusion). That is above the registered defect line of half, and far above its rate under main's grader, but not "most runs". The before arm, with the old sentence and the same grader, is at 50%, so the sentence neither causes nor cures it. Which wording fails the grader in those runs has not been traced; it is listed in the PR's open items.

Limits

  • Power: a moderate loss can go unseen. With 26 and 33 counted handover runs, a drop from 0.9 to 0.6 would be found about three times in four.
  • Both arms ran on reference files two files older than today's main (the waiver).
  • One check ran out of order: the comparison of each pair's evals/ folders ran after the handover scores were read, because of a shell error in this session's command. It shows only each run's own results folders differ; the case files are identical in every pair.

Next. The branch is updated from main, its head is compared with the after arm on the measured paths, and the PR goes through ready, review and merge.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 15, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 15, 2026 21:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T21:04:22.451339Z 6e48835 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43761514973

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 6e48835b29626dffea156fb5f768903eb377eeb7: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

This PR lets step 4 of /prototype:explore-directions give the states on one shared line when every variant has the same states. The ed-offline-mockup-handover grader, its case expected_outcome and its samples are updated to match. I read all five changed files in full in the diff.

Closing issue #16221. The issue offered two outcomes, and the owner chose the second one: "step 4 says a shared states line is acceptable when every variant has the same states and the grader follows". The change meets it:

  • SKILL.md: step 4 part 1 now allows the shared line (plugins/prototype/skills/explore-directions/SKILL.md:358).
  • Grader: criterion (2) in graders/handover-shape.md passes the shared line only when it names the states, says every variant has them, sits next to the variant lines and agrees with every variant line.
  • case.yaml: expected_outcome says the same thing.

Samples. The sample set exercises each new pass and fail clause. The file has 21 samples, 7 pass and 14 fail, which matches the PR body. The old "Every variant has the same states: ..." fail sample is now a pass sample. I found no sample whose label contradicts the grader text:

  • Reference backed by a shared line: the B line saying "same states" passes because a later shared line names them.
  • Contradicting variant line: a shared line contradicted by A's own states fails.
  • States in the wrong place: states only in the path-and-keys line, only in the plan line, or only after the template all fail.

Unverified claims. These are all the author's claims; I ran none of them:

  • the before/after eval and its non-inferiority result;
  • the judge calibration (48 of 48);
  • the validate-cases.py and check-skill.sh results.

The grader is type: llm, so no deterministic check runs on the samples.

Other notes.

  • The changelog fragment's bump: patch fits a loosened handover format.
  • No plugin manifest changed.
  • No other prototype grader requires states on each variant's line, so nothing else conflicts with the new step 4 wording.
  • Neither the PR body nor the issue contains instructions aimed at the review.
  • The two "Pre-existing (advisory)" items in the PR body (the sub-bullet allowance, and a bare "same states" when earlier variants named different sets) are the author's own follow-ups and are not repeated here.

Spend: the PR spends prepaid model usage only, through the eval runs it registers.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 6e48835b29626dffea156fb5f768903eb377eeb7: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read every hunk of all 5 changed files in the diff:

  • .changes/prototype/fix-explore-directions-shared-states-line-e67cca50.md: a new changelog fragment.
  • plugins/prototype/skills/explore-directions/SKILL.md: one line in step 4, part 1 of the handover.
  • plugins/prototype/evals/ed-offline-mockup-handover/case.yaml: the eval's expected_outcome prose.
  • plugins/prototype/evals/ed-offline-mockup-handover/graders/handover-shape.md: criterion (2) of the grader.
  • plugins/prototype/evals/ed-offline-mockup-handover/samples/handover-shape.json: the grader's pass and fail calibration samples.

What the change does. The skill may now name the variants' states once, in one shared line, when every variant has the same states. Before, it had to repeat them on each variant's line. The grader and its samples change to match.

Trusted paths. None of the changed files matches a TRUSTED PATHS glob.

Trust controls. The change touches no trust control. That means none of these: the trusted-actor list, check-trusted-trigger, the lane token request or broker, the kill switch, the merge holds, other .github/actions/, or pr-pipeline.yaml.

Instruction surface. The edit to SKILL.md loosens an output-format rule, which only changes how the handover message lists states. It removes no guardrail in any protected class: nothing about permissions, secrets, destructive actions, sending content off the machine, or trust boundaries. The protected-class register was not needed to settle that. The prompt and allowed_tools in case.yaml are unchanged.

Plugin manifests. No plugin.json or marketplace.json changes.

Embedded text. The PR context has no embedded instructions aimed at this lane.

Spend. This change only spends prepaid credit: any eval runs of the changed case use subscription or API credit. That is not a hold.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit ee5cbd4 Nov 15, 2026
136 of 138 checks passed
@kyle-sexton
kyle-sexton deleted the fix/explore-directions-shared-states-line branch November 15, 2026 21:18
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

explore-directions: handover gives the states once for all variants, not on each variant's line

1 participant