Skip to content

fix(skills/planning-a-feature): stop the writing-plans handoff question - #94

Merged
sourcehawk merged 2 commits into
mainfrom
fix/planning-handoff-question
Oct 12, 2026
Merged

sourcehawk merged 2 commits into
mainfrom
fix/planning-handoff-question

Conversation

@sourcehawk

@sourcehawk sourcehawk commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Description

Fixes #93

After planning-a-feature saved the plan and the state file, an agent could ask the user to choose "subagent-driven" or "native" execution, and not invoke feature-dev-workflow:developing-a-feature. That question is the "Execution Handoff" section of superpowers:writing-plans, which step 6 loads, and nothing told the agent that the section does not apply. Step 6 now says that the sub-skill ends at its self-review and that step 9 replaces its handoff. The plan-review question of that same section ("does the plan capture what you want?") is not ruled out, and some agents still ask it next to the setup questions.

Changes

  • Step 6 tells the agent to return to step 7 after the self-review of superpowers:writing-plans, to ask no execution-method question when the plan is saved, and not to start execution from the "Execution Handoff" section. It says that feature-dev-workflow:developing-a-feature decides which execution skill it uses.
  • ## Red flags has a new row that names the "subagent-driven or native?" question and points to steps 7, 8, and 9.

Testing

Each test run was a fresh agent in its own scratch repository with an approved spec on a feature branch. The agent read planning-a-feature, loaded superpowers:writing-plans with the Skill tool, wrote a real plan and state file, committed and pushed them, and ended its turn. A run failed when its last message asked the user for an execution method.

On the unedited skill, the two runs on the smallest model both failed, and one said that it had not started developing-a-feature. Three runs on each of the two larger models passed, so the gap did not show there. On the edited skill, five runs on the smallest model passed: each asked only the setup questions of developing-a-feature. After a review finding changed the text of step 6, five more runs on the smallest model passed in the same way. The edited skill was not run again on the two larger models, and no run used a single-PR feature.

The change touches no script and no JSON file, so no script test applies.

🤖 Generated with Claude Code

Step 6 loads `superpowers:writing-plans`, and that skill ends with an "Execution Handoff" section. The section tells the agent to ask the user for an execution method, subagent-driven or native. Nothing in `planning-a-feature` said that the section does not apply. So an agent could ask that question after the plan and the state file were saved, and not invoke `feature-dev-workflow:developing-a-feature` as step 9 requires.

Step 6 now says that the sub-skill ends at its self-review, and that step 9 replaces its handoff. A new Red flags row names the question and points to steps 7, 8, and 9.

In a baseline on the unedited skill, agents wrote a real plan and state file in a scratch repository. The two runs on the smallest model both asked the execution-method question. Three runs on each of the two larger models did not. With the new text, five runs on the smallest model asked only the setup questions of `developing-a-feature`.

Fixes #93

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 12, 2026 20:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The unconditional prohibition conflicts with a required single-PR implementation path and should be explicitly scoped to the planning handoff.

1 open finding
What changed in this PR

Clarifies the planning workflow’s handoff to implementation.

Changes:

  • Stops writing-plans from asking about execution methods.
  • Adds a matching red-flag entry.
File Description
skills/​planning-a-feature/​SKILL.md Clarifies handoff ownership between planning and development.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread skills/planning-a-feature/SKILL.md Outdated
…the plan

Step 6 said, with no limit, not to invoke `superpowers:subagent-driven-development` or `superpowers:executing-plans`. Step 4 of `developing-a-feature` requires `superpowers:subagent-driven-development` for a single PR with 2 or more independent tasks. An agent could carry the rule into that step and skip the required skill.

Step 6 now names no execution skill. It says not to start execution from the "Execution Handoff" section, and that `developing-a-feature` decides which execution skill it uses.

With the new text, five runs on the smallest model still asked only the setup questions of `developing-a-feature`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 12, 2026 20:46
@sourcehawk

Copy link
Copy Markdown
Owner Author

Review round 1, for the review of 128a02f.

  • Posted findings: 1. It is applied in 401302c, and its thread has the reply.
  • Suppressed findings: none. The review body has no suppressed block.
  • Comments in code: no change. The comment gate ran against the review base 128a02f and printed 0 flagged, 0 listed, 0 removed, 0 not checked.
  • The PR body now gives the new text of step 6 and the second test run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused guidance resolves the competing handoff while preserving execution routing in developing-a-feature.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@sourcehawk
sourcehawk merged commit 3adb80c into main Oct 12, 2026
6 checks passed
@sourcehawk
sourcehawk deleted the fix/planning-handoff-question branch October 12, 2026 21:44
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-a-feature: the writing-plans execution handoff replaces the hand-off to developing-a-feature

2 participants