claude-code-workflow 6.3.43 → 6.3.46

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 (78) hide show
  1. package/.claude/agents/tdd-developer.md +530 -0
  2. package/.claude/commands/ccw-coordinator.md +1042 -0
  3. package/.claude/commands/ccw.md +486 -0
  4. package/.claude/commands/issue/discover-by-prompt.md +5 -1
  5. package/.claude/commands/issue/discover.md +472 -468
  6. package/.claude/commands/issue/execute.md +580 -581
  7. package/.claude/commands/issue/new.md +417 -413
  8. package/.claude/commands/issue/plan.md +5 -1
  9. package/.claude/commands/issue/queue.md +445 -441
  10. package/.claude/commands/task/breakdown.md +207 -203
  11. package/.claude/commands/task/replan.md +440 -436
  12. package/.claude/commands/workflow/action-plan-verify.md +485 -447
  13. package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
  14. package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
  15. package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
  16. package/.claude/commands/workflow/clean.md +67 -35
  17. package/.claude/commands/workflow/debug-with-file.md +670 -666
  18. package/.claude/commands/workflow/debug.md +331 -327
  19. package/.claude/commands/workflow/develop-with-file.md +5 -1
  20. package/.claude/commands/workflow/execute.md +546 -498
  21. package/.claude/commands/workflow/lite-execute.md +44 -26
  22. package/.claude/commands/workflow/lite-fix.md +780 -730
  23. package/.claude/commands/workflow/lite-lite-lite.md +5 -1
  24. package/.claude/commands/workflow/lite-plan.md +87 -39
  25. package/.claude/commands/workflow/multi-cli-plan.md +572 -568
  26. package/.claude/commands/workflow/plan-verify.md +527 -0
  27. package/.claude/commands/workflow/plan.md +555 -551
  28. package/.claude/commands/workflow/replan.md +572 -515
  29. package/.claude/commands/workflow/review-fix.md +608 -610
  30. package/.claude/commands/workflow/session/complete.md +37 -14
  31. package/.claude/commands/workflow/session/solidify.md +303 -299
  32. package/.claude/commands/workflow/tdd-plan.md +630 -597
  33. package/.claude/commands/workflow/tdd-verify.md +391 -206
  34. package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
  35. package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
  36. package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
  37. package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
  38. package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
  39. package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
  40. package/.claude/skills/ccw-help/command.json +5 -5
  41. package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
  42. package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
  43. package/ccw/dist/commands/issue.d.ts +4 -0
  44. package/ccw/dist/commands/issue.d.ts.map +1 -1
  45. package/ccw/dist/commands/issue.js +73 -6
  46. package/ccw/dist/commands/issue.js.map +1 -1
  47. package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
  48. package/ccw/dist/core/routes/cli-routes.js +32 -28
  49. package/ccw/dist/core/routes/cli-routes.js.map +1 -1
  50. package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
  51. package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
  52. package/ccw/dist/tools/claude-cli-tools.js +45 -0
  53. package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
  54. package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
  55. package/ccw/dist/tools/codex-lens.js +38 -11
  56. package/ccw/dist/tools/codex-lens.js.map +1 -1
  57. package/ccw/dist/tools/command-registry.d.ts +77 -0
  58. package/ccw/dist/tools/command-registry.d.ts.map +1 -0
  59. package/ccw/dist/tools/command-registry.js +265 -0
  60. package/ccw/dist/tools/command-registry.js.map +1 -0
  61. package/ccw/dist/tools/command-registry.test.d.ts +14 -0
  62. package/ccw/dist/tools/command-registry.test.d.ts.map +1 -0
  63. package/ccw/dist/tools/command-registry.test.js.map +1 -0
  64. package/ccw/dist/tools/index.d.ts +2 -0
  65. package/ccw/dist/tools/index.d.ts.map +1 -1
  66. package/ccw/dist/tools/index.js +2 -0
  67. package/ccw/dist/tools/index.js.map +1 -1
  68. package/ccw/src/commands/issue.ts +84 -6
  69. package/ccw/src/core/routes/cli-routes.ts +30 -25
  70. package/ccw/src/templates/dashboard-js/views/help.js +1 -1
  71. package/ccw/src/tools/claude-cli-tools.ts +50 -0
  72. package/ccw/src/tools/codex-lens.ts +40 -11
  73. package/ccw/src/tools/command-registry.test.ts +669 -0
  74. package/ccw/src/tools/command-registry.ts +308 -0
  75. package/ccw/src/tools/index.ts +4 -0
  76. package/package.json +1 -1
  77. package/.claude/skills/ccw/SKILL.md +0 -522
  78. package/.claude/skills/ccw/command.json +0 -641
@@ -1,447 +1,485 @@
1
- ---
2
- name: action-plan-verify
3
- description: Perform non-destructive cross-artifact consistency analysis between IMPL_PLAN.md and task JSONs with quality gate validation
4
- argument-hint: "[optional: --session session-id]"
5
- allowed-tools: Read(*), TodoWrite(*), Glob(*), Bash(*)
6
- ---
7
-
8
- ## User Input
9
-
10
- ```text
11
- $ARGUMENTS
12
- ```
13
-
14
- You **MUST** consider the user input before proceeding (if not empty).
15
-
16
- ## Goal
17
-
18
- Identify inconsistencies, duplications, ambiguities, and underspecified items between action planning artifacts (`IMPL_PLAN.md`, `task.json`) and brainstorming artifacts (`role analysis documents`) before implementation. This command MUST run only after `/workflow:plan` has successfully produced complete `IMPL_PLAN.md` and task JSON files.
19
-
20
- ## Operating Constraints
21
-
22
- **STRICTLY READ-ONLY**: Do **not** modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands).
23
-
24
- **Synthesis Authority**: The `role analysis documents` is **authoritative** for requirements and design decisions. Any conflicts between IMPL_PLAN/tasks and synthesis are automatically CRITICAL and require adjustment of the plan/tasks—not reinterpretation of requirements.
25
-
26
- ## Execution Steps
27
-
28
- ### 1. Initialize Analysis Context
29
-
30
- ```bash
31
- # Detect active workflow session
32
- IF --session parameter provided:
33
- session_id = provided session
34
- ELSE:
35
- # Auto-detect active session
36
- active_sessions = bash(find .workflow/active/ -name "WFS-*" -type d 2>/dev/null)
37
- IF active_sessions is empty:
38
- ERROR: "No active workflow session found. Use --session <session-id>"
39
- EXIT
40
- ELSE IF active_sessions has multiple entries:
41
- # Use most recently modified session
42
- session_id = bash(ls -td .workflow/active/WFS-*/ 2>/dev/null | head -1 | xargs basename)
43
- ELSE:
44
- session_id = basename(active_sessions[0])
45
-
46
- # Derive absolute paths
47
- session_dir = .workflow/active/WFS-{session}
48
- brainstorm_dir = session_dir/.brainstorming
49
- task_dir = session_dir/.task
50
-
51
- # Validate required artifacts
52
- # Note: "role analysis documents" refers to [role]/analysis.md files (e.g., product-manager/analysis.md)
53
- SYNTHESIS_DIR = brainstorm_dir # Contains role analysis files: */analysis.md
54
- IMPL_PLAN = session_dir/IMPL_PLAN.md
55
- TASK_FILES = Glob(task_dir/*.json)
56
-
57
- # Abort if missing
58
- SYNTHESIS_FILES = Glob(brainstorm_dir/*/analysis.md)
59
- IF SYNTHESIS_FILES.count == 0:
60
- ERROR: "No role analysis documents found in .brainstorming/*/analysis.md. Run /workflow:brainstorm:synthesis first"
61
- EXIT
62
-
63
- IF NOT EXISTS(IMPL_PLAN):
64
- ERROR: "IMPL_PLAN.md not found. Run /workflow:plan first"
65
- EXIT
66
-
67
- IF TASK_FILES.count == 0:
68
- ERROR: "No task JSON files found. Run /workflow:plan first"
69
- EXIT
70
- ```
71
-
72
- ### 2. Load Artifacts (Progressive Disclosure)
73
-
74
- Load only minimal necessary context from each artifact:
75
-
76
- **From workflow-session.json** (NEW - PRIMARY REFERENCE):
77
- - Original user prompt/intent (project or description field)
78
- - User's stated goals and objectives
79
- - User's scope definition
80
-
81
- **From role analysis documents**:
82
- - Functional Requirements (IDs, descriptions, acceptance criteria)
83
- - Non-Functional Requirements (IDs, targets)
84
- - Business Requirements (IDs, success metrics)
85
- - Key Architecture Decisions
86
- - Risk factors and mitigation strategies
87
- - Implementation Roadmap (high-level phases)
88
-
89
- **From IMPL_PLAN.md**:
90
- - Summary and objectives
91
- - Context Analysis
92
- - Implementation Strategy
93
- - Task Breakdown Summary
94
- - Success Criteria
95
- - Brainstorming Artifacts References (if present)
96
-
97
- **From task.json files**:
98
- - Task IDs
99
- - Titles and descriptions
100
- - Status
101
- - Dependencies (depends_on, blocks)
102
- - Context (requirements, focus_paths, acceptance, artifacts)
103
- - Flow control (pre_analysis, implementation_approach)
104
- - Meta (complexity, priority)
105
-
106
- ### 3. Build Semantic Models
107
-
108
- Create internal representations (do not include raw artifacts in output):
109
-
110
- **Requirements inventory**:
111
- - Each functional/non-functional/business requirement with stable ID
112
- - Requirement text, acceptance criteria, priority
113
-
114
- **Architecture decisions inventory**:
115
- - ADRs from synthesis
116
- - Technology choices
117
- - Data model references
118
-
119
- **Task coverage mapping**:
120
- - Map each task to one or more requirements (by ID reference or keyword inference)
121
- - Map each requirement to covering tasks
122
-
123
- **Dependency graph**:
124
- - Task-to-task dependencies (depends_on, blocks)
125
- - Requirement-level dependencies (from synthesis)
126
-
127
- ### 4. Detection Passes (Token-Efficient Analysis)
128
-
129
- Focus on high-signal findings. Limit to 50 findings total; aggregate remainder in overflow summary.
130
-
131
- #### A. User Intent Alignment (NEW - CRITICAL)
132
-
133
- - **Goal Alignment**: IMPL_PLAN objectives match user's original intent
134
- - **Scope Drift**: Plan covers user's stated scope without unauthorized expansion
135
- - **Success Criteria Match**: Plan's success criteria reflect user's expectations
136
- - **Intent Conflicts**: Tasks contradicting user's original objectives
137
-
138
- #### B. Requirements Coverage Analysis
139
-
140
- - **Orphaned Requirements**: Requirements in synthesis with zero associated tasks
141
- - **Unmapped Tasks**: Tasks with no clear requirement linkage
142
- - **NFR Coverage Gaps**: Non-functional requirements (performance, security, scalability) not reflected in tasks
143
-
144
- #### C. Consistency Validation
145
-
146
- - **Requirement Conflicts**: Tasks contradicting synthesis requirements
147
- - **Architecture Drift**: IMPL_PLAN architecture not matching synthesis ADRs
148
- - **Terminology Drift**: Same concept named differently across IMPL_PLAN and tasks
149
- - **Data Model Inconsistency**: Tasks referencing entities/fields not in synthesis data model
150
-
151
- #### D. Dependency Integrity
152
-
153
- - **Circular Dependencies**: Task A depends on B, B depends on C, C depends on A
154
- - **Missing Dependencies**: Task requires outputs from another task but no explicit dependency
155
- - **Broken Dependencies**: Task depends on non-existent task ID
156
- - **Logical Ordering Issues**: Implementation tasks before foundational setup without dependency note
157
-
158
- #### E. Synthesis Alignment
159
-
160
- - **Priority Conflicts**: High-priority synthesis requirements mapped to low-priority tasks
161
- - **Success Criteria Mismatch**: IMPL_PLAN success criteria not covering synthesis acceptance criteria
162
- - **Risk Mitigation Gaps**: Critical risks in synthesis without corresponding mitigation tasks
163
-
164
- #### F. Task Specification Quality
165
-
166
- - **Ambiguous Focus Paths**: Tasks with vague or missing focus_paths
167
- - **Underspecified Acceptance**: Tasks without clear acceptance criteria
168
- - **Missing Artifacts References**: Tasks not referencing relevant brainstorming artifacts in context.artifacts
169
- - **Weak Flow Control**: Tasks without clear implementation_approach or pre_analysis steps
170
- - **Missing Target Files**: Tasks without flow_control.target_files specification
171
-
172
- #### G. Duplication Detection
173
-
174
- - **Overlapping Task Scope**: Multiple tasks with nearly identical descriptions
175
- - **Redundant Requirements Coverage**: Same requirement covered by multiple tasks without clear partitioning
176
-
177
- #### H. Feasibility Assessment
178
-
179
- - **Complexity Misalignment**: Task marked "simple" but requires multiple file modifications
180
- - **Resource Conflicts**: Parallel tasks requiring same resources/files
181
- - **Skill Gap Risks**: Tasks requiring skills not in team capability assessment (from synthesis)
182
-
183
- ### 5. Severity Assignment
184
-
185
- Use this heuristic to prioritize findings:
186
-
187
- - **CRITICAL**:
188
- - Violates user's original intent (goal misalignment, scope drift)
189
- - Violates synthesis authority (requirement conflict)
190
- - Core requirement with zero coverage
191
- - Circular dependencies
192
- - Broken dependencies
193
-
194
- - **HIGH**:
195
- - NFR coverage gaps
196
- - Priority conflicts
197
- - Missing risk mitigation tasks
198
- - Ambiguous acceptance criteria
199
-
200
- - **MEDIUM**:
201
- - Terminology drift
202
- - Missing artifacts references
203
- - Weak flow control
204
- - Logical ordering issues
205
-
206
- - **LOW**:
207
- - Style/wording improvements
208
- - Minor redundancy not affecting execution
209
-
210
- ### 6. Produce Compact Analysis Report
211
-
212
- **Report Generation**: Generate report content and save to file.
213
-
214
- Output a Markdown report with the following structure:
215
-
216
- ```markdown
217
- ## Action Plan Verification Report
218
-
219
- **Session**: WFS-{session-id}
220
- **Generated**: {timestamp}
221
- **Artifacts Analyzed**: role analysis documents, IMPL_PLAN.md, {N} task files
222
-
223
- ---
224
-
225
- ### Executive Summary
226
-
227
- - **Overall Risk Level**: CRITICAL | HIGH | MEDIUM | LOW
228
- - **Recommendation**: (See decision matrix below)
229
- - BLOCK_EXECUTION: Critical issues exist (must fix before proceeding)
230
- - PROCEED_WITH_FIXES: High issues exist, no critical (fix recommended before execution)
231
- - PROCEED_WITH_CAUTION: Medium issues only (proceed with awareness)
232
- - PROCEED: Low issues only or no issues (safe to execute)
233
- - **Critical Issues**: {count}
234
- - **High Issues**: {count}
235
- - **Medium Issues**: {count}
236
- - **Low Issues**: {count}
237
-
238
- ---
239
-
240
- ### Findings Summary
241
-
242
- | ID | Category | Severity | Location(s) | Summary | Recommendation |
243
- |----|----------|----------|-------------|---------|----------------|
244
- | C1 | Coverage | CRITICAL | synthesis:FR-03 | Requirement "User auth" has zero task coverage | Add authentication implementation task |
245
- | H1 | Consistency | HIGH | IMPL-1.2 vs synthesis:ADR-02 | Task uses REST while synthesis specifies GraphQL | Align task with ADR-02 decision |
246
- | M1 | Specification | MEDIUM | IMPL-2.1 | Missing context.artifacts reference | Add @synthesis reference |
247
- | L1 | Duplication | LOW | IMPL-3.1, IMPL-3.2 | Similar scope | Consider merging |
248
-
249
- (Add one row per finding; generate stable IDs prefixed by severity initial.)
250
-
251
- ---
252
-
253
- ### Requirements Coverage Analysis
254
-
255
- | Requirement ID | Requirement Summary | Has Task? | Task IDs | Priority Match | Notes |
256
- |----------------|---------------------|-----------|----------|----------------|-------|
257
- | FR-01 | User authentication | Yes | IMPL-1.1, IMPL-1.2 | Match | Complete |
258
- | FR-02 | Data export | Yes | IMPL-2.3 | Mismatch | High req → Med priority task |
259
- | FR-03 | Profile management | No | - | - | **CRITICAL: Zero coverage** |
260
- | NFR-01 | Response time <200ms | No | - | - | **HIGH: No performance tasks** |
261
-
262
- **Coverage Metrics**:
263
- - Functional Requirements: 85% (17/20 covered)
264
- - Non-Functional Requirements: 40% (2/5 covered)
265
- - Business Requirements: 100% (5/5 covered)
266
-
267
- ---
268
-
269
- ### Unmapped Tasks
270
-
271
- | Task ID | Title | Issue | Recommendation |
272
- |---------|-------|-------|----------------|
273
- | IMPL-4.5 | Refactor utils | No requirement linkage | Link to technical debt or remove |
274
-
275
- ---
276
-
277
- ### Dependency Graph Issues
278
-
279
- **Circular Dependencies**: None detected
280
-
281
- **Broken Dependencies**:
282
- - IMPL-2.3 depends on "IMPL-2.4" (non-existent)
283
-
284
- **Logical Ordering Issues**:
285
- - IMPL-5.1 (integration test) has no dependency on IMPL-1.* (implementation tasks)
286
-
287
- ---
288
-
289
- ### Synthesis Alignment Issues
290
-
291
- | Issue Type | Synthesis Reference | IMPL_PLAN/Task | Impact | Recommendation |
292
- |------------|---------------------|----------------|--------|----------------|
293
- | Architecture Conflict | synthesis:ADR-01 (JWT auth) | IMPL_PLAN uses session cookies | HIGH | Update IMPL_PLAN to use JWT |
294
- | Priority Mismatch | synthesis:FR-02 (High) | IMPL-2.3 (Medium) | MEDIUM | Elevate task priority |
295
- | Missing Risk Mitigation | synthesis:Risk-03 (API rate limits) | No mitigation tasks | HIGH | Add rate limiting implementation task |
296
-
297
- ---
298
-
299
- ### Task Specification Quality Issues
300
-
301
- **Missing Artifacts References**: 12 tasks lack context.artifacts
302
- **Weak Flow Control**: 5 tasks lack implementation_approach
303
- **Missing Target Files**: 8 tasks lack flow_control.target_files
304
-
305
- **Sample Issues**:
306
- - IMPL-1.2: No context.artifacts reference to synthesis
307
- - IMPL-3.1: Missing flow_control.target_files specification
308
- - IMPL-4.2: Vague focus_paths ["src/"] - needs refinement
309
-
310
- ---
311
-
312
- ### Feasibility Concerns
313
-
314
- | Concern | Tasks Affected | Issue | Recommendation |
315
- |---------|----------------|-------|----------------|
316
- | Skill Gap | IMPL-6.1, IMPL-6.2 | Requires Kubernetes expertise not in team | Add training task or external consultant |
317
- | Resource Conflict | IMPL-3.1, IMPL-3.2 | Both modify src/auth/service.ts in parallel | Add dependency or serialize |
318
-
319
- ---
320
-
321
- ### Metrics
322
-
323
- - **Total Requirements**: 30 (20 functional, 5 non-functional, 5 business)
324
- - **Total Tasks**: 25
325
- - **Overall Coverage**: 77% (23/30 requirements with ≥1 task)
326
- - **Critical Issues**: 2
327
- - **High Issues**: 5
328
- - **Medium Issues**: 8
329
- - **Low Issues**: 3
330
-
331
- ---
332
-
333
- ### Next Actions
334
-
335
- #### Action Recommendations
336
-
337
- **Recommendation Decision Matrix**:
338
-
339
- | Condition | Recommendation | Action |
340
- |-----------|----------------|--------|
341
- | Critical > 0 | BLOCK_EXECUTION | Must resolve all critical issues before proceeding |
342
- | Critical = 0, High > 0 | PROCEED_WITH_FIXES | Fix high-priority issues before execution |
343
- | Critical = 0, High = 0, Medium > 0 | PROCEED_WITH_CAUTION | Proceed with awareness of medium issues |
344
- | Only Low or None | PROCEED | Safe to execute workflow |
345
-
346
- **If CRITICAL Issues Exist** (BLOCK_EXECUTION):
347
- - Resolve all critical issues before proceeding
348
- - Use TodoWrite to track required fixes
349
- - Fix broken dependencies and circular references first
350
-
351
- **If HIGH Issues Exist** (PROCEED_WITH_FIXES):
352
- - Fix high-priority issues before execution
353
- - Use TodoWrite to systematically track and complete improvements
354
-
355
- **If Only MEDIUM/LOW Issues** (PROCEED_WITH_CAUTION / PROCEED):
356
- - Can proceed with execution
357
- - Address issues during or after implementation
358
-
359
- #### TodoWrite-Based Remediation Workflow
360
-
361
- **Report Location**: `.workflow/active/WFS-{session}/.process/ACTION_PLAN_VERIFICATION.md`
362
-
363
- **Recommended Workflow**:
364
- 1. **Create TodoWrite Task List**: Extract all findings from report
365
- 2. **Process by Priority**: CRITICAL → HIGH → MEDIUM → LOW
366
- 3. **Complete Each Fix**: Mark tasks as in_progress/completed as you work
367
- 4. **Validate Changes**: Verify each modification against requirements
368
-
369
- **TodoWrite Task Structure Example**:
370
- ```markdown
371
- Priority Order:
372
- 1. Fix coverage gaps (CRITICAL)
373
- 2. Resolve consistency conflicts (CRITICAL/HIGH)
374
- 3. Add missing specifications (MEDIUM)
375
- 4. Improve task quality (LOW)
376
- ```
377
-
378
- **Notes**:
379
- - TodoWrite provides real-time progress tracking
380
- - Each finding becomes a trackable todo item
381
- - User can monitor progress throughout remediation
382
- - Architecture drift in IMPL_PLAN requires manual editing
383
- ```
384
-
385
- ### 7. Save Report and Execute TodoWrite-Based Remediation
386
-
387
- **Step 7.1: Save Analysis Report**:
388
- ```bash
389
- report_path = ".workflow/active/WFS-{session}/.process/ACTION_PLAN_VERIFICATION.md"
390
- Write(report_path, full_report_content)
391
- ```
392
-
393
- **Step 7.2: Display Report Summary to User**:
394
- - Show executive summary with counts
395
- - Display recommendation (BLOCK/PROCEED_WITH_FIXES/PROCEED_WITH_CAUTION/PROCEED)
396
- - List critical and high issues if any
397
-
398
- **Step 7.3: After Report Generation**:
399
-
400
- 1. **Extract Findings**: Parse all issues by severity
401
- 2. **Create TodoWrite Task List**: Convert findings to actionable todos
402
- 3. **Execute Fixes**: Process each todo systematically
403
- 4. **Update Task Files**: Apply modifications directly to task JSON files
404
- 5. **Update IMPL_PLAN**: Apply strategic changes if needed
405
-
406
- At end of report, provide remediation guidance:
407
-
408
- ```markdown
409
- ### 🔧 Remediation Workflow
410
-
411
- **Recommended Approach**:
412
- 1. **Initialize TodoWrite**: Create comprehensive task list from all findings
413
- 2. **Process by Severity**: Start with CRITICAL, then HIGH, MEDIUM, LOW
414
- 3. **Apply Fixes Directly**: Modify task.json files and IMPL_PLAN.md as needed
415
- 4. **Track Progress**: Mark todos as completed after each fix
416
-
417
- **TodoWrite Execution Pattern**:
418
- ```bash
419
- # Step 1: Create task list from verification report
420
- TodoWrite([
421
- { content: "Fix FR-03 coverage gap - add authentication task", status: "pending", activeForm: "Fixing FR-03 coverage gap" },
422
- { content: "Fix IMPL-1.2 consistency - align with ADR-02", status: "pending", activeForm: "Fixing IMPL-1.2 consistency" },
423
- { content: "Add context.artifacts to IMPL-1.2", status: "pending", activeForm: "Adding context.artifacts to IMPL-1.2" },
424
- # ... additional todos for each finding
425
- ])
426
-
427
- # Step 2: Process each todo systematically
428
- # Mark as in_progress when starting
429
- # Apply fix using Read/Edit tools
430
- # Mark as completed when done
431
- # Move to next priority item
432
- ```
433
-
434
- **File Modification Workflow**:
435
- ```bash
436
- # For task JSON modifications:
437
- 1. Read(.workflow/active/WFS-{session}/.task/IMPL-X.Y.json)
438
- 2. Edit() to apply fixes
439
- 3. Mark todo as completed
440
-
441
- # For IMPL_PLAN modifications:
442
- 1. Read(.workflow/active/WFS-{session}/IMPL_PLAN.md)
443
- 2. Edit() to apply strategic changes
444
- 3. Mark todo as completed
445
- ```
446
-
447
- **Note**: All fixes execute immediately after user confirmation without additional commands.
1
+ ---
2
+ name: plan-verify
3
+ description: Perform READ-ONLY verification analysis between IMPL_PLAN.md, task JSONs, and brainstorming artifacts. Generates structured report with quality gate recommendation. Does NOT modify any files.
4
+ argument-hint: "[optional: --session session-id]"
5
+ allowed-tools: Read(*), Write(*), Glob(*), Bash(*)
6
+ ---
7
+
8
+ ## User Input
9
+
10
+ ```text
11
+ $ARGUMENTS
12
+ ```
13
+
14
+ You **MUST** consider the user input before proceeding (if not empty).
15
+
16
+ ## Goal
17
+
18
+ Generate a comprehensive verification report that identifies inconsistencies, duplications, ambiguities, and underspecified items between action planning artifacts (`IMPL_PLAN.md`, `task.json`) and brainstorming artifacts (`role analysis documents`). This command MUST run only after `/workflow:plan` has successfully produced complete `IMPL_PLAN.md` and task JSON files.
19
+
20
+ **Output**: A structured Markdown report saved to `.workflow/active/WFS-{session}/.process/ACTION_PLAN_VERIFICATION.md` containing:
21
+ - Executive summary with quality gate recommendation
22
+ - Detailed findings by severity (CRITICAL/HIGH/MEDIUM/LOW)
23
+ - Requirements coverage analysis
24
+ - Dependency integrity check
25
+ - Synthesis alignment validation
26
+ - Actionable remediation recommendations
27
+
28
+ ## Operating Constraints
29
+
30
+ **STRICTLY READ-ONLY FOR SOURCE ARTIFACTS**:
31
+ - **MUST NOT** modify `IMPL_PLAN.md`, any `task.json` files, or brainstorming artifacts
32
+ - **MUST NOT** create or delete task files
33
+ - **MUST ONLY** write the verification report to `.process/ACTION_PLAN_VERIFICATION.md`
34
+
35
+ **Synthesis Authority**: The `role analysis documents` are **authoritative** for requirements and design decisions. Any conflicts between IMPL_PLAN/tasks and synthesis are automatically CRITICAL and require adjustment of the plan/tasks—not reinterpretation of requirements.
36
+
37
+ **Quality Gate Authority**: The verification report provides a binding recommendation (BLOCK_EXECUTION / PROCEED_WITH_FIXES / PROCEED_WITH_CAUTION / PROCEED) based on objective severity criteria. User MUST review critical/high issues before proceeding with implementation.
38
+
39
+ ## Execution Steps
40
+
41
+ ### 1. Initialize Analysis Context
42
+
43
+ ```bash
44
+ # Detect active workflow session
45
+ IF --session parameter provided:
46
+ session_id = provided session
47
+ ELSE:
48
+ # Auto-detect active session
49
+ active_sessions = bash(find .workflow/active/ -name "WFS-*" -type d 2>/dev/null)
50
+ IF active_sessions is empty:
51
+ ERROR: "No active workflow session found. Use --session <session-id>"
52
+ EXIT
53
+ ELSE IF active_sessions has multiple entries:
54
+ # Use most recently modified session
55
+ session_id = bash(ls -td .workflow/active/WFS-*/ 2>/dev/null | head -1 | xargs basename)
56
+ ELSE:
57
+ session_id = basename(active_sessions[0])
58
+
59
+ # Derive absolute paths
60
+ session_dir = .workflow/active/WFS-{session}
61
+ brainstorm_dir = session_dir/.brainstorming
62
+ task_dir = session_dir/.task
63
+ process_dir = session_dir/.process
64
+ session_file = session_dir/workflow-session.json
65
+
66
+ # Create .process directory if not exists (report output location)
67
+ IF NOT EXISTS(process_dir):
68
+ bash(mkdir -p "{process_dir}")
69
+
70
+ # Validate required artifacts
71
+ # Note: "role analysis documents" refers to [role]/analysis.md files (e.g., product-manager/analysis.md)
72
+ SYNTHESIS_DIR = brainstorm_dir # Contains role analysis files: */analysis.md
73
+ IMPL_PLAN = session_dir/IMPL_PLAN.md
74
+ TASK_FILES = Glob(task_dir/*.json)
75
+
76
+ # Abort if missing - in order of dependency
77
+ SESSION_FILE_EXISTS = EXISTS(session_file)
78
+ IF NOT SESSION_FILE_EXISTS:
79
+ WARNING: "workflow-session.json not found. User intent alignment verification will be skipped."
80
+ # Continue execution - this is optional context, not blocking
81
+
82
+ SYNTHESIS_FILES = Glob(brainstorm_dir/*/analysis.md)
83
+ IF SYNTHESIS_FILES.count == 0:
84
+ ERROR: "No role analysis documents found in .brainstorming/*/analysis.md. Run /workflow:brainstorm:synthesis first"
85
+ EXIT
86
+
87
+ IF NOT EXISTS(IMPL_PLAN):
88
+ ERROR: "IMPL_PLAN.md not found. Run /workflow:plan first"
89
+ EXIT
90
+
91
+ IF TASK_FILES.count == 0:
92
+ ERROR: "No task JSON files found. Run /workflow:plan first"
93
+ EXIT
94
+ ```
95
+
96
+ ### 2. Load Artifacts (Progressive Disclosure)
97
+
98
+ Load only minimal necessary context from each artifact:
99
+
100
+ **From workflow-session.json** (OPTIONAL - Primary Reference for User Intent):
101
+ - **ONLY IF EXISTS**: Load user intent context
102
+ - Original user prompt/intent (project or description field)
103
+ - User's stated goals and objectives
104
+ - User's scope definition
105
+ - **IF MISSING**: Set user_intent_analysis = "SKIPPED: workflow-session.json not found"
106
+
107
+ **From role analysis documents** (AUTHORITATIVE SOURCE):
108
+ - Functional Requirements (IDs, descriptions, acceptance criteria)
109
+ - Non-Functional Requirements (IDs, targets)
110
+ - Business Requirements (IDs, success metrics)
111
+ - Key Architecture Decisions
112
+ - Risk factors and mitigation strategies
113
+ - Implementation Roadmap (high-level phases)
114
+
115
+ **From IMPL_PLAN.md**:
116
+ - Summary and objectives
117
+ - Context Analysis
118
+ - Implementation Strategy
119
+ - Task Breakdown Summary
120
+ - Success Criteria
121
+ - Brainstorming Artifacts References (if present)
122
+
123
+ **From task.json files**:
124
+ - Task IDs
125
+ - Titles and descriptions
126
+ - Status
127
+ - Dependencies (depends_on, blocks)
128
+ - Context (requirements, focus_paths, acceptance, artifacts)
129
+ - Flow control (pre_analysis, implementation_approach)
130
+ - Meta (complexity, priority)
131
+
132
+ ### 3. Build Semantic Models
133
+
134
+ Create internal representations (do not include raw artifacts in output):
135
+
136
+ **Requirements inventory**:
137
+ - Each functional/non-functional/business requirement with stable ID
138
+ - Requirement text, acceptance criteria, priority
139
+
140
+ **Architecture decisions inventory**:
141
+ - ADRs from synthesis
142
+ - Technology choices
143
+ - Data model references
144
+
145
+ **Task coverage mapping**:
146
+ - Map each task to one or more requirements (by ID reference or keyword inference)
147
+ - Map each requirement to covering tasks
148
+
149
+ **Dependency graph**:
150
+ - Task-to-task dependencies (depends_on, blocks)
151
+ - Requirement-level dependencies (from synthesis)
152
+
153
+ ### 4. Detection Passes (Token-Efficient Analysis)
154
+
155
+ **Token Budget Strategy**:
156
+ - **Total Limit**: 50 findings maximum (aggregate remainder in overflow summary)
157
+ - **Priority Allocation**: CRITICAL (unlimited) → HIGH (15) → MEDIUM (20) → LOW (15)
158
+ - **Early Exit**: If CRITICAL findings > 0 in User Intent/Requirements Coverage, skip LOW/MEDIUM priority checks
159
+
160
+ **Execution Order** (Process in sequence; skip if token budget exhausted):
161
+
162
+ 1. **Tier 1 (CRITICAL Path)**: A, B, C - User intent, coverage, consistency (process fully)
163
+ 2. **Tier 2 (HIGH Priority)**: D, E - Dependencies, synthesis alignment (limit 15 findings total)
164
+ 3. **Tier 3 (MEDIUM Priority)**: F - Specification quality (limit 20 findings)
165
+ 4. **Tier 4 (LOW Priority)**: G, H - Duplication, feasibility (limit 15 findings total)
166
+
167
+ ---
168
+
169
+ #### A. User Intent Alignment (CRITICAL - Tier 1)
170
+
171
+ - **Goal Alignment**: IMPL_PLAN objectives match user's original intent
172
+ - **Scope Drift**: Plan covers user's stated scope without unauthorized expansion
173
+ - **Success Criteria Match**: Plan's success criteria reflect user's expectations
174
+ - **Intent Conflicts**: Tasks contradicting user's original objectives
175
+
176
+ #### B. Requirements Coverage Analysis
177
+
178
+ - **Orphaned Requirements**: Requirements in synthesis with zero associated tasks
179
+ - **Unmapped Tasks**: Tasks with no clear requirement linkage
180
+ - **NFR Coverage Gaps**: Non-functional requirements (performance, security, scalability) not reflected in tasks
181
+
182
+ #### C. Consistency Validation
183
+
184
+ - **Requirement Conflicts**: Tasks contradicting synthesis requirements
185
+ - **Architecture Drift**: IMPL_PLAN architecture not matching synthesis ADRs
186
+ - **Terminology Drift**: Same concept named differently across IMPL_PLAN and tasks
187
+ - **Data Model Inconsistency**: Tasks referencing entities/fields not in synthesis data model
188
+
189
+ #### D. Dependency Integrity
190
+
191
+ - **Circular Dependencies**: Task A depends on B, B depends on C, C depends on A
192
+ - **Missing Dependencies**: Task requires outputs from another task but no explicit dependency
193
+ - **Broken Dependencies**: Task depends on non-existent task ID
194
+ - **Logical Ordering Issues**: Implementation tasks before foundational setup without dependency note
195
+
196
+ #### E. Synthesis Alignment
197
+
198
+ - **Priority Conflicts**: High-priority synthesis requirements mapped to low-priority tasks
199
+ - **Success Criteria Mismatch**: IMPL_PLAN success criteria not covering synthesis acceptance criteria
200
+ - **Risk Mitigation Gaps**: Critical risks in synthesis without corresponding mitigation tasks
201
+
202
+ #### F. Task Specification Quality
203
+
204
+ - **Ambiguous Focus Paths**: Tasks with vague or missing focus_paths
205
+ - **Underspecified Acceptance**: Tasks without clear acceptance criteria
206
+ - **Missing Artifacts References**: Tasks not referencing relevant brainstorming artifacts in context.artifacts
207
+ - **Weak Flow Control**: Tasks without clear implementation_approach or pre_analysis steps
208
+ - **Missing Target Files**: Tasks without flow_control.target_files specification
209
+
210
+ #### G. Duplication Detection
211
+
212
+ - **Overlapping Task Scope**: Multiple tasks with nearly identical descriptions
213
+ - **Redundant Requirements Coverage**: Same requirement covered by multiple tasks without clear partitioning
214
+
215
+ #### H. Feasibility Assessment
216
+
217
+ - **Complexity Misalignment**: Task marked "simple" but requires multiple file modifications
218
+ - **Resource Conflicts**: Parallel tasks requiring same resources/files
219
+ - **Skill Gap Risks**: Tasks requiring skills not in team capability assessment (from synthesis)
220
+
221
+ ### 5. Severity Assignment
222
+
223
+ Use this heuristic to prioritize findings:
224
+
225
+ - **CRITICAL**:
226
+ - Violates user's original intent (goal misalignment, scope drift)
227
+ - Violates synthesis authority (requirement conflict)
228
+ - Core requirement with zero coverage
229
+ - Circular dependencies
230
+ - Broken dependencies
231
+
232
+ - **HIGH**:
233
+ - NFR coverage gaps
234
+ - Priority conflicts
235
+ - Missing risk mitigation tasks
236
+ - Ambiguous acceptance criteria
237
+
238
+ - **MEDIUM**:
239
+ - Terminology drift
240
+ - Missing artifacts references
241
+ - Weak flow control
242
+ - Logical ordering issues
243
+
244
+ - **LOW**:
245
+ - Style/wording improvements
246
+ - Minor redundancy not affecting execution
247
+
248
+ ### 6. Produce Compact Analysis Report
249
+
250
+ **Report Generation**: Generate report content and save to file.
251
+
252
+ Output a Markdown report with the following structure:
253
+
254
+ ```markdown
255
+ ## Action Plan Verification Report
256
+
257
+ **Session**: WFS-{session-id}
258
+ **Generated**: {timestamp}
259
+ **Artifacts Analyzed**: role analysis documents, IMPL_PLAN.md, {N} task files
260
+
261
+ ---
262
+
263
+ ### Executive Summary
264
+
265
+ - **Overall Risk Level**: CRITICAL | HIGH | MEDIUM | LOW
266
+ - **Recommendation**: (See decision matrix below)
267
+ - BLOCK_EXECUTION: Critical issues exist (must fix before proceeding)
268
+ - PROCEED_WITH_FIXES: High issues exist, no critical (fix recommended before execution)
269
+ - PROCEED_WITH_CAUTION: Medium issues only (proceed with awareness)
270
+ - PROCEED: Low issues only or no issues (safe to execute)
271
+ - **Critical Issues**: {count}
272
+ - **High Issues**: {count}
273
+ - **Medium Issues**: {count}
274
+ - **Low Issues**: {count}
275
+
276
+ ---
277
+
278
+ ### Findings Summary
279
+
280
+ | ID | Category | Severity | Location(s) | Summary | Recommendation |
281
+ |----|----------|----------|-------------|---------|----------------|
282
+ | C1 | Coverage | CRITICAL | synthesis:FR-03 | Requirement "User auth" has zero task coverage | Add authentication implementation task |
283
+ | H1 | Consistency | HIGH | IMPL-1.2 vs synthesis:ADR-02 | Task uses REST while synthesis specifies GraphQL | Align task with ADR-02 decision |
284
+ | M1 | Specification | MEDIUM | IMPL-2.1 | Missing context.artifacts reference | Add @synthesis reference |
285
+ | L1 | Duplication | LOW | IMPL-3.1, IMPL-3.2 | Similar scope | Consider merging |
286
+
287
+ (Add one row per finding; generate stable IDs prefixed by severity initial.)
288
+
289
+ ---
290
+
291
+ ### Requirements Coverage Analysis
292
+
293
+ | Requirement ID | Requirement Summary | Has Task? | Task IDs | Priority Match | Notes |
294
+ |----------------|---------------------|-----------|----------|----------------|-------|
295
+ | FR-01 | User authentication | Yes | IMPL-1.1, IMPL-1.2 | Match | Complete |
296
+ | FR-02 | Data export | Yes | IMPL-2.3 | Mismatch | High req → Med priority task |
297
+ | FR-03 | Profile management | No | - | - | **CRITICAL: Zero coverage** |
298
+ | NFR-01 | Response time <200ms | No | - | - | **HIGH: No performance tasks** |
299
+
300
+ **Coverage Metrics**:
301
+ - Functional Requirements: 85% (17/20 covered)
302
+ - Non-Functional Requirements: 40% (2/5 covered)
303
+ - Business Requirements: 100% (5/5 covered)
304
+
305
+ ---
306
+
307
+ ### Unmapped Tasks
308
+
309
+ | Task ID | Title | Issue | Recommendation |
310
+ |---------|-------|-------|----------------|
311
+ | IMPL-4.5 | Refactor utils | No requirement linkage | Link to technical debt or remove |
312
+
313
+ ---
314
+
315
+ ### Dependency Graph Issues
316
+
317
+ **Circular Dependencies**: None detected
318
+
319
+ **Broken Dependencies**:
320
+ - IMPL-2.3 depends on "IMPL-2.4" (non-existent)
321
+
322
+ **Logical Ordering Issues**:
323
+ - IMPL-5.1 (integration test) has no dependency on IMPL-1.* (implementation tasks)
324
+
325
+ ---
326
+
327
+ ### Synthesis Alignment Issues
328
+
329
+ | Issue Type | Synthesis Reference | IMPL_PLAN/Task | Impact | Recommendation |
330
+ |------------|---------------------|----------------|--------|----------------|
331
+ | Architecture Conflict | synthesis:ADR-01 (JWT auth) | IMPL_PLAN uses session cookies | HIGH | Update IMPL_PLAN to use JWT |
332
+ | Priority Mismatch | synthesis:FR-02 (High) | IMPL-2.3 (Medium) | MEDIUM | Elevate task priority |
333
+ | Missing Risk Mitigation | synthesis:Risk-03 (API rate limits) | No mitigation tasks | HIGH | Add rate limiting implementation task |
334
+
335
+ ---
336
+
337
+ ### Task Specification Quality Issues
338
+
339
+ **Missing Artifacts References**: 12 tasks lack context.artifacts
340
+ **Weak Flow Control**: 5 tasks lack implementation_approach
341
+ **Missing Target Files**: 8 tasks lack flow_control.target_files
342
+
343
+ **Sample Issues**:
344
+ - IMPL-1.2: No context.artifacts reference to synthesis
345
+ - IMPL-3.1: Missing flow_control.target_files specification
346
+ - IMPL-4.2: Vague focus_paths ["src/"] - needs refinement
347
+
348
+ ---
349
+
350
+ ### Feasibility Concerns
351
+
352
+ | Concern | Tasks Affected | Issue | Recommendation |
353
+ |---------|----------------|-------|----------------|
354
+ | Skill Gap | IMPL-6.1, IMPL-6.2 | Requires Kubernetes expertise not in team | Add training task or external consultant |
355
+ | Resource Conflict | IMPL-3.1, IMPL-3.2 | Both modify src/auth/service.ts in parallel | Add dependency or serialize |
356
+
357
+ ---
358
+
359
+ ### Metrics
360
+
361
+ - **Total Requirements**: 30 (20 functional, 5 non-functional, 5 business)
362
+ - **Total Tasks**: 25
363
+ - **Overall Coverage**: 77% (23/30 requirements with ≥1 task)
364
+ - **Critical Issues**: 2
365
+ - **High Issues**: 5
366
+ - **Medium Issues**: 8
367
+ - **Low Issues**: 3
368
+
369
+ ---
370
+
371
+ ### Next Actions
372
+
373
+ #### Action Recommendations
374
+
375
+ **Recommendation Decision Matrix**:
376
+
377
+ | Condition | Recommendation | Action |
378
+ |-----------|----------------|--------|
379
+ | Critical > 0 | BLOCK_EXECUTION | Must resolve all critical issues before proceeding |
380
+ | Critical = 0, High > 0 | PROCEED_WITH_FIXES | Fix high-priority issues before execution |
381
+ | Critical = 0, High = 0, Medium > 0 | PROCEED_WITH_CAUTION | Proceed with awareness of medium issues |
382
+ | Only Low or None | PROCEED | Safe to execute workflow |
383
+
384
+ **If CRITICAL Issues Exist** (BLOCK_EXECUTION):
385
+ - Resolve all critical issues before proceeding
386
+ - Use TodoWrite to track required fixes
387
+ - Fix broken dependencies and circular references first
388
+
389
+ **If HIGH Issues Exist** (PROCEED_WITH_FIXES):
390
+ - Fix high-priority issues before execution
391
+ - Use TodoWrite to systematically track and complete improvements
392
+
393
+ **If Only MEDIUM/LOW Issues** (PROCEED_WITH_CAUTION / PROCEED):
394
+ - Can proceed with execution
395
+ - Address issues during or after implementation
396
+
397
+ #### TodoWrite-Based Remediation Workflow
398
+
399
+ **Report Location**: `.workflow/active/WFS-{session}/.process/ACTION_PLAN_VERIFICATION.md`
400
+
401
+ **Recommended Workflow**:
402
+ 1. **Create TodoWrite Task List**: Extract all findings from report
403
+ 2. **Process by Priority**: CRITICAL HIGH MEDIUM LOW
404
+ 3. **Complete Each Fix**: Mark tasks as in_progress/completed as you work
405
+ 4. **Validate Changes**: Verify each modification against requirements
406
+
407
+ **TodoWrite Task Structure Example**:
408
+ ```markdown
409
+ Priority Order:
410
+ 1. Fix coverage gaps (CRITICAL)
411
+ 2. Resolve consistency conflicts (CRITICAL/HIGH)
412
+ 3. Add missing specifications (MEDIUM)
413
+ 4. Improve task quality (LOW)
414
+ ```
415
+
416
+ **Notes**:
417
+ - TodoWrite provides real-time progress tracking
418
+ - Each finding becomes a trackable todo item
419
+ - User can monitor progress throughout remediation
420
+ - Architecture drift in IMPL_PLAN requires manual editing
421
+ ```
422
+
423
+ ### 7. Save Report and Execute TodoWrite-Based Remediation
424
+
425
+ **Step 7.1: Save Analysis Report**:
426
+ ```bash
427
+ report_path = ".workflow/active/WFS-{session}/.process/ACTION_PLAN_VERIFICATION.md"
428
+ Write(report_path, full_report_content)
429
+ ```
430
+
431
+ **Step 7.2: Display Report Summary to User**:
432
+ - Show executive summary with counts
433
+ - Display recommendation (BLOCK/PROCEED_WITH_FIXES/PROCEED_WITH_CAUTION/PROCEED)
434
+ - List critical and high issues if any
435
+
436
+ **Step 7.3: After Report Generation**:
437
+
438
+ 1. **Extract Findings**: Parse all issues by severity
439
+ 2. **Create TodoWrite Task List**: Convert findings to actionable todos
440
+ 3. **Execute Fixes**: Process each todo systematically
441
+ 4. **Update Task Files**: Apply modifications directly to task JSON files
442
+ 5. **Update IMPL_PLAN**: Apply strategic changes if needed
443
+
444
+ At end of report, provide remediation guidance:
445
+
446
+ ```markdown
447
+ ### 🔧 Remediation Workflow
448
+
449
+ **Recommended Approach**:
450
+ 1. **Initialize TodoWrite**: Create comprehensive task list from all findings
451
+ 2. **Process by Severity**: Start with CRITICAL, then HIGH, MEDIUM, LOW
452
+ 3. **Apply Fixes Directly**: Modify task.json files and IMPL_PLAN.md as needed
453
+ 4. **Track Progress**: Mark todos as completed after each fix
454
+
455
+ **TodoWrite Execution Pattern**:
456
+ ```bash
457
+ # Step 1: Create task list from verification report
458
+ TodoWrite([
459
+ { content: "Fix FR-03 coverage gap - add authentication task", status: "pending", activeForm: "Fixing FR-03 coverage gap" },
460
+ { content: "Fix IMPL-1.2 consistency - align with ADR-02", status: "pending", activeForm: "Fixing IMPL-1.2 consistency" },
461
+ { content: "Add context.artifacts to IMPL-1.2", status: "pending", activeForm: "Adding context.artifacts to IMPL-1.2" },
462
+ # ... additional todos for each finding
463
+ ])
464
+
465
+ # Step 2: Process each todo systematically
466
+ # Mark as in_progress when starting
467
+ # Apply fix using Read/Edit tools
468
+ # Mark as completed when done
469
+ # Move to next priority item
470
+ ```
471
+
472
+ **File Modification Workflow**:
473
+ ```bash
474
+ # For task JSON modifications:
475
+ 1. Read(.workflow/active/WFS-{session}/.task/IMPL-X.Y.json)
476
+ 2. Edit() to apply fixes
477
+ 3. Mark todo as completed
478
+
479
+ # For IMPL_PLAN modifications:
480
+ 1. Read(.workflow/active/WFS-{session}/IMPL_PLAN.md)
481
+ 2. Edit() to apply strategic changes
482
+ 3. Mark todo as completed
483
+ ```
484
+
485
+ **Note**: All fixes execute immediately after user confirmation without additional commands.