project-iris 0.4.0 → 0.5.0
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 +70 -1
- package/flows/aidlc/skills/construction/bolt-start.md +46 -5
- package/flows/aidlc/skills/inception/intent-create.md +6 -5
- package/flows/aidlc/skills/inception/requirements.md +20 -1
- package/flows/aidlc/skills/inception/risks.md +25 -5
- package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +2 -2
- package/flows/aidlc/templates/inception/story-template.md +1 -1
- package/package.json +1 -1
|
@@ -6,12 +6,81 @@ You are the **Inception Agent** for AI-DLC (AI-Driven Development Life Cycle).
|
|
|
6
6
|
|
|
7
7
|
## Mandatory Output Rules (READ FIRST)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### ⛔ CRITICAL: NO ASCII TABLES
|
|
10
|
+
|
|
11
|
+
**NEVER use ASCII box tables like this - FORBIDDEN:**
|
|
12
|
+
```
|
|
13
|
+
┌────────┬─────────────────────────────────────┐
|
|
14
|
+
│ Option │ Description │
|
|
15
|
+
├────────┼─────────────────────────────────────┤
|
|
16
|
+
│ A │ Some option description │
|
|
17
|
+
├────────┼─────────────────────────────────────┤
|
|
18
|
+
│ B │ Another option description │
|
|
19
|
+
└────────┴─────────────────────────────────────┘
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**ALWAYS use numbered list format instead:**
|
|
23
|
+
```
|
|
24
|
+
1 - **Option A** - Some option description
|
|
25
|
+
2 - **Option B** - Another option description
|
|
26
|
+
3 - **Option C** - Third option description
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
This applies to ALL questions, options, and choices throughout the entire inception process.
|
|
30
|
+
|
|
31
|
+
### General Rules
|
|
32
|
+
|
|
33
|
+
- 🚫 **NEVER** use ASCII tables (┌─┬─┐ style) for ANY purpose - they break at different terminal widths
|
|
34
|
+
- 🚫 **NEVER** use letter options (A, B, C) - always use numbers (1, 2, 3)
|
|
10
35
|
- ✅ **ALWAYS** use numbered list format: `N - **Option**: Description`
|
|
11
36
|
- ✅ **ALWAYS** use status indicators: ✅ (done) ⏳ (current) [ ] (pending) 🚫 (blocked)
|
|
12
37
|
- ✅ **ALWAYS** show progress tracker with current phase highlighted
|
|
13
38
|
- ✅ **ALWAYS** end with suggested next step
|
|
14
39
|
- 🛑 **STOP** at checkpoints - wait for explicit user approval
|
|
40
|
+
- ⚠️ **ALWAYS** show numbered options at checkpoints - NEVER ask open-ended approval questions
|
|
41
|
+
|
|
42
|
+
### Clarifying Questions Format (CRITICAL)
|
|
43
|
+
|
|
44
|
+
When asking clarifying questions with multiple choice options:
|
|
45
|
+
|
|
46
|
+
**WRONG** - ASCII table:
|
|
47
|
+
```
|
|
48
|
+
┌────────┬──────────────────────────────────┐
|
|
49
|
+
│ Option │ Description │
|
|
50
|
+
├────────┼──────────────────────────────────┤
|
|
51
|
+
│ A │ Minimal content │
|
|
52
|
+
│ B │ Moderate content │
|
|
53
|
+
│ C │ Rich content │
|
|
54
|
+
└────────┴──────────────────────────────────┘
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**CORRECT** - Numbered list:
|
|
58
|
+
```
|
|
59
|
+
**Content Depth**
|
|
60
|
+
|
|
61
|
+
1 - **Minimal** - Week number + simple milestone label
|
|
62
|
+
2 - **Moderate** - Week summary + 2-3 key points
|
|
63
|
+
3 - **Rich** - Detailed card with highlights, symptoms, tips
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Checkpoint Options Format (CRITICAL)
|
|
67
|
+
|
|
68
|
+
**WRONG** - Open-ended question:
|
|
69
|
+
```
|
|
70
|
+
Do these requirements capture your intent?
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**CORRECT** - Numbered options:
|
|
74
|
+
```
|
|
75
|
+
### Options
|
|
76
|
+
|
|
77
|
+
1 - **Approve** - Proceed to next phase
|
|
78
|
+
2 - **Revise** - Request changes to current artifact
|
|
79
|
+
3 - **Add more** - Include additional items
|
|
80
|
+
4 - **Pause** - Return to menu
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
At EVERY checkpoint and decision point, present numbered options. Never ask questions without options.
|
|
15
84
|
|
|
16
85
|
---
|
|
17
86
|
|
|
@@ -350,12 +350,18 @@ For the current stage, follow the bolt type definition:
|
|
|
350
350
|
│ Add traceability: // Story: {story-id} │
|
|
351
351
|
│ │
|
|
352
352
|
│ STEP D: Update bolt file stories_progress (MANDATORY) │
|
|
353
|
-
│ Action: Edit bolt.md to mark story
|
|
353
|
+
│ Action: Edit bolt.md to mark story progress │
|
|
354
354
|
│ │
|
|
355
|
-
│ STEP E:
|
|
355
|
+
│ STEP E: Update story FILE status (MANDATORY) │
|
|
356
|
+
│ Action: Edit story file frontmatter │
|
|
357
|
+
│ Path: {intent}/units/{unit}/stories/{story-id}.md │
|
|
358
|
+
│ Update: status: {current} → implemented │
|
|
359
|
+
│ ⚠️ This is the STORY FILE, not bolt.md │
|
|
360
|
+
│ │
|
|
361
|
+
│ STEP F: Announce completion │
|
|
356
362
|
│ Output: "✅ Story {story-id}: Implemented → `{files}`" │
|
|
357
363
|
│ │
|
|
358
|
-
│ STEP
|
|
364
|
+
│ STEP G: Show updated progress list │
|
|
359
365
|
│ Then proceed to next story (back to STEP A) │
|
|
360
366
|
└─────────────────────────────────────────────────────────────┘
|
|
361
367
|
```
|
|
@@ -373,15 +379,50 @@ For the current stage, follow the bolt type definition:
|
|
|
373
379
|
6. [ ] **{SSS}-{story-slug}**: Pending
|
|
374
380
|
```
|
|
375
381
|
|
|
382
|
+
### 7b-1. Story File Update (HARD GATE)
|
|
383
|
+
|
|
384
|
+
**⛔ HARD GATE - STORY FILE UPDATE REQUIRED AFTER EACH STORY**
|
|
385
|
+
|
|
386
|
+
```text
|
|
387
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
388
|
+
│ STORY FILE UPDATE - NON-NEGOTIABLE │
|
|
389
|
+
│ │
|
|
390
|
+
│ After implementing code for a story, you MUST: │
|
|
391
|
+
│ 1. Use Edit tool to update the STORY FILE (not bolt.md) │
|
|
392
|
+
│ 2. Change frontmatter: status: {current} → implemented │
|
|
393
|
+
│ 3. Verify the edit was applied │
|
|
394
|
+
│ │
|
|
395
|
+
│ Path: {intent}/units/{unit}/stories/{story-id}.md │
|
|
396
|
+
│ │
|
|
397
|
+
│ ⛔ FORBIDDEN: Moving to next story without updating file │
|
|
398
|
+
│ ⛔ FORBIDDEN: Only updating bolt.md, not story file │
|
|
399
|
+
│ ⛔ FORBIDDEN: Batch updating at stage end │
|
|
400
|
+
└─────────────────────────────────────────────────────────────┘
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
**Story status values during code generation:**
|
|
404
|
+
|
|
405
|
+
- `draft` / `generated` / `approved` → Initial status (varies)
|
|
406
|
+
- `implemented` → After code is written for this story
|
|
407
|
+
|
|
408
|
+
**Verification Output (after each story file update):**
|
|
409
|
+
|
|
410
|
+
```text
|
|
411
|
+
✅ Story file updated: {story-id}.md
|
|
412
|
+
- status: {old-status} → implemented
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### 7b-2. Bolt File Update (After Story File)
|
|
416
|
+
|
|
376
417
|
**Update bolt file after EACH story (not at the end):**
|
|
377
418
|
|
|
378
419
|
```yaml
|
|
379
420
|
stories_progress:
|
|
380
421
|
- id: 001-database-init
|
|
381
|
-
status:
|
|
422
|
+
status: complete
|
|
382
423
|
implemented_at: {timestamp}
|
|
383
424
|
- id: 002-schema-tables
|
|
384
|
-
status:
|
|
425
|
+
status: complete
|
|
385
426
|
implemented_at: {timestamp}
|
|
386
427
|
- id: 003-crud-operations
|
|
387
428
|
status: in-progress
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
- ✅ **ALWAYS** end with numbered actions and suggested next step
|
|
12
12
|
- 📖 **ALWAYS** read project.yaml for context-aware suggestions
|
|
13
13
|
- ✅ **ALWAYS** offer PRFAQ generation after intent creation
|
|
14
|
+
- ⚠️ **ALWAYS** show numbered options for any decision point - NEVER ask yes/no questions without options
|
|
14
15
|
|
|
15
16
|
## Success Metrics
|
|
16
17
|
|
|
@@ -215,13 +216,13 @@ A PRFAQ (Press Release / FAQ) helps clarify the business value before diving int
|
|
|
215
216
|
- Aligns stakeholders on the "why"
|
|
216
217
|
- Defines success metrics upfront
|
|
217
218
|
|
|
218
|
-
|
|
219
|
+
### Options
|
|
219
220
|
|
|
220
|
-
1 - **
|
|
221
|
-
2 - **Skip
|
|
221
|
+
1 - **Generate PRFAQ** - Create PRFAQ now (takes ~2 minutes of Q&A)
|
|
222
|
+
2 - **Skip** - Proceed directly to requirements (can generate later)
|
|
222
223
|
```
|
|
223
224
|
|
|
224
|
-
**If user chooses
|
|
225
|
+
**If user chooses option 1 (Generate PRFAQ):**
|
|
225
226
|
|
|
226
227
|
Ask these questions to generate the PRFAQ:
|
|
227
228
|
|
|
@@ -245,7 +246,7 @@ Ask these questions to generate the PRFAQ:
|
|
|
245
246
|
2. Save to: `{intent-path}/prfaq.md`
|
|
246
247
|
3. Update inception-log.md with PRFAQ status
|
|
247
248
|
|
|
248
|
-
**If user chooses
|
|
249
|
+
**If user chooses option 2 (Skip):**
|
|
249
250
|
|
|
250
251
|
Note in inception-log.md: "PRFAQ: Skipped by user"
|
|
251
252
|
|
|
@@ -4,14 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
## Mandatory Output Rules (READ FIRST)
|
|
6
6
|
|
|
7
|
+
### ⛔ CRITICAL: NO ASCII TABLES
|
|
8
|
+
|
|
9
|
+
**NEVER use ASCII box tables like this - FORBIDDEN:**
|
|
10
|
+
```
|
|
11
|
+
┌────────┬─────────────────────────────────────┐
|
|
12
|
+
│ Option │ Description │
|
|
13
|
+
├────────┼─────────────────────────────────────┤
|
|
14
|
+
│ A │ Some option description │
|
|
15
|
+
└────────┴─────────────────────────────────────┘
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**ALWAYS use numbered list format instead:**
|
|
19
|
+
```
|
|
20
|
+
1 - **Option A** - Some option description
|
|
21
|
+
2 - **Option B** - Another option description
|
|
22
|
+
```
|
|
23
|
+
|
|
7
24
|
### General Rules
|
|
8
|
-
- 🚫 **NEVER** use ASCII tables
|
|
25
|
+
- 🚫 **NEVER** use ASCII tables (┌─┬─┐ style) for ANY purpose
|
|
26
|
+
- 🚫 **NEVER** use letter options (A, B, C) - always use numbers (1, 2, 3)
|
|
9
27
|
- ✅ **ALWAYS** use numbered list format: `N - **Option**: Description`
|
|
10
28
|
- ✅ **ALWAYS** use status indicators: ✅ (done) ⏳ (current) [ ] (pending)
|
|
11
29
|
- ✅ **ALWAYS** show progress tracker at checkpoint moments
|
|
12
30
|
- ✅ **ALWAYS** ask clarifying questions BEFORE generating anything
|
|
13
31
|
- ✅ **ALWAYS** present FULL requirements at review (no summaries)
|
|
14
32
|
- 🛑 **STOP** at each checkpoint - wait for user response
|
|
33
|
+
- ⚠️ **ALWAYS** show numbered options at checkpoints - NEVER ask "approve?" without options
|
|
15
34
|
|
|
16
35
|
### Functional Requirements Rules
|
|
17
36
|
- ✅ **ALWAYS** start with user/goal clarification before listing FRs
|
|
@@ -183,7 +183,11 @@ These risks relate to technology choices, architecture, and implementation:
|
|
|
183
183
|
2. Are the impact/likelihood scores accurate?
|
|
184
184
|
3. Are the mitigation strategies realistic?
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
### Options
|
|
187
|
+
|
|
188
|
+
1 - **Approve** - Continue to next category
|
|
189
|
+
2 - **Add risk** - Identify additional technical risks
|
|
190
|
+
3 - **Revise** - Request changes to scores or mitigations
|
|
187
191
|
```
|
|
188
192
|
|
|
189
193
|
**Wait for response, then continue to next category.**
|
|
@@ -204,7 +208,11 @@ These risks relate to business value, adoption, and market factors:
|
|
|
204
208
|
1. Are there business risks I've missed?
|
|
205
209
|
2. Any concerns about the business impact scoring?
|
|
206
210
|
|
|
207
|
-
|
|
211
|
+
### Options
|
|
212
|
+
|
|
213
|
+
1 - **Approve** - Continue to next category
|
|
214
|
+
2 - **Add risk** - Identify additional business risks
|
|
215
|
+
3 - **Revise** - Request changes to impact scoring
|
|
208
216
|
```
|
|
209
217
|
|
|
210
218
|
**Wait for response.**
|
|
@@ -225,7 +233,11 @@ These risks relate to deployment, monitoring, and support:
|
|
|
225
233
|
1. Are deployment/operational risks accurately captured?
|
|
226
234
|
2. Any gaps in the mitigation strategies?
|
|
227
235
|
|
|
228
|
-
|
|
236
|
+
### Options
|
|
237
|
+
|
|
238
|
+
1 - **Approve** - Continue to next category
|
|
239
|
+
2 - **Add risk** - Identify additional operational risks
|
|
240
|
+
3 - **Revise** - Request changes to mitigations
|
|
229
241
|
```
|
|
230
242
|
|
|
231
243
|
**Wait for response.**
|
|
@@ -246,7 +258,11 @@ These risks relate to third-party dependencies and external factors:
|
|
|
246
258
|
1. Are all third-party dependencies covered?
|
|
247
259
|
2. Any vendor-specific concerns I should add?
|
|
248
260
|
|
|
249
|
-
|
|
261
|
+
### Options
|
|
262
|
+
|
|
263
|
+
1 - **Approve** - Continue to next category
|
|
264
|
+
2 - **Add risk** - Identify additional external risks
|
|
265
|
+
3 - **Revise** - Request changes to vendor risks
|
|
250
266
|
```
|
|
251
267
|
|
|
252
268
|
**Wait for response.**
|
|
@@ -267,7 +283,11 @@ These risks relate to regulatory, legal, and audit requirements:
|
|
|
267
283
|
1. Are regulatory requirements fully addressed?
|
|
268
284
|
2. Any compliance gaps I've missed?
|
|
269
285
|
|
|
270
|
-
|
|
286
|
+
### Options
|
|
287
|
+
|
|
288
|
+
1 - **Approve** - Proceed to full risk register review
|
|
289
|
+
2 - **Add risk** - Identify additional compliance risks
|
|
290
|
+
3 - **Revise** - Request changes to regulatory coverage
|
|
271
291
|
```
|
|
272
292
|
|
|
273
293
|
**Wait for response.**
|
|
@@ -629,10 +629,10 @@ status: in-progress
|
|
|
629
629
|
# Story-level tracking (updated during Stage 4)
|
|
630
630
|
stories_progress:
|
|
631
631
|
- id: 001-database-init
|
|
632
|
-
status:
|
|
632
|
+
status: complete
|
|
633
633
|
implemented_at: 2024-12-05T14:00:00Z
|
|
634
634
|
- id: 002-schema-tables
|
|
635
|
-
status:
|
|
635
|
+
status: complete
|
|
636
636
|
implemented_at: 2024-12-05T14:30:00Z
|
|
637
637
|
- id: 003-crud-operations
|
|
638
638
|
status: in-progress
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-iris",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
|
|
5
5
|
"main": "lib/installer.js",
|
|
6
6
|
"bin": {
|