project-iris 0.0.16 → 0.0.18

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 (42) hide show
  1. package/README.md +86 -15
  2. package/flows/aidlc/README.md +358 -214
  3. package/flows/aidlc/agents/README.md +154 -0
  4. package/flows/aidlc/agents/inception-agent.md +23 -12
  5. package/flows/aidlc/agents/master-agent.md +204 -24
  6. package/flows/aidlc/memory-bank.yaml +61 -10
  7. package/flows/aidlc/quick-start.md +7 -7
  8. package/flows/aidlc/skills/README.md +106 -0
  9. package/flows/aidlc/skills/construction/bolt-start.md +5 -1
  10. package/flows/aidlc/skills/construction/navigator.md +1 -1
  11. package/flows/aidlc/skills/inception/bolt-plan.md +3 -2
  12. package/flows/aidlc/skills/inception/context.md +2 -1
  13. package/flows/aidlc/skills/inception/intent-create.md +91 -2
  14. package/flows/aidlc/skills/inception/navigator.md +13 -8
  15. package/flows/aidlc/skills/inception/requirements.md +541 -95
  16. package/flows/aidlc/skills/inception/review.md +75 -11
  17. package/flows/aidlc/skills/inception/risks.md +541 -0
  18. package/flows/aidlc/skills/inception/story-create.md +2 -1
  19. package/flows/aidlc/skills/inception/units.md +2 -1
  20. package/flows/aidlc/skills/master/answer-question.md +1 -1
  21. package/flows/aidlc/skills/master/code-elevate.md +434 -0
  22. package/flows/aidlc/skills/master/explain-flow.md +6 -6
  23. package/flows/aidlc/skills/master/project-init.md +110 -12
  24. package/flows/aidlc/skills/operations/build.md +32 -4
  25. package/flows/aidlc/skills/operations/monitor.md +75 -14
  26. package/flows/aidlc/skills/operations/rollback.md +239 -0
  27. package/flows/aidlc/templates/README.md +128 -0
  28. package/flows/aidlc/templates/construction/bolt-template.md +5 -5
  29. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/{ddd-02-technical-design-template.md → ddd-02-logical-design-template.md} +1 -1
  30. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +123 -41
  31. package/flows/aidlc/templates/construction/bolt-types/simple-construction-bolt.md +6 -6
  32. package/flows/aidlc/templates/construction/construction-guide.md +244 -0
  33. package/flows/aidlc/templates/construction/construction-log-template.md +7 -6
  34. package/flows/aidlc/templates/construction/elevation-dynamic-model-template.md +265 -0
  35. package/flows/aidlc/templates/construction/elevation-static-model-template.md +204 -0
  36. package/flows/aidlc/templates/inception/prfaq-template.md +147 -0
  37. package/flows/aidlc/templates/inception/requirements-template.md +70 -5
  38. package/flows/aidlc/templates/inception/risks-template.md +214 -0
  39. package/flows/aidlc/templates/operations/deployment-unit-template.md +228 -0
  40. package/package.json +1 -1
  41. package/flows/aidlc/templates/inception/project/README.md +0 -55
  42. /package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/{ddd-01-domain-model-template.md → ddd-01-domain-design-template.md} +0 -0
package/README.md CHANGED
@@ -52,7 +52,7 @@ iris provides four specialized agents that guide you through the entire developm
52
52
  | Phase | Agent | Purpose | Key Outputs |
53
53
  |-------|-------|---------|-------------|
54
54
  | **Inception** | Inception Agent | Capture intents, elaborate requirements, decompose into units | User stories, NFRs, Unit definitions, Bolt plans |
55
- | **Construction** | Construction Agent | Execute bolts through domain designlogical designcodetest | Domain models, Technical designs, Code, Tests |
55
+ | **Construction** | Construction Agent | Execute bolts through Domain DesignLogical DesignCode Generation Testing | Domain designs, Logical designs, Code, Tests |
56
56
  | **Operations** | Operations Agent | Deploy, verify, and monitor | Deployment units, Monitoring, Runbooks |
57
57
 
58
58
  ---
@@ -115,16 +115,61 @@ The agent will:
115
115
  ```
116
116
 
117
117
  Each bolt goes through validated stages:
118
- 1. **Domain Model** - Model business logic using DDD principles
119
- 2. **Technical Design** - Apply patterns and make architecture decisions
118
+ 1. **Domain Design** - Model business logic using DDD principles
119
+ 2. **Logical Design** - Apply patterns and make architecture decisions
120
120
  3. **ADR Analysis** - Document significant decisions (optional)
121
- 4. **Implement** - Generate production code
122
- 5. **Test** - Verify correctness with automated tests
121
+ 4. **Code Generation** - Generate production code
122
+ 5. **Testing** - Verify correctness with automated tests
123
123
 
124
124
  **Human validation happens at each stage gate.**
125
125
 
126
126
  ---
127
127
 
128
+ ## Project Scenarios
129
+
130
+ iris supports both new projects and existing codebases.
131
+
132
+ ### Greenfield (New Projects)
133
+
134
+ Starting fresh with no existing code:
135
+
136
+ ```bash
137
+ /iris-master-agent
138
+ # Then type: project-init
139
+ ```
140
+
141
+ 1. Initialize project with standards (tech stack, coding standards, architecture)
142
+ 2. Begin Inception phase immediately
143
+ 3. Build from scratch using AI-DLC methodology
144
+
145
+ ### Brownfield (Existing Codebases)
146
+
147
+ Adding features to an existing codebase requires understanding what's already there:
148
+
149
+ ```bash
150
+ /iris-master-agent
151
+ # Then type: code-elevate
152
+ ```
153
+
154
+ **Code Elevation** analyzes your existing codebase and creates:
155
+
156
+ - **Static Model** (`memory-bank/elevation/static-model.md`)
157
+ - Components and their responsibilities
158
+ - Relationships between components
159
+ - Key abstractions and patterns used
160
+
161
+ - **Dynamic Model** (`memory-bank/elevation/dynamic-model.md`)
162
+ - How components interact for significant use cases
163
+ - Request/response flows
164
+ - Event chains and data transformations
165
+
166
+ After code elevation, agents have full context about your existing architecture, enabling them to:
167
+ - Propose changes that fit existing patterns
168
+ - Identify integration points for new features
169
+ - Avoid breaking existing functionality
170
+
171
+ ---
172
+
128
173
  ## Key Concepts
129
174
 
130
175
  ### Intent
@@ -138,8 +183,8 @@ The smallest iteration in AI-DLC, designed for rapid implementation. Unlike Spri
138
183
 
139
184
  | Type | Best For | Stages |
140
185
  |------|----------|--------|
141
- | **DDD Construction** | Complex business logic, domain modeling | Model → Design → ADR → ImplementTest |
142
- | **Simple Construction** | UI, integrations, utilities | Plan → ImplementTest |
186
+ | **DDD Construction** | Complex business logic, domain modeling | Domain Design Logical Design → ADR → Code Generation Testing |
187
+ | **Simple Construction** | UI, integrations, utilities | Plan → Code Generation Testing |
143
188
 
144
189
  ### Memory Bank
145
190
  File-based storage for all project artifacts. Maintains context across agent sessions and provides traceability between artifacts.
@@ -164,17 +209,40 @@ After installation:
164
209
  └── memory-bank.yaml # Memory bank schema
165
210
 
166
211
  memory-bank/ # Created after project-init
212
+ ├── project.yaml # Project configuration
213
+
214
+ ├── elevation/ # Brownfield code analysis (if applicable)
215
+ │ ├── static-model.md # Components, responsibilities, relationships
216
+ │ └── dynamic-model.md # Use case interactions
217
+
167
218
  ├── intents/ # Your captured intents
168
- │ └── {intent-name}/
169
- │ ├── requirements.md
170
- │ ├── system-context.md
219
+ │ └── {NNN}-{intent-name}/
220
+ │ ├── requirements.md # Functional & non-functional requirements
221
+ │ ├── prfaq.md # Press Release / FAQ
222
+ │ ├── risks.md # Risk assessment
223
+ │ ├── system-context.md # System boundaries & actors
224
+ │ ├── units.md # Unit decomposition overview
171
225
  │ └── units/
226
+ │ └── {UUU}-{unit-name}/
227
+ │ ├── unit-brief.md
228
+ │ └── stories/
229
+
172
230
  ├── bolts/ # Bolt execution records
231
+ │ └── {BBB}-{unit-name}/
232
+ │ ├── bolt.md # Bolt instance metadata
233
+ │ ├── ddd-01-domain-design.md
234
+ │ ├── ddd-02-logical-design.md
235
+ │ ├── adr-{N}-{slug}.md # ADR (optional)
236
+ │ └── ddd-03-test-report.md
237
+
173
238
  ├── standards/ # Project standards
174
239
  │ ├── tech-stack.md
175
240
  │ ├── coding-standards.md
176
- │ └── ...
241
+ │ └── system-architecture.md
242
+
177
243
  └── operations/ # Deployment context
244
+ ├── deployment-units/
245
+ └── playbooks/
178
246
  ```
179
247
 
180
248
  ---
@@ -188,6 +256,7 @@ memory-bank/ # Created after project-init
188
256
  | Command | Purpose |
189
257
  |---------|---------|
190
258
  | `project-init` | Initialize project with standards |
259
+ | `code-elevate` | Analyze existing codebase (brownfield) |
191
260
  | `analyze-context` | View current project state |
192
261
  | `route-request` | Get directed to the right agent |
193
262
  | `explain-flow` | Learn about AI-DLC methodology |
@@ -199,9 +268,10 @@ memory-bank/ # Created after project-init
199
268
  ```
200
269
  | Command | Purpose |
201
270
  |---------|---------|
202
- | `intent-create` | Create a new intent |
271
+ | `intent-create` | Create a new intent with PRFAQ |
203
272
  | `intent-list` | List all intents |
204
- | `requirements` | Elaborate intent requirements |
273
+ | `requirements` | Gather requirements with measurements |
274
+ | `risks` | Assess risks with mitigations |
205
275
  | `context` | Define system context |
206
276
  | `units` | Decompose into units |
207
277
  | `story-create` | Create stories for a unit |
@@ -225,10 +295,11 @@ memory-bank/ # Created after project-init
225
295
  ```
226
296
  | Command | Purpose |
227
297
  |---------|---------|
228
- | `build` | Build the project |
298
+ | `build` | Build deployment artifacts |
229
299
  | `deploy` | Deploy to environment |
230
300
  | `verify` | Verify deployment |
231
- | `monitor` | Set up monitoring |
301
+ | `monitor` | Set up monitoring and SLOs |
302
+ | `rollback` | Rollback to previous version |
232
303
 
233
304
  ---
234
305