From cf875e6e1a611e651716d64ac87718bd90e20312 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 29 Nov 2026 10:51:44 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- .claude-plugin/marketplace.json | 2 +- plugins/plan/.apm/agents/plan-gate.agent.md | 2 +- plugins/plan/.apm/agents/plan-recorder.agent.md | 2 +- plugins/plan/.apm/agents/plan-researcher.agent.md | 2 +- plugins/plan/.apm/agents/plan-validator.agent.md | 2 +- plugins/plan/.apm/prompts/next.prompt.md | 3 ++- plugins/plan/.apm/prompts/plan.prompt.md | 3 +++ plugins/plan/docs/outline.md | 4 +++- 8 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index afce1e0..65dd57d 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -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.4.0", "category": "Productivity", "source": "./plugins/plan" } diff --git a/plugins/plan/.apm/agents/plan-gate.agent.md b/plugins/plan/.apm/agents/plan-gate.agent.md index 703ae19..a3e9b44 100644 --- a/plugins/plan/.apm/agents/plan-gate.agent.md +++ b/plugins/plan/.apm/agents/plan-gate.agent.md @@ -1,7 +1,7 @@ --- name: plan-gate description: > - Use when `/plan` needs the step-1 gate run on a ticket or idea: duplicate, already done, contradicts + 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 diff --git a/plugins/plan/.apm/agents/plan-recorder.agent.md b/plugins/plan/.apm/agents/plan-recorder.agent.md index 74e2f29..98849cc 100644 --- a/plugins/plan/.apm/agents/plan-recorder.agent.md +++ b/plugins/plan/.apm/agents/plan-recorder.agent.md @@ -1,7 +1,7 @@ --- name: plan-recorder description: > - Use when `/plan` has an agreed plan and needs step 7: the decisions recorded in a docs PR + 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 --- diff --git a/plugins/plan/.apm/agents/plan-researcher.agent.md b/plugins/plan/.apm/agents/plan-researcher.agent.md index bf1e3d5..1d49258 100644 --- a/plugins/plan/.apm/agents/plan-researcher.agent.md +++ b/plugins/plan/.apm/agents/plan-researcher.agent.md @@ -1,7 +1,7 @@ --- name: plan-researcher description: > - Use when `/plan` needs step-3 research on an agreed intent and track, in the repo or online. + 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 diff --git a/plugins/plan/.apm/agents/plan-validator.agent.md b/plugins/plan/.apm/agents/plan-validator.agent.md index f0864fc..7a89eb8 100644 --- a/plugins/plan/.apm/agents/plan-validator.agent.md +++ b/plugins/plan/.apm/agents/plan-validator.agent.md @@ -1,7 +1,7 @@ --- name: plan-validator description: > - Use when `/plan` needs step-4 deep validation: is the researched intent feasible and does it fit + 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 diff --git a/plugins/plan/.apm/prompts/next.prompt.md b/plugins/plan/.apm/prompts/next.prompt.md index f80dd1a..661fafb 100644 --- a/plugins/plan/.apm/prompts/next.prompt.md +++ b/plugins/plan/.apm/prompts/next.prompt.md @@ -206,5 +206,6 @@ 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, or `/plan` to spec it first." If I reply go, tell me to run `/ship`: it cannot be +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. diff --git a/plugins/plan/.apm/prompts/plan.prompt.md b/plugins/plan/.apm/prompts/plan.prompt.md index 9bc1895..cccc5c2 100644 --- a/plugins/plan/.apm/prompts/plan.prompt.md +++ b/plugins/plan/.apm/prompts/plan.prompt.md @@ -55,6 +55,9 @@ covers the whole batch. It files the tickets and sets `Status/Ready for Agent`; 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`. Remove `Status/Ready for Agent` +from any ticket with no acceptance criteria, and list those tickets for me. + ## Report Links to the docs PR, the spec and the tickets. diff --git a/plugins/plan/docs/outline.md b/plugins/plan/docs/outline.md index e082942..949ccfd 100644 --- a/plugins/plan/docs/outline.md +++ b/plugins/plan/docs/outline.md @@ -170,7 +170,9 @@ sequenceDiagram all read-only, and `plan-recorder` (step 7, the docs PR). - `.apm/skills/plan-track/`: the track criteria. -All of these are minimal stubs, to be built out. +All of these are minimal stubs, to be built out. The agents route to `gitea-issues`, `gitea-prs`, +`git-commits` and `agentsmd-author`, which `plan` does not declare as dependencies: it assumes the +`gitea`, `git` and `core` packages are installed. ## Open for later