Skip to content

fix(planning): stop wayfind eval harness note from sending the agent to read skill files - #16904

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-16579-44140680325-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-16579-44140680325-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16579

Summary

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

Reworded the last sentence of the eval harness note in the 44 plugins/planning/evals/wayfind-*/prompt.md files that carry one, per the recorded decision on #16579. The old sentence told the agent to "Read any skill's or plugin's files with the Read tool at their exact path". Following it, the without-plugin arm made a denied Read of the plugin copy's SKILL.md, which voids the case (INVALID). The new sentence reads "Never search for a skill's or plugin's files, and open only those a skill loaded in this session links to; never run Bash, Glob or Grep on a skill or plugin directory." I chose this wording on evidence: the without arm has no loaded skill, so it gets no file to open. plugins/planning/skills/wayfind/SKILL.md reaches every file it uses through links, so the with arm can still open them. The Bash/Glob/Grep prohibition is kept word for word.

Not verified

  • validate-cases.py plugins/planning/evals (acceptance criterion 4) was not run: this lane allows no interpreter, and check-affected lists eval-cases as a CI-only check. It is left to the PR's CI. The change touches only prompt body text, no frontmatter.
  • The VALID local claude plugin eval run of this case and the check of the other wayfind cases are person-run checks after merge, per the recorded decision; not attempted here.
  • Tidy skipped: the change is 45 files, over the 10-file tidy cutoff.
  • check-evals-quality not applicable: it takes evals.json eval sets, and this change edits none (only plugin-eval prompt.md cases).
  • Reviewer's low-confidence nit, not applied: read literally, 'links to' may not cover files linked only from a linked reference file (e.g. reference/config.md's further links). Wayfind does not need those files. If an eval run shows the with arm skipping a needed transitive file, append 'directly or…
  • typos not installed in this lane; spelling check left to CI.

Fix

  • plugins/planning/evals/wayfind-*/prompt.md (44 files): the harness note's final sentence no longer tells the agent to Read skill or plugin files at their exact path. Nothing else in the files changed, and graders and samples are untouched.
  • .changes/planning/work-resolve-issue-issue-16579-44140680325-1-8a29d091.md: new patch fragment under Fixed that describes the harness-note rewording.

Verification

The runner ran each check from the base copy against 2f73862:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • Grep 'at their exact path' under plugins/: no match in any prompt (the only hit repo-wide is the changelog fragment quoting the old phrase).
  • Grep for the full new sentence at the end of line 13 under plugins/planning/evals: 44 matches in 44 files.
  • git-read diff --word-diff=plain HEAD -- plugins/planning/evals: 44 word-diff hunks, every one the same replacement of that one sentence, no other changes.
  • git-read diff --stat HEAD: 44 prompt.md files changed, 1 line each; no grader or sample file changed.
  • check-changelog-fragments: all 10 fragments valid.
  • check-changed-skills: no changed skills, nothing to gate.
  • check-affected: 15 passed, 7 skipped, 0 failed over 45 changed files. The first run failed on a missing planning fragment, which I added.
  • Fresh-context review subagent: confirmed all 44 carry the new wording and none the old one, and that the with arm's linked wayfind files are covered by 'links to'. It found the fragment's 'all 44 wayfind-* prompts' inaccurate (there are 46 wayfind-* prompts, 2 with no harness note); I fixed that.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44140680325

Left out: the items under Not verified.

Related

#16579

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 2f738627c65bdcb5cb06aa90a06059396010dd0d. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

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

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 2 (40 files)

Code review: chunk 1 of 2 (40 files)

No blocking findings in this chunk. This lane already reviewed an earlier head (2f738627), so this review covered blocking findings only and left advisory ones out.

What changed since the earlier head

The new commit, "Apply fix-docs", replaces em-dashes in the request text or expected_outcome of 9 prompts in this chunk:

  • anti-pattern-skips-when-work-is-already-sharp-tickets
  • chart-happy-path-proposes-map-with-five-sections-and-typed-items
  • chart-refuses-noninteractive-session
  • chart-triggers-on-too-big-and-foggy-effort
  • cross-references-written-in-second-pass-with-real-ids
  • human-facing-reports-refer-to-items-by-title
  • needs-human-only-for-intent-or-vision
  • purpose-fog-recorded-not-charted-migration
  • the em-dash before "I can't even phrase that" in the happy-path prompt, the second edit to that file

Each edit is a punctuation change, such as chart — we interviewed becoming chart. We interviewed. The meaning stays the same. Prompts that this PR does not touch already use the /planning:wayfind chart. We… form, so the mode keyword is still read the same way. None of these edits touches the harness note.

Checked against closing issue #16579

  • Criterion 1 (no prompt says "at their exact path"): met. Every removed harness-note line in this chunk carries the old sentence, and every added line carries the new one.
  • Criterion 2 (each note intact apart from the reworded instruction, with the same new wording everywhere): met for the 39 prompts in this chunk. The em-dash edits sit outside the harness note.
  • Criterion 3 (graders and samples unchanged): met. Only prompt.md files and one changelog fragment are in the diff.
  • Criterion 4 (validate-cases.py reports no new FAIL): not checked. I had no interpreter in this run, and it is left to CI. The PR author says they did not run it either.

Other checks

  • plugins/planning/skills/wayfind/evals/evals.json still has the em-dash versions of 6 of these prompts, at lines 46, 70, 83, 171 and 195, plus one long line Grep left out. I found no script that checks that the two copies match: scripts/validate-plugin-contracts.mjs reads prompt.md only as text to search. So the drift breaks nothing and is not a finding.
  • Changelog fragment: bump: patch under ### Fixed. That level fits a change to eval prompts only. The fragment does not mention the em-dash cleanup, which is cosmetic.
  • No plugin manifest changed in this chunk.
  • Loosened-check verdict: fail. This is the default, because the prompt gave no loosened_check_verdict: line, so no consumer settings applied. Patterns: 0. Rewording an eval prompt is not a check, so nothing is loosened.
  • Embedded text: the PR body and the issue hold no directives aimed at this lane.
  • Spend: none beyond the normal review run.

Verifier dropped 0 of 0 candidates.

Chunk 2 of 2 (5 files)

Code review: chunk 2 of 2 (5 files)

No blocking findings in this chunk. An earlier head was already reviewed, so this review reports blocking findings only.

What this chunk changes

  • Harness note in all 5 prompts. Each plugins/planning/evals/wayfind-work-* and wayfind-wrongly-scoped-* prompt.md makes the same one-sentence replacement. "Read any skill's or plugin's files with the Read tool at their exact path" becomes "Never search for a skill's or plugin's files, and open only those a skill loaded in this session links to". The rest of each note is unchanged, including:

    • the Bash/Glob/Grep prohibition
    • the canned /work-items:track wayfind-labels reply in wayfind-work-frontier-uses-tracker-reply-labels
    • the tracker-export/ lead-in in that same file
  • Em-dash removal in 3 prompts. The latest commit ("Apply fix-docs") replaced em-dashes in 3 of these prompts:

    • wayfind-work-mode-never-resolves-hitl-item-for-the-human: the request line, now #142, running non-interactively
    • wayfind-work-mode-routes-decision-item-to-target-skill: the expected_outcome frontmatter and the request line, now /planning:wayfind work. On our map (#142)…
    • wayfind-wrongly-scoped-item-closes-to-out-of-scope-not-decisions-so-far: the request line, now #200. The claimed frontier item…

    These are punctuation-only edits. The mode word, item numbers, labels and expected behaviour all stay the same, so they don't change what each case tests or how it is graded.

Checked against closing issue #16579

  • Criterion 1 (no prompt says "at their exact path"): met for the 5 files in this chunk. No + line keeps the old phrase.
  • Criterion 2 (rest of the harness note intact, same new wording in all 44): met for the 5 files here. The new sentence is word-for-word the same as in chunk 1's 39 files, which makes 44.
  • Criterion 3 (graders and samples unchanged): met. No grader or sample file is in this chunk. The punctuation edit to one expected_outcome is case metadata. It is not a grader file and doesn't change the expected behaviour.
  • Criterion 4 (validate-cases.py reports no new FAIL): not verified. No interpreter is available in this run, and the PR author also says it was not run. It is left to CI. The only frontmatter edit is punctuation inside a quoted string.

Note (not counted as a finding)

The PR body says "Nothing else in the files changed". That is no longer exactly true at this head: the fix-docs commit changed request lines in 3 prompts and one expected_outcome. The edits are harmless, but the description could mention them.

Other checks

  • The path-scoped rule .claude/rules/eval-case-transcripts.md matches these files and is not broken. The prompts are synthetic, and the change adds no transcript content.
  • Loosened-check verdict: fail (default). The prompt had no loosened_check_verdict: line, so no consumer settings applied, and there are no consumer patterns. Eval prompt wording is not a check, so nothing is loosened.
  • No plugin manifest changed in this chunk.
  • No embedded instructions were found in the PR context or prior-findings files.

Verifier dropped 0 of 0 candidates.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 2 (40 files)

Security review: chunk 1 of 2 (40 files)

I found no security issues in this chunk. This lane already reviewed an earlier head (2f738627), so this pass reported only CRITICAL and IMPORTANT findings, and there were none.

What changed. The chunk has 39 plugins/planning/evals/wayfind-*/prompt.md eval cases and one new changelog fragment, .changes/planning/work-resolve-issue-issue-16579-44140680325-1-8a29d091.md. I read every hunk.

  • All 39 prompts: the last sentence of the eval harness note changes from "Read any skill's or plugin's files with the Read tool at their exact path" to "Never search for a skill's or plugin's files, and open only those a skill loaded in this session links to". The ban on running Bash, Glob or Grep on a skill or plugin directory is kept word for word.
  • New since the last review (the fix-docs commit): punctuation edits in a few case texts. Em dashes become periods or colons in the request lines of wayfind-anti-pattern-skips-..., wayfind-chart-happy-path-..., wayfind-chart-refuses-noninteractive-session, wayfind-cross-references-..., wayfind-human-facing-reports-..., wayfind-needs-human-only-... and wayfind-purpose-fog-recorded-not-charted-migration, and in the expected_outcome of wayfind-chart-triggers-on-too-big-and-foggy-effort. None of these changes the meaning, the frontmatter tools, the graders or the samples.

Why there is no security impact.

  • Trust controls: none of these files matches a TRUSTED PATHS: glob. Nothing here touches a workflow, action, hook, token scope, trusted-actor list, kill switch or merge hold.
  • Instruction-surface lens: these files are eval fixtures that only the eval harness runs, inside its sandbox. They are not standing instructions for any lane that holds credentials. The edit narrows what the agent under test may read and removes no guardrail, so I did not need to consult the protected-class register.
  • Plugin manifests: no plugin.json or marketplace.json changes, so this chunk has no manifest lines.
  • PR context: the change matches the PR description and the acceptance criteria of planning eval case wayfind-prototype-files-on-dossier-folder-and-safe-push returns INVALID #16579. I found no text in it aimed at the review lane.

Spend: none beyond the normal eval and CI runs.

Chunk 2 of 2 (5 files)

Security review: chunk 2 of 2 (5 files)

I found no security issues in this chunk. This lane already reviewed an earlier head (blocking only: yes), so this review reports only CRITICAL and IMPORTANT findings.

What I reviewed. I read every hunk of the five plugins/planning/evals/wayfind-*/prompt.md files in this chunk:

  • wayfind-work-default-pick-and-hitl-slot
  • wayfind-work-frontier-uses-tracker-reply-labels
  • wayfind-work-mode-never-resolves-hitl-item-for-the-human
  • wayfind-work-mode-routes-decision-item-to-target-skill
  • wayfind-wrongly-scoped-item-closes-to-out-of-scope-not-decisions-so-far

What changed.

  • Harness note. In every file, the last sentence of the eval harness note changes from "Read any skill's or plugin's files with the Read tool at their exact path" to "Never search for a skill's or plugin's files, and open only those a skill loaded in this session links to". The Bash/Glob/Grep ban that follows is kept word for word.
  • Since the earlier review. The fix-docs commit replaced em dashes with periods or commas in three request lines and in one expected_outcome frontmatter string. This is punctuation only. The behavior each case expects is unchanged, and so are the allowed_tools, max_turns and timeout_seconds values.

Instruction-surface check.

  • Not standing instructions. These are eval case prompts. They are not CLAUDE.md, AGENTS.md, a rules file, a skill or agent body, or a hook list.
  • Direction of the change. It narrows what the agent under test may read. An open "Read at exact path" permission becomes "never search" plus "open only what a loaded skill links to".
  • Guardrails. None is removed. Because no rule is removed, I did not consult the protected-class list in the instruction exception register.

Trust controls. No file in this chunk matches a TRUSTED PATHS: glob. Nothing here touches:

  • the trusted-trigger check or the trusted-actor list
  • the lane token's scope or the broker signer
  • the kill switch
  • a merge hold
  • any action, workflow, hook or script

Plugin manifests. No plugin.json or marketplace.json is changed, so this chunk has no manifest lines.

PR context. The edits match the PR description and the acceptance criteria of #16579. I found no embedded directive aimed at the review lane.

Spend. Nothing beyond the normal eval and CI runs.

critical-findings: 0

@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 44212952667

Failed GitHub API calls

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

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/apply-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 258ad2c
Run 44212952667

Failed GitHub API calls

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 258ad2cee9ada8ae49a400827e2b8b4d2e7e7dee, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 258ad2c

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16904-258ad2cee9ada8ae49a400827e2b8b4d2e7e7dee, expires on 2026-12-18.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=258ad2cee9ada8ae49a400827e2b8b4d2e7e7dee rubric=10.2.1 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 725127a Nov 18, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16579-44140680325-1 branch November 18, 2026 02:04
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.

planning eval case wayfind-prototype-files-on-dossier-folder-and-safe-push returns INVALID

1 participant