Skip to content

feat(playbooks): ask for the smallest expected change in the outcome restatement - #15923

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #15837

Summary

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

The fable-5 problem-framing chapter's restatement sentence ("Restate the outcome, not the request") now asks for a fourth clause, "the smallest change expected to get there is [the fewest files or call sites that reach done]". When the diff touches a file or behavior that clause did not name, the agent re-derives the restatement before going on. The Strong example now shows the clause. The paraphrase test is scoped to the outcome and because-clause, because the new clause names a solution on purpose. I also updated the abbreviated copy of the form in SKILL.md's core doctrine (line 60). The issue's decision calls the chapter "the one place that sentence lives", but SKILL.md quotes the same form word for word and is the always-loaded surface. Leaving it on the old form would repeat the drift recorded in plugins/playbooks/CHANGELOG.md:2869-2871. Both edits stay in the playbook, the home the decision names. Evals: plugins/playbooks/skills/fable-5/evals/evals.json has no eval case for the problem-framing chapter (its 31 cases cover arming, model-adaptation routing, described_problem, staged migration and delegation), so no case was added and no two-version compare was run. Dogfooding: this repository's sessions use the published playbooks plugin. Per README.md:14-20, the change reaches them once the release built from the .changes/playbooks fragment raises the playbooks version and a session runs /plugin marketplace update melodic-software. A marketplace added from a local clone picks it up at the next session or after /reload-plugins. To check: start a multi-file task with /playbooks:fable-5 armed and confirm the opening restatement names the outcome and the smallest expected change.

Not verified

  • No new eval case or two-version opus/sonnet compare: fable-5's evals.json has no case for the problem-framing chapter, so the issue's 'if it has none, the pull request says so' branch applies (stated in summary). An eval runner is not available in this lane in any case
  • The demo (start a multi-file task with the playbook armed and watch the restatement) was not run here: it needs an interactive session with the released plugin
  • CI-only checks named by check-affected (lychee, evals-schema, editorconfig, vocabulary, purged-em-dashes and the other whole-repo scanners) are left to the PR's CI; typos was skipped because it is not installed
  • The issue's decision says the chapter sentence is the one place the form lives; this change also updates SKILL.md:60's abbreviated copy of it, for the reason given in summary. A reviewer who wants the chapter only can revert that one line

Fix

  • plugins/playbooks/skills/fable-5/context/problem-framing.md: the restatement form gains the smallest-change clause, plus a sentence on what to do when the diff goes beyond it; the paraphrase test is scoped to the outcome and because-clause; the Strong example carries the clause, conditioned on…
  • plugins/playbooks/skills/fable-5/SKILL.md: the core-doctrine line quoting the restatement form (line 60) gains the same clause, so the always-loaded copy matches the chapter
  • .changes/playbooks/work-resolve-issue-issue-15837-43397944901-1-57143620.md: new patch changelog fragment for playbooks describing the change

Verification

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

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

The run reports:

  • .lane/checks/bin/check-changelog-fragments: all 3 fragments under .changes/ valid (run after the final edit)
  • .lane/checks/bin/check-changed-skills: CHECK-SKILL fable-5 PASS, 0 errors, 12 warnings, all from content this change did not touch (description length, body size, fresh-eyes notes on other lines)
  • .lane/checks/bin/check-affected: 12 passed, 7 skipped (tools absent or code from the checked tree), over 3 changed files
  • ai-slop detect.sh on the three changed files: 0 findings across 3 files
  • fresh-context review subagent over the diff: 5 findings (SKILL.md:60 drift, paraphrase test conflict, vague 'outgrows' trigger, example ignoring idempotency, fragment scope). All 5 applied, then all checks rerun and passing
  • tidy (code-tidying:tidy-diff): markdown-only change, so passes 4 (write-for-agents, write-for-humans) and 5 (ai-slop) ran; passes 1-3 have no code lines to act on
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43397944901

Left out: the items under Not verified.

Related

#15837

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

Copy link
Copy Markdown
Contributor

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

Security review: PR #15923 found no security issues

I read the whole diff for all 3 changed files. None of them matches a trusted-path glob.

Files

  • .changes/playbooks/work-resolve-issue-issue-15837-43397944901-1-57143620.md is a new patch changelog fragment. It is prose only.
  • plugins/playbooks/skills/fable-5/SKILL.md:60 adds a fourth clause to the core-doctrine restatement form: "smallest expected change is [fewest files or call sites]".
  • plugins/playbooks/skills/fable-5/context/problem-framing.md makes three changes:
    • It adds the smallest-change clause to the restatement form.
    • It adds a rule: if the diff touches anything the clause did not name, re-derive the restatement.
    • It narrows the paraphrase test to the outcome and because-clause, and updates the Strong example to match.

Instruction-surface check. The diff narrows one standing instruction in a skill body: the paraphrase test now covers only the outcome and because-clause. I asked what breaks when the old scope is gone. The test is a problem-framing heuristic about restating the request's own solution. Narrowing it removes no control over destructive actions, secrets, credentials, trust boundaries, external writes or permissions. Nothing an attacker or untrusted input could reach goes unchecked because of it. The other edits add guidance and remove nothing. The file docs/contracts/instruction-exception-register/README.md was not consulted, so I judged this by consequence alone.

Other surfaces. The diff does not change any workflow, action, script, hook, plugin manifest (plugin.json / marketplace.json), userConfig key, token scope, trusted-actor list, kill switch or merge hold.

PR context. The description and the closing-issue note contain no text telling the lane to pass the PR, skip a check, drop a finding or post somewhere else.

Prior findings. This lane has not reviewed an earlier head, so this was a full review, not a blocking-only one.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #15923

This change touches only markdown. The fable-5 problem-framing restatement gets a fourth clause, "smallest change expected to get there is […]". The chapter and the core-doctrine copy in SKILL.md stay worded alike. The new clause sends the reader to the planning chapter's section on updating the plan when reality disagrees. The paraphrase test now covers only the outcome and the because-clause. The Strong example carries the new clause. A bump: patch changelog fragment is included.

What I checked (with Read/Grep in this run)

  • The cross-reference resolves: planning.md has ## Update the plan when reality disagrees (planning.md#L106).
  • Both copies of the restatement form now carry the clause (SKILL.md#L60, problem-framing.md#L11). No other copy of the form is left on the old wording in plugins/playbooks (changelog excluded). reasoning-moves.md:62 points at the section by name and still reads correctly.
  • .claude/rules/skill-bodies-state-current-rules.md covers these files. The change restates no volatile upstream detail, so there is nothing to flag under it.
  • I found no .claude-plugin manifest change, so there are no manifest checks.

Closing issue #15837, "Done when"

  • "The playbook's problem-framing restatement asks for the smallest expected change beside the outcome": met at problem-framing.md:11.
  • "If the playbook has eval cases for that chapter … if it has none, the pull request says so": met. A Grep of plugins/playbooks/skills/fable-5/evals for problem-framing|smallest|because-clause|restate returns nothing, and the PR body says there is no such case.
  • "The pull request body names this repository's dogfooding step": met (marketplace update / /reload-plugins).
  • The PR description departs from the issue's decision ("the one place that sentence lives") by also editing SKILL.md:60. It gives a reason: the two copies would otherwise drift. That is consistent and reasonable.

Findings

  • Advisory (untested criterion): the first Done-when item ("The playbook's problem-framing restatement asks for the smallest expected change beside the outcome") is met, but no test or eval in the PR or the repository would fail if the clause were removed or diverged between SKILL.md#L60 and problem-framing.md#L11. The issue explicitly allows the "no eval case, say so" branch, so this does not block. A later eval case for the problem-framing chapter would close it.

The PR's verification results (check-changelog-fragments, check-changed-skills, check-affected, ai-slop) are the author's claims; I did not run them here.

No embedded instructions found in the PR context.

Verifier dropped 0 of 1 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for db44204

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-15923-db44204cf10f42a5923573ddff6059fd68b97f3e, expires on 2026-12-13.

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=db44204cf10f42a5923573ddff6059fd68b97f3e rubric=8.4.16 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 13, 2026
Merged via the queue into main with commit 9a2b4a8 Nov 13, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-15837-43397944901-1 branch November 13, 2026 09:38
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 9a2b4a8e51e1f415d1a198918108b9be8c196cb4; 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.

Ask for the smallest expected change in the playbook's goal restatement

0 participants