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.
- package/README.md +86 -15
- package/flows/aidlc/README.md +358 -214
- package/flows/aidlc/agents/README.md +154 -0
- package/flows/aidlc/agents/inception-agent.md +23 -12
- package/flows/aidlc/agents/master-agent.md +204 -24
- package/flows/aidlc/memory-bank.yaml +61 -10
- package/flows/aidlc/quick-start.md +7 -7
- package/flows/aidlc/skills/README.md +106 -0
- package/flows/aidlc/skills/construction/bolt-start.md +5 -1
- package/flows/aidlc/skills/construction/navigator.md +1 -1
- package/flows/aidlc/skills/inception/bolt-plan.md +3 -2
- package/flows/aidlc/skills/inception/context.md +2 -1
- package/flows/aidlc/skills/inception/intent-create.md +91 -2
- package/flows/aidlc/skills/inception/navigator.md +13 -8
- package/flows/aidlc/skills/inception/requirements.md +541 -95
- package/flows/aidlc/skills/inception/review.md +75 -11
- package/flows/aidlc/skills/inception/risks.md +541 -0
- package/flows/aidlc/skills/inception/story-create.md +2 -1
- package/flows/aidlc/skills/inception/units.md +2 -1
- package/flows/aidlc/skills/master/answer-question.md +1 -1
- package/flows/aidlc/skills/master/code-elevate.md +434 -0
- package/flows/aidlc/skills/master/explain-flow.md +6 -6
- package/flows/aidlc/skills/master/project-init.md +110 -12
- package/flows/aidlc/skills/operations/build.md +32 -4
- package/flows/aidlc/skills/operations/monitor.md +75 -14
- package/flows/aidlc/skills/operations/rollback.md +239 -0
- package/flows/aidlc/templates/README.md +128 -0
- package/flows/aidlc/templates/construction/bolt-template.md +5 -5
- package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/{ddd-02-technical-design-template.md → ddd-02-logical-design-template.md} +1 -1
- package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +123 -41
- package/flows/aidlc/templates/construction/bolt-types/simple-construction-bolt.md +6 -6
- package/flows/aidlc/templates/construction/construction-guide.md +244 -0
- package/flows/aidlc/templates/construction/construction-log-template.md +7 -6
- package/flows/aidlc/templates/construction/elevation-dynamic-model-template.md +265 -0
- package/flows/aidlc/templates/construction/elevation-static-model-template.md +204 -0
- package/flows/aidlc/templates/inception/prfaq-template.md +147 -0
- package/flows/aidlc/templates/inception/requirements-template.md +70 -5
- package/flows/aidlc/templates/inception/risks-template.md +214 -0
- package/flows/aidlc/templates/operations/deployment-unit-template.md +228 -0
- package/package.json +1 -1
- package/flows/aidlc/templates/inception/project/README.md +0 -55
- /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
|
|
55
|
+
| **Construction** | Construction Agent | Execute bolts through Domain Design → Logical Design → Code 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
|
|
119
|
-
2. **
|
|
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. **
|
|
122
|
-
5. **
|
|
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 |
|
|
142
|
-
| **Simple Construction** | UI, integrations, utilities | Plan →
|
|
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
|
-
│ ├──
|
|
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` |
|
|
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
|
|
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
|
|