olympus-ai 4.4.1 → 4.4.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "olympus-ai",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "Olympus: Multi-agent orchestration for Claude Code. Summon the gods of code.",
5
5
  "author": {
6
6
  "name": "mikev10",
@@ -1,10 +1,10 @@
1
- import { formatStageCompletion, formatInceptionComplete } from './inception/response-formatter.js';
1
+ import { formatStageCompletion, formatInceptionComplete, formatFieldsetBox } from './inception/response-formatter.js';
2
2
  import type { InceptionStage } from './phase-types.js';
3
- export { formatStageCompletion, formatInceptionComplete };
3
+ export { formatStageCompletion, formatInceptionComplete, formatFieldsetBox };
4
4
  export declare const INCEPTION_STAGE_REVIEW_ITEMS: Record<InceptionStage, string[]>;
5
5
  export declare function buildInceptionStageCompletionMessage(stage: InceptionStage, artifacts: string[], nextStage: InceptionStage | null, depth?: string): string;
6
- export declare const INCEPTION_COMPLETION_FORMAT: "## Stage Complete: {stage}\n\n{summary}\n\n---\n\n### REVIEW REQUIRED\n\nPlease review the artifacts at: `{reviewPath}`\n\n**What would you like to do?**\n1. **Request Changes** \u2014 I'll revise based on your feedback\n2. **Add Skipped Stage** \u2014 Include a stage that was previously excluded\n3. **Approve & Continue** \u2014 Proceed to the next stage\n";
7
- export declare const CONSTRUCTION_COMPLETION_FORMAT: "## Stage Complete: {stage}\n\n{summary}\n\n---\n\n### REVIEW REQUIRED\n\nPlease review the artifacts at: `{reviewPath}`\n\n**What would you like to do?**\n1. **Request Changes** \u2014 I'll revise based on your feedback\n2. **Continue to Next Stage** \u2014 Approve and proceed\n";
6
+ export declare const INCEPTION_COMPLETION_FORMAT: "## Stage Complete: {stage}\n\n{summary}\n\n\u250C\u2500 \u26A0 REVIEW REQUIRED \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 \u2502\n\u2502 Please review the artifacts at: `{reviewPath}` \u2502\n\u2502 \u2502\n\u2502 **What would you like to do?** \u2502\n\u2502 1. \uD83D\uDD27 **Request Changes** \u2014 I'll revise based on feedback \u2502\n\u2502 2. \u2795 **Add Skipped Stage** \u2014 Include excluded stage \u2502\n\u2502 3. \u2705 **Approve & Continue** \u2014 Proceed to next stage \u2502\n\u2502 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518";
7
+ export declare const CONSTRUCTION_COMPLETION_FORMAT: "## Stage Complete: {stage}\n\n{summary}\n\n\u250C\u2500 \u26A0 REVIEW REQUIRED \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 \u2502\n\u2502 Please review the artifacts at: `{reviewPath}` \u2502\n\u2502 \u2502\n\u2502 **What would you like to do?** \u2502\n\u2502 1. \uD83D\uDD27 **Request Changes** \u2014 I'll revise based on feedback \u2502\n\u2502 2. \u2705 **Continue to Next Stage** \u2014 Approve and proceed \u2502\n\u2502 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518";
8
8
  /**
9
9
  * Build a standardized completion message for a stage.
10
10
  *
@@ -27,5 +27,5 @@ export declare function formatSummaryBullets(bullets: string[]): string;
27
27
  /**
28
28
  * Completion message rules for skill template injection.
29
29
  */
30
- export declare const COMPLETION_MESSAGE_RULES = "## Completion Message Rules\n\nAt the end of EVERY stage:\n1. Display the stage completion header\n2. Include a factual summary (bullet points ONLY \u2014 NO workflow instructions in summary)\n3. Show REVIEW REQUIRED block with artifact path\n4. Show options:\n - Inception stages: 3 options (Request Changes / Add Skipped Stage / Approve & Continue)\n - Construction stages: 2 options ONLY (Request Changes / Continue to Next Stage)\n5. WAIT for user selection before proceeding";
30
+ export declare const COMPLETION_MESSAGE_RULES = "## Completion Message Rules\n\nAt the end of EVERY stage:\n1. Display the stage completion header with factual summary\n2. Display the REVIEW REQUIRED fieldset box using Unicode box-drawing characters\n3. Box format: \u250C\u2500 \u26A0 REVIEW REQUIRED \u2500\u2500\u2500\u2510 with \u2502 side borders \u2502 and \u2514\u2500\u2500\u2500\u2518 bottom\n4. Show options inside the box:\n - Inception stages: 3 options (Request Changes / Add Skipped Stage / Approve & Continue)\n - Construction stages: 2 options ONLY (Request Changes / Continue to Next Stage)\n5. WAIT for user selection before proceeding";
31
31
  //# sourceMappingURL=completion-messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"completion-messages.d.ts","sourceRoot":"","sources":["../../../src/features/workflow-engine/completion-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACnG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,CAAC;AAE1D,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAmCzE,CAAC;AAEF,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,cAAc,EACrB,SAAS,EAAE,MAAM,EAAE,EACnB,SAAS,EAAE,cAAc,GAAG,IAAI,EAChC,KAAK,GAAE,MAAmB,GACzB,MAAM,CAIR;AAED,eAAO,MAAM,2BAA2B,2WAc9B,CAAC;AAEX,eAAO,MAAM,8BAA8B,2RAajC,CAAC;AAEX;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,WAAW,GAAG,cAAc,EACnC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,GAChB,MAAM,CASR;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAG9D;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,weASQ,CAAC"}
1
+ {"version":3,"file":"completion-messages.d.ts","sourceRoot":"","sources":["../../../src/features/workflow-engine/completion-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;AAE7E,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAmCzE,CAAC;AAEF,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,cAAc,EACrB,SAAS,EAAE,MAAM,EAAE,EACnB,SAAS,EAAE,cAAc,GAAG,IAAI,EAChC,KAAK,GAAE,MAAmB,GACzB,MAAM,CAIR;AAED,eAAO,MAAM,2BAA2B,spDAakD,CAAC;AAE3F,eAAO,MAAM,8BAA8B,ijDAY+C,CAAC;AAE3F;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,WAAW,GAAG,cAAc,EACnC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,GAChB,MAAM,CASR;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAG9D;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,qmBASQ,CAAC"}
@@ -1,5 +1,5 @@
1
- import { formatStageCompletion, formatInceptionComplete } from './inception/response-formatter.js';
2
- export { formatStageCompletion, formatInceptionComplete };
1
+ import { formatStageCompletion, formatInceptionComplete, formatFieldsetBox } from './inception/response-formatter.js';
2
+ export { formatStageCompletion, formatInceptionComplete, formatFieldsetBox };
3
3
  export const INCEPTION_STAGE_REVIEW_ITEMS = {
4
4
  'workspace-detection': [
5
5
  'Verify the detected pathway type (greenfield/brownfield) is correct',
@@ -45,31 +45,29 @@ export const INCEPTION_COMPLETION_FORMAT = `## Stage Complete: {stage}
45
45
 
46
46
  {summary}
47
47
 
48
- ---
49
-
50
- ### REVIEW REQUIRED
51
-
52
- Please review the artifacts at: \`{reviewPath}\`
53
-
54
- **What would you like to do?**
55
- 1. **Request Changes** — I'll revise based on your feedback
56
- 2. **Add Skipped Stage** — Include a stage that was previously excluded
57
- 3. **Approve & Continue** — Proceed to the next stage
58
- `;
48
+ ┌─ ⚠ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
49
+ │ │
50
+ Please review the artifacts at: \`{reviewPath}\` │
51
+ │ │
52
+ **What would you like to do?** │
53
+ │ 1. 🔧 **Request Changes** — I'll revise based on feedback │
54
+ │ 2. ➕ **Add Skipped Stage** Include excluded stage │
55
+ │ 3. **Approve & Continue** — Proceed to next stage │
56
+ │ │
57
+ └──────────────────────────────────────────────────────────────────────────────┘`;
59
58
  export const CONSTRUCTION_COMPLETION_FORMAT = `## Stage Complete: {stage}
60
59
 
61
60
  {summary}
62
61
 
63
- ---
64
-
65
- ### REVIEW REQUIRED
66
-
67
- Please review the artifacts at: \`{reviewPath}\`
68
-
69
- **What would you like to do?**
70
- 1. **Request Changes** — I'll revise based on your feedback
71
- 2. **Continue to Next Stage** — Approve and proceed
72
- `;
62
+ ┌─ ⚠ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
63
+ │ │
64
+ Please review the artifacts at: \`{reviewPath}\` │
65
+ │ │
66
+ **What would you like to do?** │
67
+ │ 1. 🔧 **Request Changes** — I'll revise based on feedback │
68
+ 2. **Continue to Next Stage** — Approve and proceed │
69
+ │ │
70
+ └──────────────────────────────────────────────────────────────────────────────┘`;
73
71
  /**
74
72
  * Build a standardized completion message for a stage.
75
73
  *
@@ -107,10 +105,10 @@ export function formatSummaryBullets(bullets) {
107
105
  export const COMPLETION_MESSAGE_RULES = `## Completion Message Rules
108
106
 
109
107
  At the end of EVERY stage:
110
- 1. Display the stage completion header
111
- 2. Include a factual summary (bullet points ONLY NO workflow instructions in summary)
112
- 3. Show REVIEW REQUIRED block with artifact path
113
- 4. Show options:
108
+ 1. Display the stage completion header with factual summary
109
+ 2. Display the REVIEW REQUIRED fieldset box using Unicode box-drawing characters
110
+ 3. Box format: ┌─ ⚠ REVIEW REQUIRED ───┐ with side borders │ and └───┘ bottom
111
+ 4. Show options inside the box:
114
112
  - Inception stages: 3 options (Request Changes / Add Skipped Stage / Approve & Continue)
115
113
  - Construction stages: 2 options ONLY (Request Changes / Continue to Next Stage)
116
114
  5. WAIT for user selection before proceeding`;
@@ -1 +1 @@
1
- {"version":3,"file":"completion-messages.js","sourceRoot":"","sources":["../../../src/features/workflow-engine/completion-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAGnG,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,CAAC;AAE1D,MAAM,CAAC,MAAM,4BAA4B,GAAqC;IAC5E,qBAAqB,EAAE;QACrB,qEAAqE;QACrE,gEAAgE;KACjE;IACD,qBAAqB,EAAE;QACrB,iDAAiD;QACjD,kDAAkD;QAClD,8DAA8D;KAC/D;IACD,uBAAuB,EAAE;QACvB,gDAAgD;QAChD,qDAAqD;QACrD,uCAAuC;KACxC;IACD,cAAc,EAAE;QACd,yDAAyD;QACzD,sDAAsD;QACtD,kDAAkD;KACnD;IACD,mBAAmB,EAAE;QACnB,4CAA4C;QAC5C,+DAA+D;QAC/D,wDAAwD;KACzD;IACD,oBAAoB,EAAE;QACpB,qDAAqD;QACrD,0DAA0D;QAC1D,4DAA4D;KAC7D;IACD,kBAAkB,EAAE;QAClB,yDAAyD;QACzD,+CAA+C;QAC/C,uDAAuD;KACxD;CACF,CAAC;AAEF,MAAM,UAAU,oCAAoC,CAClD,KAAqB,EACrB,SAAmB,EACnB,SAAgC,EAChC,QAAgB,UAAU;IAE1B,MAAM,WAAW,GAAG,4BAA4B,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC9D,MAAM,oBAAoB,GAAG,EAAE,CAAC;IAChC,OAAO,qBAAqB,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;AACtG,CAAC;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;CAcjC,CAAC;AAEX,MAAM,CAAC,MAAM,8BAA8B,GAAG;;;;;;;;;;;;;CAapC,CAAC;AAEX;;;;;;;;;GASG;AACH,MAAM,UAAU,sBAAsB,CACpC,KAAa,EACb,KAAmC,EACnC,OAAe,EACf,UAAkB,EAClB,SAAiB;IAEjB,MAAM,QAAQ,GAAG,KAAK,KAAK,WAAW;QACpC,CAAC,CAAC,2BAA2B;QAC7B,CAAC,CAAC,8BAA8B,CAAC;IAEnC,OAAO,QAAQ;SACZ,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC;SACzB,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC;SAC7B,OAAO,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AACzC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAiB;IACpD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,yBAAyB,CAAC;IAC3D,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;;;;;;;;;6CASK,CAAC"}
1
+ {"version":3,"file":"completion-messages.js","sourceRoot":"","sources":["../../../src/features/workflow-engine/completion-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtH,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;AAE7E,MAAM,CAAC,MAAM,4BAA4B,GAAqC;IAC5E,qBAAqB,EAAE;QACrB,qEAAqE;QACrE,gEAAgE;KACjE;IAC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CAAC;AACzC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAiB;IACpD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,yBAAyB,CAAC;IAC3D,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;;;;;;;;;6CASK,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare function formatFieldsetBox(label: string, lines: string[]): string;
1
2
  export declare function formatStageCompletion(stageName: string, artifacts: string[], reviewItems: string[], nextStage: string | null, nextStageDescription: string, depth?: string): string;
2
3
  export declare function formatInceptionComplete(workflowId: string, totalStages: number, artifactCount: number): string;
3
4
  //# sourceMappingURL=response-formatter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response-formatter.d.ts","sourceRoot":"","sources":["../../../../src/features/workflow-engine/inception/response-formatter.ts"],"names":[],"mappings":"AA0CA,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EAAE,EACnB,WAAW,EAAE,MAAM,EAAE,EACrB,SAAS,EAAE,MAAM,GAAG,IAAI,EACxB,oBAAoB,EAAE,MAAM,EAC5B,KAAK,GAAE,MAAmB,GACzB,MAAM,CA8DR;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACpB,MAAM,CAuBR"}
1
+ {"version":3,"file":"response-formatter.d.ts","sourceRoot":"","sources":["../../../../src/features/workflow-engine/inception/response-formatter.ts"],"names":[],"mappings":"AAKA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAgBxE;AA0CD,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EAAE,EACnB,WAAW,EAAE,MAAM,EAAE,EACrB,SAAS,EAAE,MAAM,GAAG,IAAI,EACxB,oBAAoB,EAAE,MAAM,EAC5B,KAAK,GAAE,MAAmB,GACzB,MAAM,CA2DR;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACpB,MAAM,CAsBR"}
@@ -1,3 +1,19 @@
1
+ const BOX_WIDTH = 80;
2
+ const CONTENT_WIDTH = BOX_WIDTH - 4;
3
+ export function formatFieldsetBox(label, lines) {
4
+ const labelPart = `─ ${label} `;
5
+ const topFillLen = Math.max(0, BOX_WIDTH - 2 - labelPart.length);
6
+ const top = `┌${labelPart}${'─'.repeat(topFillLen)}┐`;
7
+ const formatted = lines.map(line => {
8
+ if (line === '') {
9
+ return `│${' '.repeat(BOX_WIDTH - 2)}│`;
10
+ }
11
+ const pad = Math.max(0, CONTENT_WIDTH - line.length);
12
+ return `│ ${line}${' '.repeat(pad)} │`;
13
+ });
14
+ const bottom = `└${'─'.repeat(BOX_WIDTH - 2)}┘`;
15
+ return [top, ...formatted, bottom].join('\n');
16
+ }
1
17
  const STAGE_LABELS = {
2
18
  'workspace-detection': 'Workspace Detection',
3
19
  'reverse-engineering': 'Reverse Engineering',
@@ -38,25 +54,22 @@ export function formatStageCompletion(stageName, artifacts, reviewItems, nextSta
38
54
  const label = STAGE_LABELS[stageName] ?? stageName;
39
55
  const description = STAGE_DESCRIPTIONS[stageName]
40
56
  ?? `Stage '${stageName}' completed`;
41
- const artifactsSection = artifacts.length > 0
42
- ? artifacts.map(a => `- \`${a}\``).join('\n')
43
- : '- _(no artifacts generated)_';
44
- const reviewSection = reviewItems.length > 0
45
- ? reviewItems.map(item => `- [ ] ${item}`).join('\n')
46
- : '- [ ] Review the generated artifacts for accuracy and completeness';
47
- const lines = [
48
- '---',
57
+ const artifactLines = artifacts.length > 0
58
+ ? artifacts.map(a => `- \`${a}\``)
59
+ : ['- _(no artifacts generated)_'];
60
+ const reviewLines = reviewItems.length > 0
61
+ ? reviewItems.map(item => `- [ ] ${item}`)
62
+ : ['- [ ] Review the generated artifacts for accuracy and completeness'];
63
+ const contentLines = [
49
64
  '',
50
- '## REVIEW REQUIRED',
51
- '',
52
- `### What was completed`,
65
+ '**What was completed**',
53
66
  `- **${label}**: ${description}`,
54
67
  '',
55
- '### Artifacts generated',
56
- artifactsSection,
68
+ '**Artifacts generated**',
69
+ ...artifactLines,
57
70
  '',
58
- '### What needs your review',
59
- reviewSection,
71
+ '**What needs your review**',
72
+ ...reviewLines,
60
73
  '',
61
74
  '---',
62
75
  '',
@@ -68,34 +81,32 @@ export function formatStageCompletion(stageName, artifacts, reviewItems, nextSta
68
81
  || `Execute the ${nextStage} stage`;
69
82
  const timeHints = STAGE_TIME_HINTS[nextStage];
70
83
  const timeHint = timeHints ? timeHints[depth] ?? timeHints['standard'] : 'a few minutes';
71
- lines.push('## WHAT\'S NEXT', `After your review, the workflow will proceed to: **${nextLabel}**`, `- ${effectiveNextDesc}`, `- Estimated time: ${timeHint}`, '', 'To proceed: `continue` or `approve`', 'To request changes: `revise [specific feedback]`', '---');
84
+ contentLines.push(`**📋 WHAT'S NEXT**`, `After your review, proceed to: **${nextLabel}**`, `- ${effectiveNextDesc}`, `- Estimated time: ${timeHint}`, '', 'To proceed: `continue` or `approve`', 'To request changes: `revise [specific feedback]`', '');
72
85
  }
73
86
  else {
74
- lines.push('## WHAT\'S NEXT', 'Inception phase is complete.', '- All inception stages have been executed and artifacts are ready for construction', '- Review the execution plan at `aidlc-docs/{workflow-id}/inception/plans/execution-plan.md`', '', 'To proceed to Construction: `continue` or `approve`', '---');
87
+ contentLines.push(`**📋 WHAT'S NEXT**`, 'Inception phase is complete.', '- All inception stages have been executed and artifacts are ready for construction', '- Review the execution plan at `aidlc-docs/{workflow-id}/inception/plans/execution-plan.md`', '', 'To proceed to Construction: `continue` or `approve`', '');
75
88
  }
76
- return lines.join('\n');
89
+ return formatFieldsetBox('⚠ REVIEW REQUIRED', contentLines);
77
90
  }
78
91
  export function formatInceptionComplete(workflowId, totalStages, artifactCount) {
79
92
  const artifactPath = `aidlc-docs/${workflowId}/inception/`;
80
- return [
81
- '---',
93
+ const contentLines = [
82
94
  '',
83
- '## Inception Phase Complete',
84
- '',
85
- `All ${totalStages} inception stage(s) have completed successfully.`,
95
+ `All ${totalStages} inception stage(s) completed successfully.`,
86
96
  `${artifactCount} artifact(s) generated in \`${artifactPath}\``,
87
97
  '',
88
- '### What was accomplished',
98
+ '**What was accomplished**',
89
99
  '- Requirements captured and structured',
90
100
  '- User stories and personas defined',
91
101
  '- Workflow execution plan created',
92
102
  '- Units of work defined and mapped',
93
103
  '',
94
- '### Next Phase: Construction',
95
- 'The Construction phase will execute design and implementation for each unit.',
104
+ `**📋 Next Phase: Construction**`,
105
+ 'The Construction phase will execute design/implementation.',
96
106
  '',
97
107
  'To begin Construction: `continue` or `/ascent`',
98
- '---',
99
- ].join('\n');
108
+ '',
109
+ ];
110
+ return formatFieldsetBox('✅ INCEPTION COMPLETE', contentLines);
100
111
  }
101
112
  //# sourceMappingURL=response-formatter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"response-formatter.js","sourceRoot":"","sources":["../../../../src/features/workflow-engine/inception/response-formatter.ts"],"names":[],"mappings":"AAEA,MAAM,YAAY,GAAmC;IACnD,qBAAqB,EAAE,qBAAqB;IAC5C,qBAAqB,EAAE,qBAAqB;IAC5C,uBAAuB,EAAE,uBAAuB;IAChD,cAAc,EAAE,cAAc;IAC9B,mBAAmB,EAAE,mBAAmB;IACxC,oBAAoB,EAAE,oBAAoB;IAC1C,kBAAkB,EAAE,kBAAkB;CACvC,CAAC;AAEF,MAAM,kBAAkB,GAAmC;IACzD,qBAAqB,EAAE,8FAA8F;IACrH,qBAAqB,EAAE,wEAAwE;IAC/F,uBAAuB,EAAE,uDAAuD;IAChF,cA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EACjB,sDAAsD,SAAS,IAAI,EACnE,KAAK,iBAAiB,EAAE,EACxB,qBAAqB,QAAQ,EAAE,EAC/B,EAAE,EACF,qCAAqC,EACrC,kDAAkD,EAClD,KAAK,CACN,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,KAAK,CAAC,IAAI,CACR,iBAAiB,EACjB,8BAA8B,EAC9B,oFAAoF,EACpF,6FAA6F,EAC7F,EAAE,EACF,qDAAqD,EACrD,KAAK,CACN,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,UAAkB,EAClB,WAAmB,EACnB,aAAqB;IAErB,MAAM,YAAY,GAAG,cAAc,UAAU,aAAa,CAAC;IAE3D,OAAO;QACL,KAAK;QACL,EAAE;QACF,6BAA6B;QAC7B,EAAE;QACF,OAAO,WAAW,kDAAkD;QACpE,GAAG,aAAa,+BAA+B,YAAY,IAAI;QAC/D,EAAE;QACF,2BAA2B;QAC3B,wCAAwC;QACxC,qCAAqC;QACrC,mCAAmC;QACnC,oCAAoC;QACpC,EAAE;QACF,8BAA8B;QAC9B,8EAA8E;QAC9E,EAAE;QACF,gDAAgD;QAChD,KAAK;KACN,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"response-formatter.js","sourceRoot":"","sources":["../../../../src/features/workflow-engine/inception/response-formatter.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAG,EAAE,CAAC;AACrB,MAAM,aAAa,GAAG,SAAS,GAAG,CAAC,CAAC;AAEpC,MAAM,UAAU,iBAAiB,CAAC,KAAa,EAAE,KAAe;IAC9D,MAAM,SAAS,GAAG,KAAK,KAAK,GAAG,CAAC;IAChC,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACjE,MAA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7F,EAAE,EACF,qDAAqD,EACrD,EAAE,CACH,CAAC;IACJ,CAAC;IAED,OAAO,iBAAiB,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,UAAkB,EAClB,WAAmB,EACnB,aAAqB;IAErB,MAAM,YAAY,GAAG,cAAc,UAAU,aAAa,CAAC;IAE3D,MAAM,YAAY,GAAa;QAC7B,EAAE;QACF,OAAO,WAAW,6CAA6C;QAC/D,GAAG,aAAa,+BAA+B,YAAY,IAAI;QAC/D,EAAE;QACF,2BAA2B;QAC3B,wCAAwC;QACxC,qCAAqC;QACrC,mCAAmC;QACnC,oCAAoC;QACpC,EAAE;QACF,iCAAiC;QACjC,4DAA4D;QAC5D,EAAE;QACF,gDAAgD;QAChD,EAAE;KACH,CAAC;IAEF,OAAO,iBAAiB,CAAC,sBAAsB,EAAE,YAAY,CAAC,CAAC;AACjE,CAAC"}
@@ -24,7 +24,7 @@ export declare const HOOKS_DIR: string;
24
24
  export declare const SETTINGS_FILE: string;
25
25
  export declare const VERSION_FILE: string;
26
26
  /** Current version - MUST match package.json */
27
- export declare const VERSION = "4.4.1";
27
+ export declare const VERSION = "4.4.2";
28
28
  /** Installation result */
29
29
  export interface InstallResult {
30
30
  success: boolean;
@@ -40,7 +40,7 @@ export const HOOKS_DIR = join(CLAUDE_CONFIG_DIR, 'hooks');
40
40
  export const SETTINGS_FILE = join(CLAUDE_CONFIG_DIR, 'settings.json');
41
41
  export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.olympus-version.json');
42
42
  /** Current version - MUST match package.json */
43
- export const VERSION = '4.4.1';
43
+ export const VERSION = '4.4.2';
44
44
  /**
45
45
  * Read a content file from the resources/ directory.
46
46
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "olympus-ai",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "Olympus: Multi-agent orchestration for Claude Code. Summon the gods of code.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -177,19 +177,24 @@ When managing code generation, the orchestrator MUST leverage Olympus capabiliti
177
177
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
178
178
 
179
179
  ```markdown
180
- > **📋 <u>**REVIEW REQUIRED:**</u>**
181
- > Please examine the generated code at:
182
- > - **Application Code**: `[actual-workspace-path]`
183
- > - **Documentation**: `aidlc-docs/construction/[unit-name]/code/`
184
-
185
-
186
-
187
- > **🚀 <u>**WHAT'S NEXT?**</u>**
188
- >
189
- > **You may:**
190
- >
191
- > 🔧 **Request Changes** - Ask for modifications to the generated code based on your review
192
- > **Continue to Next Stage** - Approve code generation and proceed to **[next-unit/Build & Test]**
180
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
181
+ │ │
182
+ Please examine the generated code at: │
183
+ - **Application Code**: `[actual-workspace-path]` │
184
+ │ - **Documentation**: `aidlc-docs/construction/ │
185
+ │ [unit-name]/code/` │
186
+ │ │
187
+ --- │
188
+ │ │
189
+ **📋 WHAT'S NEXT?** │
190
+ │ │
191
+ **You may:** │
192
+ 🔧 **Request Changes** - Ask for modifications to the │
193
+ │ generated code based on your review │
194
+ │ ✅ **Continue to Next Stage** - Approve code generation │
195
+ │ and proceed to **[next-unit/Build & Test]** │
196
+ │ │
197
+ └──────────────────────────────────────────────────────────────────────────────┘
193
198
 
194
199
  ---
195
200
  ```
@@ -107,17 +107,23 @@ Design detailed business logic for the unit, technology-agnostic and focused pur
107
107
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
108
108
 
109
109
  ```markdown
110
- > **📋 <u>**REVIEW REQUIRED:**</u>**
111
- > Please examine the functional design artifacts at: `aidlc-docs/construction/[unit-name]/functional-design/`
112
-
113
-
114
-
115
- > **🚀 <u>**WHAT'S NEXT?**</u>**
116
- >
117
- > **You may:**
118
- >
119
- > 🔧 **Request Changes** - Ask for modifications to the functional design based on your review
120
- > **Continue to Next Stage** - Approve functional design and proceed to **[next-stage-name]**
110
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
111
+ │ │
112
+ │ Please examine the functional design artifacts at: │
113
+ │ `aidlc-docs/{workflow-id}/construction/[unit-name]/ │
114
+ │ functional-design/` │
115
+ │ │
116
+ │ --- │
117
+ │ │
118
+ │ **📋 WHAT'S NEXT?** │
119
+ │ │
120
+ **You may:** │
121
+ │ 🔧 **Request Changes** - Ask for modifications to the │
122
+ │ functional design based on your review │
123
+ │ ✅ **Continue to Next Stage** - Approve functional design │
124
+ │ and proceed to **[next-stage-name]** │
125
+ │ │
126
+ └──────────────────────────────────────────────────────────────────────────────┘
121
127
 
122
128
  ---
123
129
  ```
@@ -82,17 +82,23 @@ Map logical software components to actual infrastructure choices for deployment
82
82
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
83
83
 
84
84
  ```markdown
85
- > **📋 <u>**REVIEW REQUIRED:**</u>**
86
- > Please examine the infrastructure design at: `aidlc-docs/construction/[unit-name]/infrastructure-design/`
87
-
88
-
89
-
90
- > **🚀 <u>**WHAT'S NEXT?**</u>**
91
- >
92
- > **You may:**
93
- >
94
- > 🔧 **Request Changes** - Ask for modifications to the infrastructure design based on your review
95
- > **Continue to Next Stage** - Approve infrastructure design and proceed to **Code Generation**
85
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
86
+ │ │
87
+ │ Please examine the infrastructure design at: │
88
+ │ `aidlc-docs/{workflow-id}/construction/[unit-name]/ │
89
+ │ infrastructure-design/` │
90
+ │ │
91
+ │ --- │
92
+ │ │
93
+ │ **📋 WHAT'S NEXT?** │
94
+ │ │
95
+ **You may:** │
96
+ │ 🔧 **Request Changes** - Ask for modifications to the │
97
+ │ infrastructure design based on your review │
98
+ │ ✅ **Continue to Next Stage** - Approve infrastructure │
99
+ │ design and proceed to **Code Generation** │
100
+ │ │
101
+ └──────────────────────────────────────────────────────────────────────────────┘
96
102
 
97
103
  ---
98
104
  ```
@@ -78,17 +78,23 @@ Incorporate NFR requirements into unit design using patterns and logical compone
78
78
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
79
79
 
80
80
  ```markdown
81
- > **📋 <u>**REVIEW REQUIRED:**</u>**
82
- > Please examine the NFR design at: `aidlc-docs/construction/[unit-name]/nfr-design/`
83
-
84
-
85
-
86
- > **🚀 <u>**WHAT'S NEXT?**</u>**
87
- >
88
- > **You may:**
89
- >
90
- > 🔧 **Request Changes** - Ask for modifications to the NFR design based on your review
91
- > **Continue to Next Stage** - Approve NFR design and proceed to **[next-stage-name]**
81
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
82
+ │ │
83
+ │ Please examine the NFR design at: │
84
+ │ `aidlc-docs/{workflow-id}/construction/[unit-name]/ │
85
+ │ nfr-design/` │
86
+ │ │
87
+ │ --- │
88
+ │ │
89
+ │ **📋 WHAT'S NEXT?** │
90
+ │ │
91
+ **You may:** │
92
+ │ 🔧 **Request Changes** - Ask for modifications to the │
93
+ │ NFR design based on your review │
94
+ │ ✅ **Continue to Next Stage** - Approve NFR design and │
95
+ │ proceed to **[next-stage-name]** │
96
+ │ │
97
+ └──────────────────────────────────────────────────────────────────────────────┘
92
98
 
93
99
  ---
94
100
  ```
@@ -90,17 +90,23 @@ Determine non-functional requirements for the unit and make tech stack choices.
90
90
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
91
91
 
92
92
  ```markdown
93
- > **📋 <u>**REVIEW REQUIRED:**</u>**
94
- > Please examine the NFR requirements at: `aidlc-docs/construction/[unit-name]/nfr-requirements/`
95
-
96
-
97
-
98
- > **🚀 <u>**WHAT'S NEXT?**</u>**
99
- >
100
- > **You may:**
101
- >
102
- > 🔧 **Request Changes** - Ask for modifications to the NFR requirements based on your review
103
- > **Continue to Next Stage** - Approve NFR requirements and proceed to **[next-stage-name]**
93
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
94
+ │ │
95
+ │ Please examine the NFR requirements at: │
96
+ │ `aidlc-docs/{workflow-id}/construction/[unit-name]/ │
97
+ │ nfr-requirements/` │
98
+ │ │
99
+ │ --- │
100
+ │ │
101
+ │ **📋 WHAT'S NEXT?** │
102
+ │ │
103
+ **You may:** │
104
+ │ 🔧 **Request Changes** - Ask for modifications to the │
105
+ │ NFR requirements based on your review │
106
+ │ ✅ **Continue to Next Stage** - Approve NFR requirements │
107
+ │ and proceed to **[next-stage-name]** │
108
+ │ │
109
+ └──────────────────────────────────────────────────────────────────────────────┘
104
110
 
105
111
  ---
106
112
  ```
@@ -149,17 +149,24 @@ If the analysis in Step 5 reveals ANY ambiguous answers, you MUST:
149
149
 
150
150
  [AI-generated summary of application design artifacts created in bullet points]
151
151
 
152
- > **REVIEW REQUIRED:**
153
- > Please examine the application design artifacts at: `aidlc-docs/inception/application-design/`
154
-
155
- > **WHAT'S NEXT?**
156
- >
157
- > **You may:**
158
- >
159
- > **Request Changes** - Ask for modifications to the application design if required
160
- > [IF Units Generation is skipped:]
161
- > **Add Units Generation** - Choose to include **Units Generation** stage (currently skipped)
162
- > **Approve & Continue** - Approve design and proceed to **[Units Generation/CONSTRUCTION PHASE]**
152
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
153
+ │ │
154
+ │ Please examine the application design artifacts at: │
155
+ `aidlc-docs/{workflow-id}/inception/application-design/` │
156
+ │ │
157
+ --- │
158
+ │ │
159
+ **📋 WHAT'S NEXT?** │
160
+ │ │
161
+ **You may:** │
162
+ 🔧 **Request Changes** - Ask for modifications to the │
163
+ │ application design if required │
164
+ │ ➕ **Add Skipped Stage** - Choose to include Units │
165
+ │ Generation stage (if currently skipped) │
166
+ │ ✅ **Approve & Continue** - Approve design and proceed to │
167
+ │ **[Units Generation/CONSTRUCTION PHASE]** │
168
+ │ │
169
+ └──────────────────────────────────────────────────────────────────────────────┘
163
170
  ```
164
171
 
165
172
  ### 14. Wait for Explicit Approval
@@ -223,19 +223,25 @@ When done, let me know and I will incorporate your approved findings into the re
223
223
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
224
224
 
225
225
  ```markdown
226
- > **📋 <u>**REVIEW REQUIRED:**</u>**
227
- > Please examine the requirements document at: `aidlc-docs/{workflow-id}/inception/requirements/requirements.md`
228
-
229
-
230
-
231
- > **🚀 <u>**WHAT'S NEXT?**</u>**
232
- >
233
- > **You may:**
234
- >
235
- > 🔧 **Request Changes** - Ask for modifications to the requirements if required based on your review
236
- > [IF User Stories will be skipped, add this option:]
237
- > 📝 **Add User Stories** - Choose to Include **User Stories** stage (currently skipped based on project simplicity)
238
- > ✅ **Approve & Continue** - Approve requirements and proceed to **[User Stories/Workflow Planning]**
226
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
227
+ │ │
228
+ │ Please examine the requirements document at: │
229
+ │ `aidlc-docs/{workflow-id}/inception/requirements/ │
230
+ │ requirements.md` │
231
+ │ │
232
+ │ --- │
233
+ │ │
234
+ │ **📋 WHAT'S NEXT?** │
235
+ │ │
236
+ **You may:** │
237
+ 🔧 **Request Changes** - Ask for modifications to the │
238
+ requirements if required based on your review │
239
+ │ ➕ **Add Skipped Stage** - Include a previously excluded │
240
+ │ stage (e.g., User Stories if currently skipped) │
241
+ │ ✅ **Approve & Continue** - Approve requirements and │
242
+ │ proceed to **[User Stories/Workflow Planning]** │
243
+ │ │
244
+ └──────────────────────────────────────────────────────────────────────────────┘
239
245
 
240
246
  ---
241
247
  ```
@@ -318,15 +318,24 @@ Create `aidlc-docs/inception/reverse-engineering/reverse-engineering-timestamp.m
318
318
 
319
319
  [AI-generated summary of key findings from analysis in the form of bullet points]
320
320
 
321
- > **📋 <u>**REVIEW REQUIRED:**</u>**
322
- > Please examine the reverse engineering artifacts at: `aidlc-docs/inception/reverse-engineering/`
323
-
324
- > **🚀 <u>**WHAT'S NEXT?**</u>**
325
- >
326
- > **You may:**
327
- >
328
- > 🔧 **Request Changes** - Ask for modifications to the reverse engineering analysis if required
329
- > ✅ **Approve & Continue** - Approve analysis and proceed to **Requirements Analysis**
321
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
322
+ │ │
323
+ │ Please examine the reverse engineering artifacts at: │
324
+ `aidlc-docs/{workflow-id}/inception/reverse-engineering/` │
325
+ │ │
326
+ --- │
327
+ │ │
328
+ **📋 WHAT'S NEXT?** │
329
+ │ │
330
+ │ **You may:** │
331
+ │ 🔧 **Request Changes** - Ask for modifications to the │
332
+ │ reverse engineering analysis if required │
333
+ │ ➕ **Add Skipped Stage** - Include a previously excluded │
334
+ │ stage in the workflow │
335
+ │ ✅ **Approve & Continue** - Approve analysis and proceed │
336
+ │ to **Requirements Analysis** │
337
+ │ │
338
+ └──────────────────────────────────────────────────────────────────────────────┘
330
339
  ```
331
340
 
332
341
  ## Step 12: Wait for User Approval
@@ -162,15 +162,24 @@ If the analysis in step 7 reveals ANY ambiguous answers, you MUST:
162
162
 
163
163
  [AI-generated summary of units and decomposition created in bullet points]
164
164
 
165
- > **📋 <u>**REVIEW REQUIRED:**</u>**
166
- > Please examine the units generation artifacts at: `aidlc-docs/inception/application-design/`
167
-
168
- > **🚀 <u>**WHAT'S NEXT?**</u>**
169
- >
170
- > **You may:**
171
- >
172
- > 🔧 **Request Changes** - Ask for modifications to the units generation if required
173
- > ✅ **Approve & Continue** - Approve units and proceed to **CONSTRUCTION PHASE**
165
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
166
+ │ │
167
+ │ Please examine the units generation artifacts at: │
168
+ `aidlc-docs/{workflow-id}/inception/application-design/` │
169
+ │ │
170
+ --- │
171
+ │ │
172
+ **📋 WHAT'S NEXT?** │
173
+ │ │
174
+ │ **You may:** │
175
+ │ 🔧 **Request Changes** - Ask for modifications to the │
176
+ │ units generation if required │
177
+ │ ➕ **Add Skipped Stage** - Include a previously excluded │
178
+ │ stage in the workflow │
179
+ │ ✅ **Approve & Continue** - Approve units and proceed to │
180
+ │ **CONSTRUCTION PHASE** │
181
+ │ │
182
+ └──────────────────────────────────────────────────────────────────────────────┘
174
183
  ```
175
184
 
176
185
  ## Step 17: Wait for Explicit Approval
@@ -287,17 +287,25 @@ If the analysis in step 9 reveals ANY ambiguous answers, you MUST:
287
287
  3. **Formatted Workflow Message** (mandatory): Always end with this exact format:
288
288
 
289
289
  ```markdown
290
- > **📋 <u>**REVIEW REQUIRED:**</u>**
291
- > Please examine the user stories and personas at: `aidlc-docs/inception/user-stories/stories.md` and `aidlc-docs/inception/user-stories/personas.md`
292
-
293
-
294
-
295
- > **🚀 <u>**WHAT'S NEXT?**</u>**
296
- >
297
- > **You may:**
298
- >
299
- > 🔧 **Request Changes** - Ask for modifications to the stories or personas based on your review
300
- > **Approve & Continue** - Approve user stories and proceed to **Workflow Planning**
290
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
291
+ │ │
292
+ │ Please examine the user stories and personas at: │
293
+ │ `aidlc-docs/{workflow-id}/inception/user-stories/ │
294
+ │ stories.md` and `personas.md` │
295
+ │ │
296
+ │ --- │
297
+ │ │
298
+ │ **📋 WHAT'S NEXT?** │
299
+ │ │
300
+ **You may:** │
301
+ │ 🔧 **Request Changes** - Ask for modifications to the │
302
+ │ stories or personas based on your review │
303
+ │ ➕ **Add Skipped Stage** - Include a previously excluded │
304
+ │ stage in the workflow │
305
+ │ ✅ **Approve & Continue** - Approve user stories and │
306
+ │ proceed to **Workflow Planning** │
307
+ │ │
308
+ └──────────────────────────────────────────────────────────────────────────────┘
301
309
 
302
310
  ---
303
311
  ```
@@ -452,17 +452,26 @@ I recommend skipping [Y] stages:
452
452
 
453
453
  **Estimated Timeline**: [Duration]
454
454
 
455
- > **📋 <u>**REVIEW REQUIRED:**</u>**
456
- > Please examine the execution plan at: `aidlc-docs/inception/plans/execution-plan.md`
457
-
458
- > **🚀 <u>**WHAT'S NEXT?**</u>**
459
- >
460
- > **You may:**
461
- >
462
- > 🔧 **Request Changes** - Ask for modifications to the execution plan if required
463
- > [IF any stages are skipped:]
464
- > 📝 **Add Skipped Stages** - Choose to include stages currently marked as SKIP
465
- > ✅ **Approve & Continue** - Approve plan and proceed to **[Next Stage Name]**
455
+ ```markdown
456
+ ┌─ REVIEW REQUIRED ──────────────────────────────────────────────────────────┐
457
+ │ │
458
+ Please examine the execution plan at: │
459
+ │ `aidlc-docs/{workflow-id}/inception/plans/ │
460
+ execution-plan.md` │
461
+ │ │
462
+ --- │
463
+ │ │
464
+ **📋 WHAT'S NEXT?** │
465
+ │ │
466
+ │ **You may:** │
467
+ │ 🔧 **Request Changes** - Ask for modifications to the │
468
+ │ execution plan if required │
469
+ │ ➕ **Add Skipped Stage** - Choose to include stages │
470
+ │ currently marked as SKIP │
471
+ │ ✅ **Approve & Continue** - Approve plan and proceed to │
472
+ │ **[Next Stage Name]** │
473
+ │ │
474
+ └──────────────────────────────────────────────────────────────────────────────┘
466
475
  ```
467
476
 
468
477
  ## Step 10: Handle User Response