Skip to content

docs(planning): add draft-goal-condition's Next and keep companions out of Next sections - #10566

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-8292-40612279532-1
Oct 28, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8292

Summary

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

draft-goal-condition gains a ## Next section in the shape the successor-sections rule sets, placed before ## Gotchas. Following the recorded decision, the planning skills' ## Next sections now name only sequential successors. Companions (questionnaire, name-it-better, record-decision) move to body text, stated with the interview's wording, 'it runs beside the next step, not in place of it', or as During. rows in design's relationship table. Combined bullets are split to one skill each, and brainstorm's design route now requires a locked contract, matching /session-flow:workflow's ladder.

Not verified

  • scripts/check-next-graph.py (CI's next-graph job) could not run here, because the lane runs no interpreter. The reviewer traced it by hand, and the PR's CI runs it.
  • The changed-skills skill-quality check and typos were skipped by check-affected: the first runs the checked tree's own code, and typos is not installed. CI runs both.
  • The planning plugin's test suites (for example tests/interview-defenses.test.sh and reattach-slice.test.sh) were not run here; they are left to the PR's CI. The reviewer checked that the pinned sections and byte offsets they assert are untouched or still in range.
  • The changelog fragment was written by hand. new-changelog-fragment refused because HEAD is detached and the fragment name starts with the branch name. check-changelog-fragments validates the file.

Fix

  • plugins/planning/skills/draft-goal-condition/SKILL.md: new ## Next before ## Gotchas, with four outcome bullets: /implementation:implement, /session-flow:continue-in-background, /work-items:decompose and /planning:interview.
  • plugins/planning/skills/interview/SKILL.md: /planning:questionnaire leaves ## Next, since Step 5 already says it runs beside the next step; the bullet now names only /planning:audit-answers.
  • plugins/planning/skills/prd/SKILL.md: /planning:questionnaire leaves ## Next. The Step 6 hand-off now states it in the interview's words (also ... (if enabled) ... runs beside the next step, not in place of it). The combined interview-or-design bullet is split in two.
  • plugins/planning/skills/design/SKILL.md: ## Next becomes a one-line /planning:design-handoff successor. /naming:name-it-better and /architecture:record-decision move to the relationship table as During. rows.
  • plugins/planning/skills/design-handoff/SKILL.md: /architecture:record-decision leaves ## Next, because the hand-off body already offers it and says the offer never blocks. That sentence now adds 'it runs beside the next step, not in place of it'.
  • plugins/planning/skills/wayfind/SKILL.md: ## Next gives each map destination its own bullet with one skill, folds the no-interview bail-out into the interview bullet, and drops the general /session-flow:workflow fallback to stay within four bullets.
  • plugins/planning/skills/brainstorm/SKILL.md: the /planning:design bullet now applies only when the contract is already locked. steps.md skips the contract stage only for quick changes or when the contract is already the conversation.
  • plugins/planning/skills/setup/SKILL.md: the ## Next line drops its backticks, matching its sibling skills and most skills in the repo.
  • scripts/next-graph-chain.txt: planning:questionnaire gets an entry: reason, because no successor section names it now. This keeps check-next-graph's orphan rule passing.
  • .changes/planning/docs-8292-planning-next-sections-8292c4a1.md: new patch changelog fragment for the planning plugin.

Verification

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

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

The run reports:

  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: all 17 fragments under .changes/ are valid (run after the final edit).
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: 11 passed, 7 skipped, over 10 changed files (run after the final edit).
  • Fresh-context review subagent over the whole diff: no blocking findings. It traced scripts/check-next-graph.py by hand (no unresolved, stage-skip or orphan findings) and confirmed that no pinned-hash test or eval covers the changed text. Its three minor findings were fixed: design-handoff's record-d
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40612279532

Left out: the items under Not verified.

Related

#8292

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

Copy link
Copy Markdown
Contributor

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

No findings. I read all of .claude-lane/pr.diff, the PR context and closing issue #8292, and the "Successor sections" rule in .claude/rules/skill-bodies-state-current-rules.md. I did not run scripts/check-next-graph.py or any tests, so the PR's claims about them are author-claimed and unverified by me.

Acceptance criteria for #8292

  • draft-goal-condition/SKILL.md has a ## Next before ## Gotchas, with four <outcome>: /plugin:skill bullets. This meets the rule's shape (two to four bullets, no Skill-tool phrasing, no fallback clause).
  • No ## Next in the changed planning skills still names a concurrent companion.
    • /planning:questionnaire is out of interview and prd.
    • /naming:name-it-better and /architecture:record-decision are out of design.
    • /architecture:record-decision is out of design-handoff.
    • I did not open the ## Next sections of the planning skills this PR leaves untouched.
  • The companions are now stated in body text or as During. rows. interview (line 449), prd (Step 6) and design-handoff (line 160) use the "beside the next step" wording, and design carries them as During. rows in its relationship table.
  • brainstorm's /planning:design route now requires a locked contract. wayfind's destination bullets are one skill each.
  • scripts/next-graph-chain.txt gives planning:questionnaire an entry: reason, which fits the removal of the last successor section that named it.
  • The changelog fragment is bump: patch, which fits a docs-only wording change.

Trusted paths: none of the changed files match the listed globs.

Spend: none; this is a docs-only change.

Not checked by me: the CI next-graph, skill-quality and typos checks and the planning test suites, which the PR defers to CI.

@github-actions

Copy link
Copy Markdown
Contributor

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

No security issues found.

I read all 10 changed files in .claude-lane/pr.diff and the PR context. The change is docs only: ## Next routing text in nine planning skill bodies, one line in scripts/next-graph-chain.txt, and a changelog fragment.

  • Trusted paths: no changed file matches a trusted-path glob. The diff doesn't touch trusted-actor lists, token or kill-switch actions, merge-hold scripts, workflows, CODEOWNERS, .gitmodules or pipeline.yaml.
  • Plugin manifests: neither plugin.json nor marketplace.json changed, so there are no manifest <field> lines.
  • Instruction-surface deletions: the removed lines are successor hints in ## Next sections, such as /planning:questionnaire and /architecture:record-decision. They are navigation suggestions, not guardrails, and removing them lets no request reach an action it previously blocked. I did not read the instruction exception register, so I judged the deletions by consequence alone.
  • PR text: the PR description and issue comment contain no embedded instructions aimed at the lane.
  • Spend: none. This change adds no turn limits, timeouts, model choices or lane runs.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit 3095591 Oct 28, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-8292-40612279532-1 branch October 28, 2026 01:45
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: add missing ## Next to draft-goal-condition and audit Next/composition hints

0 participants