project-iris 0.5.0 → 0.5.1
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/flows/aidlc/README.md +21 -0
- package/flows/aidlc/agents/README.md +15 -0
- package/flows/aidlc/agents/inception-agent.md +6 -0
- package/flows/aidlc/agents/master-agent.md +1 -0
- package/flows/aidlc/skills/README.md +5 -0
- package/flows/aidlc/skills/construction/bolt-list.md +3 -0
- package/flows/aidlc/skills/construction/bolt-start.md +7 -11
- package/flows/aidlc/skills/inception/requirements.md +5 -0
- package/flows/aidlc/skills/inception/review.md +1 -0
- package/flows/aidlc/skills/inception/risks.md +5 -0
- package/flows/aidlc/skills/master/analyze-context.md +4 -4
- package/flows/aidlc/skills/master/code-elevate.md +10 -0
- package/flows/aidlc/skills/master/project-init.md +2 -2
- package/flows/aidlc/skills/operations/build.md +2 -0
- package/flows/aidlc/skills/operations/rollback.md +1 -0
- package/flows/aidlc/templates/README.md +9 -0
- package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-04-implementation-walkthrough-template.md +18 -14
- package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +1 -0
- package/flows/aidlc/templates/construction/construction-guide.md +3 -0
- package/flows/aidlc/templates/construction/elevation-dynamic-model-template.md +12 -0
- package/flows/aidlc/templates/construction/elevation-static-model-template.md +6 -0
- package/flows/aidlc/templates/construction/ui-patterns.md +44 -0
- package/flows/aidlc/templates/inception/requirements-template.md +5 -0
- package/flows/aidlc/templates/standards/api-conventions.guide.md +4 -0
- package/lib/installer.js +0 -166
- package/package.json +2 -3
- package/extensions/iris-dashboard-0.0.1.vsix +0 -0
package/flows/aidlc/README.md
CHANGED
|
@@ -127,6 +127,7 @@ src/flows/aidlc/
|
|
|
127
127
|
**Goal**: Complete planning and design before construction begins
|
|
128
128
|
|
|
129
129
|
**Activities**:
|
|
130
|
+
|
|
130
131
|
- Capture intents (high-level goals)
|
|
131
132
|
- Gather requirements (functional and non-functional)
|
|
132
133
|
- Assess risks (technical, business, operational)
|
|
@@ -138,6 +139,7 @@ src/flows/aidlc/
|
|
|
138
139
|
**Command**: `/iris-inception-agent --intent="intent-name"`
|
|
139
140
|
|
|
140
141
|
**Outputs**:
|
|
142
|
+
|
|
141
143
|
- PRFAQ document
|
|
142
144
|
- Requirements with measurement criteria
|
|
143
145
|
- Risk assessment
|
|
@@ -151,6 +153,7 @@ src/flows/aidlc/
|
|
|
151
153
|
**Goal**: Build working software through iterative bolt execution
|
|
152
154
|
|
|
153
155
|
**Activities**:
|
|
156
|
+
|
|
154
157
|
- Execute bolts through DDD stages:
|
|
155
158
|
1. **Domain Design** - Model business logic using DDD principles
|
|
156
159
|
2. **Logical Design** - Apply NFRs and architectural patterns
|
|
@@ -161,6 +164,7 @@ src/flows/aidlc/
|
|
|
161
164
|
**Command**: `/iris-construction-agent --unit="unit-name"`
|
|
162
165
|
|
|
163
166
|
**Outputs**:
|
|
167
|
+
|
|
164
168
|
- Domain design documents
|
|
165
169
|
- Logical design documents
|
|
166
170
|
- Architectural Decision Records (ADRs)
|
|
@@ -172,6 +176,7 @@ src/flows/aidlc/
|
|
|
172
176
|
**Goal**: Deploy and operate the system
|
|
173
177
|
|
|
174
178
|
**Activities**:
|
|
179
|
+
|
|
175
180
|
- Build deployment artifacts (containers, functions, bundles)
|
|
176
181
|
- Deploy through environments (Dev → Staging → Production)
|
|
177
182
|
- Verify deployments with health checks
|
|
@@ -181,6 +186,7 @@ src/flows/aidlc/
|
|
|
181
186
|
**Command**: `/iris-operations-agent --unit="unit-name"`
|
|
182
187
|
|
|
183
188
|
**Outputs**:
|
|
189
|
+
|
|
184
190
|
- Deployment units
|
|
185
191
|
- Monitoring dashboards
|
|
186
192
|
- Alert configurations
|
|
@@ -192,19 +198,24 @@ src/flows/aidlc/
|
|
|
192
198
|
## Project Scenarios
|
|
193
199
|
|
|
194
200
|
### Greenfield (New Projects)
|
|
201
|
+
|
|
195
202
|
Starting fresh with no existing code:
|
|
203
|
+
|
|
196
204
|
1. Initialize project with standards
|
|
197
205
|
2. Begin Inception phase immediately
|
|
198
206
|
3. Build from scratch using AI-DLC methodology
|
|
199
207
|
|
|
200
208
|
### Brownfield (Existing Codebases)
|
|
209
|
+
|
|
201
210
|
Adding features to existing code:
|
|
211
|
+
|
|
202
212
|
1. Initialize project with standards
|
|
203
213
|
2. **Run code elevation** to analyze existing codebase
|
|
204
214
|
3. AI creates static and dynamic models for context
|
|
205
215
|
4. Begin Inception with full codebase understanding
|
|
206
216
|
|
|
207
217
|
**Code Elevation Process**:
|
|
218
|
+
|
|
208
219
|
- **Static Model**: Components, responsibilities, and relationships
|
|
209
220
|
- **Dynamic Model**: How components interact for significant use cases
|
|
210
221
|
|
|
@@ -227,6 +238,7 @@ Intent (feature/capability)
|
|
|
227
238
|
**Bolts** are time-boxed execution sessions scoped to a **Unit**. A Unit may require multiple Bolts to complete all its Stories.
|
|
228
239
|
|
|
229
240
|
**Example**:
|
|
241
|
+
|
|
230
242
|
- **Intent**: User Authentication
|
|
231
243
|
- **Unit**: Auth Service
|
|
232
244
|
- **Story 1**: User Registration
|
|
@@ -385,21 +397,27 @@ memory-bank/
|
|
|
385
397
|
## Key Principles
|
|
386
398
|
|
|
387
399
|
### 1. AI Drives, Human Validates
|
|
400
|
+
|
|
388
401
|
AI proposes plans, decompositions, and implementations. Humans review and approve at checkpoints.
|
|
389
402
|
|
|
390
403
|
### 2. Human Oversight as Loss Function
|
|
404
|
+
|
|
391
405
|
Validation at each step catches errors early before they cascade downstream.
|
|
392
406
|
|
|
393
407
|
### 3. Mob Elaboration
|
|
408
|
+
|
|
394
409
|
Concentrated rapid planning during Inception. Complete all planning in hours, not weeks.
|
|
395
410
|
|
|
396
411
|
### 4. Bolts are Flexible
|
|
412
|
+
|
|
397
413
|
Bolts take "hours or days" depending on complexity - not fixed-duration like sprints.
|
|
398
414
|
|
|
399
415
|
### 5. DDD Focus
|
|
416
|
+
|
|
400
417
|
Domain-Driven Design principles guide the Construction phase with proper separation of concerns.
|
|
401
418
|
|
|
402
419
|
### 6. Persistent Context
|
|
420
|
+
|
|
403
421
|
Everything is stored in the memory bank so context is never lost between sessions.
|
|
404
422
|
|
|
405
423
|
---
|
|
@@ -457,18 +475,21 @@ Here's a complete workflow for building a feature:
|
|
|
457
475
|
## Tips for Success
|
|
458
476
|
|
|
459
477
|
### Planning (Inception)
|
|
478
|
+
|
|
460
479
|
- Be thorough - it pays off during Construction
|
|
461
480
|
- Document NFRs with measurable criteria
|
|
462
481
|
- Assess risks early with mitigations
|
|
463
482
|
- Group related stories into the same bolt
|
|
464
483
|
|
|
465
484
|
### Building (Construction)
|
|
485
|
+
|
|
466
486
|
- Follow the DDD stages in order
|
|
467
487
|
- Don't skip testing
|
|
468
488
|
- Keep bolts focused (5-8 stories max)
|
|
469
489
|
- Document significant decisions as ADRs
|
|
470
490
|
|
|
471
491
|
### Deploying (Operations)
|
|
492
|
+
|
|
472
493
|
- Always deploy to staging first
|
|
473
494
|
- Run smoke tests after every deployment
|
|
474
495
|
- Setup monitoring from the start
|
|
@@ -15,9 +15,11 @@ agents/
|
|
|
15
15
|
## Agent Overview
|
|
16
16
|
|
|
17
17
|
### Master Agent
|
|
18
|
+
|
|
18
19
|
**Role**: Orchestrator & Navigator
|
|
19
20
|
|
|
20
21
|
The central entry point that:
|
|
22
|
+
|
|
21
23
|
- Initializes new projects with standards
|
|
22
24
|
- Analyzes current project state
|
|
23
25
|
- Routes users to the appropriate phase agent
|
|
@@ -31,9 +33,11 @@ The central entry point that:
|
|
|
31
33
|
---
|
|
32
34
|
|
|
33
35
|
### Inception Agent
|
|
36
|
+
|
|
34
37
|
**Role**: Planning & Design Specialist
|
|
35
38
|
|
|
36
39
|
Handles the Inception phase:
|
|
40
|
+
|
|
37
41
|
- Captures intents (high-level goals)
|
|
38
42
|
- Gathers requirements (functional and non-functional)
|
|
39
43
|
- Identifies risks
|
|
@@ -49,9 +53,11 @@ Handles the Inception phase:
|
|
|
49
53
|
---
|
|
50
54
|
|
|
51
55
|
### Construction Agent
|
|
56
|
+
|
|
52
57
|
**Role**: Builder & Implementer
|
|
53
58
|
|
|
54
59
|
Handles the Construction phase:
|
|
60
|
+
|
|
55
61
|
- Executes bolts through DDD stages
|
|
56
62
|
- Guides domain design
|
|
57
63
|
- Creates logical designs
|
|
@@ -64,6 +70,7 @@ Handles the Construction phase:
|
|
|
64
70
|
**Command**: `/iris-construction-agent --unit="unit-name"`
|
|
65
71
|
|
|
66
72
|
**DDD Bolt Stages**:
|
|
73
|
+
|
|
67
74
|
1. Domain Design
|
|
68
75
|
2. Logical Design
|
|
69
76
|
3. ADR Analysis (optional)
|
|
@@ -73,9 +80,11 @@ Handles the Construction phase:
|
|
|
73
80
|
---
|
|
74
81
|
|
|
75
82
|
### Operations Agent
|
|
83
|
+
|
|
76
84
|
**Role**: DevOps Engineer & Deployment Orchestrator
|
|
77
85
|
|
|
78
86
|
Handles the Operations phase:
|
|
87
|
+
|
|
79
88
|
- Builds deployment artifacts
|
|
80
89
|
- Deploys through environments (Dev → Staging → Production)
|
|
81
90
|
- Verifies deployments
|
|
@@ -120,22 +129,28 @@ Each agent file follows this structure:
|
|
|
120
129
|
## Key Principles
|
|
121
130
|
|
|
122
131
|
### 1. Agent Independence
|
|
132
|
+
|
|
123
133
|
Each agent operates independently but can redirect to other agents when appropriate:
|
|
134
|
+
|
|
124
135
|
- Master → Inception (when ready to plan)
|
|
125
136
|
- Master → Construction (when ready to build)
|
|
126
137
|
- Inception → Construction (when inception complete)
|
|
127
138
|
- Construction → Operations (when construction complete)
|
|
128
139
|
|
|
129
140
|
### 2. Human Validation
|
|
141
|
+
|
|
130
142
|
All agents implement checkpoints where they pause for human approval before proceeding with significant actions.
|
|
131
143
|
|
|
132
144
|
### 3. Context Loading
|
|
145
|
+
|
|
133
146
|
Agents load context from the memory bank at startup:
|
|
147
|
+
|
|
134
148
|
- Standards (tech-stack, coding-standards)
|
|
135
149
|
- Current phase state
|
|
136
150
|
- Relevant artifacts
|
|
137
151
|
|
|
138
152
|
### 4. Consistent Output
|
|
153
|
+
|
|
139
154
|
All agents follow the same output formatting rules defined in Mandatory Output Rules.
|
|
140
155
|
|
|
141
156
|
## Phase Flow
|
|
@@ -9,6 +9,7 @@ You are the **Inception Agent** for AI-DLC (AI-Driven Development Life Cycle).
|
|
|
9
9
|
### ⛔ CRITICAL: NO ASCII TABLES
|
|
10
10
|
|
|
11
11
|
**NEVER use ASCII box tables like this - FORBIDDEN:**
|
|
12
|
+
|
|
12
13
|
```
|
|
13
14
|
┌────────┬─────────────────────────────────────┐
|
|
14
15
|
│ Option │ Description │
|
|
@@ -20,6 +21,7 @@ You are the **Inception Agent** for AI-DLC (AI-Driven Development Life Cycle).
|
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
**ALWAYS use numbered list format instead:**
|
|
24
|
+
|
|
23
25
|
```
|
|
24
26
|
1 - **Option A** - Some option description
|
|
25
27
|
2 - **Option B** - Another option description
|
|
@@ -44,6 +46,7 @@ This applies to ALL questions, options, and choices throughout the entire incept
|
|
|
44
46
|
When asking clarifying questions with multiple choice options:
|
|
45
47
|
|
|
46
48
|
**WRONG** - ASCII table:
|
|
49
|
+
|
|
47
50
|
```
|
|
48
51
|
┌────────┬──────────────────────────────────┐
|
|
49
52
|
│ Option │ Description │
|
|
@@ -55,6 +58,7 @@ When asking clarifying questions with multiple choice options:
|
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
**CORRECT** - Numbered list:
|
|
61
|
+
|
|
58
62
|
```
|
|
59
63
|
**Content Depth**
|
|
60
64
|
|
|
@@ -66,11 +70,13 @@ When asking clarifying questions with multiple choice options:
|
|
|
66
70
|
### Checkpoint Options Format (CRITICAL)
|
|
67
71
|
|
|
68
72
|
**WRONG** - Open-ended question:
|
|
73
|
+
|
|
69
74
|
```
|
|
70
75
|
Do these requirements capture your intent?
|
|
71
76
|
```
|
|
72
77
|
|
|
73
78
|
**CORRECT** - Numbered options:
|
|
79
|
+
|
|
74
80
|
```
|
|
75
81
|
### Options
|
|
76
82
|
|
|
@@ -99,6 +99,7 @@ No project configuration found. This appears to be a new project.
|
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
**CRITICAL**: When user selects "Initialize project", the `project-init` skill MUST:
|
|
102
|
+
|
|
102
103
|
1. Ask project type question FIRST (full-stack, backend, frontend, CLI, library)
|
|
103
104
|
2. Then detect/ask scenario (greenfield/brownfield/hybrid)
|
|
104
105
|
3. Save `project.yaml` with BOTH fields before proceeding to standards
|
|
@@ -83,18 +83,23 @@ Every skill file follows this structure:
|
|
|
83
83
|
## Key Principles
|
|
84
84
|
|
|
85
85
|
### 1. Mandatory Output Rules
|
|
86
|
+
|
|
86
87
|
Every skill starts with formatting rules to ensure consistent output:
|
|
88
|
+
|
|
87
89
|
- Never use ASCII tables (they break at different terminal widths)
|
|
88
90
|
- Always use numbered list format for options
|
|
89
91
|
- Always use status indicators (✅ ⏳ [ ] 🚫)
|
|
90
92
|
|
|
91
93
|
### 2. Human Checkpoints
|
|
94
|
+
|
|
92
95
|
Skills that make significant decisions include checkpoints where the AI pauses for human validation before proceeding.
|
|
93
96
|
|
|
94
97
|
### 3. Artifact Creation
|
|
98
|
+
|
|
95
99
|
Skills that create artifacts reference templates from `../templates/` and follow the schema defined in `../memory-bank.yaml`.
|
|
96
100
|
|
|
97
101
|
### 4. Context Loading
|
|
102
|
+
|
|
98
103
|
Skills load context as defined in `../context-config.yaml` to ensure consistent information access.
|
|
99
104
|
|
|
100
105
|
## Adding New Skills
|
|
@@ -32,10 +32,12 @@
|
|
|
32
32
|
When referencing bolt files to the user, ALWAYS show the **bolt ID prominently**, not just "bolt.md":
|
|
33
33
|
|
|
34
34
|
**WRONG**:
|
|
35
|
+
|
|
35
36
|
- "Working on bolt.md"
|
|
36
37
|
- "Open bolt.md to see details"
|
|
37
38
|
|
|
38
39
|
**CORRECT**:
|
|
40
|
+
|
|
39
41
|
- "Working on **001-extension-foundation**"
|
|
40
42
|
- "Open **001-extension-foundation/bolt.md** to see details"
|
|
41
43
|
|
|
@@ -46,6 +48,7 @@ The bolt ID (directory name like `001-extension-foundation`) is the identifier.
|
|
|
46
48
|
## Checkpoints
|
|
47
49
|
|
|
48
50
|
**Checkpoint 1**: Which bolt to work on?
|
|
51
|
+
|
|
49
52
|
- Wait for: User selection
|
|
50
53
|
|
|
51
54
|
---
|
|
@@ -44,11 +44,13 @@
|
|
|
44
44
|
When referencing bolt files to the user, ALWAYS show the **bolt ID prominently**, not just "bolt.md":
|
|
45
45
|
|
|
46
46
|
**WRONG**:
|
|
47
|
+
|
|
47
48
|
- "Working on bolt.md"
|
|
48
49
|
- "Updating bolt.md status"
|
|
49
50
|
- "Approve changes to bolt.md?"
|
|
50
51
|
|
|
51
52
|
**CORRECT**:
|
|
53
|
+
|
|
52
54
|
- "Working on **001-extension-foundation**"
|
|
53
55
|
- "Updating **001-extension-foundation** status"
|
|
54
56
|
- "Approve changes to **001-extension-foundation/bolt.md**?"
|
|
@@ -155,6 +157,7 @@ agents:
|
|
|
155
157
|
**Check if UI design guidance may be relevant:**
|
|
156
158
|
|
|
157
159
|
Scan the bolt's unit name, story titles, and story descriptions for these signals:
|
|
160
|
+
|
|
158
161
|
- `screen`, `page`, `view`, `layout`
|
|
159
162
|
- `component`, `widget`, `button`, `form`, `modal`, `dialog`
|
|
160
163
|
- `ui`, `ux`, `frontend`, `presentation`
|
|
@@ -300,19 +303,12 @@ For the current stage, follow the bolt type definition:
|
|
|
300
303
|
- Template used: {yes/no}
|
|
301
304
|
```
|
|
302
305
|
|
|
303
|
-
**
|
|
306
|
+
**Required artifacts are defined by the bolt type definition file.**
|
|
304
307
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
| simple-construction | Plan | `implementation-plan.md` |
|
|
308
|
-
| simple-construction | Code Generation | `implementation-walkthrough.md` |
|
|
309
|
-
| simple-construction | Testing | `test-walkthrough.md` |
|
|
310
|
-
| ddd-construction | Domain Design | `ddd-01-domain-design.md` |
|
|
311
|
-
| ddd-construction | Logical Design | `ddd-02-logical-design.md` |
|
|
312
|
-
| ddd-construction | Code Generation | `ddd-04-implementation-walkthrough.md` |
|
|
313
|
-
| ddd-construction | Testing | `ddd-03-test-report.md` |
|
|
308
|
+
Each bolt type specifies its own stages and required artifacts. Refer to:
|
|
309
|
+
`templates/construction/bolt-types/{bolt_type}.md`
|
|
314
310
|
|
|
315
|
-
**If bolt type specifies an artifact, you MUST create it.**
|
|
311
|
+
**If the bolt type definition specifies an artifact for a stage, you MUST create it.**
|
|
316
312
|
|
|
317
313
|
### 7b. Story-by-Story Execution (Code Generation Stages) - HARD GATE
|
|
318
314
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
### ⛔ CRITICAL: NO ASCII TABLES
|
|
8
8
|
|
|
9
9
|
**NEVER use ASCII box tables like this - FORBIDDEN:**
|
|
10
|
+
|
|
10
11
|
```
|
|
11
12
|
┌────────┬─────────────────────────────────────┐
|
|
12
13
|
│ Option │ Description │
|
|
@@ -16,12 +17,14 @@
|
|
|
16
17
|
```
|
|
17
18
|
|
|
18
19
|
**ALWAYS use numbered list format instead:**
|
|
20
|
+
|
|
19
21
|
```
|
|
20
22
|
1 - **Option A** - Some option description
|
|
21
23
|
2 - **Option B** - Another option description
|
|
22
24
|
```
|
|
23
25
|
|
|
24
26
|
### General Rules
|
|
27
|
+
|
|
25
28
|
- 🚫 **NEVER** use ASCII tables (┌─┬─┐ style) for ANY purpose
|
|
26
29
|
- 🚫 **NEVER** use letter options (A, B, C) - always use numbers (1, 2, 3)
|
|
27
30
|
- ✅ **ALWAYS** use numbered list format: `N - **Option**: Description`
|
|
@@ -33,6 +36,7 @@
|
|
|
33
36
|
- ⚠️ **ALWAYS** show numbered options at checkpoints - NEVER ask "approve?" without options
|
|
34
37
|
|
|
35
38
|
### Functional Requirements Rules
|
|
39
|
+
|
|
36
40
|
- ✅ **ALWAYS** start with user/goal clarification before listing FRs
|
|
37
41
|
- ✅ **ALWAYS** include User Story format: "As a {user}, I want {action} so that {benefit}"
|
|
38
42
|
- ✅ **ALWAYS** include testable Acceptance Criteria (binary pass/fail)
|
|
@@ -40,6 +44,7 @@
|
|
|
40
44
|
- ✅ **ALWAYS** identify dependencies between FRs
|
|
41
45
|
|
|
42
46
|
### Non-Functional Requirements Rules
|
|
47
|
+
|
|
43
48
|
- ✅ **ALWAYS** walk through ALL 5 NFR categories (Performance, Scalability, Security, Reliability, Compliance)
|
|
44
49
|
- ✅ **ALWAYS** ensure NFRs have measurable metrics (not vague)
|
|
45
50
|
- ✅ **ALWAYS** define SLOs for critical requirements
|
|
@@ -119,6 +119,7 @@ Intent → Requirements → Units → Stories → Bolts
|
|
|
119
119
|
- [ ] Bolt dependencies respect story dependencies
|
|
120
120
|
|
|
121
121
|
**Validation Outcome:**
|
|
122
|
+
|
|
122
123
|
- ✅ = Complete traceability
|
|
123
124
|
- ⚠️ = Partial traceability (gaps identified)
|
|
124
125
|
- ❌ = Broken traceability (must fix before Construction)
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
## Mandatory Output Rules (READ FIRST)
|
|
6
6
|
|
|
7
7
|
### General Rules
|
|
8
|
+
|
|
8
9
|
- 🚫 **NEVER** use ASCII tables for options - they break at different terminal widths
|
|
9
10
|
- ✅ **ALWAYS** use numbered list format: `N - **Option**: Description`
|
|
10
11
|
- ✅ **ALWAYS** use status indicators: ✅ (done) ⏳ (current) [ ] (pending)
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
- 🛑 **STOP** at each checkpoint - wait for user response
|
|
15
16
|
|
|
16
17
|
### Risk Register Rules
|
|
18
|
+
|
|
17
19
|
- ✅ **ALWAYS** categorize risks (Technical, Business, Operational, External, Compliance)
|
|
18
20
|
- ✅ **ALWAYS** use standard impact/likelihood scoring (1-5 scale)
|
|
19
21
|
- ✅ **ALWAYS** calculate risk score (Impact × Likelihood)
|
|
@@ -134,6 +136,7 @@ Please answer these questions so I can generate an accurate risk register.
|
|
|
134
136
|
After user answers, generate risks covering all 5 categories:
|
|
135
137
|
|
|
136
138
|
**Risk Scoring Matrix:**
|
|
139
|
+
|
|
137
140
|
- **Impact** (1-5): 1=Negligible, 2=Minor, 3=Moderate, 4=Major, 5=Catastrophic
|
|
138
141
|
- **Likelihood** (1-5): 1=Rare, 2=Unlikely, 3=Possible, 4=Likely, 5=Almost Certain
|
|
139
142
|
- **Risk Score** = Impact × Likelihood
|
|
@@ -539,11 +542,13 @@ Requirements
|
|
|
539
542
|
During Construction and Operations, risks should be reviewed:
|
|
540
543
|
|
|
541
544
|
### Construction Phase
|
|
545
|
+
|
|
542
546
|
- Review technical risks before each Bolt
|
|
543
547
|
- Update risk status as mitigations are implemented
|
|
544
548
|
- Add new risks discovered during development
|
|
545
549
|
|
|
546
550
|
### Operations Phase
|
|
551
|
+
|
|
547
552
|
- Review operational risks before deployment
|
|
548
553
|
- Update external/compliance risks as regulations change
|
|
549
554
|
- Close mitigated risks, add new operational risks
|
|
@@ -145,7 +145,7 @@ If inconsistencies found, report them:
|
|
|
145
145
|
Current: `draft` → Expected: `complete`
|
|
146
146
|
Reason: All bolts complete
|
|
147
147
|
|
|
148
|
-
- **requirements:
|
|
148
|
+
- **requirements: 007-user-auth**
|
|
149
149
|
Current: `units-defined` → Expected: `construction`
|
|
150
150
|
Reason: Has in-progress units
|
|
151
151
|
|
|
@@ -192,9 +192,9 @@ Append entry to `memory-bank/maintenance-log.md` (create if doesn't exist):
|
|
|
192
192
|
|
|
193
193
|
| Artifact | Old Status | New Status | Reason |
|
|
194
194
|
|----------|------------|------------|--------|
|
|
195
|
-
|
|
|
196
|
-
|
|
|
197
|
-
|
|
|
195
|
+
| 007-user-auth/units/login-service/unit-brief.md | draft | complete | All bolts complete (1/1) |
|
|
196
|
+
| 007-user-auth/units/session-manager/unit-brief.md | draft | complete | All bolts complete (1/1) |
|
|
197
|
+
| 007-user-auth/requirements.md | units-defined | construction | Has in-progress units |
|
|
198
198
|
|
|
199
199
|
---
|
|
200
200
|
```
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
## AI-DLC Specification Reference
|
|
33
33
|
|
|
34
34
|
> **Brown-Field Scenarios:** In the brown-field (existing application) scenarios, the construction phase involves first elevating the codes into a semantic rich modelling representation so that the context to AI becomes concise and accurate. The suggested modelling representations are:
|
|
35
|
+
>
|
|
35
36
|
> - **Static models** (just the domain components, responsibilities and their relationships)
|
|
36
37
|
> - **Dynamic models** (how the components interact to realize the significant use cases)
|
|
37
38
|
|
|
@@ -42,11 +43,13 @@
|
|
|
42
43
|
This skill is executed by the **Master Agent** after project initialization for brownfield projects.
|
|
43
44
|
|
|
44
45
|
**When triggered:**
|
|
46
|
+
|
|
45
47
|
- After `project-init` completes with `scenario: brownfield`
|
|
46
48
|
- When returning user has brownfield project without elevation
|
|
47
49
|
- Master offers: "Run code elevation to analyze existing code?"
|
|
48
50
|
|
|
49
51
|
**Why project-level (not intent-level):**
|
|
52
|
+
|
|
50
53
|
- Codebase structure is project-wide, not per-intent
|
|
51
54
|
- Elevation done once, reused by all intents
|
|
52
55
|
- Avoids redundant analysis for each feature
|
|
@@ -210,6 +213,7 @@ Proceed with analysis?
|
|
|
210
213
|
- **Framework**: {detected framework}
|
|
211
214
|
- **Database**: {detected DB client/ORM}
|
|
212
215
|
- **External APIs**: {detected integrations}
|
|
216
|
+
|
|
213
217
|
```
|
|
214
218
|
|
|
215
219
|
**Checkpoint 1**: Present static model for validation.
|
|
@@ -277,17 +281,20 @@ Does this static model accurately represent your codebase?
|
|
|
277
281
|
```
|
|
278
282
|
|
|
279
283
|
**Step-by-Step**:
|
|
284
|
+
|
|
280
285
|
1. {Step 1}: {Component A} receives {input} from {source}
|
|
281
286
|
2. {Step 2}: {Component A} calls {Component B}.{method}({params})
|
|
282
287
|
3. {Step 3}: {Component B} queries {Component C} for {data}
|
|
283
288
|
4. {Step 4}: {Response} returned to {originator}
|
|
284
289
|
|
|
285
290
|
**Data Flow**:
|
|
291
|
+
|
|
286
292
|
- Input: {data structure}
|
|
287
293
|
- Output: {data structure}
|
|
288
294
|
- Side Effects: {external changes, events emitted}
|
|
289
295
|
|
|
290
296
|
#### Use Case 2: {Name}
|
|
297
|
+
|
|
291
298
|
...
|
|
292
299
|
|
|
293
300
|
### Integration Points
|
|
@@ -303,6 +310,7 @@ Does this static model accurately represent your codebase?
|
|
|
303
310
|
- **Happy Path**: {primary success scenario}
|
|
304
311
|
- **Error Handling**: {how errors propagate}
|
|
305
312
|
- **Authentication Flow**: {if applicable}
|
|
313
|
+
|
|
306
314
|
```
|
|
307
315
|
|
|
308
316
|
**Checkpoint 2**: Present dynamic model for validation.
|
|
@@ -388,11 +396,13 @@ memory-bank/elevation/
|
|
|
388
396
|
### Usage by Other Agents
|
|
389
397
|
|
|
390
398
|
**Inception Agent**:
|
|
399
|
+
|
|
391
400
|
- Loads elevation models when creating intents
|
|
392
401
|
- Uses component list to suggest unit decomposition
|
|
393
402
|
- References existing patterns in requirements
|
|
394
403
|
|
|
395
404
|
**Construction Agent**:
|
|
405
|
+
|
|
396
406
|
- Loads elevation models during bolt execution
|
|
397
407
|
- References static model during Domain Design stage
|
|
398
408
|
- References dynamic model during Logical Design stage
|
|
@@ -191,7 +191,7 @@ This file MUST be created before proceeding to standards facilitation, as other
|
|
|
191
191
|
|
|
192
192
|
**Add AI-DLC tooling entries to `.gitignore`** to keep the product repository clean.
|
|
193
193
|
|
|
194
|
-
#### If `.gitignore` exists
|
|
194
|
+
#### If `.gitignore` exists
|
|
195
195
|
|
|
196
196
|
Check if entries already exist. If not, append:
|
|
197
197
|
|
|
@@ -202,7 +202,7 @@ Check if entries already exist. If not, append:
|
|
|
202
202
|
.claude/
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
#### If `.gitignore` doesn't exist
|
|
205
|
+
#### If `.gitignore` doesn't exist
|
|
206
206
|
|
|
207
207
|
Create it with:
|
|
208
208
|
|
|
@@ -130,11 +130,13 @@ Create or update `memory-bank/operations/deployment-units/{unit-name}.md` using
|
|
|
130
130
|
2. **If exists**: Update the Packaged Artifacts and Deployment History sections
|
|
131
131
|
|
|
132
132
|
**Required sections to populate:**
|
|
133
|
+
|
|
133
134
|
- Packaged Artifacts (executable code, registry location)
|
|
134
135
|
- Version and status
|
|
135
136
|
- Build timestamp
|
|
136
137
|
|
|
137
138
|
**Sections populated by other skills:**
|
|
139
|
+
|
|
138
140
|
- Test Validation → populated by `verify` skill
|
|
139
141
|
- Deployment History → updated by `deploy` skill
|
|
140
142
|
- Monitoring Integration → populated by `monitor` skill
|
|
@@ -53,16 +53,20 @@ templates/
|
|
|
53
53
|
## Template Usage
|
|
54
54
|
|
|
55
55
|
### Inception Templates
|
|
56
|
+
|
|
56
57
|
Used by Inception Agent skills to create planning artifacts:
|
|
58
|
+
|
|
57
59
|
- **requirements-template.md**: Captures functional and non-functional requirements
|
|
58
60
|
- **prfaq-template.md**: Documents business intent and expected benefits
|
|
59
61
|
- **risks-template.md**: Identifies and assesses project risks
|
|
60
62
|
- **unit-brief-template.md**: Defines scope and details for each unit
|
|
61
63
|
|
|
62
64
|
### Construction Templates
|
|
65
|
+
|
|
63
66
|
Used by Construction Agent during bolt execution:
|
|
64
67
|
|
|
65
68
|
**Bolt Types** define the stages and checkpoints for different types of work:
|
|
69
|
+
|
|
66
70
|
- **ddd-construction-bolt.md**: For complex business logic (5 stages)
|
|
67
71
|
1. Domain Design
|
|
68
72
|
2. Logical Design
|
|
@@ -78,16 +82,21 @@ Used by Construction Agent during bolt execution:
|
|
|
78
82
|
- **spike-bolt.md**: For research and exploration
|
|
79
83
|
|
|
80
84
|
**Stage Templates** (in `bolt-types/ddd-construction-bolt/`):
|
|
85
|
+
|
|
81
86
|
- **ddd-01-domain-design-template.md**: Entities, value objects, aggregates
|
|
82
87
|
- **ddd-02-logical-design-template.md**: APIs, schemas, cloud resources
|
|
83
88
|
- **ddd-03-test-report-template.md**: Test results and coverage
|
|
84
89
|
|
|
85
90
|
### Operations Templates
|
|
91
|
+
|
|
86
92
|
Used by Operations Agent for deployment:
|
|
93
|
+
|
|
87
94
|
- **deployment-unit-template.md**: Documents deployment artifacts, configurations, and infrastructure
|
|
88
95
|
|
|
89
96
|
### Standards Templates
|
|
97
|
+
|
|
90
98
|
Used by Master Agent during project initialization:
|
|
99
|
+
|
|
91
100
|
- Facilitation guides help agents gather project standards through conversation
|
|
92
101
|
- Standards are saved to `memory-bank/standards/`
|
|
93
102
|
|