Skip to content

test(session-flow): grade handoff eval case 9 from the written hot file - #11532

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-9238-41198205951-1
Oct 31, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-9238-41198205951-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #9238

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Case 9 (purpose-argument-tailors-emphasis-only) of the handoff skill's evals.json now grades the hot file the run writes under .work/handoffs/, read from disk, instead of the trace. A trace judge cannot see that file's contents. Each expectation names a section of the written file: the brief's Purpose: first line, Suggested skills, the order of Remaining actions, the 17 shape-3 headings checked against save_point.py SECTIONS_3, and the Resume prompt shape. The validator expectation stays, as the earlier verifier findings asked, and is now checked against the file: the written file passes save_point.py validate with exit 0, run in place, and the final reply's rails block is byte-equal to the file's ## Resume prompt section.

Remaining work

  • A host run of case 9 at 3 or more runs per arm, recorded on the issue, as the 2026-10-31 decision asks after the case change.

Not verified

  • No eval run was made. Running case 9 needs a host run with a model writer and judge, which this lane cannot make.
  • CI-only checks (evals-schema, evals-quality over the changed eval sets, and the rest check-affected lists as CI only) are left to the PR's CI.
  • tidy: passes 1-3 ran and found nothing to change. Pass 4 (ai-slop) ran only its rubric read: this lane's Bash runs only the named wrappers, so detect.sh could not run.
  • Low review finding left as is: case 9 hard-codes .work/handoffs/, which the case prompt itself fixes as the memory dir.
  • Verifier finding (data) for the earlier PR #11524: it cites refinement acceptance criteria that are not among this run's kept comments. Its concrete point, keep the validator expectation and check it against the written file, was confirmed against the decision record and done.

Fix

  • plugins/session-flow/skills/handoff/evals/evals.json: case 9's expectations are rewritten so each one is judged from the written hot file. The validator expectation is kept and checked against that file. expected_output says the case grades the file.
  • .changes/session-flow/test-9238-handoff-eval-9-grades-file-e4c1a9b2.md: new bump: none fragment recording the eval-only change.

Verification

The runner ran each check from the base copy against 4a68604:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • check-evals-quality plugins/session-flow/skills/handoff/evals/evals.json: PASS, exit 0. The one warning (Q4, case 13 docs/plan.md) is in an untouched case and predates this change.
  • check-changelog-fragments: all 33 fragments valid.
  • check-affected: the first run failed with a missing session-flow fragment; after the fragment was added, 11 passed, 7 skipped, 0 failed.
  • Fresh-context review subagent: no high or medium findings. It confirmed the 17 headings match SECTIONS_3 (save_point.py:98-116) in order, that new --purpose writes Purpose: <text> as the brief's first line, and the Resume prompt's Read , Prior session: and Handoff origin: lines. Three low
  • read https: //code.claude.com/docs/en/plugin-evals: the skill-creator evals/evals.json format and claude plugin eval case files are separate formats, and neither tool reads the other's case files.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41198205951

Left out: the items under Not verified.

Related

#9238

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 4a6860445c78df20bcba6a228e050107cbfa994e: 0 finding(s), 0 as inline comments.

No security findings.

I read the full diff and the PR context. The change touches two files:

  • plugins/session-flow/skills/handoff/evals/evals.json rewrites the expected_output and expectations strings for eval case 9. The case's prompt, fixture files and structure are unchanged.
  • .changes/session-flow/test-9238-handoff-eval-9-grades-file-e4c1a9b2.md is a new bump: none changelog fragment.

Reasoning:

  • Surface: Both files are data: eval grading text and a changelog note. There is no executable code, workflow, token or secret handling, and no input reaches a credentialed lane.
  • Trusted paths: Neither changed file matches a TRUSTED PATHS: glob.
  • Standing instructions: The diff deletes or softens no rule in a CLAUDE.md, rules file, skill or agent body, hook list or allowlist. The expectations only tighten what the eval grades, so the instruction-surface lens does not apply.
  • Manifests: The diff does not touch plugin.json or marketplace.json, so no manifest <field> line applies.
  • PR context: It contains no embedded directives aimed at the review lane.
  • Spend: The change can start no real charge. Case 9's rewritten grading may make a future host run slightly heavier, but that spends only prepaid API credits or subscription usage, so it is not a hold.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 4a6860445c78df20bcba6a228e050107cbfa994e: 0 finding(s), 0 as inline comments.

No findings. I read the full diff and the PR context, and compared the rewritten case 9 expectations with the code and fixtures they depend on.

What I checked myself:

  • The 17 headings in the structure expectation match SECTIONS_3 in plugins/session-flow/scripts/save_point.py:98-116, same names and same order.
  • Purpose: is the Resumption brief's first line when --purpose is passed (save_point.py:234-248). The text matches the case prompt's trailing free text.
  • The review and coding items named in the Remaining actions expectation all appear in evals/fixtures/api-refactor-session-state.md (lines 41-46). That file says the order is not yet fixed, so the review-first ordering the expectation asks for is allowed. The pagination decision also comes before the since filter and cursor, which depend on it.
  • The .changes/session-flow/ fragment is bump: none, which fits an eval-only change to a skill that is otherwise unchanged. The manifest items don't apply, because no plugin.json or marketplace.json changed.
  • Closing issues: none. The PR only says Refs: #9238, so there are no acceptance criteria to check.

Not verified:

  • I did not run the eval, the validator, or any CI check.
  • The PR's own claims (check-evals-quality PASS, check-affected results, review subagent) are author-claimed and I did not confirm them.
  • The remaining work the PR lists, a host run of case 9 at 3 or more runs per arm, is still open.

Spend: running case 9 uses prepaid API credit or subscription usage through the model writer and judge. That is not a hold.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4a6860445c78df20bcba6a228e050107cbfa994e.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit ea0c16f Oct 31, 2026
44 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9238-41198205951-1 branch October 31, 2026 12:31
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 4a6860445c78df20bcba6a228e050107cbfa994e. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (evidence-unbound:claude-review: not bound: no-run;
  evidence-unbound:claude-security-review: not bound: no-run)

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.

0 participants