@codemcp/workflows-core 5.2.2 → 5.2.3

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.
@@ -27,9 +27,7 @@ states:
27
27
  document_discovery:
28
28
  description: 'Gather business documents and create standardized Business Capability Modeling structure'
29
29
  default_instructions: >
30
- You are in the document discovery phase. Gather documents and create standardized Business Capability Modeling structure.
31
-
32
- **Step 1: Interactive Document Gathering**
30
+ **STEP 1: Gather Business Documents**
33
31
  Ask user to identify and provide available documents:
34
32
  - Business process documentation
35
33
  - Organizational charts
@@ -37,11 +35,11 @@ states:
37
35
  - Existing c4-analysis results
38
36
  - Business requirements documents
39
37
 
40
- IMPORTANT: In this phase, do not read the documents yet!
38
+ IMPORTANT: Do not read the documents yet.
41
39
 
42
- **Step 2: Create Document Processing Tasks**
40
+ **STEP 2: Create Document Processing Tasks**
43
41
  For each gathered document, create a processing task:
44
- "- [ ] Summarize [document-name] using structured chapter-by-chapter approach"
42
+ `- [ ] Summarize [document-name] using structured chapter-by-chapter approach`
45
43
 
46
44
  Update task progress and create document processing tasks.
47
45
  transitions:
@@ -52,27 +50,24 @@ states:
52
50
  documents_consolidation:
53
51
  description: 'Process and consolidate gathered documents using structured summarization'
54
52
  default_instructions: >
55
- You are in the documents consolidation phase. Process each document systematically using basic structured summarization.
56
-
57
- **Step 1: Apply Structured Summarization Technique**
58
- For each document, use this approach:
59
-
53
+ **STEP 1: Apply Structured Summarization Technique**
54
+ Process each document using this approach:
60
55
  1. Read document chapter by chapter
61
56
  2. Maintain original hierarchical structure
62
57
  3. Condense content while preserving key information
63
- 4. Create [document-name]-processed.md file
58
+ 4. Create `[document-name]-processed.md` file
64
59
  5. Update task progress as complete
65
60
 
66
- **Summarization Guidelines:**
61
+ **STEP 2: Follow Summarization Guidelines**
67
62
  - Create structured summary based exclusively on source document information
68
63
  - Identify chapters and hierarchy levels systematically
69
- - Summarize level-by-level into [document-name]-processed.md
64
+ - Summarize level-by-level into `[document-name]-processed.md`
70
65
  - Write chapter summaries in natural language (no bullet points)
71
66
  - Include information about potential capabilities, services, processes, or actors
72
67
  - Maintain folder structure if documents have associated folders
73
68
 
74
- **Step 2: Create Bibliography**
75
- Create BIBLIOGRAPHY.md with:
69
+ **STEP 3: Create Bibliography**
70
+ Create `BIBLIOGRAPHY.md` with:
76
71
  - "sources" section listing all processed documents
77
72
  - "terms" section with important business terms and their source references
78
73
 
@@ -85,10 +80,8 @@ states:
85
80
  business_content_analysis:
86
81
  description: 'Identify and analyze business-relevant content from processed documents'
87
82
  default_instructions: >
88
- You are in the business content analysis phase. Focus on identifying and analyzing business-relevant content.
89
-
90
- **Step 1: Review Processed Documents**
91
- Review all [document-name]-processed.md files from consolidation phase.
83
+ **STEP 1: Review Processed Documents**
84
+ Review all `[document-name]-processed.md` files from consolidation phase.
92
85
  Identify chapters that contain business-relevant content:
93
86
  - Business processes and workflows
94
87
  - Organizational roles and responsibilities
@@ -96,13 +89,13 @@ states:
96
89
  - Services and customer interactions
97
90
  - Business rules and policies
98
91
 
99
- **Step 2: Create Business Analysis Tasks**
92
+ **STEP 2: Create Business Analysis Tasks**
100
93
  For each business-relevant chapter identified, create a task:
101
- "- [ ] Extract business capabilities from [chapter-name]"
94
+ `- [ ] Extract business capabilities from [chapter-name]`
102
95
 
103
- IMPORTANT: You MUST create these tasks before proceeding.
96
+ IMPORTANT: Create these tasks before proceeding.
104
97
 
105
- **Step 3: Execute Business Analysis Tasks**
98
+ **STEP 3: Execute Business Analysis Tasks**
106
99
  For each business analysis task:
107
100
  1. Read the specific chapter in detail
108
101
  2. Extract business information focusing on:
@@ -113,52 +106,30 @@ states:
113
106
  3. Create detailed business summary emphasizing WHAT, WHY, WHO (not HOW)
114
107
  4. Update task progress as complete
115
108
 
116
- **Step 4: Update Bibliography**
117
- Update BIBLIOGRAPHY.md with business terms found during detailed analysis:
118
- - check whether the "sources" section already contains an entry it. If not: create one (max 5 letters in brackets).
119
- - In the "terms" section, check whether there is an entry for it - If not, create an entry for It
120
- - add a reference to the source + chapter
121
-
122
- --- sample 1 ---
123
-
124
- Document "operations manual" reads about "payment processing" in Chapter 5.2
125
-
126
- => in BIBLIOGRAPHY.md
127
-
128
- # Sources
129
-
130
- - Operations Manual [OPMAN]
131
-
132
- # Terms
109
+ **STEP 4: Update Bibliography with Business Terms**
110
+ Update `BIBLIOGRAPHY.md` with business terms found during detailed analysis:
111
+ - Check whether the "sources" section contains an entry. If not: create one (max 5 letters in brackets).
112
+ - In the "terms" section, check whether there is an entry for it. If not, create an entry.
113
+ - Add a reference to the source and chapter.
133
114
 
115
+ Example (Document "operations manual" with "payment processing" in Chapter 5.2):
116
+ - Operations Manual `[OPMAN]`
134
117
  - payment processing
135
- - OPMAN, 5.2
136
-
137
- --- end of sample 1 ---
138
-
139
- --- sample 2 ---
140
-
141
- Document "requirements.md" reads about "payment processing" in Chapter 1.2.1
142
-
143
- => in BIBLIOGRAPHY.md
144
-
145
- # Sources
146
-
147
- - Requirements [REQ]
148
-
149
- # Terms
118
+ - `OPMAN, 5.2`
150
119
 
120
+ Example (Document "requirements.md" with "payment processing" in Chapter 1.2.1):
121
+ - Requirements `[REQ]`
151
122
  - payment processing
152
- - REQ, 1.2.1
153
-
154
- --- end of sample 2 ---
123
+ - `REQ, 1.2.1`
155
124
 
156
125
  Process business analysis tasks systematically, one at a time.
157
126
  transitions:
158
127
  - trigger: 'business_analysis_complete'
159
128
  to: 'capability_identification'
160
129
  additional_instructions: >
161
- Create BUSINESS_ANALYSIS.md with the following template content:
130
+ **Create Standardized Analysis Documentation**
131
+
132
+ Create `BUSINESS_ANALYSIS.md` with the following template content:
162
133
  ```markdown
163
134
  # Business Analysis Report
164
135
 
@@ -194,7 +165,7 @@ states:
194
165
  <!-- Business capability recommendations -->
195
166
  ```
196
167
 
197
- Create business-processes-detailed.md with template:
168
+ Create `business-processes-detailed.md` with template:
198
169
  ```markdown
199
170
  # Business Processes Detailed
200
171
 
@@ -211,7 +182,7 @@ states:
211
182
  <!-- Key roles in each process -->
212
183
  ```
213
184
 
214
- Create business-functions-mapping.md with template:
185
+ Create `business-functions-mapping.md` with template:
215
186
  ```markdown
216
187
  # Business Functions Mapping
217
188
 
@@ -228,7 +199,7 @@ states:
228
199
  <!-- Key roles and their responsibilities -->
229
200
  ```
230
201
 
231
- Create technical-business-mapping.md with template:
202
+ Create `technical-business-mapping.md` with template:
232
203
  ```markdown
233
204
  # Technical-Business Mapping
234
205
 
@@ -245,11 +216,11 @@ states:
245
216
  <!-- Business value of each technical component -->
246
217
  ```
247
218
 
248
- Create Standardized Business Capability Modeling folder Structure
249
- - business-analysis/business-domains/ (folder for details)
250
- - business-analysis/business-capabilities/ (folder for details)
251
- - business-analysis/business-processes/ (folder for details)
252
- - business-analysis/business-actors/ (folder for details)
219
+ **Create Standardized Business Capability Modeling Folder Structure**
220
+ - `business-analysis/business-domains/` (folder for details)
221
+ - `business-analysis/business-capabilities/` (folder for details)
222
+ - `business-analysis/business-processes/` (folder for details)
223
+ - `business-analysis/business-actors/` (folder for details)
253
224
 
254
225
  Begin analyzing processed documents to identify business capabilities and domains.
255
226
  Update task progress as you complete business analysis work.
@@ -258,12 +229,10 @@ states:
258
229
  capability_identification:
259
230
  description: 'Identify business capabilities from processed documents'
260
231
  default_instructions: >
261
- You are in the capability identification phase. Analyze processed documents to identify business capabilities.
232
+ IMPORTANT: Always reference the existing documents.
262
233
 
263
- IMPORTANT: ALWAYS reference the existing documents!
264
-
265
- **Step 1: Analyze Processed Documents**
266
- Review all [document-name]-processed.md files from consolidation phase.
234
+ **STEP 1: Analyze Processed Documents**
235
+ Review all `[document-name]-processed.md` files from consolidation phase.
267
236
  Look for:
268
237
  - Business functions mentioned
269
238
  - Activities and processes described
@@ -271,36 +240,35 @@ states:
271
240
  - Organizational responsibilities
272
241
  - System functionalities with business purpose
273
242
 
274
- **Step 2: Extract Potential Capabilities**
243
+ **STEP 2: Extract Potential Capabilities**
275
244
  From document analysis, create initial list of business capabilities.
276
245
  Group similar activities and functions together.
277
- Use Business Capability Modeling naming: [Verb] + [Business Object] (e.g., "Manage Customers", "Process Orders")
246
+ Use Business Capability Modeling naming: `[Verb] + [Business Object]` (e.g., "Manage Customers", "Process Orders")
278
247
 
279
- **Step 3: Identify Business Domains**
248
+ **STEP 3: Identify Business Domains**
280
249
  Group capabilities into logical business domains:
281
250
  - Customer-related capabilities → Customer Management
282
251
  - Order-related capabilities → Order Management
283
252
  - Financial capabilities → Financial Management
284
253
  - etc.
285
254
 
286
- **Step 4: Present Findings to User**
255
+ **STEP 4: Present Findings to User**
287
256
  Show user the identified capabilities and domains:
288
- "Based on the documents, I identified these business domains and capabilities:
289
- [Present structured list]
290
257
 
291
- Do these align with your understanding?
292
- Are there any capabilities missing or incorrectly categorized?"
258
+ "Based on the documents, I identified these business domains and capabilities: [Present structured list]
259
+
260
+ Do these align with your understanding? Are there any capabilities missing or incorrectly categorized?"
293
261
 
294
- **Step 5: Refine with User Input**
262
+ **STEP 5: Refine with User Input**
295
263
  Adjust the capability model based on user feedback.
296
- Document final capability list in business-capabilities.md.
264
+ Document final capability list in `business-capabilities.md`.
297
265
 
298
266
  transitions:
299
267
  - trigger: 'capabilities_identified'
300
268
  to: 'capability_decomposition'
301
269
  additional_instructions: >
302
270
  For each identified capability, create decomposition tasks:
303
- "- [ ] Decompose [capability-name] into sub-capabilities using document analysis"
271
+ `- [ ] Decompose [capability-name] into sub-capabilities using document analysis`
304
272
 
305
273
  Begin systematic decomposition of capabilities one at a time.
306
274
  transition_reason: 'Business capabilities identified, ready for detailed decomposition'
@@ -308,40 +276,38 @@ states:
308
276
  capability_decomposition:
309
277
  description: 'Break down business capabilities into detailed sub-capabilities using document analysis'
310
278
  default_instructions: >
311
- You are in the capability decomposition phase. Analyze documents to identify sub-capabilities, then validate with user.
279
+ IMPORTANT: Always reference the existing documents.
312
280
 
313
- IMPORTANT: ALWAYS reference the existing documents!
314
-
315
- **Step 1: Analyze Documents for Sub-capabilities**
281
+ **STEP 1: Analyze Documents for Sub-capabilities**
316
282
  Review processed documents for the next unprocessed capability:
317
283
  - Look for detailed activities mentioned within this capability
318
284
  - Identify specific processes or functions described
319
285
  - Find decision points and workflow steps
320
286
  - Note different outcomes or deliverables mentioned
321
287
 
322
- **Step 2: Extract Potential Sub-capabilities**
288
+ **STEP 2: Extract Potential Sub-capabilities**
323
289
  From document analysis, create initial list of sub-capabilities.
324
- Use Business Capability Modeling naming: [Verb] + [Business Object]
290
+ Use Business Capability Modeling naming: `[Verb] + [Business Object]`
291
+
325
292
  Example: For "Customer Management" → "Verify Customer Identity", "Setup Customer Account", "Maintain Customer Data"
326
293
 
327
- **Step 3: Present Findings to User**
294
+ **STEP 3: Present Findings to User**
328
295
  Show user the identified sub-capabilities:
329
- "Based on the documents, I identified these sub-capabilities for [capability]:
330
- [Present structured list]
331
296
 
332
- Do these sub-capabilities accurately reflect [capability]?
333
- Are any activities missing or incorrectly categorized?"
297
+ "Based on the documents, I identified these sub-capabilities for `[capability]`: [Present structured list]
334
298
 
335
- **Step 4: Refine with User Input**
299
+ Do these sub-capabilities accurately reflect `[capability]`? Are any activities missing or incorrectly categorized?"
300
+
301
+ **STEP 4: Refine with User Input**
336
302
  Adjust the sub-capability model based on user feedback.
337
- Document refined decomposition in business-capabilities/ detail folder.
303
+ Document refined decomposition in `business-capabilities/` detail folder.
338
304
  Mark capability as complete and ask: "Ready for the next capability?"
339
305
 
340
306
  transitions:
341
307
  - trigger: 'decomposition_complete'
342
308
  to: 'actor_analysis'
343
309
  additional_instructions: >
344
- Create business-actors.md with template:
310
+ Create `business-actors.md` with template:
345
311
  ```markdown
346
312
  # Business Actors
347
313
 
@@ -363,7 +329,7 @@ states:
363
329
  ```
364
330
 
365
331
  For each capability, create actor analysis tasks:
366
- "- [ ] Analyze business actors for [capability-name] using document analysis"
332
+ `- [ ] Analyze business actors for [capability-name] using document analysis`
367
333
 
368
334
  Begin systematic actor analysis one capability at a time.
369
335
  Update task progress as you complete decomposition work.
@@ -372,47 +338,44 @@ states:
372
338
  actor_analysis:
373
339
  description: 'Map business actors (roles and organizational units) to capabilities using systematic task-based approach'
374
340
  default_instructions: >
375
- You are in the actor analysis phase. Identify WHO performs each capability using Business Capability Modeling approach.
376
-
377
- **Step 1: Select Next Capability for Actor Analysis**
341
+ **STEP 1: Select Next Capability for Actor Analysis**
378
342
  From current tasks, select the next capability to analyze for business actors.
379
343
 
380
- **Step 2: Analyze Documents for Business Actors**
344
+ **STEP 2: Analyze Documents for Business Actors**
381
345
  Review processed documents to identify:
382
346
  - **Business Roles**: Specific job roles (Customer Service Rep, Account Manager, etc.)
383
347
  - **Organizational Units**: Teams/departments (Sales Team, Finance Department, etc.)
384
348
  - **Decision-making Authority**: Who makes decisions for this capability
385
349
  - **Accountability**: Who is responsible for capability outcomes
386
350
 
387
- **Step 3: Map Actors to Capabilities**
351
+ **STEP 3: Map Actors to Capabilities**
388
352
  For the selected capability, identify:
389
353
  - **Primary Owner**: Who is accountable for capability outcomes
390
354
  - **Performing Roles**: Which roles actually execute the capability
391
355
  - **Supporting Units**: Which organizational units support the capability
392
356
  - **Decision Authority**: Who has authority to change/approve within this capability
393
357
 
394
- **Step 4: Create Actor Analysis Document**
395
- Document the actor mappings in business-actors.md:
358
+ **STEP 4: Create Actor Analysis Document**
359
+ Document the actor mappings in `business-actors.md`:
396
360
  - **Primary Owner**: Who is accountable for capability outcomes
397
361
  - **Performing Roles**: Which roles actually execute the capability
398
362
  - **Supporting Units**: Which organizational units support the capability
399
363
  - **Decision Authority**: Who has authority to change/approve within this capability
400
364
 
401
365
  Then present to user for validation:
402
- "I documented the business actors for [capability]. Please review the actor mappings - do they accurately reflect WHO performs this capability?"
366
+ "I documented the business actors for `[capability]`. Please review the actor mappings - do they accurately reflect WHO performs this capability?"
403
367
 
404
- **Step 5: Refine and Document**
405
- Update business-actors.md with capability-actor mappings.
368
+ **STEP 5: Refine and Document**
369
+ Update `business-actors.md` with capability-actor mappings.
406
370
  Update task progress as complete.
407
371
 
408
372
  Focus on capability ownership and role accountability, not just organizational structure.
409
-
410
- Process one capability's functions at a time.
373
+ Process one capability at a time.
411
374
  transitions:
412
375
  - trigger: 'actor_analysis_complete'
413
376
  to: 'process_analysis'
414
377
  additional_instructions: >
415
- Create business-processes.md with template:
378
+ Create `business-processes.md` with template:
416
379
  ```markdown
417
380
  # Business Processes
418
381
 
@@ -430,7 +393,7 @@ states:
430
393
  ```
431
394
 
432
395
  For each capability, create process analysis tasks:
433
- "- [ ] Analyze business processes for [capability-name] using document analysis and actor context"
396
+ `- [ ] Analyze business processes for [capability-name] using document analysis and actor context`
434
397
 
435
398
  Begin systematic process analysis one capability at a time.
436
399
  Update task progress as you complete actor analysis work.
@@ -439,19 +402,17 @@ states:
439
402
  process_analysis:
440
403
  description: 'Analyze business processes using systematic task-based approach'
441
404
  default_instructions: >
442
- You are in the process analysis phase. Create process analysis tasks for systematic processing.
443
-
444
- **Step 1: Select Next Process Analysis Task**
405
+ **STEP 1: Select Next Process Analysis Task**
445
406
  From current process analysis tasks, select the next capability to process.
446
407
 
447
- **Step 2: Analyze Documents for Process Information**
408
+ **STEP 2: Analyze Documents for Process Information**
448
409
  Review processed documents for process information:
449
410
  - Look for process steps, workflows, decision points
450
411
  - Identify process actors, inputs, outputs
451
412
  - Note process triggers and outcomes
452
413
  - Find process rules and constraints
453
414
 
454
- **Step 3: Extract Processes**
415
+ **STEP 3: Extract Processes**
455
416
  Create process flows from document analysis.
456
417
  Document process characteristics:
457
418
  - Process name and purpose
@@ -460,24 +421,24 @@ states:
460
421
  - Process actors and responsibilities
461
422
  - Inputs, outputs, and deliverables
462
423
 
463
- **Step 4: Present to User**
424
+ **STEP 4: Present to User**
464
425
  Show identified processes and ask for validation:
465
- "Based on documents, I identified these processes for [capability]:
466
- [Present process flows]
467
426
 
468
- Do these processes accurately reflect how [capability] works?
469
- Are any process steps missing or incorrectly sequenced?"
427
+ "Based on documents, I identified these processes for `[capability]`: [Present process flows]
470
428
 
471
- **Step 5: Refine and Document**
472
- Update business-processes-detailed.md and detail folder.
429
+ Do these processes accurately reflect how `[capability]` works? Are any process steps missing or incorrectly sequenced?"
430
+
431
+ **STEP 5: Refine and Document**
432
+ Update `business-processes-detailed.md` and detail folder.
473
433
  Update task progress as complete.
474
434
 
475
- Process one capability's processes at a time.
435
+ Process one capability at a time.
476
436
  transitions:
477
437
  - trigger: 'process_analysis_complete'
478
438
  to: 'consistency'
479
439
  additional_instructions: >
480
440
  Present the Business Capability Consistency Framework to user:
441
+
481
442
  "I'll now validate consistency across all analysis documents using this framework:
482
443
 
483
444
  **Business Capability Consistency Framework:**
@@ -494,55 +455,54 @@ states:
494
455
  consistency:
495
456
  description: 'Validate consistency across all business capability analysis documents'
496
457
  default_instructions: >
497
- You are in the consistency phase. Validate consistency across all analysis documents using the Business Capability Consistency Framework.
498
-
499
- **Step 1: Re-discover Analysis Documents**
458
+ **STEP 1: Discover Analysis Documents**
500
459
  Scan workspace for all created analysis documents:
501
- - business-domains.md and detail folders
502
- - business-capabilities.md and detail folders
503
- - business-processes.md and detail folders
504
- - business-actors.md and detail folders
505
- - BUSINESS_ANALYSIS.md
460
+ - `business-domains.md` and detail folders
461
+ - `business-capabilities.md` and detail folders
462
+ - `business-processes.md` and detail folders
463
+ - `business-actors.md` and detail folders
464
+ - `BUSINESS_ANALYSIS.md`
506
465
  - Any other analysis artifacts created
507
466
 
508
- **Step 2: Apply Consistency Framework**
509
- For each consistency check:
467
+ **STEP 2: Apply Consistency Framework**
468
+ Execute each consistency check:
510
469
 
511
- **Capability-Process Alignment Check:**
512
- - Do documented processes actually deliver the stated capabilities?
513
- - Are there capabilities without supporting processes?
514
- - Are there processes that don't map to any capability?
470
+ - **Capability-Process Alignment Check**:
471
+ - Do documented processes actually deliver the stated capabilities?
472
+ - Are there capabilities without supporting processes?
473
+ - Are there processes that don't map to any capability?
515
474
 
516
- **Actor-Capability Ownership Check:**
517
- - Is each capability assigned a clear primary owner (actor)?
518
- - Are performing roles properly mapped to capabilities?
519
- - Do actors have decision authority for their assigned capabilities?
475
+ - **Actor-Capability Ownership Check**:
476
+ - Is each capability assigned a clear primary owner (actor)?
477
+ - Are performing roles properly mapped to capabilities?
478
+ - Do actors have decision authority for their assigned capabilities?
520
479
 
521
- **Process-Actor Mapping Check:**
522
- - Do processes reference the correct performing actors?
523
- - Are actor responsibilities aligned with process steps?
524
- - Is there clear accountability in each process?
480
+ - **Process-Actor Mapping Check**:
481
+ - Do processes reference the correct performing actors?
482
+ - Are actor responsibilities aligned with process steps?
483
+ - Is there clear accountability in each process?
525
484
 
526
- **Cross-Document Coherence Check:**
527
- - Are capabilities named consistently across documents?
528
- - Do actor definitions match across process and capability docs?
529
- - Are business terms used consistently throughout?
485
+ - **Cross-Document Coherence Check**:
486
+ - Are capabilities named consistently across documents?
487
+ - Do actor definitions match across process and capability docs?
488
+ - Are business terms used consistently throughout?
530
489
 
531
- **Completeness Validation:**
532
- - Are all expected document sections present?
533
- - Do internal links work correctly?
534
- - Are references to other documents accurate?
490
+ - **Completeness Validation**:
491
+ - Are all expected document sections present?
492
+ - Do internal links work correctly?
493
+ - Are references to other documents accurate?
535
494
 
536
- **Step 3: Document Issues and Fixes**
537
- Create CONSISTENCY_REPORT.md documenting:
495
+ **STEP 3: Document Issues and Fixes**
496
+ Create `CONSISTENCY_REPORT.md` documenting:
538
497
  - Issues found during validation
539
498
  - Fixes applied to resolve inconsistencies
540
499
  - Remaining gaps or recommendations
541
500
 
542
- **Step 4: Present Findings to User**
501
+ **STEP 4: Present Findings to User**
543
502
  Show consistency validation results and ask for confirmation:
544
- "Consistency validation complete. Found [X] issues, resolved [Y].
545
- Key findings: [summary of major consistency improvements]
503
+
504
+ "Consistency validation complete. Found `[X]` issues, resolved `[Y]`.
505
+ Key findings: `[summary of major consistency improvements]`
546
506
 
547
507
  Are you satisfied with the consistency of the business capability model?"
548
508
 
@@ -565,9 +525,7 @@ states:
565
525
  summary:
566
526
  description: 'Create consolidated summaries and illustrations for business capability analysis'
567
527
  default_instructions: >
568
- You are in the summary phase. Create consolidated overviews and illustrations using user's preferred formats.
569
-
570
- **Step 1: Create Consolidated Overviews**
528
+ **STEP 1: Create Consolidated Overviews**
571
529
  Build comprehensive summary documents:
572
530
  - **Executive Summary**: High-level business capability overview for leadership
573
531
  - **Capability Map**: Hierarchical view of all business capabilities
@@ -575,7 +533,7 @@ states:
575
533
  - **Process Overview**: Key processes supporting capabilities
576
534
  - **Navigation Guide**: How to use all analysis documents
577
535
 
578
- **Step 2: Generate Illustrations**
536
+ **STEP 2: Generate Illustrations**
579
537
  Using user's chosen format(s) (ASCII/Mermaid/PlantUML):
580
538
  - Business capability hierarchy diagrams
581
539
  - Process flow diagrams
@@ -583,13 +541,13 @@ states:
583
541
  - Cross-functional process flows
584
542
  - Organizational responsibility charts
585
543
 
586
- **Step 3: Fix Links and References**
544
+ **STEP 3: Fix Links and References**
587
545
  - Standardize internal document links
588
546
  - Create cross-references between related content
589
547
  - Build table of contents for navigation
590
548
  - Ensure all references are accurate and working
591
549
 
592
- **Step 4: Update BUSINESS_ANALYSIS.md**
550
+ **STEP 4: Update BUSINESS_ANALYSIS.md**
593
551
  Finalize the main analysis document with:
594
552
  - Complete executive summary
595
553
  - Key findings and insights
@@ -597,10 +555,10 @@ states:
597
555
  - Links to all detailed analysis documents
598
556
  - Methodology explanation and validation results
599
557
 
600
- **Step 5: Present Final Deliverables**
558
+ **STEP 5: Present Final Deliverables**
601
559
  Show completed analysis to user:
602
- "Business Capability Analysis complete! Final deliverables:
603
- [Present overview of all documents, diagrams, and summaries]
560
+
561
+ "Business Capability Analysis complete! Final deliverables: [Present overview of all documents, diagrams, and summaries]
604
562
 
605
563
  This provides comprehensive business architecture understanding for domain architects.
606
564
  Are you satisfied with the final analysis deliverables?"
@@ -628,9 +586,9 @@ states:
628
586
  default_instructions: >
629
587
  Business analysis is complete! The system has been thoroughly analyzed using Business Capability Modeling methodology.
630
588
 
631
- Final deliverables:
589
+ **Final Deliverables:**
632
590
  - Comprehensive business architecture documentation (Business Capability Modeling-based)
633
- - BUSINESS_ANALYSIS.md with complete analysis findings
591
+ - `BUSINESS_ANALYSIS.md` with complete analysis findings
634
592
  - Business capability maps and process flows
635
593
  - Technical-business alignment documentation
636
594
  - Business-friendly documentation for domain architects