From c4bee9e3b9dd1d10024e20580e3a5e690644d198 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 29 Nov 2026 17:34:25 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- plugins/plan/docs/outline.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/plan/docs/outline.md b/plugins/plan/docs/outline.md index 7a137ab..84ad393 100644 --- a/plugins/plan/docs/outline.md +++ b/plugins/plan/docs/outline.md @@ -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 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, - `/plan` gives copyable `/write-docs` and `/research-docs` commands for the user to run on the - 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. + if step 5 listed docs, `/plan` gives copyable `/write-docs` and `/research-docs` commands, + only the ones that apply, for the user to run on the docs branch and push to the same PR. When + `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 tickets track only. The spec issue never carries `Status/Ready for Agent`; `/plan` strips the one `/to-spec` sets.