Skip to content

test(session-flow): point handoff eval case 9 at fixtures in the working directory - #11770

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9238

Summary

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

Case 9 of the handoff eval (purpose-argument-tailors-emphasis-only) told the model its fixtures were relative to the skill directory. The owner's 2026-10-31 host run found that reads there are denied, which made every scaffolded run INVALID, while the scaffold's copies in the working directory read fine, and left the change to this lane. The prompt now says the fixtures are relative to the current working directory, matching where the scaffold puts them. The issue's recorded done-when (case 9 grades the written hot file) and the host run at 3 runs per arm already landed: #11532 and the owner's host-run comment on this issue. So this was the last open item, and a no-release changelog fragment records it.

Not verified

  • No eval run of case 9 after the change: a scaffolded claude plugin eval run needs a host run with a model login, which this lane cannot make. The claim that the scaffold copies files into the working directory rests on the owner's host-run comment on this issue. The reviewer found nothing in the
  • CI-only checks named by check-affected (evals-schema, evals-quality in CI, typos, and the rest of its CI-only list) are left to the PR's CI.
  • Tidy pass 5 (ai-slop) applied the rubric by reading the fragment and found no tells. The detector script detect.sh could not run, because Bash in this lane runs only the named wrappers. Passes 1-3 had no code to act on, since the only code-file change is one phrase inside a JSON string. Pass 4 (writ
  • review-venue.txt was absent from the scratchpad, so the review ran locally in one fresh-context subagent.
  • The reviewer noted that many other evals.json prompts in the repository still say '(relative to the skill directory)' (for example plugins/bugs/skills/write/evals/evals.json:45 and plugins/planning/skills/design-handoff/evals/evals.json). If the scaffold denial applies to them, they hit it too. That
  • The run instructions say to leave changes uncommitted for the runner's patch, so nothing was committed here.

Fix

  • plugins/session-flow/skills/handoff/evals/evals.json: case 9 prompt says its fixture paths are relative to the current working directory instead of the skill directory.
  • .changes/session-flow/test-9238-handoff-case-9-fixture-path-7b3e5d21.md: new bump-none changelog fragment for the eval-only change.

Verification

The runner ran each check from the base copy against c8e6fec:

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

The run reports:

  • .lane/checks/bin/check-changelog-fragments: all 33 fragments valid.
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped, 0 failed over 2 changed files (it first failed on the missing session-flow fragment, which was then added).
  • .lane/verify/bin/check-evals-quality plugins/session-flow/skills/handoff/evals/evals.json: PASS, exit 0. Its one warning is on case 13 (docs/plan.md has no fixture), which this change does not touch.
  • Fresh-context review subagent over the diff: no correctness findings. It confirmed the JSON is valid, the prompt's paths, memory dir and expectations agree, both fixtures exist, and the fragment matches other bump-none fragments.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41257270540

Left out: the items under Not verified.

Related

#9238

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

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Security review: no security issues

I read the whole change in both files. Neither file matches a trusted-path glob.

  • plugins/session-flow/skills/handoff/evals/evals.json: one phrase changes in case 9's eval prompt. The fixture location now reads "relative to the current working directory" instead of "relative to the skill directory". This is test text the eval harness gives the model. It grants no permissions, changes no tool allowlist, and doesn't touch the fixture files list or the memory-dir instruction. The fixture paths (evals/fixtures/...) stay relative and inside the repository. No hook, skill body or standing instruction changes, so the instruction-surface lens finds nothing removed or weakened.
  • .changes/session-flow/test-9238-handoff-case-9-fixture-path-7b3e5d21.md: a new changelog fragment with bump: none. It's prose only and triggers no release.

The diff changes no plugin manifest, workflow, trust control, merge hold, token request or kill switch. The PR context contains no embedded instructions aimed at this review lane.

Spend: this PR spends nothing itself. The eval case it fixes runs only on host runs that use prepaid model usage. That isn't a hold.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: PR #11770: no findings

What changed: In case 9 of the handoff eval (purpose-argument-tailors-emphasis-only), the prompt now says its fixture paths are relative to the current working directory instead of the skill directory. The PR also adds a bump: none changelog fragment for session-flow.

Checks I made (with Read/Grep/Glob):

  • Both fixtures named in the prompt are in the case's files array, and both exist at plugins/session-flow/skills/handoff/evals/fixtures/.
  • Case 9's expected_output and its expectations are untouched. They still grade the hot file under .work/handoffs/, which matches the memory-dir instruction in the prompt.
  • The fragment uses the same frontmatter shape as other bump: none fragments. An eval-only change with no skill text changed doesn't need a release, so bump: none fits.
  • No plugin manifest changed, so the manifest checks don't apply. Neither changed file matches a trusted-path glob.

Closing issue #9238: The done-when recorded in the issue is "case 9 grades the written handoff file, not the trace." That is already met on the base (the expectations grade the file read from disk; the PR says #11532 landed it). This PR fixes the setup problem the owner's host-run comment found: fixture reads in the plugin directory were denied, which made every run verdict: INVALID. No automated test can fail if this prompt wording regresses, because only a host eval run checks it. That fits the nature of the change and is not a blocking gap.

Not verified:

  • The claim that the scaffold copies files into the working directory comes from the author and the owner's host-run comment. I did not run an eval.
  • The checks listed under the PR's Verification section are also the author's claims, not mine.

Advisory, outside this PR: As the PR description notes, 136 occurrences of "relative to the skill directory" / "relative to the current working directory" remain across 30 skills' evals and docs. If the scaffold's read denial applies to them too, those cases would also come out INVALID. That deserves its own follow-up and doesn't block this PR.

Embedded text: None in the PR context tells the lane to approve, skip a check, or drop a finding.

Spend: None. The change only edits eval prompt text.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

pr-merge's gate refuses its verifier verdict (verify:missing)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head c8e6fec92461666e33732b709ed7aa4500dd884b.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit d39aa04 Nov 1, 2026
44 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9238-41257270540-1 branch November 1, 2026 01:28
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit d39aa04e335c8bbe3b6cfd8cb1c7ceea2fd96e70; later checks count it verified from this comment.

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.

session-flow handoff: cap size below the Read cap and split hot file from archive

0 participants