From bc04eaaed572c7e37f9bdf19bc8f02304f741c5d Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 29 Nov 2026 16:13:55 +0000 Subject: [PATCH 1/5] feat(plan): add wayfinder track to plan-track Work too large for one agent session, or with decisions that cannot be settled yet, needs a third track. /wayfinder is hand-invoked, so plan-track names it only as a command for the user to run. Wayfinder is checked before spec-and-tickets because it ends the /plan flow early. Refs: #254 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- plugins/plan/.apm/skills/plan-track/SKILL.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/plugins/plan/.apm/skills/plan-track/SKILL.md b/plugins/plan/.apm/skills/plan-track/SKILL.md index 66be03c..a67dc22 100644 --- a/plugins/plan/.apm/skills/plan-track/SKILL.md +++ b/plugins/plan/.apm/skills/plan-track/SKILL.md @@ -1,10 +1,11 @@ --- name: plan-track description: >- - Use when planning must recommend or confirm a track for a ticket or idea: spec and tickets, or - ticket(s) only. Not writing the spec -> `to-spec`. Not breaking work into tickets -> `to-tickets`. + Use when planning must recommend or confirm a track for a ticket or idea: spec and tickets, + ticket(s) only, or wayfinder. Not writing the spec -> `to-spec`. Not breaking work into + tickets -> `to-tickets`. metadata: - version: "0.1.0" + version: "0.2.0" category: planning --- @@ -16,8 +17,15 @@ Recommend one track, with a one-sentence reason. - **Spec and tickets**: a spec issue in the tracker, broken down into tickets. - **Ticket(s) only**: one or more tickets with no spec. +- **Wayfinder**: a map of the work, explored ticket by ticket. The user runs `/wayfinder` + themselves; never invoke it. -## Pick spec and tickets when any holds +## Pick wayfinder when any holds + +- The work is too large for one agent session. +- It has decisions that cannot be settled yet. + +## Otherwise, pick spec and tickets when any holds - The work needs more than one ticket that depends on another. - It makes a decision that downstream tickets must share. @@ -27,4 +35,4 @@ Otherwise pick ticket(s) only. ## Output -`track: | reason: ` +`track: | reason: ` From 6638385a5110a956ef2f030c7363c3d14e280ff0 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 29 Nov 2026 17:09:32 +0000 Subject: [PATCH 2/5] feat(plan): wire existing skills into /plan Step 2 grills with grilling plus domain-modeling (no GLOSSARY.md or ADR edits; candidates go to step 7) and exits early on the wayfinder track with a copyable /wayfinder command. Step 5 uses codebase-design only on module or interface changes and lists the docs needed downstream. Step 7 hands out /write-docs and /research-docs commands for the docs PR. Steps 8-10 show /to-spec and /to-tickets as code blocks, strip Ready for Agent via gitea-labels-milestones, and group tickets under a Spec: milestone. The outline moves these items into "What ships today". Refs: #255 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- plugins/plan/.apm/prompts/plan.prompt.md | 67 ++++++++++++++++++------ plugins/plan/docs/outline.md | 31 +++++------ 2 files changed, 63 insertions(+), 35 deletions(-) diff --git a/plugins/plan/.apm/prompts/plan.prompt.md b/plugins/plan/.apm/prompts/plan.prompt.md index 54757e8..d04efce 100644 --- a/plugins/plan/.apm/prompts/plan.prompt.md +++ b/plugins/plan/.apm/prompts/plan.prompt.md @@ -8,7 +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. +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. ## 0. Entry @@ -25,41 +26,73 @@ Dispatch `plan-gate`. `verdict: stop` → tell me why and stop. Repeat until I agree. Count loops per point; after two loops on the same point, ask me whether to park the idea instead. -2. **Grill** with `grilling`, only if the intent is unclear. Then recommend a track with - `plan-track`. -3. **Research**: dispatch `plan-researcher` twice in parallel, scope `repo` and scope `web`. +2. **Grill** with `grilling`, only if the intent is unclear, and load `domain-modeling` to challenge + terms. Override: make no `GLOSSARY.md` or ADR edits during grilling; collect candidate terms and + ADRs for step 7 instead. This equals `grill-with-docs` minus the writing during grilling. Then + recommend a track with `plan-track`. `track: wayfinder` → ask me with AskUserQuestion to + confirm. On yes, give me this, filled in, and stop: + + ``` + /wayfinder — + ``` + +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. 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 - track. + track. Use `codebase-design` only when the options change module or interface shape. List the + repo docs downstream agents need: `write-docs` targets and `research-docs` topics. 6. **Agreement**: ask me with AskUserQuestion to agree and confirm the track, or send it back to grilling or research. Say in the question that agreeing also approves step 7's docs branch, push and PR. ## 7. Record decisions -Dispatch `plan-recorder` with the agreed plan and its decisions. My agreement in step 6 authorizes -its branch, commit, push and docs PR. Keep the PR link. +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: + +``` +/write-docs +/research-docs +``` + +Wait for me. ## 8. Spec (spec and tickets track only) `to-spec` is hand-invoked, so you cannot call it. Tell me to run: -`/to-spec` — and to link the docs PR in the spec. +``` +/to-spec — link the docs PR +``` -My running it is my approval of the spec. Wait for it. +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. ## 9–10. Tickets -`to-tickets` is hand-invoked, so you cannot call it. Tell me to run `/to-tickets` on the spec (or on -this 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. +`to-tickets` is hand-invoked, so you cannot call it. Tell me to run it on the spec (or on this +conversation, on the tickets-only track): -After it files them, read each filed ticket with `gitea-issues`. Remove `Status/Ready for Agent` -from any ticket with no acceptance criteria, and list those tickets for me. +``` +/to-tickets — docs PR +``` + +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. + +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 +criteria, and list those tickets for me. + +Spec track: create one milestone `Spec: ` with `gitea-labels-milestones`, and +assign every filed ticket to it with `gitea-issues`. ## Report -Links to the docs PR, the spec and the tickets. +Links to the docs PR, the spec, the milestone and the tickets. diff --git a/plugins/plan/docs/outline.md b/plugins/plan/docs/outline.md index 16d14ac..490f15d 100644 --- a/plugins/plan/docs/outline.md +++ b/plugins/plan/docs/outline.md @@ -193,27 +193,22 @@ sequenceDiagram has a working handoff until implementation has a home. - `.apm/prompts/plan.prompt.md`: the `/plan` command, the MVP orchestrator for steps 0–10. It - dispatches the agents below, grills with `grilling`, and picks the track with `plan-track`. - Steps 8–10 run upstream's hand-invoked `/to-spec` and `/to-tickets`: `/plan` tells the user to - type them, and the user running them is the approval. + dispatches the agents below and wires in existing skills at the step where each fits: `grilling` + 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. - `.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. +- `.apm/skills/plan-track/`: the track criteria for all three tracks, `wayfinder` included. -All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`, `gitea-labels-milestones`, `gitea-prs`, -`git-commits` and `agentsmd-author`, which `plan` does not declare as dependencies: it assumes the -`gitea`, `git` and `core` packages are installed. `research-docs` lives in `plan`, and `write-docs` -will too (see below). - -### Agreed, not yet built - -Agreed in the design above and ticketed separately; none of it is in the prompt yet: - -- `write-docs` moves from `bin` to `plan` (`bin` 4.0.0 to 5.0.0, `plan` 0.4.0 to 0.5.0). -- `plan-track` gains the third, `wayfinder` track. -- `plan.prompt.md` is rewired: the wayfinder early exit, grilling with `domain-modeling`, the - step-7 hand-run `/write-docs` and `/research-docs` commands, and the `Spec:` milestone with - ticket assignment. +All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`, +`gitea-labels-milestones`, `gitea-prs`, `git-commits` and `agentsmd-author`, which `plan` does not +declare as dependencies: it assumes the `gitea`, `git` and `core` packages are installed. +`research-docs` lives in `plan`. `write-docs` still lives in `bin`; its move to `plan` (`bin` +4.0.0 to 5.0.0, `plan` 0.4.0 to 0.5.0) is agreed and ticketed separately. ## Open for later From 99054c8cd2f7a198612e93d19b1344f48b4e6a97 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 29 Nov 2026 17:17:48 +0000 Subject: [PATCH 3/5] feat(plan)!: move write-docs from bin into plan Why: write-docs belongs next to research-docs in plan, the plugin that owns turning work into documented specs and tickets (ADR-0031 amendment, !251). Implementation notes: - write-docs moves from bin to plan as a pure rename; SKILL.md is byte-for-byte unchanged (it already sits at ADR-0020's body-size budget). - Versions: bin 4.0.0 -> 5.0.0, plan 0.4.0 -> 0.5.0 (the single plan bump for spec #252). plan gains the documentation keyword. - README plugin bullets move documentation from bin to plan; plan's outline now says write-docs ships in plan. - marketplace.json regenerated with apm pack. BREAKING CHANGE: bin no longer ships write-docs; install plan for it. Refs: #253 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- .claude-plugin/marketplace.json | 4 ++-- README.md | 4 ++-- plugins/bin/apm.yml | 2 +- plugins/{bin => plan}/.apm/skills/write-docs/SKILL.md | 0 plugins/plan/apm.yml | 3 ++- plugins/plan/docs/outline.md | 4 ++-- 6 files changed, 9 insertions(+), 8 deletions(-) rename plugins/{bin => plan}/.apm/skills/write-docs/SKILL.md (100%) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 65dd57d..725409d 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -17,7 +17,7 @@ { "name": "bin", "description": "Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.", - "version": "4.0.0", + "version": "5.0.0", "category": "Utilities", "source": "./plugins/bin" }, @@ -87,7 +87,7 @@ { "name": "plan", "description": "Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; temporarily also ships /ship to execute a plan.", - "version": "0.4.0", + "version": "0.5.0", "category": "Productivity", "source": "./plugins/plan" } diff --git a/README.md b/README.md index e98a290..99e0ca4 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ The plugins: - **ansible** — authoring, testing and dry-running Ansible playbooks, roles and collections - **gitops** — authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it - **k8s** — read-only diagnosis of workloads on a Kubernetes cluster -- **plan** — turning a ticket or idea into a validated, researched spec and agent-ready tickets; ships the `/plan`, `/next` and `/ship` prompts, the `plan-*` agents, `plan-track`, `research-docs`, and Matt Pocock's planning skills (grilling, research, domain modelling, codebase design, wayfinder, spec, tickets, triage) at a pinned release -- **bin** — cross-cutting workflow skills not yet split into a focused plugin: documentation, diagnosis, compressed output (`caveman`), and re-orienting mid-task (`zoom-out`) +- **plan** — turning a ticket or idea into a validated, researched spec and agent-ready tickets; ships the `/plan`, `/next` and `/ship` prompts, the `plan-*` agents, `plan-track`, `research-docs` and `write-docs` (documentation), and Matt Pocock's planning skills (grilling, research, domain modelling, codebase design, wayfinder, spec, tickets, triage) at a pinned release +- **bin** — cross-cutting workflow skills not yet split into a focused plugin: diagnosis, compressed output (`caveman`), and re-orienting mid-task (`zoom-out`) ## Prerequisites diff --git a/plugins/bin/apm.yml b/plugins/bin/apm.yml index 34b2682..37a1102 100644 --- a/plugins/bin/apm.yml +++ b/plugins/bin/apm.yml @@ -1,5 +1,5 @@ name: bin -version: 4.0.0 +version: 5.0.0 description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin. author: name: Mortis diff --git a/plugins/bin/.apm/skills/write-docs/SKILL.md b/plugins/plan/.apm/skills/write-docs/SKILL.md similarity index 100% rename from plugins/bin/.apm/skills/write-docs/SKILL.md rename to plugins/plan/.apm/skills/write-docs/SKILL.md diff --git a/plugins/plan/apm.yml b/plugins/plan/apm.yml index ac80655..d906ce2 100644 --- a/plugins/plan/apm.yml +++ b/plugins/plan/apm.yml @@ -1,5 +1,5 @@ name: plan -version: 0.4.0 +version: 0.5.0 description: Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; temporarily also ships /ship to execute a plan. author: name: Mortis @@ -13,6 +13,7 @@ keywords: - tickets - research - grilling + - documentation # Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts type: hybrid diff --git a/plugins/plan/docs/outline.md b/plugins/plan/docs/outline.md index 490f15d..5f9be10 100644 --- a/plugins/plan/docs/outline.md +++ b/plugins/plan/docs/outline.md @@ -207,8 +207,8 @@ sequenceDiagram All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`, `gitea-labels-milestones`, `gitea-prs`, `git-commits` and `agentsmd-author`, which `plan` does not declare as dependencies: it assumes the `gitea`, `git` and `core` packages are installed. -`research-docs` lives in `plan`. `write-docs` still lives in `bin`; its move to `plan` (`bin` -4.0.0 to 5.0.0, `plan` 0.4.0 to 0.5.0) is agreed and ticketed separately. +`research-docs` and `write-docs` both ship in `plan`. `write-docs` moved from `bin` in `plan` +0.5.0 (`bin` 4.0.0 to 5.0.0). ## Open for later From fe0e297f986b6300eed48c46909ac84d9db2b703 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 29 Nov 2026 17:33:24 +0000 Subject: [PATCH 4/5] 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 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- plugins/plan/.apm/prompts/plan.prompt.md | 21 +++++++++++++-------- plugins/plan/docs/outline.md | 11 ++++++----- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/plugins/plan/.apm/prompts/plan.prompt.md b/plugins/plan/.apm/prompts/plan.prompt.md index d04efce..1adc8d5 100644 --- a/plugins/plan/.apm/prompts/plan.prompt.md +++ b/plugins/plan/.apm/prompts/plan.prompt.md @@ -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 — ``` -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 @@ -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 diff --git a/plugins/plan/docs/outline.md b/plugins/plan/docs/outline.md index 5f9be10..7a137ab 100644 --- a/plugins/plan/docs/outline.md +++ b/plugins/plan/docs/outline.md @@ -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: ` 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. From c4bee9e3b9dd1d10024e20580e3a5e690644d198 Mon Sep 17 00:00:00 2001 From: Defame1297 <gitea@rkdr.net> Date: Sun, 29 Nov 2026 17:34:25 +0000 Subject: [PATCH 5/5] 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 <noreply@anthropic.com> 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.