project-iris 0.0.16 → 0.0.17
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/agents/inception-agent.md +23 -12
- package/flows/aidlc/memory-bank.yaml +3 -0
- package/flows/aidlc/skills/construction/bolt-start.md +4 -0
- package/flows/aidlc/skills/inception/bolt-plan.md +2 -1
- package/flows/aidlc/skills/inception/context.md +2 -1
- package/flows/aidlc/skills/inception/navigator.md +13 -8
- package/flows/aidlc/skills/inception/requirements.md +444 -97
- 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/templates/construction/bolt-types/ddd-construction-bolt.md +97 -15
- package/package.json +1 -1
|
@@ -49,47 +49,55 @@ When user invokes `/iris-inception-agent`:
|
|
|
49
49
|
4 - **requirements**: Gather requirements
|
|
50
50
|
→ `.iris/aidlc/skills/inception/requirements.md`
|
|
51
51
|
|
|
52
|
-
5 - **
|
|
52
|
+
5 - **risks**: Define risk register
|
|
53
|
+
→ `.iris/aidlc/skills/inception/risks.md`
|
|
54
|
+
|
|
55
|
+
6 - **context**: Define system context
|
|
53
56
|
→ `.iris/aidlc/skills/inception/context.md`
|
|
54
57
|
|
|
55
|
-
|
|
58
|
+
7 - **units**: Decompose into units
|
|
56
59
|
→ `.iris/aidlc/skills/inception/units.md`
|
|
57
60
|
|
|
58
|
-
|
|
61
|
+
8 - **stories**: Create user stories
|
|
59
62
|
→ `.iris/aidlc/skills/inception/story-create.md`
|
|
60
63
|
|
|
61
|
-
|
|
64
|
+
9 - **bolt-plan**: Plan construction bolts
|
|
62
65
|
→ `.iris/aidlc/skills/inception/bolt-plan.md`
|
|
63
66
|
|
|
64
|
-
|
|
67
|
+
10 - **review**: Review and complete
|
|
65
68
|
→ `.iris/aidlc/skills/inception/review.md`
|
|
66
69
|
|
|
67
70
|
---
|
|
68
71
|
|
|
69
|
-
## Inception Workflow (
|
|
72
|
+
## Inception Workflow (5 Checkpoints)
|
|
70
73
|
|
|
71
74
|
```text
|
|
72
75
|
[User Request]
|
|
73
76
|
|
|
|
74
77
|
[Checkpoint 1] Clarifying Questions --> User answers
|
|
75
78
|
|
|
|
76
|
-
[Generate Requirements]
|
|
79
|
+
[Generate Requirements (FRs + NFRs + SLOs)]
|
|
77
80
|
|
|
|
78
81
|
[Checkpoint 2] Requirements Review --> User approves
|
|
79
82
|
|
|
|
83
|
+
[Generate Risk Register]
|
|
84
|
+
|
|
|
85
|
+
[Checkpoint 3] Risk Register Review --> User approves
|
|
86
|
+
|
|
|
80
87
|
[Generate Context + Units + Stories + Bolt Plan] <-- AUTO-CONTINUE
|
|
81
88
|
|
|
|
82
|
-
[Checkpoint
|
|
89
|
+
[Checkpoint 4] Artifacts Review --> User approves
|
|
83
90
|
|
|
|
84
|
-
[Checkpoint
|
|
91
|
+
[Checkpoint 5] Ready for Construction? --> Route to Construction
|
|
85
92
|
```
|
|
86
93
|
|
|
87
94
|
### Checkpoint Locations
|
|
88
95
|
|
|
89
96
|
- **Checkpoint 1**: After clarifying questions (requirements skill)
|
|
90
97
|
- **Checkpoint 2**: After requirements generated (requirements skill)
|
|
91
|
-
- **Checkpoint 3**: After
|
|
92
|
-
- **Checkpoint 4**:
|
|
98
|
+
- **Checkpoint 3**: After risk register generated (risks skill)
|
|
99
|
+
- **Checkpoint 4**: After all artifacts generated (review skill)
|
|
100
|
+
- **Checkpoint 5**: Ready for construction (review skill)
|
|
93
101
|
|
|
94
102
|
### Auto-Continue Rule (CRITICAL)
|
|
95
103
|
|
|
@@ -101,7 +109,7 @@ context → units → stories → bolt-plan → review
|
|
|
101
109
|
|
|
102
110
|
When a skill completes, immediately execute the next skill without prompting the user.
|
|
103
111
|
|
|
104
|
-
Only stop at designated checkpoints (1-
|
|
112
|
+
Only stop at designated checkpoints (1-5 above).
|
|
105
113
|
|
|
106
114
|
---
|
|
107
115
|
|
|
@@ -110,6 +118,9 @@ Only stop at designated checkpoints (1-4 above).
|
|
|
110
118
|
- **Requirements** → `{intent}/requirements.md`
|
|
111
119
|
Template: `templates/inception/requirements-template.md`
|
|
112
120
|
|
|
121
|
+
- **Risks** → `{intent}/risks.md`
|
|
122
|
+
Template: `templates/inception/risks-template.md`
|
|
123
|
+
|
|
113
124
|
- **System Context** → `{intent}/system-context.md`
|
|
114
125
|
Template: `templates/inception/system-context-template.md`
|
|
115
126
|
|
|
@@ -73,6 +73,9 @@ naming:
|
|
|
73
73
|
# Schema Definition (Source of Truth for Agents)
|
|
74
74
|
schema:
|
|
75
75
|
intents: "memory-bank/intents/{intent-name}/"
|
|
76
|
+
requirements: "memory-bank/intents/{intent-name}/requirements.md"
|
|
77
|
+
risks: "memory-bank/intents/{intent-name}/risks.md"
|
|
78
|
+
system_context: "memory-bank/intents/{intent-name}/system-context.md"
|
|
76
79
|
units: "memory-bank/intents/{intent-name}/units/{unit-name}/"
|
|
77
80
|
stories: "memory-bank/intents/{intent-name}/units/{unit-name}/stories/"
|
|
78
81
|
bolts: "memory-bank/bolts/{bolt-id}/"
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
- ✅ Activities listed with completion status
|
|
20
20
|
- ✅ Artifacts created listed with paths
|
|
21
21
|
- ✅ Checkpoint prompts clear and actionable
|
|
22
|
+
- ✅ Code references stories (comments: `// Story: S-XXX`)
|
|
23
|
+
- ✅ Tests reference acceptance criteria they verify
|
|
22
24
|
|
|
23
25
|
## Failure Modes
|
|
24
26
|
|
|
@@ -26,6 +28,8 @@
|
|
|
26
28
|
- ❌ Starting stage work without updating bolt file status
|
|
27
29
|
- ❌ Skipping checkpoints defined by bolt type
|
|
28
30
|
- ❌ Not reading bolt type definition first
|
|
31
|
+
- ❌ Code without story traceability comments
|
|
32
|
+
- ❌ Tests without acceptance criteria references
|
|
29
33
|
|
|
30
34
|
---
|
|
31
35
|
|
|
@@ -36,12 +36,13 @@ Show at start of this skill:
|
|
|
36
36
|
### Inception Progress
|
|
37
37
|
- [x] Intent created
|
|
38
38
|
- [x] Requirements gathered
|
|
39
|
+
- [x] Risks defined
|
|
39
40
|
- [ ] Generating artifacts... ← current
|
|
40
41
|
- [x] System Context
|
|
41
42
|
- [x] Units
|
|
42
43
|
- [x] Stories
|
|
43
44
|
- [ ] Bolt Plan ← this skill
|
|
44
|
-
- [ ] Artifacts reviewed (Checkpoint
|
|
45
|
+
- [ ] Artifacts reviewed (Checkpoint 4)
|
|
45
46
|
- [ ] Ready for Construction
|
|
46
47
|
```
|
|
47
48
|
|
|
@@ -35,12 +35,13 @@ Show at start of this skill:
|
|
|
35
35
|
### Inception Progress
|
|
36
36
|
- [x] Intent created
|
|
37
37
|
- [x] Requirements gathered
|
|
38
|
+
- [x] Risks defined
|
|
38
39
|
- [ ] Generating artifacts... ← current
|
|
39
40
|
- [ ] System Context ← this skill
|
|
40
41
|
- [ ] Units
|
|
41
42
|
- [ ] Stories
|
|
42
43
|
- [ ] Bolt Plan
|
|
43
|
-
- [ ] Artifacts reviewed (Checkpoint
|
|
44
|
+
- [ ] Artifacts reviewed (Checkpoint 4)
|
|
44
45
|
- [ ] Ready for Construction
|
|
45
46
|
```
|
|
46
47
|
|
|
@@ -68,11 +68,12 @@ Scan artifacts **in order** - first missing item is the suggested next step:
|
|
|
68
68
|
|
|
69
69
|
1. No intent folder exists → **Create Intent**
|
|
70
70
|
2. `requirements.md` missing → **Gather Requirements**
|
|
71
|
-
3. `
|
|
72
|
-
4. `
|
|
73
|
-
5. `
|
|
74
|
-
6. `
|
|
75
|
-
7.
|
|
71
|
+
3. `risks.md` missing → **Define Risks**
|
|
72
|
+
4. `system-context.md` missing → **Define Context**
|
|
73
|
+
5. `units.md` missing → **Decompose Units**
|
|
74
|
+
6. `story-index.md` missing → **Create Stories**
|
|
75
|
+
7. `bolt-plan.md` missing → **Plan Bolts**
|
|
76
|
+
8. All complete → **Review & Complete**
|
|
76
77
|
|
|
77
78
|
**CRITICAL**: The suggested step becomes **Option 1** in the menu.
|
|
78
79
|
|
|
@@ -121,6 +122,7 @@ When user selects an option:
|
|
|
121
122
|
|
|
122
123
|
### Progress
|
|
123
124
|
- {✅ or [ ]} Requirements gathered {← current if next step}
|
|
125
|
+
- {✅ or [ ]} Risks defined {← current if next step}
|
|
124
126
|
- {✅ or [ ]} System context defined {← current if next step}
|
|
125
127
|
- {✅ or [ ]} Units decomposed {← current if next step}
|
|
126
128
|
- {✅ or [ ]} Stories created {← current if next step}
|
|
@@ -145,7 +147,7 @@ When user selects an option:
|
|
|
145
147
|
**Type 1 to continue, or a number for other actions.**
|
|
146
148
|
```
|
|
147
149
|
|
|
148
|
-
**Example: Requirements done,
|
|
150
|
+
**Example: Requirements done, risks missing**
|
|
149
151
|
|
|
150
152
|
```markdown
|
|
151
153
|
## Inception Agent
|
|
@@ -155,7 +157,8 @@ When user selects an option:
|
|
|
155
157
|
|
|
156
158
|
### Progress
|
|
157
159
|
- ✅ Requirements gathered
|
|
158
|
-
- [ ]
|
|
160
|
+
- [ ] Risks defined ← current
|
|
161
|
+
- [ ] System context defined
|
|
159
162
|
- [ ] Units decomposed
|
|
160
163
|
- [ ] Stories created
|
|
161
164
|
- [ ] Bolts planned
|
|
@@ -165,7 +168,7 @@ When user selects an option:
|
|
|
165
168
|
|
|
166
169
|
### Continue This Intent
|
|
167
170
|
|
|
168
|
-
1 - **Define
|
|
171
|
+
1 - **Define Risks** ← Next step
|
|
169
172
|
2 - Revisit Requirements
|
|
170
173
|
|
|
171
174
|
### Other Actions
|
|
@@ -191,6 +194,7 @@ When user selects an option:
|
|
|
191
194
|
All inception artifacts have been created:
|
|
192
195
|
|
|
193
196
|
- ✅ Requirements gathered
|
|
197
|
+
- ✅ Risks defined
|
|
194
198
|
- ✅ System context defined
|
|
195
199
|
- ✅ Units decomposed
|
|
196
200
|
- ✅ Stories created
|
|
@@ -198,6 +202,7 @@ All inception artifacts have been created:
|
|
|
198
202
|
- ✅ Review complete
|
|
199
203
|
|
|
200
204
|
### Summary
|
|
205
|
+
- Risks identified: {n}
|
|
201
206
|
- Units defined: {n}
|
|
202
207
|
- Stories created: {n}
|
|
203
208
|
- Bolts planned: {n}
|