Compare commits

...
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 bfe096b64d docs(plan): record skill wiring decisions for /plan
Add the Spec: milestone convention to the issue-tracker doc, update the
plan outline for three tracks (wayfinder), skill wiring and the agreed
not-yet-built items, and amend ADR-0031 for write-docs moving to plan.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 14:08:11 +00:00
Defame1297 43a42ce9f6 Merge pull request 'chore(apm): lock plan 0.4.0' (#250) from chore/lock-plan-0.4.0 into main
Reviewed-on: #250
2026-11-29 13:55:50 +00:00
Defame1297andClaude Opus 5.5 3414c039a8 chore(apm): lock plan 0.4.0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 13:04:26 +00:00
4 changed files with 151 additions and 30 deletions

No files matched your search

+93 -17
View File
@@ -1,11 +1,11 @@
lockfile_version: '1' lockfile_version: '1'
generated_at: '2026-11-29T09:29:04.830530+00:00' generated_at: '2026-11-29T12:58:17.934205+00:00'
apm_version: 0.28.0 apm_version: 0.28.0
dependencies: dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: ansible name: ansible
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.1.0 version: 0.1.0
virtual_path: plugins/ansible virtual_path: plugins/ansible
is_virtual: true is_virtual: true
@@ -15,7 +15,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: bin name: bin
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 4.0.0 version: 4.0.0
virtual_path: plugins/bin virtual_path: plugins/bin
is_virtual: true is_virtual: true
@@ -45,7 +45,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: core name: core
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.1.4 version: 1.1.4
virtual_path: plugins/core virtual_path: plugins/core
is_virtual: true is_virtual: true
@@ -100,7 +100,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: delivery name: delivery
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.8.0 version: 0.8.0
virtual_path: plugins/delivery virtual_path: plugins/delivery
is_virtual: true is_virtual: true
@@ -181,7 +181,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: git name: git
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.3.9 version: 1.3.9
virtual_path: plugins/git virtual_path: plugins/git
is_virtual: true is_virtual: true
@@ -296,7 +296,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: gitea name: gitea
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.3.10 version: 1.3.10
virtual_path: plugins/gitea virtual_path: plugins/gitea
is_virtual: true is_virtual: true
@@ -381,7 +381,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: gitops name: gitops
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.2.0 version: 0.2.0
virtual_path: plugins/gitops virtual_path: plugins/gitops
is_virtual: true is_virtual: true
@@ -404,7 +404,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: k8s name: k8s
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.2.0 version: 0.2.0
virtual_path: plugins/k8s virtual_path: plugins/k8s
is_virtual: true is_virtual: true
@@ -423,7 +423,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: kyberforge name: kyberforge
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 2.2.1 version: 2.2.1
virtual_path: plugins/kyberforge virtual_path: plugins/kyberforge
is_virtual: true is_virtual: true
@@ -674,7 +674,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: lint name: lint
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.1.9 version: 1.1.9
virtual_path: plugins/lint virtual_path: plugins/lint
is_virtual: true is_virtual: true
@@ -702,7 +702,7 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: mattpocock name: mattpocock
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.5.0 version: 0.5.0
virtual_path: plugins/mattpocock virtual_path: plugins/mattpocock
is_virtual: true is_virtual: true
@@ -712,25 +712,38 @@ dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
name: plan name: plan
host: git.rkdr.net host: git.rkdr.net
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1 resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.3.0 version: 0.4.0
virtual_path: plugins/plan virtual_path: plugins/plan
is_virtual: true is_virtual: true
package_type: apm_package package_type: apm_package
deployed_files: deployed_files:
- .claude/agents/plan-gate.md
- .claude/agents/plan-recorder.md
- .claude/agents/plan-researcher.md
- .claude/agents/plan-validator.md
- .claude/commands/next.md - .claude/commands/next.md
- .claude/commands/plan.md
- .claude/commands/ship.md - .claude/commands/ship.md
- .claude/skills/plan-track
- .claude/skills/plan-track/SKILL.md
- .claude/skills/research-docs - .claude/skills/research-docs
- .claude/skills/research-docs/SKILL.md - .claude/skills/research-docs/SKILL.md
- .claude/skills/research-docs/references/file-format.md - .claude/skills/research-docs/references/file-format.md
- .claude/skills/research-docs/references/topics.md - .claude/skills/research-docs/references/topics.md
deployed_file_hashes: deployed_file_hashes:
.claude/commands/next.md: sha256:12668ef795442d3ced640a2177cabf8df0e046381939a607784006e945bbb4a5 .claude/agents/plan-gate.md: sha256:c1c89bae5dd59de122603c2caf1907e8eaf38244cf007dd1942df8cea616a8ca
.claude/agents/plan-recorder.md: sha256:a5283798a574900d4b78dbbbcdf78b9ae0997e8496f5971f0085cfad87c1fea0
.claude/agents/plan-researcher.md: sha256:eda0457d2007cf0c6cb4745383a0369d03a26ed252d7251a1f5250003a89ef85
.claude/agents/plan-validator.md: sha256:a56e7a710fd9e7a9dd9e2601f1f2701b98fd229f3e014bba4bda4dfe5977ecae
.claude/commands/next.md: sha256:8e16330ec0f16dbbc86d44fca94699e33e393c9a8af76f45d3f3bd2b9c8bfa1f
.claude/commands/plan.md: sha256:2538b3dbb3860ebe93a39cad95cd5a1adcbeded19f404a84201b3e8aa7ce91c7
.claude/commands/ship.md: sha256:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8 .claude/commands/ship.md: sha256:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
.claude/skills/plan-track/SKILL.md: sha256:fee5062c8c63b49f66368b290c8ebd8cfff744137670d0c037da1a49c455c047
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539 .claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c .claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f .claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
content_hash: sha256:eab34cb44298cbea425f10c5d42d624369a3cafa18f02bf980fa4d9eb19c76b7 content_hash: sha256:be4369da6e8092deadb8c5fe1d5caa93cfa95ec2dac1092968bbc9abe4e77c97
declared_license: MIT declared_license: MIT
- repo_url: fluxcd/agent-skills - repo_url: fluxcd/agent-skills
name: gitops-knowledge name: gitops-knowledge
@@ -1411,6 +1424,42 @@ deployments:
- git.rkdr.net/Mortis/Holocron/plugins/lint - git.rkdr.net/Mortis/Holocron/plugins/lint
active_owner: git.rkdr.net/Mortis/Holocron/plugins/lint active_owner: git.rkdr.net/Mortis/Holocron/plugins/lint
content_hash: sha256:efeee4fb01c27b9177239f059851cf1b736ca50a12793b94d5d65d30ab98bcd4 content_hash: sha256:efeee4fb01c27b9177239f059851cf1b736ca50a12793b94d5d65d30ab98bcd4
- kind: project-relative
target: claude
value: .claude/agents/plan-gate.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:c1c89bae5dd59de122603c2caf1907e8eaf38244cf007dd1942df8cea616a8ca
- kind: project-relative
target: claude
value: .claude/agents/plan-recorder.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:a5283798a574900d4b78dbbbcdf78b9ae0997e8496f5971f0085cfad87c1fea0
- kind: project-relative
target: claude
value: .claude/agents/plan-researcher.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:eda0457d2007cf0c6cb4745383a0369d03a26ed252d7251a1f5250003a89ef85
- kind: project-relative
target: claude
value: .claude/agents/plan-validator.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:a56e7a710fd9e7a9dd9e2601f1f2701b98fd229f3e014bba4bda4dfe5977ecae
- kind: project-relative - kind: project-relative
target: claude target: claude
value: .claude/commands/next.md value: .claude/commands/next.md
@@ -1419,7 +1468,16 @@ deployments:
owners: owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan - git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:12668ef795442d3ced640a2177cabf8df0e046381939a607784006e945bbb4a5 content_hash: sha256:8e16330ec0f16dbbc86d44fca94699e33e393c9a8af76f45d3f3bd2b9c8bfa1f
- kind: project-relative
target: claude
value: .claude/commands/plan.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:2538b3dbb3860ebe93a39cad95cd5a1adcbeded19f404a84201b3e8aa7ce91c7
- kind: project-relative - kind: project-relative
target: claude target: claude
value: .claude/commands/ship.md value: .claude/commands/ship.md
@@ -4642,6 +4700,24 @@ deployments:
- git.rkdr.net/Mortis/Holocron/plugins/git - git.rkdr.net/Mortis/Holocron/plugins/git
active_owner: git.rkdr.net/Mortis/Holocron/plugins/git active_owner: git.rkdr.net/Mortis/Holocron/plugins/git
content_hash: sha256:ed47302b3fa003ca203cf6677905032f687ff5e07e3d551593865116d9ce11f1 content_hash: sha256:ed47302b3fa003ca203cf6677905032f687ff5e07e3d551593865116d9ce11f1
- kind: project-relative
target: claude
value: .claude/skills/plan-track
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/plan-track/SKILL.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:fee5062c8c63b49f66368b290c8ebd8cfff744137670d0c037da1a49c455c047
- kind: project-relative - kind: project-relative
target: claude target: claude
value: .claude/skills/prompt-author value: .claude/skills/prompt-author
@@ -45,5 +45,6 @@ approved) are human-set tracker state. `mattpocock`'s thinking tools (`wayfinder
`research-docs` moved there too. `setup-matt-pocock-skills` is pinned in both packages, at one `research-docs` moved there too. `setup-matt-pocock-skills` is pinned in both packages, at one
upstream tag that is bumped in both together. `delivery` keeps its `mattpocock` dependency, but upstream tag that is bumped in both together. `delivery` keeps its `mattpocock` dependency, but
references none of the moved skills, so it does not depend on `plan`.* references none of the moved skills, so it does not depend on `plan`.*
- *Amended 2026-11-29: bin's `write-docs` moves to `plan` too, alongside `research-docs`.*
- Infra applies happen by merge (GitOps for Flux, Ansible and OpenTofu alike), so the PR gate is the - Infra applies happen by merge (GitOps for Flux, Ansible and OpenTofu alike), so the PR gate is the
apply gate; the operator verifies and opens revert PRs, never reverting on its own. apply gate; the operator verifies and opens revert PRs, never reverting on its own.
+4
View File
@@ -28,6 +28,10 @@ How the `wayfinder` skill's map and tickets map onto Gitea, which has native iss
- **Frontier query**: open issues in the map's milestone with no assignee, then drop any whose `get_blocked_by` lists an open issue. - **Frontier query**: open issues in the map's milestone with no assignee, then drop any whose `get_blocked_by` lists an open issue.
- **Research findings**: committed on a `research/<name>` branch that is pushed but never merged; the ticket's resolution comment links it. - **Research findings**: committed on a `research/<name>` branch that is pushed but never merged; the ticket's resolution comment links it.
## Spec milestones
On `/plan`'s spec-and-tickets track, `/plan` creates one milestone titled `Spec: <spec issue title>` and assigns every ticket filed from that spec to it. The milestone is created through `gitea-labels-milestones` and the assignment is made through `gitea-issues`. This sits beside the `Map: <name>` milestone above and follows the same one-milestone-per-parent shape. Spec tickets that carry acceptance criteria get `Status/Ready for Agent`; ones without do not.
## PRs as a request surface ## PRs as a request surface
Off. Only issues feed the triage queue; PRs are not triaged as requests. Off. Only issues feed the triage queue; PRs are not triaged as requests.
+53 -13
View File
@@ -28,13 +28,18 @@ The goal is to optimise:
## Tracks ## Tracks
The work takes one of two tracks: The work takes one of three tracks:
- **Spec and tickets**: a spec issue in the tracker, broken down into tickets. - **Spec and tickets**: a spec issue in the tracker, broken down into tickets.
- **Ticket(s) only**: one or more tickets with no spec. - **Ticket(s) only**: one or more tickets with no spec.
- **Wayfinder**: work too large for one agent session, or with decisions that cannot be settled
yet.
The plugin recommends a track, with its reason, after the initial grilling (step 2). The user The plugin recommends a track, with its reason, after the initial grilling (step 2). For the first
confirms it at agreement (step 6), because the plan can change the size of the work. two tracks the user confirms it at agreement (step 6), because the plan can change the size of the
work. Wayfinder is different: it is confirmed right after step 2. `/plan` then gives the user a
copyable `/wayfinder` command (hand-invoked) carrying the intent and the grilling answers, and
stops. Steps 3-10 are skipped.
## Interaction flow ## Interaction flow
@@ -45,25 +50,38 @@ confirms it at agreement (step 6), because the plan can change the size of the w
1. **Gate.** A cheap check before any grilling: is it a duplicate of an open issue or PR, is it 1. **Gate.** A cheap check before any grilling: is it a duplicate of an open issue or PR, is it
already done, does it contradict an ADR, or is it outside the repo's scope (`docs/VISION.md`)? already done, does it contradict an ADR, or is it outside the repo's scope (`docs/VISION.md`)?
If any of these is true, stop. If any of these is true, stop.
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention. It ends 2. **Initial grilling**, only if required, to explore the ticket's or idea's intention. It uses
with a recommended track. `grilling`, plus `domain-modeling` to challenge terms only. GLOSSARY.md and the ADRs are not
3. **Research** in the repo and online, scoped to the recommended track. edited during grilling: candidates are collected and written in step 7. This equals
`grill-with-docs` minus the writing during grilling (`grill-me` and `grill-with-docs` are
hand-invoked wrappers). It ends with a recommended track.
3. **Research** in the repo and online, scoped to the recommended track. Researchers flag when
lasting reference docs for an external tool or library are needed. Nothing is written in this
step.
4. **Deep validation.** Check that the work is feasible and fits the repo as it is now. If it does 4. **Deep validation.** Check that the work is feasible and fits the repo as it is now. If it does
not, go back to grilling (step 2) or stop. not, go back to grilling (step 2) or stop.
5. **Offer a plan** with options, considerations, recommendations, impact, expected results and 5. **Offer a plan** with options, considerations, recommendations, impact, expected results and
the track. the track. `codebase-design` is used only when the options change module or interface shape.
The plan also lists the repo docs needed for downstream context.
6. **Agreement.** The user agrees and confirms the track, or the flow goes back to grilling or 6. **Agreement.** The user agrees and confirms the track, or the flow goes back to grilling or
research. research.
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. 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.
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. tickets track only.
9. **Propose a breakdown** into tickets. If the breakdown shows a gap in the spec, go back to 9. **Propose a breakdown** into tickets. If the breakdown shows a gap in the spec, go back to
step 8. step 8.
10. **Approval and filing.** One explicit approval covers the whole batch. The plugin files the 10. **Approval and filing.** One explicit approval covers the whole batch. The plugin files the
tickets and sets `Status/Ready for Agent` on the ones that carry acceptance criteria. A tickets and sets `Status/Ready for Agent` on the ones that carry acceptance criteria. A
ticket without acceptance criteria is never set ready. ticket without acceptance criteria is never set ready. `gitea-labels-milestones` resolves the
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.
### Loops ### Loops
@@ -73,6 +91,8 @@ The flow is a loop, not a straight line. The named loop-backs are:
- disagreement → grilling or research (step 6 back to 2 or 3); - disagreement → grilling or research (step 6 back to 2 or 3);
- breakdown → spec (step 9 back to 8). - breakdown → spec (step 9 back to 8).
Wayfinder is an early exit rather than a loop: it ends the flow after step 2.
After two loops on the same point, the plugin asks whether to park the idea instead of After two loops on the same point, the plugin asks whether to park the idea instead of
circling. circling.
@@ -114,6 +134,11 @@ sequenceDiagram
U-->>P: answers U-->>P: answers
end end
P-->>U: recommended track + reason P-->>U: recommended track + reason
opt track = wayfinder (confirmed here, not at step 6)
U->>P: confirm wayfinder
P-->>U: copyable /wayfinder command (intent + grilling answers)
Note over P,U: stop, steps 3-10 skipped
end
par Research (step 3), scoped to track par Research (step 3), scoped to track
P->>R: practices, patterns, conventions P->>R: practices, patterns, conventions
@@ -136,6 +161,8 @@ sequenceDiagram
%% Step 7 — Record decisions %% Step 7 — Record decisions
P->>T: open docs PR (AGENTS.md, GLOSSARY, ADRs) P->>T: open docs PR (AGENTS.md, GLOSSARY, ADRs)
P-->>U: copyable /write-docs and /research-docs commands
U->>T: run on the docs branch, push to the same PR
%% Steps 8–9 — Spec and breakdown %% Steps 8–9 — Spec and breakdown
loop until breakdown shows no spec gap loop until breakdown shows no spec gap
@@ -147,7 +174,10 @@ sequenceDiagram
%% Step 10 — Approval and filing %% Step 10 — Approval and filing
U->>P: one approval for the whole batch U->>P: one approval for the whole batch
P->>T: file tickets opt track = spec + tickets
P->>T: create milestone "Spec: <title>"
end
P->>T: file tickets (assigned to the milestone on the spec track)
P->>T: set Status/Ready for Agent<br/>(only tickets with acceptance criteria) P->>T: set Status/Ready for Agent<br/>(only tickets with acceptance criteria)
P-->>U: links to spec, tickets, docs PR P-->>U: links to spec, tickets, docs PR
``` ```
@@ -170,9 +200,20 @@ sequenceDiagram
read-only (the researcher may write only to the scratchpad), and `plan-recorder` (step 7, the docs PR). 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.
All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`, `gitea-prs`, 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 `git-commits` and `agentsmd-author`, which `plan` does not declare as dependencies: it assumes the
`gitea`, `git` and `core` packages are installed. `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.
## Open for later ## Open for later
@@ -180,7 +221,6 @@ All of these are minimal stubs, to be built out. The prompt and agents route to
human sets `Status/Ready for Agent`, while plan may set it (step 10). When the two meet, one human sets `Status/Ready for Agent`, while plan may set it (step 10). When the two meet, one
of those rules has to change. of those rules has to change.
- Templates for the spec and tickets. Plan will own them. - Templates for the spec and tickets. Plan will own them.
- How epics are represented and tickets linked (milestones, map issues, dependency edges).
- Where research output goes: folded into the spec, or kept as findings files. - Where research output goes: folded into the spec, or kept as findings files.
- Whether the tracker issue carries the session's state, so planning can be resumed across - Whether the tracker issue carries the session's state, so planning can be resumed across
sessions. sessions.