project-iris 0.0.13 → 0.0.15

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 (189) hide show
  1. package/README.md +261 -94
  2. package/bin/cli.js +21 -0
  3. package/flows/aidlc/README.md +372 -0
  4. package/flows/aidlc/agents/construction-agent.md +79 -0
  5. package/flows/aidlc/agents/inception-agent.md +97 -0
  6. package/flows/aidlc/agents/master-agent.md +61 -0
  7. package/flows/aidlc/agents/operations-agent.md +89 -0
  8. package/flows/aidlc/commands/construction-agent.md +63 -0
  9. package/flows/aidlc/commands/inception-agent.md +55 -0
  10. package/flows/aidlc/commands/master-agent.md +47 -0
  11. package/flows/aidlc/commands/operations-agent.md +77 -0
  12. package/flows/aidlc/context-config.yaml +67 -0
  13. package/flows/aidlc/memory-bank.yaml +104 -0
  14. package/flows/aidlc/quick-start.md +322 -0
  15. package/flows/aidlc/skills/construction/bolt-list.md +163 -0
  16. package/flows/aidlc/skills/construction/bolt-replan.md +345 -0
  17. package/flows/aidlc/skills/construction/bolt-start.md +442 -0
  18. package/flows/aidlc/skills/construction/bolt-status.md +185 -0
  19. package/flows/aidlc/skills/construction/navigator.md +196 -0
  20. package/flows/aidlc/skills/inception/bolt-plan.md +372 -0
  21. package/flows/aidlc/skills/inception/context.md +171 -0
  22. package/flows/aidlc/skills/inception/intent-create.md +211 -0
  23. package/flows/aidlc/skills/inception/intent-list.md +124 -0
  24. package/flows/aidlc/skills/inception/navigator.md +207 -0
  25. package/flows/aidlc/skills/inception/requirements.md +227 -0
  26. package/flows/aidlc/skills/inception/review.md +248 -0
  27. package/flows/aidlc/skills/inception/story-create.md +304 -0
  28. package/flows/aidlc/skills/inception/units.md +278 -0
  29. package/flows/aidlc/skills/master/analyze-context.md +239 -0
  30. package/flows/aidlc/skills/master/answer-question.md +141 -0
  31. package/flows/aidlc/skills/master/explain-flow.md +158 -0
  32. package/flows/aidlc/skills/master/project-init.md +281 -0
  33. package/flows/aidlc/skills/master/route-request.md +126 -0
  34. package/flows/aidlc/skills/operations/build.md +237 -0
  35. package/flows/aidlc/skills/operations/deploy.md +259 -0
  36. package/flows/aidlc/skills/operations/monitor.md +265 -0
  37. package/flows/aidlc/skills/operations/navigator.md +209 -0
  38. package/flows/aidlc/skills/operations/verify.md +224 -0
  39. package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt.md +3 -3
  40. package/{dist → flows/aidlc}/templates/construction/bolt-types/spike-bolt.md +2 -2
  41. package/flows/aidlc/templates/construction/construction-log-template.md +129 -0
  42. package/flows/aidlc/templates/construction/standards/coding-standards.md +29 -0
  43. package/flows/aidlc/templates/construction/standards/system-architecture.md +22 -0
  44. package/flows/aidlc/templates/construction/standards/tech-stack.md +19 -0
  45. package/flows/aidlc/templates/inception/inception-log-template.md +134 -0
  46. package/flows/aidlc/templates/inception/project/README.md +55 -0
  47. package/flows/aidlc/templates/standards/catalog.yaml +345 -0
  48. package/flows/aidlc/templates/standards/coding-standards.guide.md +553 -0
  49. package/flows/aidlc/templates/standards/data-stack.guide.md +162 -0
  50. package/flows/aidlc/templates/standards/tech-stack.guide.md +280 -0
  51. package/lib/InstallerFactory.js +36 -0
  52. package/lib/analytics/env-detector.js +92 -0
  53. package/lib/analytics/index.js +22 -0
  54. package/lib/analytics/machine-id.js +33 -0
  55. package/lib/analytics/tracker.js +232 -0
  56. package/lib/cli-utils.js +342 -0
  57. package/lib/constants.js +32 -0
  58. package/lib/installer.js +402 -0
  59. package/lib/installers/AntigravityInstaller.js +112 -0
  60. package/lib/installers/ClaudeInstaller.js +85 -0
  61. package/lib/installers/ClineInstaller.js +21 -0
  62. package/lib/installers/CodexInstaller.js +21 -0
  63. package/lib/installers/CopilotInstaller.js +113 -0
  64. package/lib/installers/CursorInstaller.js +63 -0
  65. package/lib/installers/GeminiInstaller.js +75 -0
  66. package/lib/installers/KiroInstaller.js +22 -0
  67. package/lib/installers/OpenCodeInstaller.js +22 -0
  68. package/lib/installers/RooInstaller.js +22 -0
  69. package/lib/installers/ToolInstaller.js +73 -0
  70. package/lib/installers/WindsurfInstaller.js +22 -0
  71. package/lib/markdown-validator.ts +175 -0
  72. package/lib/yaml-validator.ts +99 -0
  73. package/package.json +106 -33
  74. package/scripts/artifact-validator.js +594 -0
  75. package/scripts/bolt-complete.js +606 -0
  76. package/scripts/status-integrity.js +598 -0
  77. package/dist/bridge/agent-runner.js +0 -190
  78. package/dist/bridge/connector-factory.js +0 -31
  79. package/dist/bridge/connectors/antigravity-connector.js +0 -18
  80. package/dist/bridge/connectors/cursor-connector.js +0 -31
  81. package/dist/bridge/connectors/in-process-connector.js +0 -29
  82. package/dist/bridge/connectors/vscode-connector.js +0 -31
  83. package/dist/bridge/connectors/windsurf-connector.js +0 -23
  84. package/dist/bridge/filesystem-connector.js +0 -110
  85. package/dist/bridge/helper.js +0 -203
  86. package/dist/bridge/types.js +0 -10
  87. package/dist/cli.js +0 -40
  88. package/dist/commands/ask.js +0 -259
  89. package/dist/commands/bridge.js +0 -88
  90. package/dist/commands/create.js +0 -25
  91. package/dist/commands/develop.js +0 -141
  92. package/dist/commands/doctor.js +0 -102
  93. package/dist/commands/flow.js +0 -301
  94. package/dist/commands/framework.js +0 -273
  95. package/dist/commands/generate.js +0 -59
  96. package/dist/commands/install.js +0 -100
  97. package/dist/commands/pack.js +0 -33
  98. package/dist/commands/phase.js +0 -38
  99. package/dist/commands/run.js +0 -199
  100. package/dist/commands/status.js +0 -114
  101. package/dist/commands/uninstall.js +0 -14
  102. package/dist/commands/use.js +0 -20
  103. package/dist/commands/validate.js +0 -102
  104. package/dist/framework/framework-loader.js +0 -97
  105. package/dist/framework/framework-paths.js +0 -48
  106. package/dist/framework/framework-types.js +0 -15
  107. package/dist/iris/artifact-checker.js +0 -78
  108. package/dist/iris/artifacts/config.js +0 -68
  109. package/dist/iris/artifacts/generator.js +0 -88
  110. package/dist/iris/artifacts/types.js +0 -1
  111. package/dist/iris/bundle.js +0 -44
  112. package/dist/iris/doctrine/collector.js +0 -124
  113. package/dist/iris/fixer.js +0 -149
  114. package/dist/iris/flows/manifest.js +0 -124
  115. package/dist/iris/framework-context.js +0 -49
  116. package/dist/iris/framework-manager.js +0 -215
  117. package/dist/iris/fs/atomic.js +0 -22
  118. package/dist/iris/guard.js +0 -38
  119. package/dist/iris/importers/index.js +0 -9
  120. package/dist/iris/importers/types.js +0 -8
  121. package/dist/iris/importers/writer.js +0 -139
  122. package/dist/iris/include.js +0 -49
  123. package/dist/iris/installer.js +0 -334
  124. package/dist/iris/interactive/env.js +0 -21
  125. package/dist/iris/interactive/intent-interview.js +0 -345
  126. package/dist/iris/interactive/intent-schema.js +0 -28
  127. package/dist/iris/interactive/interview-io.js +0 -22
  128. package/dist/iris/interview/config.js +0 -71
  129. package/dist/iris/interview/types.js +0 -16
  130. package/dist/iris/interview/utils.js +0 -38
  131. package/dist/iris/manifest.js +0 -54
  132. package/dist/iris/packer.js +0 -325
  133. package/dist/iris/parsers/unit-parser.js +0 -43
  134. package/dist/iris/paths.js +0 -18
  135. package/dist/iris/policy.js +0 -133
  136. package/dist/iris/proc.js +0 -56
  137. package/dist/iris/report.js +0 -53
  138. package/dist/iris/resolver.js +0 -66
  139. package/dist/iris/router.js +0 -114
  140. package/dist/iris/routes.js +0 -189
  141. package/dist/iris/run-state.js +0 -146
  142. package/dist/iris/state.js +0 -113
  143. package/dist/iris/templates.js +0 -70
  144. package/dist/iris/tmp.js +0 -24
  145. package/dist/iris/uninstaller.js +0 -181
  146. package/dist/iris/utils/interpolate.js +0 -42
  147. package/dist/iris/validator.js +0 -391
  148. package/dist/iris/workflow/config.js +0 -51
  149. package/dist/iris/workflow/engine.js +0 -129
  150. package/dist/iris/workflow/steps.js +0 -448
  151. package/dist/iris/workflow/types.js +0 -1
  152. package/dist/iris_bundle/frameworks/iris-core/framework.yaml +0 -9
  153. package/dist/iris_bundle/frameworks/iris-core/memory/memory-bank.yaml +0 -1
  154. package/dist/iris_bundle/frameworks/iris-core/policy.yaml +0 -7
  155. package/dist/iris_bundle/frameworks/iris-core/templates/config/memory-bank.yaml +0 -1
  156. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/spike-bolt.md +0 -240
  157. package/dist/lib.js +0 -96
  158. package/dist/templates/construction/bolt-template.md +0 -226
  159. package/dist/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -49
  160. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -55
  161. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -67
  162. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -62
  163. package/dist/templates/construction/bolt-types/ddd-construction-bolt.md +0 -528
  164. package/dist/templates/construction/bolt-types/simple-construction-bolt.md +0 -347
  165. package/dist/templates/inception/requirements-template.md +0 -144
  166. package/dist/templates/inception/stories-template.md +0 -38
  167. package/dist/templates/inception/story-template.md +0 -147
  168. package/dist/templates/inception/system-context-template.md +0 -29
  169. package/dist/templates/inception/unit-brief-template.md +0 -177
  170. package/dist/templates/inception/units-template.md +0 -52
  171. package/dist/utils/exit-codes.js +0 -7
  172. package/dist/utils/logo.js +0 -17
  173. package/dist/workflows/bolt-execution.js +0 -238
  174. package/dist/workflows/bolt-plan.js +0 -221
  175. package/dist/workflows/intent-inception.js +0 -285
  176. package/dist/workflows/memory-bank-generator.js +0 -180
  177. package/dist/workflows/reporting.js +0 -74
  178. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-template.md +0 -0
  179. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -0
  180. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -0
  181. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -0
  182. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -0
  183. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/simple-construction-bolt.md +0 -0
  184. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/requirements-template.md +0 -0
  185. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/stories-template.md +0 -0
  186. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/story-template.md +0 -0
  187. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/system-context-template.md +0 -0
  188. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/unit-brief-template.md +0 -0
  189. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/units-template.md +0 -0
@@ -0,0 +1,372 @@
1
+ # AI-DLC Flow - iris
2
+
3
+ Welcome to the **AI-DLC (AI-Driven Development Life Cycle)** flow for iris!
4
+
5
+ ## What is AI-DLC?
6
+
7
+ AI-DLC is an **AWS methodology** for AI-native software development that optimizes for how AI agents work best. Unlike traditional methodologies, AI-DLC:
8
+
9
+ - Uses **concentrated rapid planning** (Mob Elaboration) that "condenses weeks into hours"
10
+ - Works in **focused bolt sessions** (hours or days, not fixed sprints)
11
+ - Follows **DDD (Domain-Driven Design)** principles
12
+ - Maintains **persistent context** across sessions through memory bank
13
+ - Operates in **three sequential phases**: Inception → Construction → Operations
14
+
15
+ ## Three Phases
16
+
17
+ ### 1. Inception Phase
18
+
19
+ **Goal**: Complete planning and design before construction begins
20
+
21
+ **Activities**:
22
+
23
+ - Gather requirements
24
+ - Create user stories
25
+ - Design architecture
26
+ - Decompose into Units of Work
27
+ - Plan Bolt instances
28
+
29
+ **Command**: `/iris-inception-agent --intent="intent-name"`
30
+
31
+ **Output**:
32
+
33
+ - Requirements documented
34
+ - Stories created
35
+ - Architecture designed
36
+ - Units decomposed
37
+ - Bolts planned
38
+
39
+ ### 2. Construction Phase
40
+
41
+ **Goal**: Build working software through iterative bolt execution
42
+
43
+ **Activities**:
44
+
45
+ - Execute bolts through DDD stages:
46
+ 1. **domain-design** - Model business logic
47
+ 2. **logical-design** - Apply NFRs and patterns
48
+ 3. **code-generation** - Implement code
49
+ 4. **testing** - Automated testing
50
+
51
+ **Command**: `/iris-construction-agent --unit="unit-name"`
52
+
53
+ **Output**:
54
+
55
+ - Domain models
56
+ - Logical designs
57
+ - Implementation code
58
+ - Comprehensive tests
59
+
60
+ ### 3. Operations Phase
61
+
62
+ **Goal**: Deploy and operate the system
63
+
64
+ **Activities**:
65
+
66
+ - Build deployment artifacts
67
+ - Deploy to environments
68
+ - Verify deployments
69
+ - Setup monitoring
70
+
71
+ **Command**: `/iris-operations-agent --unit="unit-name"`
72
+
73
+ **Output**:
74
+
75
+ - Deployed services
76
+ - Monitoring dashboards
77
+ - Deployment documentation
78
+
79
+ ## Artifact Ownership Matrix
80
+
81
+ | Phase / Agent | Primary Output Artifacts | Description |
82
+ |--------------|-------------------------|-------------|
83
+ | **Inception** | **Requirements** | Functional & Non-functional requirements |
84
+ | | **Stories** | User stories scoped to a Unit |
85
+ | | **System Context** | High-level boundaries & actors |
86
+ | | **Unit Decomposition** | Identification of independent units |
87
+ | | **Bolt Plans** | Planned work sessions |
88
+ | **Construction** | **Domain Design** | Entities, Aggregates, Value Objects |
89
+ | | **Logical Design** | APIs, Schemas, Cloud Resources |
90
+ | | **Code** | Source code implementation |
91
+ | | **Tests** | Unit, Integration, & E2E tests |
92
+ | **Operations** | **Build Artifacts** | Docker images, binaries, bundles |
93
+ | | **Infrastructure** | Terraform/CloudFormation/CDK |
94
+ | | **Documentation** | Runbooks, API docs |
95
+
96
+ ## Decomposition Hierarchy
97
+
98
+ AI-DLC distinguishes between the **Data Hierarchy** (what we build) and **Execution** (how we build it).
99
+
100
+ ### Data Hierarchy (Structural)
101
+
102
+ ```text
103
+ Intent (feature/capability)
104
+ └── Unit (independently deployable component)
105
+ └── Story (individual user story or task)
106
+ ```
107
+
108
+ ### Execution (Process)
109
+
110
+ **Bolts** are time-boxed execution sessions scoped to a **Unit**. A Unit may require multiple Bolts to complete all its Stories.
111
+
112
+ **Example**:
113
+
114
+ - **Intent**: User Authentication
115
+ - **Unit**: Auth Service
116
+ - **Story 1**: User Registration
117
+ - **Story 2**: Login
118
+ - **Bolt 1**: Implement Registration (executes Story 1)
119
+ - **Bolt 2**: Implement Login (executes Story 2)
120
+
121
+ ## Agent Capabilities & Slash Commands
122
+
123
+ ### Core Agent Commands (Slash Commands)
124
+
125
+ These are the primary entry points defined in `.cursor/commands` (or your agentic coding tool's equivalent), mapping to `src/flows/aidlc/commands/`:
126
+
127
+ - `/iris-master-agent` - **Start Here**. The Master Orchestrator that routes you to the right place.
128
+ - `/iris-inception-agent` - Start Inception phase
129
+ - `/iris-construction-agent` - Start Construction phase
130
+ - `/iris-operations-agent` - Start Operations phase
131
+
132
+ ### Agent Skills (Internal)
133
+
134
+ Agents execute these skills internally. You generally don't run these directly as slash commands, but the agents use them to perform work.
135
+
136
+ - **Inception**: Gather Requirements, Create Stories, Define Context, Decompose Units
137
+ - **Construction**: Plan Bolts, Start Bolts, Manage Bolt Status
138
+ - **Operations**: Build, Deploy, Verify
139
+
140
+ ## Memory Bank Structure
141
+
142
+ > **Note**: The structure below is an **example**. The authoritative source of truth for the memory bank schema is `.iris/aidlc/memory-bank.yaml`. Agents read that file to determine where to place artifacts.
143
+
144
+ All artifacts are stored in the `memory-bank/` directory:
145
+
146
+ ```text
147
+ memory-bank/
148
+ ├── intents/ # Feature intents
149
+ │ └── {intent-name}/
150
+ │ ├── requirements.md # Functional & non-functional requirements
151
+ │ ├── system-context.md # High-level boundaries & actors
152
+ │ ├── units.md # Unit decomposition overview
153
+ │ └── units/
154
+ │ └── {unit-name}/
155
+ │ ├── unit-brief.md # Unit scope and details
156
+ │ └── stories/
157
+ │ ├── 001-{title}.md
158
+ │ └── 002-{title}.md
159
+ ├── bolts/ # Bolt execution records
160
+ │ └── {bolt-id}/
161
+ │ ├── bolt.md # Bolt instance metadata
162
+ │ ├── ddd-01-domain-model.md # Stage 1: Domain modeling
163
+ │ ├── ddd-02-technical-design.md # Stage 2: Technical design
164
+ │ └── ddd-03-test-report.md # Stage 5: Test report
165
+ ├── standards/ # Project standards
166
+ │ ├── tech-stack.md
167
+ │ ├── coding-standards.md
168
+ │ └── system-architecture.md
169
+ └── operations/ # Deployment context
170
+ ```
171
+
172
+ ## Quick Start Guide
173
+
174
+ ### 1. Create Your First Intent
175
+
176
+ Open your AI coding tool (Claude Code, Cursor, etc.) and type:
177
+
178
+ ```text
179
+ /iris-master-agent
180
+ ```
181
+
182
+ Then type `intent-create` to create your intent (e.g., "user-authentication").
183
+
184
+ ### 2. Run Inception Phase
185
+
186
+ ```text
187
+ /iris-inception-agent --intent="user-authentication"
188
+ ```
189
+
190
+ Work through the Inception menu:
191
+
192
+ 1. Gather Requirements
193
+ 2. Create Stories
194
+ 3. Design Architecture
195
+ 4. Decompose into Units
196
+ 5. Plan Bolts
197
+ 6. Review & Complete
198
+
199
+ ### 3. Execute Construction
200
+
201
+ ```text
202
+ /iris-construction-agent --unit="auth-service"
203
+ ```
204
+
205
+ Start your first bolt and work through the DDD stages:
206
+
207
+ 1. Domain Design
208
+ 2. Logical Design
209
+ 3. Code Generation
210
+ 4. Testing
211
+
212
+ ### 4. Deploy with Operations
213
+
214
+ ```text
215
+ /iris-operations-agent --unit="auth-service"
216
+ ```
217
+
218
+ Deploy your unit:
219
+
220
+ 1. Build Deployment Artifacts
221
+ 2. Deploy to Environment
222
+ 3. Verify Deployment
223
+ 4. Setup Monitoring
224
+
225
+ ## Key Principles
226
+
227
+ ### 1. Mob Elaboration (Rapid Planning)
228
+
229
+ AI-DLC uses **concentrated rapid planning** during Inception. Instead of distributing planning across multiple sprints, you complete all planning in hours (not weeks) to give AI complete cross-unit context.
230
+
231
+ ### 2. AI Plans, Human Validates
232
+
233
+ The AI suggests decompositions and designs, but humans review and approve all decisions.
234
+
235
+ ### 3. Bolts are Flexible
236
+
237
+ Bolts take "hours or days" depending on complexity - they're not fixed-duration like sprints.
238
+
239
+ ### 4. DDD Focus
240
+
241
+ Domain-Driven Design principles guide the entire Construction phase.
242
+
243
+ ### 5. Persistent Context
244
+
245
+ Everything is stored in the memory bank so context is never lost between sessions.
246
+
247
+ ## Workflow Example
248
+
249
+ Here's a complete workflow for building a feature:
250
+
251
+ 1. **Create Intent**
252
+
253
+ ```text
254
+ /iris-master-agent
255
+ # Then type: intent-create
256
+ # Create "user-authentication" intent
257
+ ```
258
+
259
+ 2. **Inception Phase**
260
+
261
+ ```text
262
+ /iris-inception-agent --intent="user-authentication"
263
+ # Complete all inception activities
264
+ # Result: 2 units planned with 3 bolts total
265
+ ```
266
+
267
+ 3. **Construction - Unit 1**
268
+
269
+ ```text
270
+ /iris-construction-agent --unit="auth-service"
271
+ # Execute auth-service-bolt-1 through all stages
272
+ # Execute auth-service-bolt-2 through all stages
273
+ # Result: Auth service fully implemented and tested
274
+ ```
275
+
276
+ 4. **Construction - Unit 2**
277
+
278
+ ```text
279
+ /iris-construction-agent --unit="email-service"
280
+ # Execute email-service-bolt-1
281
+ # Result: Email service implemented
282
+ ```
283
+
284
+ 5. **Operations**
285
+
286
+ ```text
287
+ /iris-operations-agent --unit="auth-service"
288
+ # Build, deploy, verify
289
+ # Result: Auth service running in production
290
+
291
+ /iris-operations-agent --unit="email-service"
292
+ # Build, deploy, verify
293
+ # Result: Email service running in production
294
+ ```
295
+
296
+ ## Tips for Success
297
+
298
+ ### Planning
299
+
300
+ - Be thorough in Inception - it pays off during Construction
301
+ - Document NFRs clearly - they affect logical design
302
+ - Group related stories into the same bolt
303
+
304
+ ### Construction
305
+
306
+ - Follow the DDD stages in order
307
+ - Don't skip testing
308
+ - Keep bolts focused (5-8 stories max)
309
+ - Update memory bank artifacts as you progress
310
+
311
+ ### Operations
312
+
313
+ - Always deploy to staging first
314
+ - Run smoke tests after every deployment
315
+ - Setup monitoring from the start
316
+ - Document runbooks for on-call engineers
317
+
318
+ ## Agents
319
+
320
+ Three specialized agents guide you through AI-DLC:
321
+
322
+ 1. **Master Orchestrator** (`agents/master-agent.md`)
323
+ - Central entry point
324
+ - Workflow routing
325
+ - State analysis
326
+
327
+ 2. **Inception Agent** (`agents/inception-agent.md`)
328
+ - Requirements gathering
329
+ - Story creation
330
+ - Architecture design
331
+ - System Context definition
332
+ - Unit decomposition
333
+ - Bolt planning
334
+
335
+ 3. **Construction Agent** (`agents/construction-agent.md`)
336
+ - Bolt execution
337
+ - DDD stage guidance
338
+ - Code generation
339
+ - Testing
340
+
341
+ 4. **Operations Agent** (`agents/operations-agent.md`)
342
+ - Build artifacts
343
+ - Deployment
344
+ - Verification
345
+ - Monitoring
346
+
347
+ ## Learn More
348
+
349
+ - **Official AI-DLC Documentation**: See `/resource/aidlc-pdf-dump.txt` in the iris repository
350
+ - **Methodology Notes**: See `memory-bank/research/` for methodology research
351
+ - **Agent Details**: Read the agent files in `.iris/aidlc/agents/`
352
+
353
+ ## Getting Help
354
+
355
+ If you get stuck:
356
+
357
+ 1. **Ask the Agent**: Just ask the Master or any agent your question. They can read the memory bank directly.
358
+
359
+ ## Customization
360
+
361
+ You can customize this flow by editing:
362
+
363
+ - `.iris/aidlc/memory-bank.yaml` - Memory bank structure
364
+ - `agents/*-agent.md` - Agent directives and behaviors
365
+ - `commands/*.md` - Slash command definitions
366
+ - `.iris/aidlc/templates/` - Templates used by agents
367
+
368
+ ---
369
+
370
+ **Happy building with AI-DLC!** 🚀
371
+
372
+ *This is the official AI-DLC implementation by iris, following the AWS AI-DLC methodology.*
@@ -0,0 +1,79 @@
1
+ # Construction Agent
2
+
3
+ You are the **Construction Agent** for AI-DLC (AI-Driven Development Life Cycle).
4
+
5
+ ---
6
+
7
+ ## Persona
8
+
9
+ - **Role**: Software Engineer & Bolt Executor
10
+ - **Communication**: Methodical and progress-oriented. Show which stage you're on and what comes next.
11
+ - **Principle**: Bolt types define the workflow - you execute, not invent. Validate at each stage.
12
+
13
+ ---
14
+
15
+ ## On Activation
16
+
17
+ When user invokes `/iris-construction-agent --unit="{name}" [--bolt-id="{id}"]`:
18
+
19
+ 1. Read `.iris/aidlc/memory-bank.yaml` for artifact schema
20
+ 2. Read `.iris/aidlc/context-config.yaml` for project standards
21
+ 3. If `--bolt-id` provided → Execute `bolt-start` skill
22
+ 4. If no `--bolt-id` → Execute `bolt-list` skill (ALWAYS ask which bolt)
23
+
24
+ **CRITICAL**: Never auto-select a bolt. Always ask which bolt to work on.
25
+
26
+ ---
27
+
28
+ ## Skills
29
+
30
+ | Command | Skill | Description |
31
+ |---------|-------|-------------|
32
+ | `bolt-list` | `.iris/aidlc/skills/construction/bolt-list.md` | List bolts, ask which to start |
33
+ | `bolt-start` | `.iris/aidlc/skills/construction/bolt-start.md` | Start or continue a bolt |
34
+ | `bolt-status` | `.iris/aidlc/skills/construction/bolt-status.md` | Check bolt execution status |
35
+ | `bolt-replan` | `.iris/aidlc/skills/construction/bolt-replan.md` | Replan bolts (append, split, reorder) |
36
+
37
+ ---
38
+
39
+ ## Construction Workflow
40
+
41
+ ```text
42
+ [Checkpoint 1] Which bolt to work on? --> User selects
43
+ |
44
+ [Execute stages as defined by bolt type]
45
+ |
46
+ [Handle checkpoints as defined by bolt type]
47
+ |
48
+ [What's Next?] --> Next bolt / Done
49
+ ```
50
+
51
+ **Note**: Stages, checkpoints, and validation rules come from the bolt type definition.
52
+
53
+ ---
54
+
55
+ ## Bolt Types
56
+
57
+ Construction is bolt-type agnostic. Read bolt type definition from:
58
+ `.iris/aidlc/templates/construction/bolt-types/{bolt_type}.md`
59
+
60
+ Current types:
61
+
62
+ - `ddd-construction-bolt` - Domain-Driven Design approach
63
+
64
+ ---
65
+
66
+ ## If Bolt Not Found
67
+
68
+ ```text
69
+ Bolt '{bolt-id}' does not exist. Bolts must be planned during Inception.
70
+ --> /iris-inception-agent --skill="bolt-plan"
71
+ ```
72
+
73
+ **Never create bolt files.** Redirect to Inception Agent.
74
+
75
+ ---
76
+
77
+ ## Begin
78
+
79
+ If `--bolt-id` provided, execute `bolt-start` skill. Otherwise, execute `bolt-list` skill to show available bolts and ask which one to work on.
@@ -0,0 +1,97 @@
1
+ # Inception Agent
2
+
3
+ You are the **Inception Agent** for AI-DLC (AI-Driven Development Life Cycle).
4
+
5
+ ---
6
+
7
+ ## Persona
8
+
9
+ - **Role**: Product Strategist & Requirements Architect
10
+ - **Communication**: Inquisitive and thorough. Ask clarifying questions before assumptions.
11
+ - **Principle**: Clarify FIRST, elaborate SECOND. Complete inception before construction.
12
+
13
+ ---
14
+
15
+ ## On Activation
16
+
17
+ When user invokes `/iris-inception-agent`:
18
+
19
+ 1. Read `.iris/aidlc/memory-bank.yaml` for artifact schema
20
+ 2. Read `.iris/aidlc/context-config.yaml` for project context (under `agents.inception`)
21
+ 3. Load context files as defined (e.g., `project.yaml` for project type awareness)
22
+ 4. Execute `menu` (navigator) skill to show state and options
23
+ 5. Route to selected skill based on user input
24
+
25
+ ---
26
+
27
+ ## Skills
28
+
29
+ | Command | Skill | Description |
30
+ |---------|-------|-------------|
31
+ | `menu` | `.iris/aidlc/skills/inception/navigator.md` | Show progress and options |
32
+ | `create-intent` | `.iris/aidlc/skills/inception/intent-create.md` | Create a new intent |
33
+ | `list-intents` | `.iris/aidlc/skills/inception/intent-list.md` | List all intents |
34
+ | `requirements` | `.iris/aidlc/skills/inception/requirements.md` | Gather requirements |
35
+ | `context` | `.iris/aidlc/skills/inception/context.md` | Define system context |
36
+ | `units` | `.iris/aidlc/skills/inception/units.md` | Decompose into units |
37
+ | `stories` | `.iris/aidlc/skills/inception/story-create.md` | Create user stories |
38
+ | `bolt-plan` | `.iris/aidlc/skills/inception/bolt-plan.md` | Plan construction bolts |
39
+ | `review` | `.iris/aidlc/skills/inception/review.md` | Review and complete |
40
+
41
+ ---
42
+
43
+ ## Inception Workflow (4 Checkpoints)
44
+
45
+ ```text
46
+ [User Request]
47
+ |
48
+ [Checkpoint 1] Clarifying Questions --> User answers
49
+ |
50
+ [Generate Requirements]
51
+ |
52
+ [Checkpoint 2] Requirements Review --> User approves
53
+ |
54
+ [Generate Context + Units + Stories + Bolt Plan] <-- AUTO-CONTINUE
55
+ |
56
+ [Checkpoint 3] Artifacts Review --> User approves
57
+ |
58
+ [Checkpoint 4] Ready for Construction? --> Route to Construction
59
+ ```
60
+
61
+ ### Checkpoint Locations
62
+
63
+ - **Checkpoint 1**: After clarifying questions (requirements skill)
64
+ - **Checkpoint 2**: After requirements generated (requirements skill)
65
+ - **Checkpoint 3**: After all artifacts generated (review skill)
66
+ - **Checkpoint 4**: Ready for construction (review skill)
67
+
68
+ ### Auto-Continue Rule (CRITICAL)
69
+
70
+ **Do NOT ask for confirmation** between these skills - proceed automatically:
71
+
72
+ ```text
73
+ context → units → stories → bolt-plan → review
74
+ ```
75
+
76
+ When a skill completes, immediately execute the next skill without prompting the user.
77
+
78
+ Only stop at designated checkpoints (1-4 above).
79
+
80
+ ---
81
+
82
+ ## Artifacts Created
83
+
84
+ | Artifact | Location | Template |
85
+ |----------|----------|----------|
86
+ | Requirements | `{intent}/requirements.md` | `templates/inception/requirements-template.md` |
87
+ | System Context | `{intent}/system-context.md` | `templates/inception/system-context-template.md` |
88
+ | Units | `{intent}/units.md` | `templates/inception/units-template.md` |
89
+ | Unit Brief | `{intent}/units/{unit}/unit-brief.md` | `templates/inception/unit-brief-template.md` |
90
+ | Stories | `{intent}/units/{unit}/stories/` | `templates/inception/stories-template.md` |
91
+ | Bolt Instances | `memory-bank/bolts/bolt-{unit}-{N}/bolt.md` | `templates/construction/bolt-template.md` |
92
+
93
+ ---
94
+
95
+ ## Begin
96
+
97
+ Execute the `menu` skill to show current state and guide user through inception.
@@ -0,0 +1,61 @@
1
+ # Master Orchestrator Agent
2
+
3
+ You are the **Master Orchestrator Agent** for AI-DLC (AI-Driven Development Life Cycle).
4
+
5
+ ---
6
+
7
+ ## Persona
8
+
9
+ - **Role**: AI-DLC Flow Orchestrator & Project Navigator
10
+ - **Communication**: Concise and directive. Route based on project state, not user guesses.
11
+ - **Principle**: When uncertain, ask clarifying questions rather than assume.
12
+
13
+ ---
14
+
15
+ ## On Activation
16
+
17
+ When user invokes `/iris-master-agent`:
18
+
19
+ 1. Read `.iris/aidlc/memory-bank.yaml` for artifact schema
20
+ 2. Check if project is initialized (standards exist)
21
+ 3. **If NOT initialized** (new user):
22
+ - Execute `explain` skill first to introduce AI-DLC methodology
23
+ - Then proceed to `project-init` skill
24
+ 4. **If initialized**:
25
+ - Execute `analyze` skill to determine project state
26
+ - Route to appropriate skill based on state
27
+
28
+ ---
29
+
30
+ ## Skills
31
+
32
+ | Command | Skill | Description |
33
+ |---------|-------|-------------|
34
+ | `init`, `project-init` | `.iris/aidlc/skills/master/project-init.md` | Initialize project with standards |
35
+ | `analyze` | `.iris/aidlc/skills/master/analyze-context.md` | Analyze project state |
36
+ | `route` | `.iris/aidlc/skills/master/route-request.md` | Route to specialist agent |
37
+ | `explain` | `.iris/aidlc/skills/master/explain-flow.md` | Explain AI-DLC methodology |
38
+ | `answer` | `.iris/aidlc/skills/master/answer-question.md` | Answer questions |
39
+
40
+ ---
41
+
42
+ ## Default Flow
43
+
44
+ ```text
45
+ [1] Check standards exist? → No → [NEW USER FLOW]
46
+ → Yes → [RETURNING USER FLOW]
47
+
48
+ [NEW USER FLOW]
49
+ [1a] Execute explain skill → Introduce AI-DLC methodology
50
+ [1b] Execute project-init skill → Setup project standards
51
+
52
+ [RETURNING USER FLOW]
53
+ [2] Analyze project state → analyze skill
54
+ [3] Route to next agent → route skill
55
+ ```
56
+
57
+ ---
58
+
59
+ ## Begin
60
+
61
+ Execute the `analyze` skill to determine project state and route the user appropriately.
@@ -0,0 +1,89 @@
1
+ # Operations Agent
2
+
3
+ You are the **Operations Agent** for AI-DLC (AI-Driven Development Life Cycle).
4
+
5
+ ---
6
+
7
+ ## Persona
8
+
9
+ - **Role**: DevOps Engineer & Deployment Orchestrator
10
+ - **Communication**: Careful and verification-focused. Double-check prerequisites, never rush to production.
11
+ - **Principle**: Verify before production. Always have a rollback strategy.
12
+
13
+ ---
14
+
15
+ ## On Activation
16
+
17
+ When user invokes `/iris-operations-agent --unit="{name}"`:
18
+
19
+ 1. Read `.iris/aidlc/memory-bank.yaml` for artifact schema
20
+ 2. Verify construction complete (all bolts finished, tests passing)
21
+ 3. If not ready → Redirect to Construction Agent
22
+ 4. If ready → Execute `menu` skill to show deployment status
23
+
24
+ **CRITICAL**: Never deploy to production without staging validation.
25
+
26
+ ---
27
+
28
+ ## Skills
29
+
30
+ | Command | Skill | Description |
31
+ |---------|-------|-------------|
32
+ | `menu` | `.iris/aidlc/skills/operations/menu.md` | Show deployment status and options |
33
+ | `build` | `.iris/aidlc/skills/operations/build.md` | Build deployment artifacts |
34
+ | `deploy` | `.iris/aidlc/skills/operations/deploy.md` | Deploy to environment |
35
+ | `verify` | `.iris/aidlc/skills/operations/verify.md` | Verify deployment success |
36
+ | `monitor` | `.iris/aidlc/skills/operations/monitor.md` | Setup monitoring and observability |
37
+ | `rollback` | `.iris/aidlc/skills/operations/rollback.md` | Rollback to previous version |
38
+
39
+ ---
40
+
41
+ ## Operations Workflow (4 Checkpoints)
42
+
43
+ ```text
44
+ [Prerequisites] Construction complete? --> No --> Redirect to Construction
45
+ |
46
+ Yes
47
+ |
48
+ [Checkpoint 1] Build approval --> User approves
49
+ |
50
+ [Build artifacts + Deploy to Dev]
51
+ |
52
+ [Checkpoint 2] Staging deploy approval --> User approves
53
+ |
54
+ [Deploy to Staging + Verify]
55
+ |
56
+ [Checkpoint 3] Production deploy approval --> User approves
57
+ |
58
+ [Deploy to Production + Verify]
59
+ |
60
+ [Checkpoint 4] Monitoring setup approval --> User approves
61
+ |
62
+ [Configure monitoring + Complete]
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Environment Progression
68
+
69
+ Deployments follow strict progression:
70
+
71
+ 1. **Development** → Fast iteration
72
+ 2. **Staging** → Production-like validation
73
+ 3. **Production** → Real users (requires staging success)
74
+
75
+ **Note**: Skipping environments is forbidden.
76
+
77
+ ---
78
+
79
+ ## Forbidden Actions
80
+
81
+ Operations Agent does NOT execute bolt commands:
82
+
83
+ - `bolt-plan`, `bolt-start`, `bolt-status` → Redirect to Construction Agent
84
+
85
+ ---
86
+
87
+ ## Begin
88
+
89
+ Verify construction is complete, then execute the `menu` skill to show deployment status and guide through the deployment workflow.