olympus-ai 4.5.13 → 4.5.14

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 (49) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/dist/cli/index.js +63 -27
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/hooks/olympus-hooks.cjs +257 -257
  5. package/dist/installer/hooks.d.ts +47 -14
  6. package/dist/installer/hooks.d.ts.map +1 -1
  7. package/dist/installer/hooks.js +45 -77
  8. package/dist/installer/hooks.js.map +1 -1
  9. package/dist/installer/index.d.ts +8 -7
  10. package/dist/installer/index.d.ts.map +1 -1
  11. package/dist/installer/index.js +49 -46
  12. package/dist/installer/index.js.map +1 -1
  13. package/package.json +1 -1
  14. package/resources/config/risk-keywords.json +5 -5
  15. package/resources/rules/common/ascii-diagram-standards.md +115 -115
  16. package/resources/rules/common/content-validation.md +131 -131
  17. package/resources/rules/common/error-handling.md +430 -430
  18. package/resources/rules/common/markdown-formatting.md +170 -170
  19. package/resources/rules/common/overconfidence-prevention.md +100 -100
  20. package/resources/rules/common/pathway-behaviors.json +60 -60
  21. package/resources/rules/common/pathway-behaviors.md +100 -100
  22. package/resources/rules/common/process-overview.md +157 -157
  23. package/resources/rules/common/terminal-formatting.md +161 -161
  24. package/resources/rules/common/terminology.md +189 -189
  25. package/resources/rules/common/welcome-message.md +118 -118
  26. package/resources/rules/common/workflow-changes.md +285 -285
  27. package/resources/rules/construction/bolt-planning.md +153 -153
  28. package/resources/rules/construction/bolt-review.md +143 -143
  29. package/resources/rules/construction/build-and-test.md +527 -527
  30. package/resources/rules/construction/code-generation.md +414 -414
  31. package/resources/rules/construction/documentation.md +201 -201
  32. package/resources/rules/construction/functional-design.md +135 -135
  33. package/resources/rules/construction/infrastructure-design.md +110 -110
  34. package/resources/rules/construction/nfr-design.md +106 -106
  35. package/resources/rules/construction/nfr-requirements.md +118 -118
  36. package/resources/rules/construction/test-generation.md +112 -112
  37. package/resources/rules/core-workflow.md +196 -196
  38. package/resources/rules/inception/application-design.md +195 -195
  39. package/resources/rules/inception/bolt-planning.md +588 -588
  40. package/resources/rules/inception/reverse-engineering.md +354 -354
  41. package/resources/rules/inception/units-generation.md +505 -505
  42. package/resources/rules/inception/user-stories.md +527 -527
  43. package/resources/rules/inception/workspace-detection.md +82 -82
  44. package/resources/rules/operations/operations.md +19 -19
  45. package/resources/skills/brief/templates/ai-dlc-intent-brief-template.md +149 -149
  46. package/resources/skills/getting-started/SKILL.md +79 -79
  47. package/resources/templates/construction/bolt-spec-template.md +270 -270
  48. package/resources/templates/inception/unit-brief-template.md +188 -188
  49. package/resources/templates/inception/units-template.md +99 -99
@@ -1,189 +1,189 @@
1
- # AI-DLC Terminology Glossary
2
-
3
- ## Core Terminology
4
-
5
- ### Phase vs Stage
6
-
7
- **Phase**: One of the three high-level lifecycle phases in AI-DLC
8
- - 🔵 **INCEPTION PHASE** - Planning & Architecture (WHAT and WHY)
9
- - 🟢 **CONSTRUCTION PHASE** - Design, Implementation & Test (HOW)
10
- - 🟡 **OPERATIONS PHASE** - Deployment & Monitoring (future expansion)
11
-
12
- **Stage**: An individual workflow activity within a phase
13
- - Examples: Context Assessment stage, Requirements Assessment stage, Code Planning stage
14
- - Each stage has specific prerequisites, steps, and outputs
15
- - Stages can be ALWAYS-EXECUTE or CONDITIONAL
16
-
17
- **Usage Examples**:
18
- - ✅ "The CONSTRUCTION phase contains 7 stages"
19
- - ✅ "The Code Planning stage is always executed"
20
- - ✅ "We're in the INCEPTION phase, executing the Requirements Assessment stage"
21
- - ❌ "The Requirements Assessment phase" (should be "stage")
22
- - ❌ "The CONSTRUCTION stage" (should be "phase")
23
-
24
- ## Three-Phase Lifecycle
25
-
26
- ### INCEPTION PHASE
27
- **Purpose**: Planning and architectural decisions
28
- **Focus**: Determine WHAT to build and WHY
29
- **Location**: `inception/` directory
30
-
31
- **Stages**:
32
- - Workspace Detection (ALWAYS)
33
- - Reverse Engineering (CONDITIONAL - Brownfield only)
34
- - Requirements Analysis (ALWAYS - Adaptive depth)
35
- - User Stories (CONDITIONAL)
36
- - Workflow Planning (ALWAYS)
37
- - Units Generation (CONDITIONAL)
38
-
39
- **Outputs**: Requirements, user stories, architectural decisions, unit definitions
40
-
41
- ### CONSTRUCTION PHASE
42
- **Purpose**: Detailed design and implementation
43
- **Focus**: Determine HOW to build it
44
- **Location**: `construction/` directory
45
-
46
- **Stages**:
47
- - Functional Design (CONDITIONAL, per-unit)
48
- - NFR Requirements (CONDITIONAL, per-unit)
49
- - NFR Design (CONDITIONAL, per-unit)
50
- - Infrastructure Design (CONDITIONAL, per-unit)
51
- - Code Planning (ALWAYS)
52
- - Code Generation (ALWAYS)
53
- - Build and Test (ALWAYS)
54
-
55
- **Outputs**: Design artifacts, NFR implementations, code, tests
56
-
57
- ### OPERATIONS PHASE
58
- **Purpose**: Deployment and operational readiness
59
- **Focus**: How to DEPLOY and RUN it
60
- **Location**: `operations/` directory
61
-
62
- **Stages**:
63
- - Operations (PLACEHOLDER)
64
-
65
- **Outputs**: Build instructions, deployment guides, monitoring setup, verification procedures
66
-
67
- ---
68
-
69
- ## Workflow Stages
70
-
71
- ### Always-Execute Stages
72
- - **Workspace Detection**: Initial analysis of workspace state and project type
73
- - **Requirements Analysis**: Gathering requirements (depth varies based on complexity)
74
- - **Workflow Planning**: Creating execution plan for which phases to run
75
- - **Code Planning**: Creating detailed implementation plans for code generation
76
- - **Code Generation**: Generating actual code based on plans and prior artifacts
77
- - **Build and Test**: Building all units and executing comprehensive testing
78
-
79
- ### Conditional Stages
80
- - **Reverse Engineering**: Analyzing existing codebase (brownfield projects only)
81
- - **User Stories**: Creating user stories and personas (includes Story Planning and Story Generation)
82
- - **Units Generation**: Decomposing the system into independent domain units
83
- - **Functional Design**: Technology-agnostic business logic design (per-unit)
84
- - **NFR Requirements**: Determining NFRs and selecting tech stack (per-unit)
85
- - **NFR Design**: Incorporating NFR patterns and logical components (per-unit)
86
- - **Infrastructure Design**: Mapping to actual infrastructure services (per-unit)
87
-
88
- ## Domain Design Terms
89
-
90
- _Application Design stage was merged into Units Generation (INCEPTION phase)._
91
-
92
- - **Component**: A functional unit with specific responsibilities
93
- - **Method**: A function or operation within a component with defined business rules
94
- - **Business Rule**: Logic that governs method behavior and validation
95
- - **Service**: Orchestration layer that coordinates business logic across components
96
- - **Component Dependency**: Relationship and communication pattern between components
97
-
98
- ## Architecture Terms (Infrastructure)
99
-
100
- ### Unit of Work
101
- A logical grouping of user stories for development purposes. The term used during planning and decomposition.
102
-
103
- **Usage**: "We need to decompose the system into units of work"
104
-
105
- ### Service
106
- An independently deployable component in a microservices architecture. Each service is a separate unit of work.
107
-
108
- **Usage**: "The Payment Service handles all payment processing"
109
-
110
- ### Module
111
- A logical grouping of functionality within a single service or monolith. Modules are not independently deployable.
112
-
113
- **Usage**: "The authentication module within the User Service"
114
-
115
- ### Component
116
- A reusable building block within a service or module. Components are classes, functions, or packages that provide specific functionality.
117
-
118
- **Usage**: "The EmailValidator component validates email addresses"
119
-
120
- ## Terminology Guidelines
121
-
122
- ### When to Use Each Term
123
-
124
- **Unit of Work**:
125
- - During Units Planning and Units Generation phases
126
- - When discussing system decomposition
127
- - In planning documents and discussions
128
- - Example: "How should we decompose this into units of work?"
129
-
130
- **Service**:
131
- - When referring to independently deployable components
132
- - In microservices architecture contexts
133
- - In deployment and infrastructure discussions
134
- - Example: "The Order Service will be deployed to ECS"
135
-
136
- **Module**:
137
- - When referring to logical groupings within a service
138
- - In monolith architecture contexts
139
- - When discussing internal organization
140
- - Example: "The reporting module generates all reports"
141
-
142
- **Component**:
143
- - When referring to specific classes, functions, or packages
144
- - In design and implementation discussions
145
- - When discussing reusable building blocks
146
- - Example: "The DatabaseConnection component manages connections"
147
-
148
- ## Stage Terminology
149
-
150
- ### Planning vs Generation
151
- - **Planning**: Creating a plan with questions and checkboxes for execution
152
- - **Generation**: Executing the plan to create artifacts
153
-
154
- Examples:
155
- - Story Planning → Story Generation
156
- - Units Planning → Units Generation
157
- - Unit Design Planning → Unit Design Generation
158
- - NFR Planning → NFR Generation
159
- - Code Planning → Code Generation
160
-
161
- ### Depth Levels
162
- - **Minimal**: Quick, focused execution for simple changes
163
- - **Standard**: Normal depth with standard artifacts for typical projects
164
- - **Comprehensive**: Full depth with all artifacts for complex/high-risk projects
165
-
166
- ## Artifact Types
167
-
168
- ### Plans
169
- Documents with checkboxes and questions that guide execution.
170
- - Located in `aidlc-docs/plans/`
171
- - Examples: `story-generation-plan.md`, `unit-of-work-plan.md`
172
-
173
- ### Artifacts
174
- Generated outputs from executing plans.
175
- - Located in various `aidlc-docs/` subdirectories
176
- - Examples: `requirements.md`, `stories.md`, `design.md`
177
-
178
- ### State Files
179
- Files tracking workflow progress and status.
180
- - `aidlc-state.md`: Overall workflow state
181
- - `audit.md`: Complete audit trail of all interactions
182
-
183
- ## Common Abbreviations
184
-
185
- - **AI-DLC**: AI-Driven Development Life Cycle
186
- - **NFR**: Non-Functional Requirements
187
- - **UOW**: Unit of Work
188
- - **API**: Application Programming Interface
189
- - **CDK**: Cloud Development Kit (AWS)
1
+ # AI-DLC Terminology Glossary
2
+
3
+ ## Core Terminology
4
+
5
+ ### Phase vs Stage
6
+
7
+ **Phase**: One of the three high-level lifecycle phases in AI-DLC
8
+ - 🔵 **INCEPTION PHASE** - Planning & Architecture (WHAT and WHY)
9
+ - 🟢 **CONSTRUCTION PHASE** - Design, Implementation & Test (HOW)
10
+ - 🟡 **OPERATIONS PHASE** - Deployment & Monitoring (future expansion)
11
+
12
+ **Stage**: An individual workflow activity within a phase
13
+ - Examples: Context Assessment stage, Requirements Assessment stage, Code Planning stage
14
+ - Each stage has specific prerequisites, steps, and outputs
15
+ - Stages can be ALWAYS-EXECUTE or CONDITIONAL
16
+
17
+ **Usage Examples**:
18
+ - ✅ "The CONSTRUCTION phase contains 7 stages"
19
+ - ✅ "The Code Planning stage is always executed"
20
+ - ✅ "We're in the INCEPTION phase, executing the Requirements Assessment stage"
21
+ - ❌ "The Requirements Assessment phase" (should be "stage")
22
+ - ❌ "The CONSTRUCTION stage" (should be "phase")
23
+
24
+ ## Three-Phase Lifecycle
25
+
26
+ ### INCEPTION PHASE
27
+ **Purpose**: Planning and architectural decisions
28
+ **Focus**: Determine WHAT to build and WHY
29
+ **Location**: `inception/` directory
30
+
31
+ **Stages**:
32
+ - Workspace Detection (ALWAYS)
33
+ - Reverse Engineering (CONDITIONAL - Brownfield only)
34
+ - Requirements Analysis (ALWAYS - Adaptive depth)
35
+ - User Stories (CONDITIONAL)
36
+ - Workflow Planning (ALWAYS)
37
+ - Units Generation (CONDITIONAL)
38
+
39
+ **Outputs**: Requirements, user stories, architectural decisions, unit definitions
40
+
41
+ ### CONSTRUCTION PHASE
42
+ **Purpose**: Detailed design and implementation
43
+ **Focus**: Determine HOW to build it
44
+ **Location**: `construction/` directory
45
+
46
+ **Stages**:
47
+ - Functional Design (CONDITIONAL, per-unit)
48
+ - NFR Requirements (CONDITIONAL, per-unit)
49
+ - NFR Design (CONDITIONAL, per-unit)
50
+ - Infrastructure Design (CONDITIONAL, per-unit)
51
+ - Code Planning (ALWAYS)
52
+ - Code Generation (ALWAYS)
53
+ - Build and Test (ALWAYS)
54
+
55
+ **Outputs**: Design artifacts, NFR implementations, code, tests
56
+
57
+ ### OPERATIONS PHASE
58
+ **Purpose**: Deployment and operational readiness
59
+ **Focus**: How to DEPLOY and RUN it
60
+ **Location**: `operations/` directory
61
+
62
+ **Stages**:
63
+ - Operations (PLACEHOLDER)
64
+
65
+ **Outputs**: Build instructions, deployment guides, monitoring setup, verification procedures
66
+
67
+ ---
68
+
69
+ ## Workflow Stages
70
+
71
+ ### Always-Execute Stages
72
+ - **Workspace Detection**: Initial analysis of workspace state and project type
73
+ - **Requirements Analysis**: Gathering requirements (depth varies based on complexity)
74
+ - **Workflow Planning**: Creating execution plan for which phases to run
75
+ - **Code Planning**: Creating detailed implementation plans for code generation
76
+ - **Code Generation**: Generating actual code based on plans and prior artifacts
77
+ - **Build and Test**: Building all units and executing comprehensive testing
78
+
79
+ ### Conditional Stages
80
+ - **Reverse Engineering**: Analyzing existing codebase (brownfield projects only)
81
+ - **User Stories**: Creating user stories and personas (includes Story Planning and Story Generation)
82
+ - **Units Generation**: Decomposing the system into independent domain units
83
+ - **Functional Design**: Technology-agnostic business logic design (per-unit)
84
+ - **NFR Requirements**: Determining NFRs and selecting tech stack (per-unit)
85
+ - **NFR Design**: Incorporating NFR patterns and logical components (per-unit)
86
+ - **Infrastructure Design**: Mapping to actual infrastructure services (per-unit)
87
+
88
+ ## Domain Design Terms
89
+
90
+ _Application Design stage was merged into Units Generation (INCEPTION phase)._
91
+
92
+ - **Component**: A functional unit with specific responsibilities
93
+ - **Method**: A function or operation within a component with defined business rules
94
+ - **Business Rule**: Logic that governs method behavior and validation
95
+ - **Service**: Orchestration layer that coordinates business logic across components
96
+ - **Component Dependency**: Relationship and communication pattern between components
97
+
98
+ ## Architecture Terms (Infrastructure)
99
+
100
+ ### Unit of Work
101
+ A logical grouping of user stories for development purposes. The term used during planning and decomposition.
102
+
103
+ **Usage**: "We need to decompose the system into units of work"
104
+
105
+ ### Service
106
+ An independently deployable component in a microservices architecture. Each service is a separate unit of work.
107
+
108
+ **Usage**: "The Payment Service handles all payment processing"
109
+
110
+ ### Module
111
+ A logical grouping of functionality within a single service or monolith. Modules are not independently deployable.
112
+
113
+ **Usage**: "The authentication module within the User Service"
114
+
115
+ ### Component
116
+ A reusable building block within a service or module. Components are classes, functions, or packages that provide specific functionality.
117
+
118
+ **Usage**: "The EmailValidator component validates email addresses"
119
+
120
+ ## Terminology Guidelines
121
+
122
+ ### When to Use Each Term
123
+
124
+ **Unit of Work**:
125
+ - During Units Planning and Units Generation phases
126
+ - When discussing system decomposition
127
+ - In planning documents and discussions
128
+ - Example: "How should we decompose this into units of work?"
129
+
130
+ **Service**:
131
+ - When referring to independently deployable components
132
+ - In microservices architecture contexts
133
+ - In deployment and infrastructure discussions
134
+ - Example: "The Order Service will be deployed to ECS"
135
+
136
+ **Module**:
137
+ - When referring to logical groupings within a service
138
+ - In monolith architecture contexts
139
+ - When discussing internal organization
140
+ - Example: "The reporting module generates all reports"
141
+
142
+ **Component**:
143
+ - When referring to specific classes, functions, or packages
144
+ - In design and implementation discussions
145
+ - When discussing reusable building blocks
146
+ - Example: "The DatabaseConnection component manages connections"
147
+
148
+ ## Stage Terminology
149
+
150
+ ### Planning vs Generation
151
+ - **Planning**: Creating a plan with questions and checkboxes for execution
152
+ - **Generation**: Executing the plan to create artifacts
153
+
154
+ Examples:
155
+ - Story Planning → Story Generation
156
+ - Units Planning → Units Generation
157
+ - Unit Design Planning → Unit Design Generation
158
+ - NFR Planning → NFR Generation
159
+ - Code Planning → Code Generation
160
+
161
+ ### Depth Levels
162
+ - **Minimal**: Quick, focused execution for simple changes
163
+ - **Standard**: Normal depth with standard artifacts for typical projects
164
+ - **Comprehensive**: Full depth with all artifacts for complex/high-risk projects
165
+
166
+ ## Artifact Types
167
+
168
+ ### Plans
169
+ Documents with checkboxes and questions that guide execution.
170
+ - Located in `aidlc-docs/plans/`
171
+ - Examples: `story-generation-plan.md`, `unit-of-work-plan.md`
172
+
173
+ ### Artifacts
174
+ Generated outputs from executing plans.
175
+ - Located in various `aidlc-docs/` subdirectories
176
+ - Examples: `requirements.md`, `stories.md`, `design.md`
177
+
178
+ ### State Files
179
+ Files tracking workflow progress and status.
180
+ - `aidlc-state.md`: Overall workflow state
181
+ - `audit.md`: Complete audit trail of all interactions
182
+
183
+ ## Common Abbreviations
184
+
185
+ - **AI-DLC**: AI-Driven Development Life Cycle
186
+ - **NFR**: Non-Functional Requirements
187
+ - **UOW**: Unit of Work
188
+ - **API**: Application Programming Interface
189
+ - **CDK**: Cloud Development Kit (AWS)
@@ -1,118 +1,118 @@
1
- # AI-DLC Welcome Message
2
-
3
- **Purpose**: This file contains the user-facing welcome message that should be displayed ONCE at the start of any AI-DLC workflow.
4
-
5
- ---
6
-
7
- # 👋 Welcome to AI-DLC (AI-Driven Development Life Cycle)! 👋
8
-
9
- I'll guide you through an adaptive software development workflow that intelligently tailors itself to your specific needs.
10
-
11
- ## What is AI-DLC?
12
-
13
- AI-DLC is a structured yet flexible software development process that adapts to your project's needs. Think of it as having an experienced software architect who:
14
-
15
- - **Analyzes your requirements** and asks clarifying questions when needed
16
- - **Plans the optimal approach** based on complexity and risk
17
- - **Skips unnecessary steps** for simple changes while providing comprehensive coverage for complex projects
18
- - **Documents everything** so you have a complete record of decisions and rationale
19
- - **Guides you through each phase** with clear checkpoints and approval gates
20
-
21
- ## The Three-Phase Lifecycle
22
-
23
- ```
24
- User Request
25
- |
26
- v
27
- ╔═══════════════════════════════════════╗
28
- ║ INCEPTION PHASE ║
29
- ║ Planning & Application Design ║
30
- ╠═══════════════════════════════════════╣
31
- ║ • Workspace Detection (ALWAYS) ║
32
- ║ • Reverse Engineering (COND) ║
33
- ║ • Requirements Analysis (ALWAYS) ║
34
- ║ • User Stories (CONDITIONAL) ║
35
- ║ • Workflow Planning (ALWAYS) ║
36
- ║ • Application Design (CONDITIONAL) ║
37
- ║ • Units Generation (CONDITIONAL) ║
38
- ╚═══════════════════════════════════════╝
39
- |
40
- v
41
- ╔═══════════════════════════════════════╗
42
- ║ CONSTRUCTION PHASE ║
43
- ║ Design, Implementation & Test ║
44
- ╠═══════════════════════════════════════╣
45
- ║ • Per-Unit Loop (for each unit): ║
46
- ║ - Functional Design (COND) ║
47
- ║ - NFR Requirements Assess (COND) ║
48
- ║ - NFR Design (COND) ║
49
- ║ - Infrastructure Design (COND) ║
50
- ║ - Unit → Bolt Decomposition ║
51
- ║ ║
52
- ║ • Per-Bolt Loop (for each bolt): ║
53
- ║ - Elaboration (COND) ║
54
- ║ - Code Generation (ALWAYS) ║
55
- ║ - Build and Test (ALWAYS) ║
56
- ║ - Review (ALWAYS) ║
57
- ║ ║
58
- ║ • Final Build and Test (ALWAYS) ║
59
- ╚═══════════════════════════════════════╝
60
- |
61
- v
62
- ╔═══════════════════════════════════════╗
63
- ║ OPERATIONS PHASE ║
64
- ║ Placeholder for Future ║
65
- ╠═══════════════════════════════════════╣
66
- ║ • Operations (PLACEHOLDER) ║
67
- ╚═══════════════════════════════════════╝
68
- |
69
- v
70
- Complete
71
- ```
72
-
73
- ### Phase Breakdown:
74
-
75
- **INCEPTION PHASE** - *Planning & Application Design*
76
- - **Purpose**: Determines WHAT to build and WHY
77
- - **Activities**: Understanding requirements, analyzing existing code (if any), planning the approach
78
- - **Output**: Clear requirements, execution plan, decisions on the number of units of work for parallel development
79
- - **Your Role**: Answer questions, review plans, approve direction
80
-
81
- **CONSTRUCTION PHASE** - *Detailed Design, Implementation & Test*
82
- - **Purpose**: Determines HOW to build it
83
- - **Activities**: Detailed design (when needed), unit decomposition into bolts, per-bolt code generation and testing
84
- - **Output**: Working code, tests, build instructions
85
- - **Your Role**: Review designs, approve bolt plans, validate results
86
-
87
- > **What is a Bolt?** A bolt is the smallest unit of execution in AI-DLC — a focused implementation task (typically hours of work, not days). Each unit of work is decomposed into one or more bolts, and each bolt goes through its own lifecycle: **Elaboration** (detailed spec) → **Code Generation** → **Build and Test** → **Review**. Simple bolts run in *express mode*, skipping elaboration for faster delivery.
88
-
89
- **OPERATIONS PHASE** - *Deployment & Monitoring (Future)*
90
- - **Purpose**: How to DEPLOY and RUN it
91
- - **Status**: Placeholder for future deployment and monitoring workflows
92
- - **Current State**: Build and test activities handled in CONSTRUCTION phase
93
-
94
- ## Key Principles:
95
-
96
- - ⚡ **Fully Adaptive**: Each stage independently evaluated based on your needs
97
- - 🎯 **Efficient**: Simple changes execute only essential stages
98
- - 📋 **Comprehensive**: Complex changes get full treatment with all safeguards
99
- - 🔍 **Transparent**: You see and approve the execution plan before work begins
100
- - 📝 **Documented**: Complete audit trail of all decisions and changes
101
- - 🎛️ **User Control**: You can request stages be included or excluded
102
-
103
- ## What Happens Next:
104
-
105
- 1. **I'll analyze your workspace** to understand if this is a new or existing project
106
- 2. **I'll gather requirements** and ask clarifying questions if needed
107
- 3. **I'll create an execution plan** showing which stages I propose to run and why
108
- 4. **You'll review and approve** the plan (or request changes)
109
- 5. **We'll execute the plan** with checkpoints at each major stage
110
- 6. **You'll get working code** with complete documentation and tests
111
-
112
- The AI-DLC process adapts to:
113
- - 📋 Your intent clarity and complexity
114
- - 🔍 Existing codebase state
115
- - 🎯 Scope and impact of changes
116
- - ⚡ Risk and quality requirements
117
-
118
- Let's begin!
1
+ # AI-DLC Welcome Message
2
+
3
+ **Purpose**: This file contains the user-facing welcome message that should be displayed ONCE at the start of any AI-DLC workflow.
4
+
5
+ ---
6
+
7
+ # 👋 Welcome to AI-DLC (AI-Driven Development Life Cycle)! 👋
8
+
9
+ I'll guide you through an adaptive software development workflow that intelligently tailors itself to your specific needs.
10
+
11
+ ## What is AI-DLC?
12
+
13
+ AI-DLC is a structured yet flexible software development process that adapts to your project's needs. Think of it as having an experienced software architect who:
14
+
15
+ - **Analyzes your requirements** and asks clarifying questions when needed
16
+ - **Plans the optimal approach** based on complexity and risk
17
+ - **Skips unnecessary steps** for simple changes while providing comprehensive coverage for complex projects
18
+ - **Documents everything** so you have a complete record of decisions and rationale
19
+ - **Guides you through each phase** with clear checkpoints and approval gates
20
+
21
+ ## The Three-Phase Lifecycle
22
+
23
+ ```
24
+ User Request
25
+ |
26
+ v
27
+ ╔═══════════════════════════════════════╗
28
+ ║ INCEPTION PHASE ║
29
+ ║ Planning & Application Design ║
30
+ ╠═══════════════════════════════════════╣
31
+ ║ • Workspace Detection (ALWAYS) ║
32
+ ║ • Reverse Engineering (COND) ║
33
+ ║ • Requirements Analysis (ALWAYS) ║
34
+ ║ • User Stories (CONDITIONAL) ║
35
+ ║ • Workflow Planning (ALWAYS) ║
36
+ ║ • Application Design (CONDITIONAL) ║
37
+ ║ • Units Generation (CONDITIONAL) ║
38
+ ╚═══════════════════════════════════════╝
39
+ |
40
+ v
41
+ ╔═══════════════════════════════════════╗
42
+ ║ CONSTRUCTION PHASE ║
43
+ ║ Design, Implementation & Test ║
44
+ ╠═══════════════════════════════════════╣
45
+ ║ • Per-Unit Loop (for each unit): ║
46
+ ║ - Functional Design (COND) ║
47
+ ║ - NFR Requirements Assess (COND) ║
48
+ ║ - NFR Design (COND) ║
49
+ ║ - Infrastructure Design (COND) ║
50
+ ║ - Unit → Bolt Decomposition ║
51
+ ║ ║
52
+ ║ • Per-Bolt Loop (for each bolt): ║
53
+ ║ - Elaboration (COND) ║
54
+ ║ - Code Generation (ALWAYS) ║
55
+ ║ - Build and Test (ALWAYS) ║
56
+ ║ - Review (ALWAYS) ║
57
+ ║ ║
58
+ ║ • Final Build and Test (ALWAYS) ║
59
+ ╚═══════════════════════════════════════╝
60
+ |
61
+ v
62
+ ╔═══════════════════════════════════════╗
63
+ ║ OPERATIONS PHASE ║
64
+ ║ Placeholder for Future ║
65
+ ╠═══════════════════════════════════════╣
66
+ ║ • Operations (PLACEHOLDER) ║
67
+ ╚═══════════════════════════════════════╝
68
+ |
69
+ v
70
+ Complete
71
+ ```
72
+
73
+ ### Phase Breakdown:
74
+
75
+ **INCEPTION PHASE** - *Planning & Application Design*
76
+ - **Purpose**: Determines WHAT to build and WHY
77
+ - **Activities**: Understanding requirements, analyzing existing code (if any), planning the approach
78
+ - **Output**: Clear requirements, execution plan, decisions on the number of units of work for parallel development
79
+ - **Your Role**: Answer questions, review plans, approve direction
80
+
81
+ **CONSTRUCTION PHASE** - *Detailed Design, Implementation & Test*
82
+ - **Purpose**: Determines HOW to build it
83
+ - **Activities**: Detailed design (when needed), unit decomposition into bolts, per-bolt code generation and testing
84
+ - **Output**: Working code, tests, build instructions
85
+ - **Your Role**: Review designs, approve bolt plans, validate results
86
+
87
+ > **What is a Bolt?** A bolt is the smallest unit of execution in AI-DLC — a focused implementation task (typically hours of work, not days). Each unit of work is decomposed into one or more bolts, and each bolt goes through its own lifecycle: **Elaboration** (detailed spec) → **Code Generation** → **Build and Test** → **Review**. Simple bolts run in *express mode*, skipping elaboration for faster delivery.
88
+
89
+ **OPERATIONS PHASE** - *Deployment & Monitoring (Future)*
90
+ - **Purpose**: How to DEPLOY and RUN it
91
+ - **Status**: Placeholder for future deployment and monitoring workflows
92
+ - **Current State**: Build and test activities handled in CONSTRUCTION phase
93
+
94
+ ## Key Principles:
95
+
96
+ - ⚡ **Fully Adaptive**: Each stage independently evaluated based on your needs
97
+ - 🎯 **Efficient**: Simple changes execute only essential stages
98
+ - 📋 **Comprehensive**: Complex changes get full treatment with all safeguards
99
+ - 🔍 **Transparent**: You see and approve the execution plan before work begins
100
+ - 📝 **Documented**: Complete audit trail of all decisions and changes
101
+ - 🎛️ **User Control**: You can request stages be included or excluded
102
+
103
+ ## What Happens Next:
104
+
105
+ 1. **I'll analyze your workspace** to understand if this is a new or existing project
106
+ 2. **I'll gather requirements** and ask clarifying questions if needed
107
+ 3. **I'll create an execution plan** showing which stages I propose to run and why
108
+ 4. **You'll review and approve** the plan (or request changes)
109
+ 5. **We'll execute the plan** with checkpoints at each major stage
110
+ 6. **You'll get working code** with complete documentation and tests
111
+
112
+ The AI-DLC process adapts to:
113
+ - 📋 Your intent clarity and complexity
114
+ - 🔍 Existing codebase state
115
+ - 🎯 Scope and impact of changes
116
+ - ⚡ Risk and quality requirements
117
+
118
+ Let's begin!