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

+13 -8
View File
@@ -8,8 +8,8 @@ Input (raw, verbatim):
$ARGUMENTS
You are the orchestrator. Delegate the reading to subagents and keep only their conclusions. Speak
to me only to ask, to present, or to report. Every hand-invoked command you ask me to run goes in a
code block I can copy.
to me only to ask, to present, or to report. Every command you ask me to run goes in a code block
I can copy.
## 0. Entry
@@ -36,8 +36,11 @@ park the idea instead.
/wayfinder <intent> — <grilling answers>
```
3. **Research**: dispatch `plan-researcher` twice in parallel, scope `repo` and scope `web`. They
flag when lasting reference docs for an external tool or library are needed. Nothing is written.
On no, ask me which of the other two tracks to take, then continue to step 3.
3. **Research**: dispatch `plan-researcher` twice in parallel, scope `repo` and scope `web`. Ask
each to flag when lasting reference docs for an external tool or library are needed. Nothing is
written.
4. **Validate**: dispatch `plan-validator` with the findings. `regrill` → back to 2. `stop` → tell
me why and stop.
5. **Offer a plan**: options, considerations, recommendation, impact, expected results, and the
@@ -52,8 +55,9 @@ park the idea instead.
Dispatch `plan-recorder` with the agreed plan, its decisions, and the candidate terms and ADRs from
step 2. My agreement in step 6 authorizes its branch, commit, push and docs PR. Keep the PR link.
If step 5 listed docs: ask me for the `research-docs` output path, then tell me to run these on the
docs branch and push to the same PR:
If step 5 listed docs: if it listed `research-docs` topics, ask me for the `research-docs` output
path. Then tell me the docs branch name (from the PR) and to run these on it, only the lines that
apply, and push to the same PR:
```
/write-docs <target>
@@ -71,7 +75,8 @@ Wait for me.
```
My running it is my approval of the spec. Wait for it. `to-spec` sets `Status/Ready for Agent` on
the spec issue; remove it with `gitea-issues` if present.
the spec issue; if present, resolve its label ID with `gitea-labels-milestones` and remove it with
`gitea-issues`.
## 9–10. Tickets
@@ -84,7 +89,7 @@ conversation, on the tickets-only track):
It proposes the breakdown, and my approval inside it covers the whole batch. It files the tickets
and sets `Status/Ready for Agent`; a ticket without acceptance criteria must not carry it. If the
breakdown shows a gap in the spec, tell me to rerun `/to-spec` first.
breakdown shows a gap in the spec, tell me to rerun step 8's `/to-spec` block first.
After it files them, read each filed ticket with `gitea-issues`. Resolve the label IDs with
`gitea-labels-milestones`, remove `Status/Ready for Agent` from any ticket with no acceptance