Commit 558b1ac
feat(development-planning): migrate prompts for Opus 5 behavior (#568)
* feat(development-planning): migrate prompts for Opus 5 behavior
Opus 5 self-verifies, over-delegates, and follows literal instructions more
strictly than 4.x, so several patterns in this plugin now cost tokens or
suppress real findings.
- Remove the mandated pre-think phases from planner and plan-reviewer, plus
planner's trailing self-review checklist.
- Convert agent-count floors in plan-swarm, plan-implementation, and
planning-guide into ceilings, and state when not to delegate at all.
- Stop plan-reviewer filtering risks at discovery time; report every finding
with a severity and let the reader filter.
- Drop the fabricated timeline-estimate field, which had no measured inputs.
- Replace ~13 agent names in planning-guide that never existed with the real
dispatch names, and fix the /explore reference to explore-codebase.
- Replace fabricated mcp__<server>_<tool> names in pr-creator with the real
prefix convention and an instruction to read the actual tool list.
- Add a length bound to plan-reviewer's review output.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(development-planning): remove round floor and repo-only agent check
Two residues in plan-implementation that undercut the Opus 5 migration:
- Quick Process step 3 mandated "2-3 rounds" while the ceiling table
below caps Simple at 1 and Medium at 2. The numbered step reads as an
instruction, so the floor survived the removal. It now defers to the
table.
- The agent-existence check grepped `packages/plugins/*/agents/`, a path
that exists only in this repo. In a consumer repo it matches nothing,
and the adjacent "fails at dispatch" warning then reads as "do not
dispatch" - a self-disabling guard. Replaced with the session's own
agent inventory, plus the naming rule stated as fact (frontmatter
`name:`, `-agent` suffix, cross-plugin `plugin-name:agent-name`).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(development-planning): qualify cross-plugin agent names and restore graphite branch
planning-guide.md listed 14 agents in bare form while the prose below the
table required the plugin-qualified form. All 14 live in other plugins, so
the table now uses `plugin-name:agent-name` throughout, matching the prose
and disambiguating names that collide across plugins.
pr-creator.md routed to a GitHub MCP server before checking --use-graphite,
so `gt submit` was unreachable whenever a GitHub MCP server was configured
and the Graphite stack went unregistered. The Graphite carve-out now comes
first.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 9b0fc47 commit 558b1ac
10 files changed
Lines changed: 114 additions & 257 deletions
File tree
- packages/plugins/development-planning
- .claude-plugin
- agents
- skills
- execute-plan
- plan-implementation
- plan-swarm
- review-plan
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 8 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 26 | | |
40 | 27 | | |
41 | 28 | | |
| |||
46 | 33 | | |
47 | 34 | | |
48 | 35 | | |
49 | | - | |
| 36 | + | |
50 | 37 | | |
51 | 38 | | |
52 | 39 | | |
53 | 40 | | |
54 | | - | |
| 41 | + | |
55 | 42 | | |
56 | 43 | | |
57 | 44 | | |
| |||
89 | 76 | | |
90 | 77 | | |
91 | 78 | | |
92 | | - | |
93 | | - | |
| 79 | + | |
| 80 | + | |
94 | 81 | | |
95 | 82 | | |
96 | 83 | | |
| |||
104 | 91 | | |
105 | 92 | | |
106 | 93 | | |
107 | | - | |
| 94 | + | |
108 | 95 | | |
109 | 96 | | |
110 | 97 | | |
| |||
113 | 100 | | |
114 | 101 | | |
115 | 102 | | |
116 | | - | |
| 103 | + | |
117 | 104 | | |
118 | 105 | | |
119 | 106 | | |
| |||
161 | 148 | | |
162 | 149 | | |
163 | 150 | | |
164 | | - | |
| 151 | + | |
165 | 152 | | |
166 | 153 | | |
167 | 154 | | |
168 | 155 | | |
169 | | - | |
| 156 | + | |
170 | 157 | | |
171 | 158 | | |
172 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 36 | | |
49 | 37 | | |
50 | 38 | | |
| |||
202 | 190 | | |
203 | 191 | | |
204 | 192 | | |
205 | | - | |
| 193 | + | |
206 | 194 | | |
207 | 195 | | |
208 | 196 | | |
| |||
216 | 204 | | |
217 | 205 | | |
218 | 206 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 207 | | |
231 | 208 | | |
232 | 209 | | |
| |||
0 commit comments