docs(plan): make outline step 7 docs commands conditional

Match the prompt: the write-docs and research-docs commands are given
only when step 5 listed docs, and the output path is asked only for
research-docs topics.

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:34:25 +00:00
1 parent fe0e297f98
commit c4bee9e3b9
1 file changed
+4 -3
+4 -3
View File
@@ -68,9 +68,10 @@ stops. Steps 3-10 are skipped.
7. **Record decisions.** Open a docs PR that updates AGENTS.md, GLOSSARY.md, the ADRs and any 7. **Record decisions.** Open a docs PR that updates AGENTS.md, GLOSSARY.md, the ADRs and any
other relevant docs with what was decided. The spec links to it, so tickets point at decisions other relevant docs with what was decided. The spec links to it, so tickets point at decisions
that are already written down rather than pending. After `plan-recorder` opens the docs PR, that are already written down rather than pending. After `plan-recorder` opens the docs PR,
`/plan` gives copyable `/write-docs` and `/research-docs` commands for the user to run on the if step 5 listed docs, `/plan` gives copyable `/write-docs` and `/research-docs` commands,
docs branch and push to the same PR. `/plan` first asks the user for the `research-docs` output only the ones that apply, for the user to run on the docs branch and push to the same PR. When
path. Both need the user in the loop, so they cannot run inside a subagent. `research-docs` topics were listed, `/plan` first asks the user for its 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 8. **Write the spec** as an issue in the tracker (Gitea included). This step runs on the spec and
tickets track only. The spec issue never carries `Status/Ready for Agent`; `/plan` strips the tickets track only. The spec issue never carries `Status/Ready for Agent`; `/plan` strips the
one `/to-spec` sets. one `/to-spec` sets.