Why: add a home for turning a ticket or idea into a validated, researched spec and agent-ready tickets, stopping before implementation (that is delivery's job). - New `plan` package at 0.1.0 (hybrid; claude, copilot, codex). - docs/outline.md records the maintainer's intended flow (validate, grill if needed, research repo + online, plan with options, agree, write epic/feature spec, propose ticket breakdown) as intent only; nothing is built yet beyond the prompt. - Ships the existing personal `/next` command as .apm/prompts/next.prompt.md with its body unchanged. `disable-model-invocation` is dropped because apm prompt files do not support it (verified by a throwaway apm install: clean, body identical). - Root apm.yml does not consume it yet: its dependencies resolve from remote main (ADR-0019), so wiring it in is a follow-up after merge, the same two-step as ansible/k8s. Impact: the catalog gains a package; marketplace version 0.8.1 -> 0.9.0 (minor). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
41 lines
1.7 KiB
Markdown
41 lines
1.7 KiB
Markdown
# plan plugin — outline
|
|
|
|
Status: outline only. This is the maintainer's intent for the plugin, captured before any design or
|
|
grilling. Nothing below is built yet except the `next` prompt, which is the existing personal
|
|
`/next` command moved into the plugin unchanged.
|
|
|
|
## Purpose
|
|
|
|
Cover picking up a new ticket or idea and turning it into a spec and a ticket breakdown that
|
|
agents further down the chain (planning or implementation) can act on with the least extra
|
|
context gathering.
|
|
|
|
The goal is to optimise:
|
|
|
|
- the ticket creation process;
|
|
- context management and agent instructions for downstream agents, including the context and
|
|
instructions written into issues;
|
|
- reuse of the context that already exists (repo, tracker, docs) and of online sources.
|
|
|
|
## Sources to consult
|
|
|
|
- **The repo and its context**: current practices, rules, functionality, patterns and
|
|
conventions.
|
|
- **The internet and other sources**: tools, documentation, best practices, examples and
|
|
standards.
|
|
|
|
## Interaction flow
|
|
|
|
1. **Validate the ticket or idea.** Verify it before any grilling. If it does not hold up, stop.
|
|
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention.
|
|
3. **Research** in the repo and online.
|
|
4. **Offer a plan** with options, considerations, recommendations, impact and expected results.
|
|
5. **Agreement.** The user either agrees or needs more grilling before agreeing.
|
|
6. **Write the spec** as an epic or a feature.
|
|
7. **Propose a breakdown** of the spec into tickets.
|
|
|
|
## What ships today
|
|
|
|
- `.apm/prompts/next.prompt.md` — the `/next` command: rank open issues by a metric, let the
|
|
user pick one, validate it and present a plan. Read-only; building happens through `/ship`.
|