Spec: wire existing skills into plan's /plan flow #252
Closed
opened 2026-11-29 15:54:55 +00:00 by Claude
·
1 comment
No Branch/Tag Specified
main
research/copilot-cli-agents
research/team-structures
research/enforcement-hooks
research/team-patterns
research/existing-infra-skills
feat/66-wire-gitea-mcp-config
plan-v0.5.0
bin-v5.0.0
plan-v0.4.0
plan-v0.3.0
mattpocock-v0.5.0
bin-v4.0.0
plan-v0.2.0
plan-v0.1.0
delivery-v0.8.0
k8s-v0.2.0
gitops-v0.2.0
ansible-v0.1.0
mattpocock-v0.4.0
bin-v3.0.0
kyberforge-v2.2.1
lint-v1.1.9
gitea-v1.3.10
git-v1.3.9
core-v1.1.4
git-v1.3.8
v2.0.1
v2.0.0
v1.0.0
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Status/Needs Triage
Status/Ready for Agent
Status/Ready for Human
Wayfinder/Grilling
Wayfinder/Map
Wayfinder/Prototype
Wayfinder/Research
Wayfinder/Task
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Maintainer needs to evaluate this issue
Fully specified, ready for an AFK agent
Requires human implementation
Wayfinder ticket (HITL): decision made in conversation
Wayfinder map: index of decisions for an effort
Wayfinder ticket (HITL): cheap artifact to react to
Wayfinder ticket (AFK): research a fact a decision waits on
Wayfinder ticket: work that unblocks a decision (or build work when the map's Notes allow)
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Holocron#252
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem Statement
/plan(the plan plugin's MVP orchestrator) uses onlygrillingandplan-track, although the plan plugin already pins or ships many more planning skills. Work too big for one session has no track, durable reference docs and repo context docs have no place in the flow, and filed tickets are not grouped. The maintainer wants/planto use the skills that already exist, while keeping it barebones: wire in existing functionality, build nothing new.Solution
/plancalls each existing skill at the step where it fits. When a skill is hand-invoked,/planhands the maintainer a command to copy and run.write-docsmoves from bin into plan, so the doc skills the flow relies on live in one plugin.plan-trackgains a third track, wayfinder, for work that one agent session cannot hold. On the spec-and-tickets track, the filed tickets are grouped under aSpec: <title>milestone.User Stories
grillingplusdomain-modeling, so that unclear terms are challenged while I explore the intent.domain-modelingto only collect candidate glossary terms and ADRs during grilling, so that no docs change before I agree to the plan.grill-with-docsminus writing, so that a reader sees the relation to the hand-invoked wrapper.plan-trackto recommend a wayfinder track for work too large for one agent session, or with decisions that cannot be settled yet, so that big, foggy work is not forced into a spec./planto ask me to confirm the wayfinder track right after step 2, so that no research or validation is wasted on work wayfinder will chart itself./wayfindercommand carrying the intent and grilling answers once I confirm the wayfinder track, followed by/planstopping, so that I can hand off in one paste.codebase-designonly when the options change module or interface shape, so that the vocabulary is applied where it helps and skipped for docs or config work./planto give me copyable/write-docsand/research-docscommands to run on the step-7 docs branch afterplan-recorderopens the PR, so that interactive doc skills run where they can reach me and land in the same PR./planto ask me for theresearch-docsoutput path before giving that command, so that the skill never has to guess where to write./planasks me to run (/wayfinder,/to-spec,/to-tickets,/write-docs,/research-docs) shown as a copyable code block, so that handing off costs one paste.gitea-labels-milestoneswhen removingStatus/Ready for Agentfrom tickets without acceptance criteria, so that label writes use correct IDs./planto create oneSpec: <spec title>milestone on the spec-and-tickets track and assign every filed ticket to it, so that an epic's tickets are grouped and their progress is visible.write-docsto live in plan next toresearch-docs, so that the doc skills/planrelies on ship together.write-docssignalled by a major bin version bump, so that I know to install plan to keep it.apm installto deploy exactly onewrite-docs, so that no stale or duplicate copy survives the move./planto stay a single prompt with four agents and its own small skills, so that the setup remains barebones.Implementation Decisions
write-docsmove. A pure rename from the bin plugin into the plan plugin, with no content edits: the skill is already at ADR-0020's body-size budget. Same shape as the #246 move ofresearch-docs.feat!with aBREAKING CHANGEfooter); plan goes 0.4.0 → 0.5.0.marketplace.jsonis regenerated withapm packand the lock withapm install; neither is hand-edited.write-docs, and its own routes (grill-with-docs,research-docs) resolve inside plan.plan-track.wayfindertrack: work too large for one agent session, or with decisions that cannot be settled yet.spec-and-tickets | tickets-only | wayfinder.Not … ->boundary clauses.metadata.versiongoes 0.1.0 → 0.2.0./wayfinderis hand-invoked, so the skill only names it as a command for the user to run./planprompt.grillinganddomain-modeling, with an explicit override that noGLOSSARY.mdor ADR edits happen during grilling; candidates are collected for step 7. On the wayfinder track: confirm with the maintainer, give a copyable/wayfindercommand, stop.codebase-designonly when the options change module or interface shape; the plan also lists the docs needed.plan-recorderopens the PR, give copyable/write-docsand/research-docscommands to run on the docs branch, asking for theresearch-docsoutput path first.gitea-labels-milestonesresolves label IDs. On the spec track it also creates theSpec: <title>milestone, andgitea-issuesassigns every filed ticket to it.plan-recorderis unchanged:write-docsandresearch-docsneed the user in the loop and cannot run inside a subagent, so the user runs them.gitea-labels-milestonesandgitea-issuesstay assumed rather than declared, the same as the existinggitea,gitandcoreassumption.Testing Decisions
apm installthenapm audit --cipass.write-docsis deployed under the skills directory.tests/run-tests.sh --strictstays green, which proves ADR-0020/0029 routes still resolve.apm packcheck-clean passes.plan-track.skill-size-check,check-skill-version-bumpand ADR-0020 description tests pass.wayfinderand the skill names/wayfinder./planprompt. No automated seam exists, because the behaviour depends on the model./planon a small sample idea reaches the wayfinder exit and shows the copyable commands. The reason for an assertion rather than a test: an LLM flow can't be meaningfully unit-tested. This follows ADR-0031's acceptance checks.Out of Scope
/plan./to-specand/to-ticketsstay upstream and hand-invoked.plan-recorderor the other agents.codebase-designin step 4 (validation).bin-v5.0.0,plan-v0.5.0): cut after merge withscripts/tag-plugin-releases.sh, with separate maintainer approval.Further Notes
Spec: <title>milestone convention in the issue-tracker doc;write-docsmove.write-docsmay move again later; this move is deliberate for now.Status/Ready for Agent; only tickets with acceptance criteria do.All work for this spec has merged:
bin-v5.0.0andplan-v0.5.0.One check is still open: the post-merge assertion from #255. Run
/planon an oversized idea and confirm it reaches the wayfinder exit.