@codemcp/workflows-core 5.2.2 → 5.2.4
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.
- package/package.json +1 -1
- package/resources/workflows/adr.yaml +62 -48
- package/resources/workflows/big-bang-conversion.yaml +231 -172
- package/resources/workflows/boundary-testing.yaml +137 -95
- package/resources/workflows/bugfix.yaml +33 -38
- package/resources/workflows/business-analysis.yaml +130 -172
- package/resources/workflows/c4-analysis.yaml +120 -114
- package/resources/workflows/epcc.yaml +43 -10
- package/resources/workflows/game-beginner.yaml +113 -103
- package/resources/workflows/greenfield.yaml +61 -38
- package/resources/workflows/minor.yaml +51 -28
- package/resources/workflows/posts.yaml +41 -42
- package/resources/workflows/sdd-bugfix-crowd.yaml +181 -206
- package/resources/workflows/sdd-bugfix.yaml +168 -179
- package/resources/workflows/sdd-feature-crowd.yaml +357 -380
- package/resources/workflows/sdd-feature.yaml +162 -155
- package/resources/workflows/sdd-greenfield-crowd.yaml +82 -74
- package/resources/workflows/sdd-greenfield.yaml +153 -147
- package/resources/workflows/slides.yaml +29 -35
- package/resources/workflows/tdd.yaml +59 -48
- package/resources/workflows/waterfall.yaml +64 -44
|
@@ -28,7 +28,7 @@ states:
|
|
|
28
28
|
discovery:
|
|
29
29
|
description: 'Initial system discovery and inventory with scope limiting'
|
|
30
30
|
default_instructions: >
|
|
31
|
-
|
|
31
|
+
Create discovery notes file at `$DISCOVERY_FILE` with comprehensive system information.
|
|
32
32
|
|
|
33
33
|
```markdown
|
|
34
34
|
# Legacy System Discovery Notes
|
|
@@ -247,156 +247,168 @@ states:
|
|
|
247
247
|
|
|
248
248
|
**SCOPE LIMIT**: Focus ONLY on repository root, main config files, and top-level structure.
|
|
249
249
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
250
|
+
**STEP 1:** Scan repository root
|
|
251
|
+
- Identify key files (package.json, pom.xml, build.gradle, README.md, etc.)
|
|
252
|
+
- Map basic folder structure (src/, docs/, tests/, config/, etc.)
|
|
253
|
+
- Create hierarchical sketch of potential containers and components
|
|
254
|
+
|
|
255
|
+
**STEP 2:** Identify technology stack
|
|
256
|
+
- Examine configuration files for language, framework, and build system information
|
|
257
|
+
- For Java: Look for Maven/Gradle structure, Spring configuration, package organization
|
|
258
|
+
- For Node.js: Check package.json, identify framework, examine folder structure
|
|
259
|
+
|
|
260
|
+
**STEP 3:** Document findings
|
|
261
|
+
- Record existing documentation files
|
|
262
|
+
- Fill in the DISCOVERY.md template with your findings
|
|
263
|
+
- Update plan file with discovery progress
|
|
264
|
+
- Add discovered containers and components as tasks for later phases
|
|
262
265
|
transitions:
|
|
263
266
|
- trigger: 'continue_discovery'
|
|
264
267
|
to: 'discovery'
|
|
265
268
|
instructions: >
|
|
266
|
-
|
|
267
|
-
and
|
|
268
|
-
Add newly discovered items to the plan file as tasks for later analysis phases.
|
|
269
|
+
Expand the repository scan, refine technology stack identification, and enhance the hierarchical sketch of containers and components.
|
|
270
|
+
Update `$DISCOVERY_FILE` with new findings and add newly discovered items to the plan file as tasks for later analysis phases.
|
|
269
271
|
transition_reason: 'Discovery needs more investigation and refinement'
|
|
270
272
|
|
|
271
273
|
- trigger: 'discovery_complete'
|
|
272
274
|
to: 'context_analysis'
|
|
273
275
|
additional_instructions: |
|
|
274
|
-
Set up project documents for living documentation
|
|
275
|
-
|
|
276
|
+
**STEP 1:** Set up project documents for living documentation
|
|
277
|
+
- Execute: `setup_project_docs({ architecture: "c4", requirements: "none", design: "comprehensive" })`
|
|
276
278
|
|
|
277
|
-
2
|
|
279
|
+
**STEP 2:** Review created documentation files
|
|
280
|
+
- Read `$ARCHITECTURE_DOC` and `$DESIGN_DOC` to understand their structure
|
|
278
281
|
|
|
279
|
-
3
|
|
282
|
+
**STEP 3:** Begin context analysis preparation
|
|
283
|
+
- Review `$DISCOVERY_FILE` findings
|
|
284
|
+
- Prepare to enhance documentation based on discovery findings
|
|
285
|
+
- Continue enhancement throughout context analysis phase
|
|
280
286
|
transition_reason: 'Initial discovery complete, ready for context analysis'
|
|
281
287
|
|
|
282
288
|
context_analysis:
|
|
283
289
|
description: 'System context analysis (C4 Level 1) - boundaries and external interfaces'
|
|
284
290
|
default_instructions: >
|
|
285
|
-
|
|
291
|
+
Analyze system context and external interfaces (C4 Level 1). Reference `$DISCOVERY_FILE` for long-term memory.
|
|
286
292
|
|
|
287
293
|
**SCOPE LIMIT**: Focus ONLY on external interfaces and system boundaries.
|
|
288
294
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
295
|
+
**STEP 1:** Identify external entities
|
|
296
|
+
- Map external systems the legacy system communicates with
|
|
297
|
+
- Catalog user types and personas who interact with the system
|
|
298
|
+
- Document external dependencies (databases, APIs, services)
|
|
299
|
+
|
|
300
|
+
**STEP 2:** Understand boundaries
|
|
301
|
+
- Clarify system boundaries and responsibilities
|
|
302
|
+
- Define what's inside vs outside the system
|
|
303
|
+
- Map data flows between system and external entities
|
|
304
|
+
|
|
305
|
+
**STEP 3:** Enhance living documentation
|
|
306
|
+
- Update `$ARCHITECTURE_DOC` with context findings
|
|
307
|
+
- Update `$DESIGN_DOC` with external interface details
|
|
308
|
+
- Update `$DISCOVERY_FILE` with all context analysis findings
|
|
309
|
+
- Record progress in plan file
|
|
302
310
|
transitions:
|
|
303
311
|
- trigger: 'refine_context'
|
|
304
312
|
to: 'context_analysis'
|
|
305
313
|
instructions: >
|
|
306
|
-
|
|
307
|
-
|
|
314
|
+
Investigate more external interfaces and clarify system boundaries.
|
|
315
|
+
Refine understanding of external dependencies and update `$DISCOVERY_FILE` and plan file with refined findings.
|
|
308
316
|
transition_reason: 'Context analysis needs further refinement'
|
|
309
317
|
|
|
310
318
|
- trigger: 'need_more_discovery'
|
|
311
319
|
to: 'discovery'
|
|
312
|
-
additional_instructions: 'Context analysis revealed gaps in discovery. Focus on the specific areas that need
|
|
320
|
+
additional_instructions: 'Context analysis revealed gaps in discovery. Focus on the specific areas identified that need further investigation.'
|
|
313
321
|
transition_reason: 'Context work revealed need for additional discovery'
|
|
314
322
|
|
|
315
323
|
- trigger: 'context_complete'
|
|
316
324
|
to: 'container_analysis'
|
|
317
325
|
additional_instructions: |
|
|
318
|
-
|
|
319
|
-
- How to structure
|
|
320
|
-
-
|
|
326
|
+
**Plan container analysis documentation** with the user:
|
|
327
|
+
- How to structure analysis files (one file per container or consolidated, folder structure options)
|
|
328
|
+
- Define container factsheet template format
|
|
329
|
+
|
|
330
|
+
Record documentation plan and component analysis template in the development plan file.
|
|
321
331
|
transition_reason: 'System context is understood, ready for container analysis'
|
|
322
332
|
|
|
323
333
|
container_analysis:
|
|
324
334
|
description: 'Container analysis (C4 Level 2) - high-level system architecture'
|
|
325
335
|
default_instructions: >
|
|
326
|
-
|
|
336
|
+
Analyze containers and services (C4 Level 2). Reference `$DISCOVERY_FILE` for container sketch and long-term memory.
|
|
327
337
|
|
|
328
|
-
**SCOPE LIMIT**: Focus on major containers
|
|
338
|
+
**SCOPE LIMIT**: Focus on major containers, services, and modules only.
|
|
329
339
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
4. Document communication patterns between containers
|
|
335
|
-
5. **Enhance $ARCHITECTURE_DOC with C4 Level 2 (Container) findings**
|
|
336
|
-
6. **Update $DESIGN_DOC with container interaction details**
|
|
337
|
-
7. Update DISCOVERY.md with container analysis findings
|
|
340
|
+
**STEP 1:** Identify application containers
|
|
341
|
+
- Map main application containers (web app, API, services)
|
|
342
|
+
- Document databases and data stores
|
|
343
|
+
- Understand deployment architecture
|
|
338
344
|
|
|
339
|
-
|
|
340
|
-
|
|
345
|
+
**STEP 2:** Document communication patterns
|
|
346
|
+
- Map communication pathways between containers
|
|
347
|
+
- Identify protocols and integration methods
|
|
348
|
+
- Record data exchange patterns
|
|
341
349
|
|
|
342
|
-
|
|
350
|
+
**STEP 3:** Enhance living documentation
|
|
351
|
+
- Update `$ARCHITECTURE_DOC` with C4 Level 2 findings
|
|
352
|
+
- Update `$DESIGN_DOC` with container interaction details
|
|
353
|
+
- Update `$DISCOVERY_FILE` with container analysis findings
|
|
354
|
+
- Add component analysis tasks to plan file
|
|
343
355
|
transitions:
|
|
344
356
|
- trigger: 'continue_container_analysis'
|
|
345
357
|
to: 'container_analysis'
|
|
346
358
|
instructions: >
|
|
347
|
-
|
|
348
|
-
|
|
359
|
+
Investigate more containers and refine communication patterns.
|
|
360
|
+
Enhance architectural understanding and update `$DISCOVERY_FILE` and plan file with progress.
|
|
349
361
|
transition_reason: 'Container analysis continues with more containers to analyze'
|
|
350
362
|
|
|
351
363
|
- trigger: 'need_context_refinement'
|
|
352
364
|
to: 'context_analysis'
|
|
353
|
-
additional_instructions: 'Container analysis revealed
|
|
365
|
+
additional_instructions: 'Container analysis revealed context issues. Refine system context based on container insights.'
|
|
354
366
|
transition_reason: 'Container work revealed need to refine context understanding'
|
|
355
367
|
|
|
356
368
|
- trigger: 'containers_complete'
|
|
357
369
|
to: 'component_analysis'
|
|
358
|
-
additional_instructions:
|
|
359
|
-
|
|
360
|
-
- How to structure
|
|
361
|
-
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
- include instructions how to create and link the files
|
|
370
|
+
additional_instructions: |
|
|
371
|
+
**Plan component analysis documentation** with the user:
|
|
372
|
+
- How to structure analysis files (one file per component or consolidated format)
|
|
373
|
+
- Define component factsheet template
|
|
374
|
+
|
|
375
|
+
**Record documentation plan** in the development plan file with template format and file creation instructions.
|
|
365
376
|
transition_reason: 'Container architecture is understood, ready for detailed component analysis'
|
|
366
377
|
|
|
367
378
|
component_analysis:
|
|
368
379
|
description: 'Component analysis (C4 Level 3) - detailed component-by-component analysis'
|
|
369
380
|
default_instructions: >
|
|
370
|
-
|
|
381
|
+
Analyze components in detail (C4 Level 3). Reference `$DISCOVERY_FILE` for component information and long-term memory.
|
|
371
382
|
|
|
372
383
|
**SCOPE LIMIT**: Analyze ONE component at a time. User selects which components to focus on.
|
|
373
384
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
385
|
+
**STEP 1:** Deep dive into component
|
|
386
|
+
- Select next component from plan file task list
|
|
387
|
+
- Document responsibilities and interfaces
|
|
388
|
+
- Map internal component relationships and dependencies
|
|
389
|
+
|
|
390
|
+
**STEP 2:** Analyze design patterns
|
|
391
|
+
- Identify and document component-level design patterns
|
|
392
|
+
- Record architectural decisions and rationale
|
|
393
|
+
- Capture key implementation insights
|
|
394
|
+
|
|
395
|
+
**STEP 3:** Enhance living documentation and track progress
|
|
396
|
+
- Update `$DESIGN_DOC` with detailed component analysis
|
|
397
|
+
- Update `$ARCHITECTURE_DOC` with C4 Level 3 details
|
|
398
|
+
- Update `$DISCOVERY_FILE` with component findings
|
|
399
|
+
- Mark component as complete in plan file
|
|
400
|
+
- Ask user which component to analyze next
|
|
389
401
|
transitions:
|
|
390
402
|
- trigger: 'analyze_next_component'
|
|
391
403
|
to: 'component_analysis'
|
|
392
404
|
instructions: >
|
|
393
|
-
|
|
394
|
-
|
|
405
|
+
Select another component from plan file task list and perform detailed analysis.
|
|
406
|
+
Mark completed component tasks in plan file and ask user for next component selection.
|
|
395
407
|
transition_reason: 'Continuing systematic component analysis'
|
|
396
408
|
|
|
397
409
|
- trigger: 'need_container_refinement'
|
|
398
410
|
to: 'container_analysis'
|
|
399
|
-
additional_instructions: 'Component analysis revealed
|
|
411
|
+
additional_instructions: 'Component analysis revealed container issues. Refine container architecture based on component insights.'
|
|
400
412
|
transition_reason: 'Component work revealed need to refine container understanding'
|
|
401
413
|
|
|
402
414
|
- trigger: 'components_complete'
|
|
@@ -406,33 +418,28 @@ states:
|
|
|
406
418
|
documentation_consolidation:
|
|
407
419
|
description: 'Consolidate findings into comprehensive documentation'
|
|
408
420
|
default_instructions: >
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
-
|
|
422
|
-
-
|
|
423
|
-
-
|
|
424
|
-
-
|
|
425
|
-
- API testing strategy recommendations
|
|
426
|
-
|
|
427
|
-
**Note**: Project documents were set up early and enhanced throughout analysis phases, so focus on final polish and recommendations.
|
|
428
|
-
|
|
429
|
-
Update plan file with consolidation progress.
|
|
421
|
+
Finalize documentation and prepare recommendations. The `$ARCHITECTURE_DOC` and `$DESIGN_DOC` have been enhanced throughout analysis phases.
|
|
422
|
+
|
|
423
|
+
**STEP 1:** Review analysis findings
|
|
424
|
+
- Review `$DISCOVERY_FILE` for all findings and insights
|
|
425
|
+
- Verify completeness of C4 levels (Context, Container, Component)
|
|
426
|
+
|
|
427
|
+
**STEP 2:** Polish living documentation
|
|
428
|
+
- Final review and polish of `$ARCHITECTURE_DOC`
|
|
429
|
+
- Final review and polish of `$DESIGN_DOC`
|
|
430
|
+
- Ensure all C4 levels are comprehensively documented
|
|
431
|
+
|
|
432
|
+
**STEP 3:** Prepare recommendations
|
|
433
|
+
- Document modernization opportunities and technical debt findings
|
|
434
|
+
- Prepare enhancement recommendations based on analysis
|
|
435
|
+
- Finalize API testing strategy recommendations
|
|
436
|
+
- Update plan file with consolidation progress
|
|
430
437
|
transitions:
|
|
431
438
|
- trigger: 'refine_documentation'
|
|
432
439
|
to: 'documentation_consolidation'
|
|
433
440
|
instructions: >
|
|
434
|
-
|
|
435
|
-
|
|
441
|
+
Enhance architecture and design documentation and add more detail to recommendations.
|
|
442
|
+
Improve consolidation quality and update plan file with progress.
|
|
436
443
|
transition_reason: 'Documentation needs further refinement and enhancement'
|
|
437
444
|
|
|
438
445
|
- trigger: 'need_more_analysis'
|
|
@@ -447,26 +454,25 @@ states:
|
|
|
447
454
|
analysis_complete:
|
|
448
455
|
description: 'Legacy system analysis complete'
|
|
449
456
|
default_instructions: >
|
|
450
|
-
Legacy system analysis is complete
|
|
457
|
+
Legacy system analysis is complete. The system has been thoroughly analyzed using C4 methodology.
|
|
451
458
|
|
|
452
|
-
Final deliverables
|
|
453
|
-
- Comprehensive system documentation (C4-based architecture
|
|
454
|
-
-
|
|
459
|
+
**Final deliverables:**
|
|
460
|
+
- Comprehensive system documentation (C4-based architecture and design documents)
|
|
461
|
+
- `$DISCOVERY_FILE` with complete analysis findings
|
|
455
462
|
- Enhancement recommendations
|
|
456
463
|
- API testing strategy
|
|
457
464
|
- Modernization roadmap
|
|
458
465
|
|
|
459
|
-
The analysis provides a
|
|
460
|
-
consider using other workflows (waterfall, epcc, etc.) with the comprehensive understanding gained.
|
|
466
|
+
The analysis provides a foundation for future development. Consider using other workflows (waterfall, epcc, etc.) with the comprehensive understanding gained.
|
|
461
467
|
transitions:
|
|
462
468
|
- trigger: 'analysis_complete'
|
|
463
469
|
to: 'analysis_complete'
|
|
464
470
|
instructions: >
|
|
465
|
-
Analysis is complete
|
|
466
|
-
Use the comprehensive documentation and
|
|
471
|
+
Analysis is complete. The legacy system is now well-documented and understood.
|
|
472
|
+
Use the comprehensive documentation and `$DISCOVERY_FILE` findings for any future development work.
|
|
467
473
|
transition_reason: 'Analysis complete, ready for future development'
|
|
468
474
|
|
|
469
475
|
- trigger: 'refine_analysis'
|
|
470
476
|
to: 'component_analysis'
|
|
471
|
-
additional_instructions: '
|
|
477
|
+
additional_instructions: 'Refine specific aspects of analysis. Focus on areas that need additional investigation.'
|
|
472
478
|
transition_reason: 'Analysis review revealed need for additional component analysis'
|
|
@@ -27,9 +27,14 @@ states:
|
|
|
27
27
|
explore:
|
|
28
28
|
description: 'Research and exploration phase - understanding the problem space'
|
|
29
29
|
default_instructions: |
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
Research the codebase to understand existing patterns and gather context about the problem space.
|
|
31
|
+
|
|
32
|
+
- If uncertain about conventions or rules, ask the user about them
|
|
33
|
+
- Read relevant files and documentation
|
|
34
|
+
- If `$REQUIREMENTS_DOC` exists: Understand and document requirements there
|
|
35
|
+
- Otherwise: Document requirements in your task management system
|
|
36
|
+
|
|
37
|
+
Focus on understanding without writing code yet. Document your findings and create tasks as needed.
|
|
33
38
|
transitions:
|
|
34
39
|
- trigger: 'exploration_complete'
|
|
35
40
|
to: 'plan'
|
|
@@ -38,7 +43,21 @@ states:
|
|
|
38
43
|
|
|
39
44
|
plan:
|
|
40
45
|
description: 'Planning phase - creating a detailed implementation strategy'
|
|
41
|
-
default_instructions:
|
|
46
|
+
default_instructions: |
|
|
47
|
+
Create a detailed implementation strategy based on your exploration:
|
|
48
|
+
|
|
49
|
+
- If `$REQUIREMENTS_DOC` exists: Base your strategy on requirements from it
|
|
50
|
+
- Otherwise: Use existing task context
|
|
51
|
+
|
|
52
|
+
Break down the work into specific, actionable tasks. Consider edge cases, dependencies, and potential challenges.
|
|
53
|
+
|
|
54
|
+
- If architectural changes needed and `$ARCHITECTURE_DOC` exists: Document in `$ARCHITECTURE_DOC`
|
|
55
|
+
- Otherwise: Create tasks to track architectural decisions
|
|
56
|
+
|
|
57
|
+
- If `$DESIGN_DOC` exists: Adhere to the design in it
|
|
58
|
+
- Otherwise: Elaborate design options and present them to the user
|
|
59
|
+
|
|
60
|
+
Document the planning work thoroughly and create implementation tasks as part of the code phase as needed.
|
|
42
61
|
transitions:
|
|
43
62
|
- trigger: 'need_more_exploration'
|
|
44
63
|
to: 'explore'
|
|
@@ -64,7 +83,17 @@ states:
|
|
|
64
83
|
|
|
65
84
|
code:
|
|
66
85
|
description: 'Implementation phase - writing and building the solution'
|
|
67
|
-
default_instructions:
|
|
86
|
+
default_instructions: |
|
|
87
|
+
Follow your plan to build the solution:
|
|
88
|
+
|
|
89
|
+
- If `$DESIGN_DOC` exists: Follow the design from it
|
|
90
|
+
- Otherwise: Elaborate design options and present them to the user
|
|
91
|
+
- If `$ARCHITECTURE_DOC` exists: Build according to the architecture from it
|
|
92
|
+
- Otherwise: Elaborate architectural options and present them to the user
|
|
93
|
+
- If `$REQUIREMENTS_DOC` exists: Ensure requirements from it are met
|
|
94
|
+
- Otherwise: Ensure existing requirements are met based on your task context
|
|
95
|
+
|
|
96
|
+
Write clean, well-structured code with proper error handling. Prevent regression by building, linting, and executing existing tests. Stay flexible and adapt the plan as you learn more during implementation. Update task progress and create new tasks as needed.
|
|
68
97
|
transitions:
|
|
69
98
|
- trigger: 'need_replanning'
|
|
70
99
|
to: 'plan'
|
|
@@ -96,9 +125,10 @@ states:
|
|
|
96
125
|
commit:
|
|
97
126
|
description: 'Code cleanup and documentation finalization'
|
|
98
127
|
default_instructions: >
|
|
99
|
-
|
|
128
|
+
Ensure code quality and documentation accuracy through systematic cleanup and review.
|
|
100
129
|
|
|
101
130
|
**STEP 1: Code Cleanup**
|
|
131
|
+
|
|
102
132
|
Systematically clean up development artifacts:
|
|
103
133
|
|
|
104
134
|
1. **Remove Debug Output**: Search for and remove all temporary debug output statements used during development.
|
|
@@ -116,12 +146,14 @@ states:
|
|
|
116
146
|
- Ensure proper error handling replaces temporary debug logging
|
|
117
147
|
|
|
118
148
|
**STEP 2: Documentation Review**
|
|
149
|
+
|
|
119
150
|
Review and update documentation to reflect final implementation:
|
|
120
151
|
|
|
121
152
|
1. **Update Long-Term Memory Documents**: Based on what was actually implemented:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
153
|
+
- If `$REQUIREMENTS_DOC` exists: Update it if requirements changed during development
|
|
154
|
+
- If `$ARCHITECTURE_DOC` exists: Update it if architectural impacts were identified
|
|
155
|
+
- If `$DESIGN_DOC` exists: Update it if design details were refined or changed
|
|
156
|
+
- Otherwise: Document any changes in the plan file
|
|
125
157
|
2. **Compare Against Implementation**: Review documentation against actual implemented functionality
|
|
126
158
|
3. **Update Changed Sections**: Only modify documentation sections that have functional changes
|
|
127
159
|
4. **Remove Development Progress**: Remove references to development iterations, progress notes, and temporary decisions
|
|
@@ -129,11 +161,12 @@ states:
|
|
|
129
161
|
6. **Ask User to Review Document Updates**
|
|
130
162
|
|
|
131
163
|
**STEP 3: Final Validation**
|
|
164
|
+
|
|
132
165
|
- Run existing tests to ensure cleanup didn't break functionality
|
|
133
166
|
- Verify documentation accuracy with a final review
|
|
134
167
|
- Ensure code is ready for production/delivery
|
|
135
168
|
|
|
136
|
-
|
|
169
|
+
Update task progress and mark completed work as you finalize the feature.
|
|
137
170
|
transitions:
|
|
138
171
|
- trigger: 'need_code_changes'
|
|
139
172
|
to: 'code'
|