Compare commits

...
18 Commits
Author SHA1 Message Date
Defame1297 3b0dcc32d4 Merge pull request 'feat(plan)!: wire existing skills into /plan and move write-docs into plan' (#256) from feat/plan-skill-wiring into main
Reviewed-on: #256
Reviewed-by: Defame1297 <[email protected]>
2026-11-29 18:05:55 +00:00
Defame1297andClaude Opus 5.5 c4bee9e3b9 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
2026-11-29 17:34:25 +00:00
Defame1297andClaude Opus 5.5 fe0e297f98 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
2026-11-29 17:33:24 +00:00
Defame1297 99054c8cd2 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 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 17:17:48 +00:00
Defame1297andClaude Opus 5.5 6638385a51 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 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 17:09:32 +00:00
Defame1297andClaude Opus 5.5 bc04eaaed5 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 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 16:13:55 +00:00
Defame1297 0d99a41a57 Merge pull request 'docs(plan): record skill wiring decisions for /plan' (#251) from docs/plan-skill-wiring into main
Reviewed-on: #251
2026-11-29 16:05:39 +00:00
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
Defame1297 219a084c25 Merge pull request 'feat(plan): bare-bones /plan MVP with gate, research, validate and record agents' (#249) from feat/plan-mvp into main
Reviewed-on: #249
Reviewed-by: Defame1297 <[email protected]>
2026-11-29 11:49:58 +00:00
Defame1297andClaude Opus 5.5 e31e8686b9 docs(plan): tighten /plan approval wording and outline notes
/plan is hand-invoked like /ship, step 6 states that agreeing also
approves the docs PR, and the outline's agent notes are corrected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 11:20:50 +00:00
Defame1297andClaude Opus 5.5 cf875e6e1a fix(plan): unroute agent descriptions and regenerate marketplace
Agent descriptions named the /plan prompt in slash form, which the
agent validator reads as an unresolved routing target. Regenerate
marketplace.json for plan 0.4.0. /plan now strips the ready label from
filed tickets without acceptance criteria, and the outline notes the
packages plan assumes are installed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 10:51:44 +00:00
Defame1297andClaude Opus 5.5 b7747d27b6 feat(plan): add bare-bones /plan MVP with gate, research, validate and record agents
Add the /plan orchestrator prompt for outline steps 0-10, four stub
agents (plan-gate, plan-researcher, plan-validator, plan-recorder) and
the plan-track skill. Steps 8-10 hand off to the hand-invoked /to-spec
and /to-tickets, which the user runs as their approval. /next now
offers /plan as a handoff. Bump plan to 0.4.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 10:48:44 +00:00
Defame1297 b98340d432 Merge pull request 'docs(plan): add sequence diagram to outline' (#248) from docs/plan-outline-sequence-diagram into main
Reviewed-on: #248
2026-11-29 10:39:36 +00:00
Defame1297andClaude Opus 5.5 1a887a750e docs(plan): add sequence diagram to outline
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 10:04:57 +00:00
Defame1297 1a2b63e2cb Merge pull request 'chore(apm): lock plan 0.3.0' (#247) from chore/lock-plan-0.3.0 into main
Reviewed-on: #247
2026-11-29 09:41:57 +00:00
Defame1297andClaude Opus 5.5 ffaf1678da chore(apm): lock plan 0.3.0
Records the apm update after #246: every Holocron package resolves to
9ae0c8c, so research-docs and the planning skills deploy from plan, and
codebase-design deploys from plan instead of mattpocock.

Refs: #246
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 09:29:20 +00:00
16 changed files with 519 additions and 58 deletions

No files matched your search

+2 -2
View File
@@ -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.3.0",
"version": "0.5.0",
"category": "Productivity",
"source": "./plugins/plan"
}
+2 -2
View File
@@ -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 `/next` and `/ship` prompts, `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
+123 -36
View File
@@ -1,11 +1,11 @@
lockfile_version: '1'
generated_at: '2026-11-28T17:55:03.653446+00:00'
generated_at: '2026-11-29T12:58:17.934205+00:00'
apm_version: 0.28.0
dependencies:
- repo_url: Mortis/Holocron
name: ansible
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.1.0
virtual_path: plugins/ansible
is_virtual: true
@@ -15,8 +15,8 @@ dependencies:
- repo_url: Mortis/Holocron
name: bin
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
version: 3.0.0
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 4.0.0
virtual_path: plugins/bin
is_virtual: true
package_type: apm_package
@@ -28,10 +28,6 @@ dependencies:
- .claude/skills/diagnose/assets/hitl-loop.template.sh
- .claude/skills/diagnose/references/feedback-loops.md
- .claude/skills/diagnose/references/regression-seams.md
- .claude/skills/research-docs
- .claude/skills/research-docs/SKILL.md
- .claude/skills/research-docs/references/file-format.md
- .claude/skills/research-docs/references/topics.md
- .claude/skills/write-docs
- .claude/skills/write-docs/SKILL.md
- .claude/skills/zoom-out
@@ -42,17 +38,14 @@ dependencies:
.claude/skills/diagnose/assets/hitl-loop.template.sh: sha256:b2932630950e5210075bcd6f850e5accf30c101c5367b29eac3a29b4dd8084c8
.claude/skills/diagnose/references/feedback-loops.md: sha256:5ed81b331fcf7dfc229b92be7250fd786064f8363dbf55bf6b6e5e9b5f5e1daf
.claude/skills/diagnose/references/regression-seams.md: sha256:fdb24c383628d239e54424f72258860612d6fe8a1fc5d0057ab5073628cc71f4
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
.claude/skills/write-docs/SKILL.md: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
.claude/skills/zoom-out/SKILL.md: sha256:35a81f26d8867ad063c5b8d50b4e7ffee9f6c0afa260b52137083fc7392ffe90
content_hash: sha256:1380157484be45c83144b488abd04174d0d08201f53f38303f4e7df40420c7f0
content_hash: sha256:b9e8a6cf0e0e388dc672502e86b6fcdc5692bf4be6b10355f02b5b5637727f0f
declared_license: MIT
- repo_url: Mortis/Holocron
name: core
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.1.4
virtual_path: plugins/core
is_virtual: true
@@ -107,7 +100,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: delivery
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.8.0
virtual_path: plugins/delivery
is_virtual: true
@@ -188,7 +181,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: git
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.3.9
virtual_path: plugins/git
is_virtual: true
@@ -303,7 +296,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: gitea
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.3.10
virtual_path: plugins/gitea
is_virtual: true
@@ -388,7 +381,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: gitops
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.2.0
virtual_path: plugins/gitops
is_virtual: true
@@ -411,7 +404,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: k8s
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.2.0
virtual_path: plugins/k8s
is_virtual: true
@@ -430,7 +423,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: kyberforge
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 2.2.1
virtual_path: plugins/kyberforge
is_virtual: true
@@ -681,7 +674,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: lint
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 1.1.9
virtual_path: plugins/lint
is_virtual: true
@@ -709,26 +702,48 @@ dependencies:
- repo_url: Mortis/Holocron
name: mattpocock
host: git.rkdr.net
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
version: 0.4.0
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.5.0
virtual_path: plugins/mattpocock
is_virtual: true
package_type: apm_package
content_hash: sha256:91649428cf594bd911beb982282f92f7b732908db649d484e420c0ba1d6b6b7b
content_hash: sha256:ba0aeb2518f4e5d09049ea96b4452e07fd274a84a45a6be02f5e7daac7679dfb
declared_license: MIT
- repo_url: Mortis/Holocron
name: plan
host: git.rkdr.net
resolved_commit: 5920287122c4afa17f3323247840153456e2e666
version: 0.1.0
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.4.0
virtual_path: plugins/plan
is_virtual: true
package_type: apm_package
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/plan.md
- .claude/commands/ship.md
- .claude/skills/plan-track
- .claude/skills/plan-track/SKILL.md
- .claude/skills/research-docs
- .claude/skills/research-docs/SKILL.md
- .claude/skills/research-docs/references/file-format.md
- .claude/skills/research-docs/references/topics.md
deployed_file_hashes:
.claude/commands/next.md: sha256:12668ef795442d3ced640a2177cabf8df0e046381939a607784006e945bbb4a5
content_hash: sha256:7aee1153d134f9b1d39e6fd8448cb549f30221dadbcb49d79b505fa9bcbd9b3c
.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/skills/plan-track/SKILL.md: sha256:fee5062c8c63b49f66368b290c8ebd8cfff744137670d0c037da1a49c455c047
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
content_hash: sha256:be4369da6e8092deadb8c5fe1d5caa93cfa95ec2dac1092968bbc9abe4e77c97
declared_license: MIT
- repo_url: fluxcd/agent-skills
name: gitops-knowledge
@@ -1409,6 +1424,42 @@ deployments:
- git.rkdr.net/Mortis/Holocron/plugins/lint
active_owner: git.rkdr.net/Mortis/Holocron/plugins/lint
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
target: claude
value: .claude/commands/next.md
@@ -1417,7 +1468,25 @@ deployments:
owners:
- 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
target: claude
value: .claude/commands/ship.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:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
- kind: project-relative
target: claude
value: .claude/hooks/delivery/.apm/hooks/guard.py
@@ -4631,6 +4700,24 @@ deployments:
- git.rkdr.net/Mortis/Holocron/plugins/git
active_owner: git.rkdr.net/Mortis/Holocron/plugins/git
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
target: claude
value: .claude/skills/prompt-author
@@ -4898,8 +4985,8 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/bin
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: null
- kind: project-relative
target: claude
@@ -4907,8 +4994,8 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/bin
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
- kind: project-relative
target: claude
@@ -4916,8 +5003,8 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/bin
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
- kind: project-relative
target: claude
@@ -4925,8 +5012,8 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/bin
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
- kind: project-relative
target: claude
@@ -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
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`.*
- *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
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.
- **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
Off. Only issues feed the triage queue; PRs are not triaged as requests.
+1 -1
View File
@@ -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
@@ -0,0 +1,26 @@
---
name: plan-gate
description: >
Use when the plan prompt needs the step-1 gate run on a ticket or idea: duplicate, already done, contradicts
an ADR, or out of scope. Read-only. Not deep feasibility validation -> `plan-validator`.
model: sonnet
disallowedTools: Edit, Write, NotebookEdit
---
You run the cheap gate before any grilling. You are read-only: never call a write tool.
## Input
A ticket number or the idea as free text.
## Checks
1. **Duplicate**: an open issue or PR covers the same thing (`gitea-issues`, `gitea-prs`).
2. **Already done**: the repo already does it.
3. **Contradicts an ADR**: a decision in `docs/adr/` rules it out.
4. **Out of scope**: it falls outside `docs/VISION.md`.
## Output
One line per check: `<check> | pass/hit | evidence (link or file:line)`, then `verdict: go` or
`verdict: stop: <reason>`.
@@ -0,0 +1,25 @@
---
name: plan-recorder
description: >
Use when the plan prompt has an agreed plan and needs step 7: the decisions recorded in a docs PR
(AGENTS.md, GLOSSARY.md, ADRs). Not writing the spec or tickets -> `to-spec`.
model: sonnet
---
You record agreed decisions in the repo's docs and open one docs PR. You change docs only, never
code.
## Input
The agreed plan and the list of decisions it made.
## Process
1. Create a branch `docs/plan-<slug>` from the default branch.
2. Record each decision where it belongs: an ADR or glossary term with `domain-modeling`, an
AGENTS.md change with `agentsmd-author`.
3. Commit with `git-commits`, push, and open the PR with `gitea-prs`.
## Output
The PR link and one line per decision naming the file it landed in.
@@ -0,0 +1,27 @@
---
name: plan-researcher
description: >
Use when the plan prompt needs step-3 research on an agreed intent and track, in the repo or online.
Read-only; returns cited findings. Not a findings file in the repo -> `research`.
model: sonnet
disallowedTools: Edit, NotebookEdit
---
You research one question for `/plan`. Never edit repo files; the only place you may write is the
session scratchpad.
## Input
The intent, the recommended track, and a scope: `repo` or `web`.
## Process
- **repo**: current practices, rules, patterns and conventions — AGENTS.md, `GLOSSARY.md`,
`docs/adr/`, `docs/spec/` and the code the intent touches.
- **web**: tools, documentation, best practices, examples and standards. Use Context7 for library
docs; prefer primary sources.
## Output
Findings as bullets, each with its source (file:line or URL) and marked `verified` or `inferred`.
End with open questions, if any.
@@ -0,0 +1,25 @@
---
name: plan-validator
description: >
Use when the plan prompt needs step-4 deep validation: is the researched intent feasible and does it fit
the repo as it is now. Read-only. Not the cheap pre-grilling gate -> `plan-gate`.
model: opus
disallowedTools: Edit, Write, NotebookEdit
---
You validate one intent against the repo as it is now. You are read-only: never call a write tool.
## Input
The intent, the track, and the research findings.
## Checks
- Feasible with the repo's current structure, tools and conventions.
- Consistent with ADRs, AGENTS.md and `GLOSSARY.md`.
- Nothing it relies on is missing.
## Output
Each finding tagged `contradiction`, `missing`, `infeasible` or `risk`, with evidence, then
`verdict: fits`, `verdict: regrill: <point>` or `verdict: stop: <reason>`.
+2 -2
View File
@@ -206,5 +206,5 @@ decisions instead.
issue, pushing tags, or setting up infrastructure).
7. Open decisions that need me. Do not decide these yourself.
End with: "Run `/ship` to build this." If I reply go, tell me to run `/ship`: it cannot be
invoked for me. Do not build inline.
End with: "Run `/ship` to build this, or `/plan` to spec it first." If I reply go, tell me
to run `/ship`: it cannot be invoked for me. Do not build inline.
+103
View File
@@ -0,0 +1,103 @@
---
description: Turn a ticket or idea into a validated plan, a spec and agent-ready tickets, with me in the loop
argument-hint: "[#N | idea as free text] (empty: the issue picked by /next in this conversation)"
disable-model-invocation: true
---
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 command you ask me to run goes in a code block
I can copy.
## 0. Entry
- `#N`: read the issue and its comments with `gitea-issues`.
- Free text: that is the idea.
- Empty: use the issue picked by `/next` earlier in this conversation. None → ask me for one.
## 1. Gate
Dispatch `plan-gate`. `verdict: stop` → tell me why and stop.
## 2–6. Discovery loop
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, 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 <intent> — <grilling answers>
```
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
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, 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: 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>
/research-docs <topic> <path>
```
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 <agreed plan summary> — link the docs PR <link>
```
My running it is my approval of the spec. Wait for it. `to-spec` sets `Status/Ready for Agent` on
the spec issue; if present, resolve its label ID with `gitea-labels-milestones` and remove it with
`gitea-issues`.
## 9–10. Tickets
`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):
```
/to-tickets <spec issue link | this conversation> — docs PR <link>
```
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 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
criteria, and list those tickets for me.
Spec track: create one milestone `Spec: <spec issue title>` with `gitea-labels-milestones`, and
assign every filed ticket to it with `gitea-issues`.
## Report
Links to the docs PR, the spec, the milestone and the tickets.
@@ -0,0 +1,38 @@
---
name: plan-track
description: >-
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.2.0"
category: planning
---
# Plan track
Recommend one track, with a one-sentence reason.
## Tracks
- **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 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.
- It touches more than one plugin or subsystem.
Otherwise pick ticket(s) only.
## Output
`track: <spec-and-tickets|tickets-only|wayfinder> | reason: <one sentence>`
+2 -1
View File
@@ -1,5 +1,5 @@
name: plan
version: 0.3.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
+138 -14
View File
@@ -1,8 +1,7 @@
# plan plugin — outline
Status: outline only, refined in a first grilling round. This is the maintainer's intent for the
plugin. Nothing below is built yet except the `next` and `ship` prompts. Both are the existing
personal commands, moved into the plugin unchanged.
Status: outline, refined in a first grilling round, with a bare-bones MVP built (see "What ships
today"). This is the maintainer's intent for the plugin.
The plugin is set up on its own, separate from `delivery`, and is meant to grow on its own first.
How the two connect is deliberately left open (see "Open for later").
@@ -29,13 +28,18 @@ The goal is to optimise:
## 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.
- **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
confirms it at agreement (step 6), because the plan can change the size of the work.
The plugin recommends a track, with its reason, after the initial grilling (step 2). For the first
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
@@ -46,25 +50,40 @@ 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
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.
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention. It ends
with a recommended track.
3. **Research** in the repo and online, scoped to the recommended track.
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention. It uses
`grilling`, plus `domain-modeling` to challenge terms only. GLOSSARY.md and the ADRs are not
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
not, go back to grilling (step 2) or stop.
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
research.
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.
that are already written down rather than pending. After `plan-recorder` opens the docs PR,
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.
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
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 command `/plan` asks the user to run is presented as a copyable code block.
### Loops
@@ -74,9 +93,97 @@ 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);
- 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
circling.
### Sequence diagram
```mermaid
sequenceDiagram
autonumber
actor U as User
participant P as plan (orchestrator)
participant R as Repo<br/>(AGENTS.md, ADRs, VISION, code)
participant W as Web / docs
participant T as Tracker (Gitea)
%% Step 0 — Entry
alt existing ticket
U->>P: ticket #N
P->>T: read issue
else new idea
U->>P: free text
else via /next
U->>P: /next [metric]
P->>T: rank open issues
P-->>U: ranked list
U->>P: pick one
end
%% Step 1 — Gate
P->>T: duplicate open issue/PR? already done?
P->>R: contradicts an ADR? outside VISION scope?
opt any gate hit
P-->>U: stop, with reason
end
%% Steps 2–6 — the discovery loop
loop until agreed (after 2 loops on one point, offer to park)
opt intent unclear
P->>U: grilling questions (step 2)
U-->>P: answers
end
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
P->>R: practices, patterns, conventions
and
P->>W: tools, docs, standards, examples
end
P->>R: deep validation: feasible, fits repo now? (step 4)
alt doesn't fit
P-->>U: back to grilling, or stop
else fits
P-->>U: plan: options, impact, results, track (step 5)
alt user agrees and confirms track (step 6)
U->>P: agree + track
else disagreement
U->>P: back to grilling or research
end
end
end
%% Step 7 — Record decisions
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
loop until breakdown shows no spec gap
opt track = spec + tickets
P->>T: write/update spec issue, link docs PR (step 8)
end
P-->>U: proposed ticket breakdown (step 9)
end
%% Step 10 — Approval and filing
U->>P: one approval for the whole batch
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-->>U: links to spec, tickets, docs PR
```
## What ships today
- `.apm/prompts/next.prompt.md`: the `/next` command. It ranks open issues by a metric, lets the
@@ -87,13 +194,30 @@ circling.
temporary.** Implementation does not belong in this plugin long term. It ships here so `/next`
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 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`, `/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.
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` 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
- How plan hands off to `delivery`, and how the two plugins relate. Today `delivery` says only a
human sets `Status/Ready for Agent`, while plan may set it (step 10). When the two meet, one
of those rules has to change.
- 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.
- Whether the tracker issue carries the session's state, so planning can be resumed across
sessions.