fix(plan): tighten /plan hand-offs after review

Ask researchers to flag reference-doc needs, add the wayfinder "no"
branch, name the docs branch and give only applicable doc commands,
resolve the label ID before stripping Ready for Agent from the spec,
point the /to-spec rerun at step 8's block, and call /write-docs and
/research-docs user-run.

Refs: #255
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-29 17:33:24 +00:00
1 parent 99054c8cd2
commit fe0e297f98
2 files changed
+19 -13

No files matched your search

+6 -5
View File
@@ -72,7 +72,8 @@ stops. Steps 3-10 are skipped.
docs branch and push to the same PR. `/plan` first asks the user for the `research-docs` output
path. Both need the user in the loop, so they cannot run inside a subagent.
8. **Write the spec** as an issue in the tracker (Gitea included). This step runs on the spec and
tickets track only.
tickets track only. The spec issue never carries `Status/Ready for Agent`; `/plan` strips the
one `/to-spec` sets.
9. **Propose a breakdown** into tickets. If the breakdown shows a gap in the spec, go back to
step 8.
10. **Approval and filing.** One explicit approval covers the whole batch. The plugin files the
@@ -81,7 +82,7 @@ stops. Steps 3-10 are skipped.
label IDs for the Ready-for-Agent strip. On the spec track it also creates the
`Spec: <title>` milestone, and `gitea-issues` assigns the filed tickets to it.
Every hand-invoked command `/plan` asks the user to run is presented as a copyable code block.
Every command `/plan` asks the user to run is presented as a copyable code block.
### Loops
@@ -197,9 +198,9 @@ sequenceDiagram
with `domain-modeling` (no edits during grilling) and `plan-track` in step 2, including the
wayfinder early exit; `codebase-design` in step 5; and `gitea-labels-milestones` and
`gitea-issues` in steps 8–10 for the Ready-for-Agent strip and the `Spec:` milestone with ticket
assignment. Hand-invoked commands (`/wayfinder`, `/write-docs`, `/research-docs`, `/to-spec`,
`/to-tickets`) are given to the user as copyable code blocks, and the user running them is the
approval.
assignment. Hand-invoked commands (`/wayfinder`, `/to-spec`, `/to-tickets`) and user-run ones
(`/write-docs`, `/research-docs`) are given to the user as copyable code blocks, and the user
running them is the approval.
- `.apm/agents/`: `plan-gate` (step 1), `plan-researcher` (step 3), `plan-validator` (step 4),
read-only (the researcher may write only to the scratchpad), and `plan-recorder` (step 7, the docs PR).
- `.apm/skills/plan-track/`: the track criteria for all three tracks, `wayfinder` included.