@howlil/ez-agents 3.4.1 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +84 -20
  3. package/agents/ez-observer-agent.md +260 -0
  4. package/agents/ez-release-agent.md +333 -0
  5. package/agents/ez-requirements-agent.md +377 -0
  6. package/agents/ez-scrum-master-agent.md +242 -0
  7. package/agents/ez-tech-lead-agent.md +267 -0
  8. package/bin/install.js +3221 -3230
  9. package/commands/ez/arch-review.md +102 -0
  10. package/commands/ez/execute-phase.md +11 -0
  11. package/commands/ez/export-session.md +79 -0
  12. package/commands/ez/gather-requirements.md +117 -0
  13. package/commands/ez/git-workflow.md +72 -0
  14. package/commands/ez/hotfix.md +120 -0
  15. package/commands/ez/import-session.md +82 -0
  16. package/commands/ez/join-discord.md +18 -18
  17. package/commands/ez/list-sessions.md +96 -0
  18. package/commands/ez/package-manager.md +316 -0
  19. package/commands/ez/plan-phase.md +9 -1
  20. package/commands/ez/preflight.md +79 -0
  21. package/commands/ez/progress.md +13 -1
  22. package/commands/ez/release.md +153 -0
  23. package/commands/ez/resume.md +107 -0
  24. package/commands/ez/standup.md +85 -0
  25. package/ez-agents/bin/ez-tools.cjs +1095 -716
  26. package/ez-agents/bin/lib/assistant-adapter.cjs +264 -264
  27. package/ez-agents/bin/lib/audit-exec.cjs +7 -2
  28. package/ez-agents/bin/lib/bdd-validator.cjs +622 -0
  29. package/ez-agents/bin/lib/circuit-breaker.cjs +118 -118
  30. package/ez-agents/bin/lib/config.cjs +190 -190
  31. package/ez-agents/bin/lib/content-scanner.cjs +238 -0
  32. package/ez-agents/bin/lib/context-cache.cjs +154 -0
  33. package/ez-agents/bin/lib/context-errors.cjs +71 -0
  34. package/ez-agents/bin/lib/context-manager.cjs +220 -0
  35. package/ez-agents/bin/lib/discussion-synthesizer.cjs +458 -0
  36. package/ez-agents/bin/lib/file-access.cjs +207 -0
  37. package/ez-agents/bin/lib/file-lock.cjs +236 -236
  38. package/ez-agents/bin/lib/frontmatter.cjs +299 -299
  39. package/ez-agents/bin/lib/fs-utils.cjs +153 -153
  40. package/ez-agents/bin/lib/git-errors.cjs +83 -0
  41. package/ez-agents/bin/lib/git-utils.cjs +118 -0
  42. package/ez-agents/bin/lib/git-workflow-engine.cjs +1157 -0
  43. package/ez-agents/bin/lib/index.cjs +157 -113
  44. package/ez-agents/bin/lib/init.cjs +757 -757
  45. package/ez-agents/bin/lib/lockfile-validator.cjs +227 -0
  46. package/ez-agents/bin/lib/logger.cjs +124 -124
  47. package/ez-agents/bin/lib/memory-compression.cjs +256 -0
  48. package/ez-agents/bin/lib/metrics-tracker.cjs +406 -0
  49. package/ez-agents/bin/lib/milestone.cjs +241 -241
  50. package/ez-agents/bin/lib/model-provider.cjs +241 -241
  51. package/ez-agents/bin/lib/package-manager-detector.cjs +203 -0
  52. package/ez-agents/bin/lib/package-manager-executor.cjs +385 -0
  53. package/ez-agents/bin/lib/package-manager-service.cjs +216 -0
  54. package/ez-agents/bin/lib/phase.cjs +925 -925
  55. package/ez-agents/bin/lib/planning-write.cjs +107 -107
  56. package/ez-agents/bin/lib/release-validator.cjs +614 -0
  57. package/ez-agents/bin/lib/retry.cjs +119 -119
  58. package/ez-agents/bin/lib/roadmap.cjs +306 -306
  59. package/ez-agents/bin/lib/safe-exec.cjs +128 -128
  60. package/ez-agents/bin/lib/safe-path.cjs +130 -130
  61. package/ez-agents/bin/lib/session-chain.cjs +304 -0
  62. package/ez-agents/bin/lib/session-errors.cjs +81 -0
  63. package/ez-agents/bin/lib/session-export.cjs +251 -0
  64. package/ez-agents/bin/lib/session-import.cjs +262 -0
  65. package/ez-agents/bin/lib/session-manager.cjs +280 -0
  66. package/ez-agents/bin/lib/state.cjs +736 -736
  67. package/ez-agents/bin/lib/temp-file.cjs +239 -239
  68. package/ez-agents/bin/lib/template.cjs +223 -223
  69. package/ez-agents/bin/lib/test-file-lock.cjs +112 -112
  70. package/ez-agents/bin/lib/test-graceful.cjs +93 -93
  71. package/ez-agents/bin/lib/test-logger.cjs +60 -60
  72. package/ez-agents/bin/lib/test-safe-exec.cjs +38 -38
  73. package/ez-agents/bin/lib/test-safe-path.cjs +33 -33
  74. package/ez-agents/bin/lib/test-temp-file.cjs +125 -125
  75. package/ez-agents/bin/lib/tier-manager.cjs +428 -0
  76. package/ez-agents/bin/lib/timeout-exec.cjs +63 -63
  77. package/ez-agents/bin/lib/url-fetch.cjs +170 -0
  78. package/ez-agents/bin/lib/verify.cjs +15 -1
  79. package/ez-agents/references/checkpoints.md +776 -776
  80. package/ez-agents/references/continuation-format.md +249 -249
  81. package/ez-agents/references/metrics-schema.md +118 -0
  82. package/ez-agents/references/planning-config.md +140 -0
  83. package/ez-agents/references/questioning.md +162 -162
  84. package/ez-agents/references/tdd.md +263 -263
  85. package/ez-agents/references/tier-strategy.md +103 -0
  86. package/ez-agents/templates/bdd-feature.md +173 -0
  87. package/ez-agents/templates/codebase/concerns.md +310 -310
  88. package/ez-agents/templates/codebase/conventions.md +307 -307
  89. package/ez-agents/templates/codebase/integrations.md +280 -280
  90. package/ez-agents/templates/codebase/stack.md +186 -186
  91. package/ez-agents/templates/codebase/testing.md +480 -480
  92. package/ez-agents/templates/config.json +37 -37
  93. package/ez-agents/templates/continue-here.md +78 -78
  94. package/ez-agents/templates/discussion.md +68 -0
  95. package/ez-agents/templates/incident-runbook.md +205 -0
  96. package/ez-agents/templates/milestone-archive.md +123 -123
  97. package/ez-agents/templates/milestone.md +115 -115
  98. package/ez-agents/templates/release-checklist.md +133 -0
  99. package/ez-agents/templates/requirements.md +231 -231
  100. package/ez-agents/templates/research-project/ARCHITECTURE.md +204 -204
  101. package/ez-agents/templates/research-project/FEATURES.md +147 -147
  102. package/ez-agents/templates/research-project/PITFALLS.md +200 -200
  103. package/ez-agents/templates/research-project/STACK.md +120 -120
  104. package/ez-agents/templates/research-project/SUMMARY.md +170 -170
  105. package/ez-agents/templates/retrospective.md +54 -54
  106. package/ez-agents/templates/roadmap.md +202 -202
  107. package/ez-agents/templates/rollback-plan.md +201 -0
  108. package/ez-agents/templates/summary-minimal.md +41 -41
  109. package/ez-agents/templates/summary-standard.md +48 -48
  110. package/ez-agents/templates/summary.md +248 -248
  111. package/ez-agents/templates/user-setup.md +311 -311
  112. package/ez-agents/templates/verification-report.md +322 -322
  113. package/ez-agents/workflows/add-phase.md +112 -112
  114. package/ez-agents/workflows/add-tests.md +351 -351
  115. package/ez-agents/workflows/add-todo.md +158 -158
  116. package/ez-agents/workflows/arch-review.md +54 -0
  117. package/ez-agents/workflows/audit-milestone.md +332 -332
  118. package/ez-agents/workflows/autonomous.md +131 -30
  119. package/ez-agents/workflows/check-todos.md +177 -177
  120. package/ez-agents/workflows/cleanup.md +152 -152
  121. package/ez-agents/workflows/complete-milestone.md +766 -766
  122. package/ez-agents/workflows/diagnose-issues.md +219 -219
  123. package/ez-agents/workflows/discovery-phase.md +289 -289
  124. package/ez-agents/workflows/discuss-phase.md +762 -762
  125. package/ez-agents/workflows/execute-phase.md +513 -468
  126. package/ez-agents/workflows/execute-plan.md +483 -483
  127. package/ez-agents/workflows/export-session.md +255 -0
  128. package/ez-agents/workflows/gather-requirements.md +206 -0
  129. package/ez-agents/workflows/health.md +159 -159
  130. package/ez-agents/workflows/help.md +584 -492
  131. package/ez-agents/workflows/hotfix.md +291 -0
  132. package/ez-agents/workflows/import-session.md +303 -0
  133. package/ez-agents/workflows/insert-phase.md +130 -130
  134. package/ez-agents/workflows/list-phase-assumptions.md +178 -178
  135. package/ez-agents/workflows/map-codebase.md +316 -316
  136. package/ez-agents/workflows/new-milestone.md +339 -10
  137. package/ez-agents/workflows/new-project.md +293 -299
  138. package/ez-agents/workflows/node-repair.md +92 -92
  139. package/ez-agents/workflows/pause-work.md +122 -122
  140. package/ez-agents/workflows/plan-milestone-gaps.md +274 -274
  141. package/ez-agents/workflows/plan-phase.md +673 -651
  142. package/ez-agents/workflows/progress.md +372 -382
  143. package/ez-agents/workflows/quick.md +610 -610
  144. package/ez-agents/workflows/release.md +253 -0
  145. package/ez-agents/workflows/remove-phase.md +155 -155
  146. package/ez-agents/workflows/research-phase.md +74 -74
  147. package/ez-agents/workflows/resume-project.md +307 -307
  148. package/ez-agents/workflows/resume-session.md +215 -0
  149. package/ez-agents/workflows/set-profile.md +81 -81
  150. package/ez-agents/workflows/settings.md +242 -242
  151. package/ez-agents/workflows/standup.md +64 -0
  152. package/ez-agents/workflows/stats.md +57 -57
  153. package/ez-agents/workflows/transition.md +544 -544
  154. package/ez-agents/workflows/ui-phase.md +290 -290
  155. package/ez-agents/workflows/ui-review.md +157 -157
  156. package/ez-agents/workflows/update.md +320 -320
  157. package/ez-agents/workflows/validate-phase.md +167 -167
  158. package/ez-agents/workflows/verify-phase.md +243 -243
  159. package/ez-agents/workflows/verify-work.md +584 -584
  160. package/package.json +10 -4
  161. package/scripts/build-hooks.js +43 -43
  162. package/scripts/run-tests.cjs +29 -29
@@ -1,492 +1,584 @@
1
- <purpose>
2
- Display the complete EZ Agents command reference. Output ONLY the reference content. Do NOT add project-specific analysis, git status, next-step suggestions, or any commentary beyond the reference.
3
- </purpose>
4
-
5
- <reference>
6
- # EZ Agents Command Reference
7
-
8
- **EZ Agents** — Meta-prompting & Agent Orchestration, but ez. Creates hierarchical project plans optimized for solo agentic development with Claude Code, OpenCode, Gemini, Codex, and Copilot.
9
-
10
- ## Quick Start
11
-
12
- 1. `/ez:new-project` - Initialize project (includes research, requirements, roadmap)
13
- 2. `/ez:plan-phase 1` - Create detailed plan for first phase
14
- 3. `/ez:execute-phase 1` - Execute the phase
15
-
16
- ## Staying Updated
17
-
18
- EZ Agents evolves fast. Update periodically:
19
-
20
- ```bash
21
- npx ez-agents@latest
22
- ```
23
-
24
- ## Core Workflow
25
-
26
- ```
27
- /ez:new-project → /ez:plan-phase → /ez:execute-phase → repeat
28
- ```
29
-
30
- ### Project Initialization
31
-
32
- **`/ez:new-project`**
33
- Initialize new project through unified flow.
34
-
35
- One command takes you from idea to ready-for-planning:
36
- - Deep questioning to understand what you're building
37
- - Optional domain research (spawns 4 parallel researcher agents)
38
- - Requirements definition with v1/v2/out-of-scope scoping
39
- - Roadmap creation with phase breakdown and success criteria
40
-
41
- Creates all `.planning/` artifacts:
42
- - `PROJECT.md` — vision and requirements
43
- - `config.json` — workflow mode (interactive/yolo)
44
- - `research/` — domain research (if selected)
45
- - `REQUIREMENTS.md` — scoped requirements with REQ-IDs
46
- - `ROADMAP.md` — phases mapped to requirements
47
- - `STATE.md` — project memory
48
-
49
- Usage: `/ez:new-project`
50
-
51
- **`/ez:map-codebase`**
52
- Map an existing codebase for brownfield projects.
53
-
54
- - Analyzes codebase with parallel Explore agents
55
- - Creates `.planning/codebase/` with 7 focused documents
56
- - Covers stack, architecture, structure, conventions, testing, integrations, concerns
57
- - Use before `/ez:new-project` on existing codebases
58
-
59
- Usage: `/ez:map-codebase`
60
-
61
- ### Phase Planning
62
-
63
- **`/ez:discuss-phase <number>`**
64
- Help articulate your vision for a phase before planning.
65
-
66
- - Captures how you imagine this phase working
67
- - Creates CONTEXT.md with your vision, essentials, and boundaries
68
- - Use when you have ideas about how something should look/feel
69
- - Optional `--batch` asks 2-5 related questions at a time instead of one-by-one
70
-
71
- Usage: `/ez:discuss-phase 2`
72
- Usage: `/ez:discuss-phase 2 --batch`
73
- Usage: `/ez:discuss-phase 2 --batch=3`
74
-
75
- **`/ez:research-phase <number>`**
76
- Comprehensive ecosystem research for niche/complex domains.
77
-
78
- - Discovers standard stack, architecture patterns, pitfalls
79
- - Creates RESEARCH.md with "how experts build this" knowledge
80
- - Use for 3D, games, audio, shaders, ML, and other specialized domains
81
- - Goes beyond "which library" to ecosystem knowledge
82
-
83
- Usage: `/ez:research-phase 3`
84
-
85
- **`/ez:list-phase-assumptions <number>`**
86
- See what Claude is planning to do before it starts.
87
-
88
- - Shows Claude's intended approach for a phase
89
- - Lets you course-correct if Claude misunderstood your vision
90
- - No files created - conversational output only
91
-
92
- Usage: `/ez:list-phase-assumptions 3`
93
-
94
- **`/ez:plan-phase <number>`**
95
- Create detailed execution plan for a specific phase.
96
-
97
- - Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
98
- - Breaks phase into concrete, actionable tasks
99
- - Includes verification criteria and success measures
100
- - Multiple plans per phase supported (XX-01, XX-02, etc.)
101
-
102
- Usage: `/ez:plan-phase 1`
103
- Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
104
-
105
- **PRD Express Path:** Pass `--prd path/to/requirements.md` to skip discuss-phase entirely. Your PRD becomes locked decisions in CONTEXT.md. Useful when you already have clear acceptance criteria.
106
-
107
- ### Execution
108
-
109
- **`/ez:execute-phase <phase-number>`**
110
- Execute all plans in a phase.
111
-
112
- - Groups plans by wave (from frontmatter), executes waves sequentially
113
- - Plans within each wave run in parallel via Task tool
114
- - Verifies phase goal after all plans complete
115
- - Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
116
-
117
- Usage: `/ez:execute-phase 5`
118
-
119
- ### Quick Mode
120
-
121
- **`/ez:quick`**
122
- Execute small, ad-hoc tasks with EZ guarantees but skip optional agents.
123
-
124
- Quick mode uses the same system with a shorter path:
125
- - Spawns planner + executor (skips researcher, checker, verifier)
126
- - Quick tasks live in `.planning/quick/` separate from planned phases
127
- - Updates STATE.md tracking (not ROADMAP.md)
128
-
129
- Use when you know exactly what to do and the task is small enough to not need research or verification.
130
-
131
- Usage: `/ez:quick`
132
- Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
133
-
134
- ### Roadmap Management
135
-
136
- **`/ez:add-phase <description>`**
137
- Add new phase to end of current milestone.
138
-
139
- - Appends to ROADMAP.md
140
- - Uses next sequential number
141
- - Updates phase directory structure
142
-
143
- Usage: `/ez:add-phase "Add admin dashboard"`
144
-
145
- **`/ez:insert-phase <after> <description>`**
146
- Insert urgent work as decimal phase between existing phases.
147
-
148
- - Creates intermediate phase (e.g., 7.1 between 7 and 8)
149
- - Useful for discovered work that must happen mid-milestone
150
- - Maintains phase ordering
151
-
152
- Usage: `/ez:insert-phase 7 "Fix critical auth bug"`
153
- Result: Creates Phase 7.1
154
-
155
- **`/ez:remove-phase <number>`**
156
- Remove a future phase and renumber subsequent phases.
157
-
158
- - Deletes phase directory and all references
159
- - Renumbers all subsequent phases to close the gap
160
- - Only works on future (unstarted) phases
161
- - Git commit preserves historical record
162
-
163
- Usage: `/ez:remove-phase 17`
164
- Result: Phase 17 deleted, phases 18-20 become 17-19
165
-
166
- ### Milestone Management
167
-
168
- **`/ez:new-milestone <name>`**
169
- Start a new milestone through unified flow.
170
-
171
- - Deep questioning to understand what you're building next
172
- - Optional domain research (spawns 4 parallel researcher agents)
173
- - Requirements definition with scoping
174
- - Roadmap creation with phase breakdown
175
-
176
- Mirrors `/ez:new-project` flow for brownfield projects (existing PROJECT.md).
177
-
178
- Usage: `/ez:new-milestone "v2.0 Features"`
179
-
180
- **`/ez:complete-milestone <version>`**
181
- Archive completed milestone and prepare for next version.
182
-
183
- - Creates MILESTONES.md entry with stats
184
- - Archives full details to milestones/ directory
185
- - Creates git tag for the release
186
- - Prepares workspace for next version
187
-
188
- Usage: `/ez:complete-milestone 1.0.0`
189
-
190
- ### Progress Tracking
191
-
192
- **`/ez:progress`**
193
- Check project status and intelligently route to next action.
194
-
195
- - Shows visual progress bar and completion percentage
196
- - Summarizes recent work from SUMMARY files
197
- - Displays current position and what's next
198
- - Lists key decisions and open issues
199
- - Offers to execute next plan or create it if missing
200
- - Detects 100% milestone completion
201
-
202
- Usage: `/ez:progress`
203
-
204
- ### Session Management
205
-
206
- **`/ez:resume-work`**
207
- Resume work from previous session with full context restoration.
208
-
209
- - Reads STATE.md for project context
210
- - Shows current position and recent progress
211
- - Offers next actions based on project state
212
-
213
- Usage: `/ez:resume-work`
214
-
215
- **`/ez:pause-work`**
216
- Create context handoff when pausing work mid-phase.
217
-
218
- - Creates .continue-here file with current state
219
- - Updates STATE.md session continuity section
220
- - Captures in-progress work context
221
-
222
- Usage: `/ez:pause-work`
223
-
224
- ### Debugging
225
-
226
- **`/ez:debug [issue description]`**
227
- Systematic debugging with persistent state across context resets.
228
-
229
- - Gathers symptoms through adaptive questioning
230
- - Creates `.planning/debug/[slug].md` to track investigation
231
- - Investigates using scientific method (evidence → hypothesis → test)
232
- - Survives `/clear` — run `/ez:debug` with no args to resume
233
- - Archives resolved issues to `.planning/debug/resolved/`
234
-
235
- Usage: `/ez:debug "login button doesn't work"`
236
- Usage: `/ez:debug` (resume active session)
237
-
238
- ### Todo Management
239
-
240
- **`/ez:add-todo [description]`**
241
- Capture idea or task as todo from current conversation.
242
-
243
- - Extracts context from conversation (or uses provided description)
244
- - Creates structured todo file in `.planning/todos/pending/`
245
- - Infers area from file paths for grouping
246
- - Checks for duplicates before creating
247
- - Updates STATE.md todo count
248
-
249
- Usage: `/ez:add-todo` (infers from conversation)
250
- Usage: `/ez:add-todo Add auth token refresh`
251
-
252
- **`/ez:check-todos [area]`**
253
- List pending todos and select one to work on.
254
-
255
- - Lists all pending todos with title, area, age
256
- - Optional area filter (e.g., `/ez:check-todos api`)
257
- - Loads full context for selected todo
258
- - Routes to appropriate action (work now, add to phase, brainstorm)
259
- - Moves todo to done/ when work begins
260
-
261
- Usage: `/ez:check-todos`
262
- Usage: `/ez:check-todos api`
263
-
264
- ### User Acceptance Testing
265
-
266
- **`/ez:verify-work [phase]`**
267
- Validate built features through conversational UAT.
268
-
269
- - Extracts testable deliverables from SUMMARY.md files
270
- - Presents tests one at a time (yes/no responses)
271
- - Automatically diagnoses failures and creates fix plans
272
- - Ready for re-execution if issues found
273
-
274
- Usage: `/ez:verify-work 3`
275
-
276
- ### Milestone Auditing
277
-
278
- **`/ez:audit-milestone [version]`**
279
- Audit milestone completion against original intent.
280
-
281
- - Reads all phase VERIFICATION.md files
282
- - Checks requirements coverage
283
- - Spawns integration checker for cross-phase wiring
284
- - Creates MILESTONE-AUDIT.md with gaps and tech debt
285
-
286
- Usage: `/ez:audit-milestone`
287
-
288
- **`/ez:plan-milestone-gaps`**
289
- Create phases to close gaps identified by audit.
290
-
291
- - Reads MILESTONE-AUDIT.md and groups gaps into phases
292
- - Prioritizes by requirement priority (must/should/nice)
293
- - Adds gap closure phases to ROADMAP.md
294
- - Ready for `/ez:plan-phase` on new phases
295
-
296
- Usage: `/ez:plan-milestone-gaps`
297
-
298
- ### Configuration
299
-
300
- **`/ez:settings`**
301
- Configure workflow toggles and model profile interactively.
302
-
303
- - Toggle researcher, plan checker, verifier agents
304
- - Select model profile (quality/balanced/budget)
305
- - Updates `.planning/config.json`
306
-
307
- Usage: `/ez:settings`
308
-
309
- **`/ez:set-profile <profile>`**
310
- Quick switch model profile for EZ agents.
311
-
312
- - `quality` Opus everywhere except verification
313
- - `balanced` — Opus for planning, Sonnet for execution (default)
314
- - `budget` — Sonnet for writing, Haiku for research/verification
315
-
316
- Usage: `/ez:set-profile budget`
317
-
318
- ### Utility Commands
319
-
320
- **`/ez:cleanup`**
321
- Archive accumulated phase directories from completed milestones.
322
-
323
- - Identifies phases from completed milestones still in `.planning/phases/`
324
- - Shows dry-run summary before moving anything
325
- - Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
326
- - Use after multiple milestones to reduce `.planning/phases/` clutter
327
-
328
- Usage: `/ez:cleanup`
329
-
330
- **`/ez:help`**
331
- Show this command reference.
332
-
333
- **`/ez:update`**
334
- Update EZ Agents to latest version with changelog preview.
335
-
336
- - Shows installed vs latest version comparison
337
- - Displays changelog entries for versions you've missed
338
- - Highlights breaking changes
339
- - Confirms before running install
340
- - Better than raw `npx ez-agents`
341
-
342
- Usage: `/ez:update`
343
-
344
- **`/ez:join-discord`**
345
- Join the EZ Agents Discord community.
346
-
347
- - Get help, share what you're building, stay updated
348
- - Connect with other EZ Agents users
349
-
350
- Usage: `/ez:join-discord`
351
-
352
- ## Files & Structure
353
-
354
- ```
355
- .planning/
356
- ├── PROJECT.md # Project vision
357
- ├── ROADMAP.md # Current phase breakdown
358
- ├── STATE.md # Project memory & context
359
- ├── RETROSPECTIVE.md # Living retrospective (updated per milestone)
360
- ├── config.json # Workflow mode & gates
361
- ├── todos/ # Captured ideas and tasks
362
- │ ├── pending/ # Todos waiting to be worked on
363
- │ └── done/ # Completed todos
364
- ├── debug/ # Active debug sessions
365
- │ └── resolved/ # Archived resolved issues
366
- ├── milestones/
367
- │ ├── v1.0-ROADMAP.md # Archived roadmap snapshot
368
- │ ├── v1.0-REQUIREMENTS.md # Archived requirements
369
- │ └── v1.0-phases/ # Archived phase dirs (via /ez:cleanup or --archive-phases)
370
- │ ├── 01-foundation/
371
- │ └── 02-core-features/
372
- ├── codebase/ # Codebase map (brownfield projects)
373
- │ ├── STACK.md # Languages, frameworks, dependencies
374
- │ ├── ARCHITECTURE.md # Patterns, layers, data flow
375
- │ ├── STRUCTURE.md # Directory layout, key files
376
- │ ├── CONVENTIONS.md # Coding standards, naming
377
- │ ├── TESTING.md # Test setup, patterns
378
- │ ├── INTEGRATIONS.md # External services, APIs
379
- │ └── CONCERNS.md # Tech debt, known issues
380
- └── phases/
381
- ├── 01-foundation/
382
- │ ├── 01-01-PLAN.md
383
- │ └── 01-01-SUMMARY.md
384
- └── 02-core-features/
385
- ├── 02-01-PLAN.md
386
- └── 02-01-SUMMARY.md
387
- ```
388
-
389
- ## Workflow Modes
390
-
391
- Set during `/ez:new-project`:
392
-
393
- **Interactive Mode**
394
-
395
- - Confirms each major decision
396
- - Pauses at checkpoints for approval
397
- - More guidance throughout
398
-
399
- **YOLO Mode**
400
-
401
- - Auto-approves most decisions
402
- - Executes plans without confirmation
403
- - Only stops for critical checkpoints
404
-
405
- Change anytime by editing `.planning/config.json`
406
-
407
- ## Planning Configuration
408
-
409
- Configure how planning artifacts are managed in `.planning/config.json`:
410
-
411
- **`planning.commit_docs`** (default: `true`)
412
- - `true`: Planning artifacts committed to git (standard workflow)
413
- - `false`: Planning artifacts kept local-only, not committed
414
-
415
- When `commit_docs: false`:
416
- - Add `.planning/` to your `.gitignore`
417
- - Useful for OSS contributions, client projects, or keeping planning private
418
- - All planning files still work normally, just not tracked in git
419
-
420
- **`planning.search_gitignored`** (default: `false`)
421
- - `true`: Add `--no-ignore` to broad ripgrep searches
422
- - Only needed when `.planning/` is gitignored and you want project-wide searches to include it
423
-
424
- Example config:
425
- ```json
426
- {
427
- "planning": {
428
- "commit_docs": false,
429
- "search_gitignored": true
430
- }
431
- }
432
- ```
433
-
434
- ## Common Workflows
435
-
436
- **Starting a new project:**
437
-
438
- ```
439
- /ez:new-project # Unified flow: questioning → research → requirements → roadmap
440
- /clear
441
- /ez:plan-phase 1 # Create plans for first phase
442
- /clear
443
- /ez:execute-phase 1 # Execute all plans in phase
444
- ```
445
-
446
- **Resuming work after a break:**
447
-
448
- ```
449
- /ez:progress # See where you left off and continue
450
- ```
451
-
452
- **Adding urgent mid-milestone work:**
453
-
454
- ```
455
- /ez:insert-phase 5 "Critical security fix"
456
- /ez:plan-phase 5.1
457
- /ez:execute-phase 5.1
458
- ```
459
-
460
- **Completing a milestone:**
461
-
462
- ```
463
- /ez:complete-milestone 1.0.0
464
- /clear
465
- /ez:new-milestone # Start next milestone (questioning research requirements roadmap)
466
- ```
467
-
468
- **Capturing ideas during work:**
469
-
470
- ```
471
- /ez:add-todo # Capture from conversation context
472
- /ez:add-todo Fix modal z-index # Capture with explicit description
473
- /ez:check-todos # Review and work on todos
474
- /ez:check-todos api # Filter by area
475
- ```
476
-
477
- **Debugging an issue:**
478
-
479
- ```
480
- /ez:debug "form submission fails silently" # Start debug session
481
- # ... investigation happens, context fills up ...
482
- /clear
483
- /ez:debug # Resume from where you left off
484
- ```
485
-
486
- ## Getting Help
487
-
488
- - Read `.planning/PROJECT.md` for project vision
489
- - Read `.planning/STATE.md` for current context
490
- - Check `.planning/ROADMAP.md` for phase status
491
- - Run `/ez:progress` to check where you're up to
492
- </reference>
1
+ <purpose>
2
+ Display the complete EZ Agents command reference. Output ONLY the reference content. Do NOT add project-specific analysis, git status, next-step suggestions, or any commentary beyond the reference.
3
+ </purpose>
4
+
5
+ <reference>
6
+ # EZ Agents Command Reference
7
+
8
+ **EZ Agents** — Meta-prompting & Agent Orchestration, but ez. Creates hierarchical project plans optimized for solo agentic development with Claude Code, OpenCode, Gemini, Codex, and Copilot.
9
+
10
+ ## Quick Start
11
+
12
+ 1. `/ez:new-project` - Initialize project (includes research, requirements, roadmap)
13
+ 2. `/ez:plan-phase 1` - Create detailed plan for first phase
14
+ 3. `/ez:execute-phase 1` - Execute the phase
15
+
16
+ ## Staying Updated
17
+
18
+ EZ Agents evolves fast. Update periodically:
19
+
20
+ ```bash
21
+ npx ez-agents@latest
22
+ ```
23
+
24
+ ## Core Workflow
25
+
26
+ ```
27
+ /ez:new-project → /ez:plan-phase → /ez:execute-phase → repeat
28
+ ```
29
+
30
+ ### Project Initialization
31
+
32
+ **`/ez:new-project`**
33
+ Initialize new project through unified flow.
34
+
35
+ One command takes you from idea to ready-for-planning:
36
+ - Deep questioning to understand what you're building
37
+ - Optional domain research (spawns 4 parallel researcher agents)
38
+ - Requirements definition with v1/v2/out-of-scope scoping
39
+ - Roadmap creation with phase breakdown and success criteria
40
+
41
+ Creates all `.planning/` artifacts:
42
+ - `PROJECT.md` — vision and requirements
43
+ - `config.json` — workflow mode (interactive/yolo)
44
+ - `research/` — domain research (if selected)
45
+ - `REQUIREMENTS.md` — scoped requirements with REQ-IDs
46
+ - `ROADMAP.md` — phases mapped to requirements
47
+ - `STATE.md` — project memory
48
+
49
+ Usage: `/ez:new-project`
50
+
51
+ **`/ez:map-codebase`**
52
+ Map an existing codebase for brownfield projects.
53
+
54
+ - Analyzes codebase with parallel Explore agents
55
+ - Creates `.planning/codebase/` with 7 focused documents
56
+ - Covers stack, architecture, structure, conventions, testing, integrations, concerns
57
+ - Use before `/ez:new-project` on existing codebases
58
+
59
+ Usage: `/ez:map-codebase`
60
+
61
+ ### Phase Planning
62
+
63
+ **`/ez:discuss-phase <number>`**
64
+ Help articulate your vision for a phase before planning.
65
+
66
+ - Captures how you imagine this phase working
67
+ - Creates CONTEXT.md with your vision, essentials, and boundaries
68
+ - Use when you have ideas about how something should look/feel
69
+ - Optional `--batch` asks 2-5 related questions at a time instead of one-by-one
70
+
71
+ Usage: `/ez:discuss-phase 2`
72
+ Usage: `/ez:discuss-phase 2 --batch`
73
+ Usage: `/ez:discuss-phase 2 --batch=3`
74
+
75
+ **`/ez:research-phase <number>`**
76
+ Comprehensive ecosystem research for niche/complex domains.
77
+
78
+ - Discovers standard stack, architecture patterns, pitfalls
79
+ - Creates RESEARCH.md with "how experts build this" knowledge
80
+ - Use for 3D, games, audio, shaders, ML, and other specialized domains
81
+ - Goes beyond "which library" to ecosystem knowledge
82
+
83
+ Usage: `/ez:research-phase 3`
84
+
85
+ **`/ez:list-phase-assumptions <number>`**
86
+ See what Claude is planning to do before it starts.
87
+
88
+ - Shows Claude's intended approach for a phase
89
+ - Lets you course-correct if Claude misunderstood your vision
90
+ - No files created - conversational output only
91
+
92
+ Usage: `/ez:list-phase-assumptions 3`
93
+
94
+ **`/ez:plan-phase <number>`**
95
+ Create detailed execution plan for a specific phase.
96
+
97
+ - Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
98
+ - Breaks phase into concrete, actionable tasks
99
+ - Includes verification criteria and success measures
100
+ - Multiple plans per phase supported (XX-01, XX-02, etc.)
101
+
102
+ Usage: `/ez:plan-phase 1`
103
+ Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
104
+
105
+ **PRD Express Path:** Pass `--prd path/to/requirements.md` to skip discuss-phase entirely. Your PRD becomes locked decisions in CONTEXT.md. Useful when you already have clear acceptance criteria.
106
+
107
+ ### Execution
108
+
109
+ **`/ez:execute-phase <phase-number>`**
110
+ Execute all plans in a phase.
111
+
112
+ - Groups plans by wave (from frontmatter), executes waves sequentially
113
+ - Plans within each wave run in parallel via Task tool
114
+ - Verifies phase goal after all plans complete
115
+ - Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
116
+
117
+ Usage: `/ez:execute-phase 5`
118
+
119
+ ### Quick Mode
120
+
121
+ **`/ez:quick`**
122
+ Execute small, ad-hoc tasks with EZ guarantees but skip optional agents.
123
+
124
+ Quick mode uses the same system with a shorter path:
125
+ - Spawns planner + executor (skips researcher, checker, verifier)
126
+ - Quick tasks live in `.planning/quick/` separate from planned phases
127
+ - Updates STATE.md tracking (not ROADMAP.md)
128
+
129
+ Use when you know exactly what to do and the task is small enough to not need research or verification.
130
+
131
+ Usage: `/ez:quick`
132
+ Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
133
+
134
+ ### Roadmap Management
135
+
136
+ **`/ez:add-phase <description>`**
137
+ Add new phase to end of current milestone.
138
+
139
+ - Appends to ROADMAP.md
140
+ - Uses next sequential number
141
+ - Updates phase directory structure
142
+
143
+ Usage: `/ez:add-phase "Add admin dashboard"`
144
+
145
+ **`/ez:insert-phase <after> <description>`**
146
+ Insert urgent work as decimal phase between existing phases.
147
+
148
+ - Creates intermediate phase (e.g., 7.1 between 7 and 8)
149
+ - Useful for discovered work that must happen mid-milestone
150
+ - Maintains phase ordering
151
+
152
+ Usage: `/ez:insert-phase 7 "Fix critical auth bug"`
153
+ Result: Creates Phase 7.1
154
+
155
+ **`/ez:remove-phase <number>`**
156
+ Remove a future phase and renumber subsequent phases.
157
+
158
+ - Deletes phase directory and all references
159
+ - Renumbers all subsequent phases to close the gap
160
+ - Only works on future (unstarted) phases
161
+ - Git commit preserves historical record
162
+
163
+ Usage: `/ez:remove-phase 17`
164
+ Result: Phase 17 deleted, phases 18-20 become 17-19
165
+
166
+ ### Milestone Management
167
+
168
+ **`/ez:new-milestone <name>`**
169
+ Start a new milestone through unified flow.
170
+
171
+ - Deep questioning to understand what you're building next
172
+ - Optional domain research (spawns 4 parallel researcher agents)
173
+ - Requirements definition with scoping
174
+ - Roadmap creation with phase breakdown
175
+
176
+ Mirrors `/ez:new-project` flow for brownfield projects (existing PROJECT.md).
177
+
178
+ Usage: `/ez:new-milestone "v2.0 Features"`
179
+
180
+ **`/ez:complete-milestone <version>`**
181
+ Archive completed milestone and prepare for next version.
182
+
183
+ - Creates MILESTONES.md entry with stats
184
+ - Archives full details to milestones/ directory
185
+ - Creates git tag for the release
186
+ - Prepares workspace for next version
187
+
188
+ Usage: `/ez:complete-milestone 1.0.0`
189
+
190
+ ### Progress Tracking
191
+
192
+ **`/ez:progress`**
193
+ Check project status and intelligently route to next action.
194
+
195
+ - Shows visual progress bar and completion percentage
196
+ - Summarizes recent work from SUMMARY files
197
+ - Displays current position and what's next
198
+ - Lists key decisions and open issues
199
+ - Offers to execute next plan or create it if missing
200
+ - Detects 100% milestone completion
201
+
202
+ Usage: `/ez:progress`
203
+
204
+ ### Session Management
205
+
206
+ **`/ez:resume-work`**
207
+ Resume work from previous session with full context restoration.
208
+
209
+ - Reads STATE.md for project context
210
+ - Shows current position and recent progress
211
+ - Offers next actions based on project state
212
+
213
+ Usage: `/ez:resume-work`
214
+
215
+ **`/ez:pause-work`**
216
+ Create context handoff when pausing work mid-phase.
217
+
218
+ - Creates .continue-here file with current state
219
+ - Updates STATE.md session continuity section
220
+ - Captures in-progress work context
221
+
222
+ Usage: `/ez:pause-work`
223
+
224
+ **`/ez:resume`**
225
+ Resume from last session or navigate session chain (Phase 18+).
226
+
227
+ - Loads most recent session from `.planning/sessions/`
228
+ - Shows formatted summary with model, phase, plan, duration
229
+ - Displays incomplete items, decisions, file changes
230
+ - Offers options: Continue, Show transcript, Export, Navigate chain, Start fresh
231
+ - Supports navigation: `--previous`, `--next`, `--chain`
232
+
233
+ Usage: `/ez:resume`
234
+ Usage: `/ez:resume session-20260319-143052`
235
+ Usage: `/ez:resume --previous`
236
+
237
+ **`/ez:export-session`**
238
+ Export session for model handoff or archival.
239
+
240
+ - Exports last session by default (or specified session)
241
+ - Supports markdown (human-readable) and JSON formats
242
+ - Includes: summary, tasks, decisions, file changes, open questions, blockers
243
+ - Output to `.planning/sessions/export-{session_id}.{ext}`
244
+
245
+ Usage: `/ez:export-session`
246
+ Usage: `/ez:export-session session-20260319-143052 --format json`
247
+ Usage: `/ez:export-session --output /path/to/file.md`
248
+
249
+ **`/ez:import-session`**
250
+ Import session from exported file.
251
+
252
+ - Validates session structure and chain integrity
253
+ - Supports model-specific adapters (claude, qwen, openai, kimi)
254
+ - Creates new session with imported context
255
+ - Offers to resume imported session
256
+
257
+ Usage: `/ez:import-session /path/to/session.json`
258
+ Usage: `/ez:import-session session.json --source-model claude`
259
+
260
+ **`/ez:list-sessions`**
261
+ List all sessions with metadata and disk usage.
262
+
263
+ - Shows: session_id, started_at, ended_at, model, phase, plan, status
264
+ - Sorted by date (newest first)
265
+ - Displays disk usage summary
266
+ - Supports `--limit N` and `--json` flags
267
+
268
+ Usage: `/ez:list-sessions`
269
+ Usage: `/ez:list-sessions --limit 10`
270
+ Usage: `/ez:list-sessions --json`
271
+
272
+ ### Debugging
273
+
274
+ **`/ez:debug [issue description]`**
275
+ Systematic debugging with persistent state across context resets.
276
+
277
+ - Gathers symptoms through adaptive questioning
278
+ - Creates `.planning/debug/[slug].md` to track investigation
279
+ - Investigates using scientific method (evidence → hypothesis → test)
280
+ - Survives `/clear` — run `/ez:debug` with no args to resume
281
+ - Archives resolved issues to `.planning/debug/resolved/`
282
+
283
+ Usage: `/ez:debug "login button doesn't work"`
284
+ Usage: `/ez:debug` (resume active session)
285
+
286
+ ### Todo Management
287
+
288
+ **`/ez:add-todo [description]`**
289
+ Capture idea or task as todo from current conversation.
290
+
291
+ - Extracts context from conversation (or uses provided description)
292
+ - Creates structured todo file in `.planning/todos/pending/`
293
+ - Infers area from file paths for grouping
294
+ - Checks for duplicates before creating
295
+ - Updates STATE.md todo count
296
+
297
+ Usage: `/ez:add-todo` (infers from conversation)
298
+ Usage: `/ez:add-todo Add auth token refresh`
299
+
300
+ **`/ez:check-todos [area]`**
301
+ List pending todos and select one to work on.
302
+
303
+ - Lists all pending todos with title, area, age
304
+ - Optional area filter (e.g., `/ez:check-todos api`)
305
+ - Loads full context for selected todo
306
+ - Routes to appropriate action (work now, add to phase, brainstorm)
307
+ - Moves todo to done/ when work begins
308
+
309
+ Usage: `/ez:check-todos`
310
+ Usage: `/ez:check-todos api`
311
+
312
+ ### User Acceptance Testing
313
+
314
+ **`/ez:verify-work [phase]`**
315
+ Validate built features through conversational UAT.
316
+
317
+ - Extracts testable deliverables from SUMMARY.md files
318
+ - Presents tests one at a time (yes/no responses)
319
+ - Automatically diagnoses failures and creates fix plans
320
+ - Ready for re-execution if issues found
321
+
322
+ Usage: `/ez:verify-work 3`
323
+
324
+ ### Milestone Auditing
325
+
326
+ **`/ez:audit-milestone [version]`**
327
+ Audit milestone completion against original intent.
328
+
329
+ - Reads all phase VERIFICATION.md files
330
+ - Checks requirements coverage
331
+ - Spawns integration checker for cross-phase wiring
332
+ - Creates MILESTONE-AUDIT.md with gaps and tech debt
333
+
334
+ Usage: `/ez:audit-milestone`
335
+
336
+ **`/ez:plan-milestone-gaps`**
337
+ Create phases to close gaps identified by audit.
338
+
339
+ - Reads MILESTONE-AUDIT.md and groups gaps into phases
340
+ - Prioritizes by requirement priority (must/should/nice)
341
+ - Adds gap closure phases to ROADMAP.md
342
+ - Ready for `/ez:plan-phase` on new phases
343
+
344
+ Usage: `/ez:plan-milestone-gaps`
345
+
346
+ ### Configuration
347
+
348
+ **`/ez:settings`**
349
+ Configure workflow toggles and model profile interactively.
350
+
351
+ - Toggle researcher, plan checker, verifier agents
352
+ - Select model profile (quality/balanced/budget)
353
+ - Updates `.planning/config.json`
354
+
355
+ Usage: `/ez:settings`
356
+
357
+ **`/ez:set-profile <profile>`**
358
+ Quick switch model profile for EZ agents.
359
+
360
+ - `quality` Opus everywhere except verification
361
+ - `balanced` Opus for planning, Sonnet for execution (default)
362
+ - `budget` Sonnet for writing, Haiku for research/verification
363
+
364
+ Usage: `/ez:set-profile budget`
365
+
366
+ ### Utility Commands
367
+
368
+ **`/ez:cleanup`**
369
+ Archive accumulated phase directories from completed milestones.
370
+
371
+ - Identifies phases from completed milestones still in `.planning/phases/`
372
+ - Shows dry-run summary before moving anything
373
+ - Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
374
+ - Use after multiple milestones to reduce `.planning/phases/` clutter
375
+
376
+ Usage: `/ez:cleanup`
377
+
378
+ **`/ez:help`**
379
+ Show this command reference.
380
+
381
+ **`/ez:update`**
382
+ Update EZ Agents to latest version with changelog preview.
383
+
384
+ - Shows installed vs latest version comparison
385
+ - Displays changelog entries for versions you've missed
386
+ - Highlights breaking changes
387
+ - Confirms before running install
388
+ - Better than raw `npx ez-agents`
389
+
390
+ Usage: `/ez:update`
391
+
392
+ **`/ez:join-discord`**
393
+ Join the EZ Agents Discord community.
394
+
395
+ - Get help, share what you're building, stay updated
396
+ - Connect with other EZ Agents users
397
+
398
+ Usage: `/ez:join-discord`
399
+
400
+ ## Files & Structure
401
+
402
+ ```
403
+ .planning/
404
+ ├── PROJECT.md # Project vision
405
+ ├── ROADMAP.md # Current phase breakdown
406
+ ├── STATE.md # Project memory & context
407
+ ├── RETROSPECTIVE.md # Living retrospective (updated per milestone)
408
+ ├── config.json # Workflow mode & gates
409
+ ├── todos/ # Captured ideas and tasks
410
+ │ ├── pending/ # Todos waiting to be worked on
411
+ │ └── done/ # Completed todos
412
+ ├── debug/ # Active debug sessions
413
+ │ └── resolved/ # Archived resolved issues
414
+ ├── milestones/
415
+ │ ├── v1.0-ROADMAP.md # Archived roadmap snapshot
416
+ │ ├── v1.0-REQUIREMENTS.md # Archived requirements
417
+ │ └── v1.0-phases/ # Archived phase dirs (via /ez:cleanup or --archive-phases)
418
+ │ ├── 01-foundation/
419
+ │ └── 02-core-features/
420
+ ├── codebase/ # Codebase map (brownfield projects)
421
+ │ ├── STACK.md # Languages, frameworks, dependencies
422
+ │ ├── ARCHITECTURE.md # Patterns, layers, data flow
423
+ │ ├── STRUCTURE.md # Directory layout, key files
424
+ │ ├── CONVENTIONS.md # Coding standards, naming
425
+ │ ├── TESTING.md # Test setup, patterns
426
+ │ ├── INTEGRATIONS.md # External services, APIs
427
+ │ └── CONCERNS.md # Tech debt, known issues
428
+ └── phases/
429
+ ├── 01-foundation/
430
+ │ ├── 01-01-PLAN.md
431
+ │ └── 01-01-SUMMARY.md
432
+ └── 02-core-features/
433
+ ├── 02-01-PLAN.md
434
+ └── 02-01-SUMMARY.md
435
+ ```
436
+
437
+ ## Workflow Modes
438
+
439
+ Set during `/ez:new-project`:
440
+
441
+ **Interactive Mode**
442
+
443
+ - Confirms each major decision
444
+ - Pauses at checkpoints for approval
445
+ - More guidance throughout
446
+
447
+ **YOLO Mode**
448
+
449
+ - Auto-approves most decisions
450
+ - Executes plans without confirmation
451
+ - Only stops for critical checkpoints
452
+
453
+ Change anytime by editing `.planning/config.json`
454
+
455
+ ## Planning Configuration
456
+
457
+ Configure how planning artifacts are managed in `.planning/config.json`:
458
+
459
+ **`planning.commit_docs`** (default: `true`)
460
+ - `true`: Planning artifacts committed to git (standard workflow)
461
+ - `false`: Planning artifacts kept local-only, not committed
462
+
463
+ When `commit_docs: false`:
464
+ - Add `.planning/` to your `.gitignore`
465
+ - Useful for OSS contributions, client projects, or keeping planning private
466
+ - All planning files still work normally, just not tracked in git
467
+
468
+ **`planning.search_gitignored`** (default: `false`)
469
+ - `true`: Add `--no-ignore` to broad ripgrep searches
470
+ - Only needed when `.planning/` is gitignored and you want project-wide searches to include it
471
+
472
+ Example config:
473
+ ```json
474
+ {
475
+ "planning": {
476
+ "commit_docs": false,
477
+ "search_gitignored": true
478
+ }
479
+ }
480
+ ```
481
+
482
+ ## Common Workflows
483
+
484
+ **Starting a new project:**
485
+
486
+ ```
487
+ /ez:new-project # Unified flow: questioning → research → requirements → roadmap
488
+ /clear
489
+ /ez:plan-phase 1 # Create plans for first phase
490
+ /clear
491
+ /ez:execute-phase 1 # Execute all plans in phase
492
+ ```
493
+
494
+ **Resuming work after a break:**
495
+
496
+ ```
497
+ /ez:progress # See where you left off and continue
498
+ ```
499
+
500
+ **Adding urgent mid-milestone work:**
501
+
502
+ ```
503
+ /ez:insert-phase 5 "Critical security fix"
504
+ /ez:plan-phase 5.1
505
+ /ez:execute-phase 5.1
506
+ ```
507
+
508
+ **Completing a milestone:**
509
+
510
+ ```
511
+ /ez:complete-milestone 1.0.0
512
+ /clear
513
+ /ez:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
514
+ ```
515
+
516
+ **Capturing ideas during work:**
517
+
518
+ ```
519
+ /ez:add-todo # Capture from conversation context
520
+ /ez:add-todo Fix modal z-index # Capture with explicit description
521
+ /ez:check-todos # Review and work on todos
522
+ /ez:check-todos api # Filter by area
523
+ ```
524
+
525
+ **Debugging an issue:**
526
+
527
+ ```
528
+ /ez:debug "form submission fails silently" # Start debug session
529
+ # ... investigation happens, context fills up ...
530
+ /clear
531
+ /ez:debug # Resume from where you left off
532
+ ```
533
+
534
+ ## Global Flags
535
+
536
+ Flags below apply to all core commands (`execute-phase`, `plan-phase`, `release`, `progress`):
537
+
538
+ | Flag | Effect |
539
+ |---|---|
540
+ | `--no-auto` | Disable all auto-invocations. Expert mode. |
541
+ | `--verbose` | Show detail for every auto-invocation step. |
542
+ | `--skip-discussion` | Skip discuss-phase only (more granular than --no-auto). |
543
+
544
+ ## Smart Orchestration
545
+
546
+ Core commands automatically invoke helper commands based on context:
547
+
548
+ - `/ez:execute-phase N` → auto: health check (pre), verify-work (post)
549
+ - `/ez:plan-phase N` → auto: discuss-phase if phase touches a sensitive area (auth, DB, payment, etc.)
550
+ - `/ez:release tier ver` → auto: verify-work (medium+), audit-milestone + arch-review (enterprise)
551
+ - `/ez:progress` → auto: health check (silent on pass)
552
+
553
+ All auto-invocations appear with `[auto]` prefix in output.
554
+
555
+ Disable globally: set `"smart_orchestration": { "enabled": false }` in `.planning/config.json`.
556
+ Disable per-command: append `--no-auto` flag.
557
+
558
+ ## Flags
559
+
560
+ ### --skip-discussion
561
+ Skips the DISCUSSION.md pre-flight check and proceeds directly to execution.
562
+
563
+ Usage: ez execute-phase <phase> --skip-discussion
564
+
565
+ ⚠️ Warning: Pre-flight discussion skipped via --skip-discussion
566
+
567
+ ### Migration Guide (v2.x → v3.0)
568
+ If upgrading from v2.x:
569
+ - `agent_discussion` is now enabled by default (was disabled)
570
+ - Use `--skip-discussion` to preserve v2.x behavior during transition
571
+ - Set `"agent_discussion": { "enabled": false }` in config.json to permanently disable
572
+
573
+ ### Migration Note (v3.x → Smart Orchestration)
574
+ If upgrading from v3.x without smart orchestration and the new behavior is not desired, two options:
575
+ 1. Add `--no-auto` to frequently used commands
576
+ 2. Set `"smart_orchestration": { "enabled": false }` in `.planning/config.json`
577
+
578
+ ## Getting Help
579
+
580
+ - Read `.planning/PROJECT.md` for project vision
581
+ - Read `.planning/STATE.md` for current context
582
+ - Check `.planning/ROADMAP.md` for phase status
583
+ - Run `/ez:progress` to check where you're up to
584
+ </reference>