project-iris 0.0.12 → 0.0.14
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 +214 -323
- package/bin/cli.js +21 -0
- package/flows/aidlc/README.md +372 -0
- package/flows/aidlc/agents/construction-agent.md +79 -0
- package/flows/aidlc/agents/inception-agent.md +97 -0
- package/flows/aidlc/agents/master-agent.md +61 -0
- package/flows/aidlc/agents/operations-agent.md +89 -0
- package/flows/aidlc/commands/construction-agent.md +63 -0
- package/flows/aidlc/commands/inception-agent.md +55 -0
- package/flows/aidlc/commands/master-agent.md +47 -0
- package/flows/aidlc/commands/operations-agent.md +77 -0
- package/flows/aidlc/context-config.yaml +67 -0
- package/flows/aidlc/memory-bank.yaml +104 -0
- package/flows/aidlc/quick-start.md +322 -0
- package/flows/aidlc/skills/construction/bolt-list.md +163 -0
- package/flows/aidlc/skills/construction/bolt-replan.md +345 -0
- package/flows/aidlc/skills/construction/bolt-start.md +442 -0
- package/flows/aidlc/skills/construction/bolt-status.md +185 -0
- package/flows/aidlc/skills/construction/navigator.md +196 -0
- package/flows/aidlc/skills/inception/bolt-plan.md +372 -0
- package/flows/aidlc/skills/inception/context.md +171 -0
- package/flows/aidlc/skills/inception/intent-create.md +211 -0
- package/flows/aidlc/skills/inception/intent-list.md +124 -0
- package/flows/aidlc/skills/inception/navigator.md +207 -0
- package/flows/aidlc/skills/inception/requirements.md +227 -0
- package/flows/aidlc/skills/inception/review.md +248 -0
- package/flows/aidlc/skills/inception/story-create.md +304 -0
- package/flows/aidlc/skills/inception/units.md +278 -0
- package/flows/aidlc/skills/master/analyze-context.md +239 -0
- package/flows/aidlc/skills/master/answer-question.md +141 -0
- package/flows/aidlc/skills/master/explain-flow.md +158 -0
- package/flows/aidlc/skills/master/project-init.md +281 -0
- package/flows/aidlc/skills/master/route-request.md +126 -0
- package/flows/aidlc/skills/operations/build.md +237 -0
- package/flows/aidlc/skills/operations/deploy.md +259 -0
- package/flows/aidlc/skills/operations/monitor.md +265 -0
- package/flows/aidlc/skills/operations/navigator.md +209 -0
- package/flows/aidlc/skills/operations/verify.md +224 -0
- package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt.md +3 -3
- package/{dist → flows/aidlc}/templates/construction/bolt-types/spike-bolt.md +2 -2
- package/flows/aidlc/templates/construction/construction-log-template.md +129 -0
- package/flows/aidlc/templates/construction/standards/coding-standards.md +29 -0
- package/flows/aidlc/templates/construction/standards/system-architecture.md +22 -0
- package/flows/aidlc/templates/construction/standards/tech-stack.md +19 -0
- package/flows/aidlc/templates/inception/inception-log-template.md +134 -0
- package/flows/aidlc/templates/inception/project/README.md +55 -0
- package/flows/aidlc/templates/standards/catalog.yaml +345 -0
- package/flows/aidlc/templates/standards/coding-standards.guide.md +553 -0
- package/flows/aidlc/templates/standards/data-stack.guide.md +162 -0
- package/flows/aidlc/templates/standards/tech-stack.guide.md +280 -0
- package/lib/InstallerFactory.js +36 -0
- package/lib/analytics/env-detector.js +92 -0
- package/lib/analytics/index.js +22 -0
- package/lib/analytics/machine-id.js +33 -0
- package/lib/analytics/tracker.js +232 -0
- package/lib/cli-utils.js +342 -0
- package/lib/constants.js +32 -0
- package/lib/installer.js +402 -0
- package/lib/installers/AntigravityInstaller.js +22 -0
- package/lib/installers/ClaudeInstaller.js +85 -0
- package/lib/installers/ClineInstaller.js +21 -0
- package/lib/installers/CodexInstaller.js +21 -0
- package/lib/installers/CopilotInstaller.js +113 -0
- package/lib/installers/CursorInstaller.js +63 -0
- package/lib/installers/GeminiInstaller.js +75 -0
- package/lib/installers/KiroInstaller.js +22 -0
- package/lib/installers/OpenCodeInstaller.js +22 -0
- package/lib/installers/RooInstaller.js +22 -0
- package/lib/installers/ToolInstaller.js +73 -0
- package/lib/installers/WindsurfInstaller.js +22 -0
- package/lib/markdown-validator.ts +175 -0
- package/lib/yaml-validator.ts +99 -0
- package/package.json +105 -32
- package/scripts/artifact-validator.js +594 -0
- package/scripts/bolt-complete.js +606 -0
- package/scripts/status-integrity.js +598 -0
- package/dist/bridge/agent-runner.js +0 -190
- package/dist/bridge/connector-factory.js +0 -31
- package/dist/bridge/connectors/antigravity-connector.js +0 -18
- package/dist/bridge/connectors/cursor-connector.js +0 -31
- package/dist/bridge/connectors/in-process-connector.js +0 -29
- package/dist/bridge/connectors/vscode-connector.js +0 -31
- package/dist/bridge/connectors/windsurf-connector.js +0 -23
- package/dist/bridge/filesystem-connector.js +0 -110
- package/dist/bridge/helper.js +0 -203
- package/dist/bridge/types.js +0 -10
- package/dist/cli.js +0 -40
- package/dist/commands/ask.js +0 -259
- package/dist/commands/bridge.js +0 -88
- package/dist/commands/create.js +0 -25
- package/dist/commands/develop.js +0 -141
- package/dist/commands/doctor.js +0 -102
- package/dist/commands/flow.js +0 -301
- package/dist/commands/framework.js +0 -273
- package/dist/commands/generate.js +0 -59
- package/dist/commands/install.js +0 -100
- package/dist/commands/pack.js +0 -33
- package/dist/commands/phase.js +0 -38
- package/dist/commands/run.js +0 -199
- package/dist/commands/status.js +0 -114
- package/dist/commands/uninstall.js +0 -14
- package/dist/commands/use.js +0 -20
- package/dist/commands/validate.js +0 -102
- package/dist/framework/framework-loader.js +0 -97
- package/dist/framework/framework-paths.js +0 -48
- package/dist/framework/framework-types.js +0 -15
- package/dist/iris/artifact-checker.js +0 -78
- package/dist/iris/artifacts/config.js +0 -68
- package/dist/iris/artifacts/generator.js +0 -88
- package/dist/iris/artifacts/types.js +0 -1
- package/dist/iris/bundle.js +0 -44
- package/dist/iris/doctrine/collector.js +0 -124
- package/dist/iris/fixer.js +0 -149
- package/dist/iris/flows/manifest.js +0 -124
- package/dist/iris/framework-context.js +0 -49
- package/dist/iris/framework-manager.js +0 -215
- package/dist/iris/fs/atomic.js +0 -22
- package/dist/iris/guard.js +0 -38
- package/dist/iris/importers/index.js +0 -9
- package/dist/iris/importers/types.js +0 -8
- package/dist/iris/importers/writer.js +0 -139
- package/dist/iris/include.js +0 -49
- package/dist/iris/installer.js +0 -334
- package/dist/iris/interactive/env.js +0 -21
- package/dist/iris/interactive/intent-interview.js +0 -345
- package/dist/iris/interactive/intent-schema.js +0 -28
- package/dist/iris/interactive/interview-io.js +0 -22
- package/dist/iris/interview/config.js +0 -71
- package/dist/iris/interview/types.js +0 -16
- package/dist/iris/interview/utils.js +0 -38
- package/dist/iris/manifest.js +0 -54
- package/dist/iris/packer.js +0 -325
- package/dist/iris/parsers/unit-parser.js +0 -43
- package/dist/iris/paths.js +0 -18
- package/dist/iris/policy.js +0 -133
- package/dist/iris/proc.js +0 -56
- package/dist/iris/report.js +0 -53
- package/dist/iris/resolver.js +0 -66
- package/dist/iris/router.js +0 -114
- package/dist/iris/routes.js +0 -189
- package/dist/iris/run-state.js +0 -146
- package/dist/iris/state.js +0 -113
- package/dist/iris/templates.js +0 -70
- package/dist/iris/tmp.js +0 -24
- package/dist/iris/uninstaller.js +0 -181
- package/dist/iris/utils/interpolate.js +0 -42
- package/dist/iris/validator.js +0 -391
- package/dist/iris/workflow/config.js +0 -51
- package/dist/iris/workflow/engine.js +0 -129
- package/dist/iris/workflow/steps.js +0 -448
- package/dist/iris/workflow/types.js +0 -1
- package/dist/iris_bundle/frameworks/iris-core/framework.yaml +0 -9
- package/dist/iris_bundle/frameworks/iris-core/memory/memory-bank.yaml +0 -1
- package/dist/iris_bundle/frameworks/iris-core/policy.yaml +0 -7
- package/dist/iris_bundle/frameworks/iris-core/templates/config/memory-bank.yaml +0 -1
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/spike-bolt.md +0 -240
- package/dist/lib.js +0 -96
- package/dist/templates/construction/bolt-template.md +0 -226
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -49
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -55
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -67
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -62
- package/dist/templates/construction/bolt-types/ddd-construction-bolt.md +0 -528
- package/dist/templates/construction/bolt-types/simple-construction-bolt.md +0 -347
- package/dist/templates/inception/requirements-template.md +0 -144
- package/dist/templates/inception/stories-template.md +0 -38
- package/dist/templates/inception/story-template.md +0 -147
- package/dist/templates/inception/system-context-template.md +0 -29
- package/dist/templates/inception/unit-brief-template.md +0 -177
- package/dist/templates/inception/units-template.md +0 -52
- package/dist/utils/exit-codes.js +0 -7
- package/dist/utils/logo.js +0 -17
- package/dist/workflows/bolt-execution.js +0 -238
- package/dist/workflows/bolt-plan.js +0 -221
- package/dist/workflows/intent-inception.js +0 -285
- package/dist/workflows/memory-bank-generator.js +0 -180
- package/dist/workflows/reporting.js +0 -74
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/simple-construction-bolt.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/requirements-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/stories-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/story-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/system-context-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/unit-brief-template.md +0 -0
- /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/units-template.md +0 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
# iris AI-DLC Quick Start Guide
|
|
2
|
+
|
|
3
|
+
Get started with AI-Driven Development Lifecycle in minutes.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx project-iris@latest install
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The installer will:
|
|
14
|
+
|
|
15
|
+
1. Detect available agentic coding tools (Claude Code, Cursor, GitHub Copilot)
|
|
16
|
+
2. Install agent definitions and skills
|
|
17
|
+
3. Set up the memory bank structure
|
|
18
|
+
4. Create slash commands for your tools
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Three-Phase Workflow
|
|
23
|
+
|
|
24
|
+
AI-DLC has three sequential phases, each with a specialized agent:
|
|
25
|
+
|
|
26
|
+
| Phase | Agent | Purpose |
|
|
27
|
+
|-------|-------|---------|
|
|
28
|
+
| **Inception** | Inception Agent | Capture intents, gather requirements, decompose into units |
|
|
29
|
+
| **Construction** | Construction Agent | Execute bolts (rapid iterations) to build code |
|
|
30
|
+
| **Operations** | Operations Agent | Deploy, verify, and monitor |
|
|
31
|
+
|
|
32
|
+
The **Master Agent** orchestrates everything and helps you navigate.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Quick Start Flow
|
|
37
|
+
|
|
38
|
+
### Step 1: Initialize Your Project
|
|
39
|
+
|
|
40
|
+
Open your AI coding tool (Claude Code, Cursor, etc.) and type this command as a prompt:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
/iris-master-agent
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Then type `project-init` or `init` when prompted.
|
|
47
|
+
|
|
48
|
+
This guides you through:
|
|
49
|
+
|
|
50
|
+
- **Project type selection** (full-stack, backend API, frontend, CLI, library)
|
|
51
|
+
- **Tech stack decisions** (language, framework, database, ORM)
|
|
52
|
+
- **Coding standards** (formatting, linting, testing strategy)
|
|
53
|
+
- **Optional standards** (architecture, UX guide, API conventions)
|
|
54
|
+
|
|
55
|
+
Standards are saved to `memory-bank/standards/` and provide context for all AI agents.
|
|
56
|
+
|
|
57
|
+
### Step 2: Create Your First Intent
|
|
58
|
+
|
|
59
|
+
Switch to the Inception Agent:
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
/iris-inception-agent intent-create
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
An **Intent** is a high-level goal. Examples:
|
|
66
|
+
|
|
67
|
+
- "User authentication system"
|
|
68
|
+
- "Product catalog with search"
|
|
69
|
+
- "Payment processing integration"
|
|
70
|
+
|
|
71
|
+
The agent will:
|
|
72
|
+
|
|
73
|
+
1. Capture the intent
|
|
74
|
+
2. Elaborate requirements
|
|
75
|
+
3. Define system context
|
|
76
|
+
4. Decompose into units
|
|
77
|
+
|
|
78
|
+
### Step 3: Plan and Start Bolts
|
|
79
|
+
|
|
80
|
+
Once units are defined, plan your first bolt:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
/iris-inception-agent bolt-plan
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
A **Bolt** is a rapid iteration (hours to days). Two types available:
|
|
87
|
+
|
|
88
|
+
| Bolt Type | Best For |
|
|
89
|
+
|-----------|----------|
|
|
90
|
+
| **DDD Construction** | Complex business logic, domain modeling |
|
|
91
|
+
| **Simple Construction** | UI, integrations, utilities |
|
|
92
|
+
|
|
93
|
+
### Step 4: Execute Bolts
|
|
94
|
+
|
|
95
|
+
Switch to the Construction Agent to execute:
|
|
96
|
+
|
|
97
|
+
```text
|
|
98
|
+
/iris-construction-agent bolt-start
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Each bolt type has its own stages:
|
|
102
|
+
|
|
103
|
+
**DDD Construction Bolt** (for complex business logic):
|
|
104
|
+
|
|
105
|
+
1. **Domain Model** - Model the business domain
|
|
106
|
+
2. **Technical Design** - Define interfaces and architecture
|
|
107
|
+
3. **ADR Analysis** - Document significant decisions (optional)
|
|
108
|
+
4. **Implement** - Write production code
|
|
109
|
+
5. **Test** - Verify correctness
|
|
110
|
+
|
|
111
|
+
**Simple Construction Bolt** (for UI, integrations, utilities):
|
|
112
|
+
|
|
113
|
+
1. **Spec** - Define what to build
|
|
114
|
+
2. **Implement** - Write the code
|
|
115
|
+
3. **Test** - Verify it works
|
|
116
|
+
|
|
117
|
+
Human validation happens at each stage.
|
|
118
|
+
|
|
119
|
+
### Step 5: Deploy
|
|
120
|
+
|
|
121
|
+
When bolts are complete, use the Operations Agent:
|
|
122
|
+
|
|
123
|
+
```text
|
|
124
|
+
/iris-operations-agent deploy
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Agent Commands Reference
|
|
130
|
+
|
|
131
|
+
### Master Agent (`/iris-master-agent`)
|
|
132
|
+
|
|
133
|
+
| Skill | Purpose |
|
|
134
|
+
|-------|---------|
|
|
135
|
+
| `project-init` | Initialize project with standards |
|
|
136
|
+
| `analyze-context` | View current project state |
|
|
137
|
+
| `route-request` | Get directed to the right agent |
|
|
138
|
+
| `explain-flow` | Learn about AI-DLC methodology |
|
|
139
|
+
| `answer-question` | Get help with any iris question |
|
|
140
|
+
|
|
141
|
+
### Inception Agent (`/iris-inception-agent`)
|
|
142
|
+
|
|
143
|
+
| Skill | Purpose |
|
|
144
|
+
|-------|---------|
|
|
145
|
+
| `intent-create` | Create a new intent |
|
|
146
|
+
| `intent-list` | List all intents |
|
|
147
|
+
| `requirements` | Elaborate intent requirements |
|
|
148
|
+
| `context` | Define system context |
|
|
149
|
+
| `units` | Decompose into units |
|
|
150
|
+
| `story-create` | Create stories for a unit |
|
|
151
|
+
| `bolt-plan` | Plan bolts for stories |
|
|
152
|
+
| `review` | Review inception artifacts |
|
|
153
|
+
| `navigator` | Navigate inception workflow |
|
|
154
|
+
|
|
155
|
+
### Construction Agent (`/iris-construction-agent`)
|
|
156
|
+
|
|
157
|
+
| Skill | Purpose |
|
|
158
|
+
|-------|---------|
|
|
159
|
+
| `bolt-start` | Start executing a bolt |
|
|
160
|
+
| `bolt-status` | Check bolt progress |
|
|
161
|
+
| `bolt-list` | List all bolts |
|
|
162
|
+
| `bolt-plan` | Plan additional bolts |
|
|
163
|
+
| `navigator` | Navigate construction workflow |
|
|
164
|
+
|
|
165
|
+
### Operations Agent (`/iris-operations-agent`)
|
|
166
|
+
|
|
167
|
+
| Skill | Purpose |
|
|
168
|
+
|-------|---------|
|
|
169
|
+
| `build` | Build the project |
|
|
170
|
+
| `deploy` | Deploy to environment |
|
|
171
|
+
| `verify` | Verify deployment |
|
|
172
|
+
| `monitor` | Set up monitoring |
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Project Types
|
|
177
|
+
|
|
178
|
+
Choose your project type during initialization:
|
|
179
|
+
|
|
180
|
+
| Type | Required Standards | Recommended Standards |
|
|
181
|
+
|------|-------------------|----------------------|
|
|
182
|
+
| **full-stack-web** | tech-stack, coding-standards | system-architecture, ux-guide, api-conventions |
|
|
183
|
+
| **backend-api** | tech-stack, coding-standards | system-architecture, api-conventions |
|
|
184
|
+
| **frontend-app** | tech-stack, coding-standards | ux-guide |
|
|
185
|
+
| **cli-tool** | tech-stack, coding-standards | - |
|
|
186
|
+
| **library** | tech-stack, coding-standards | api-conventions |
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## File Structure
|
|
191
|
+
|
|
192
|
+
After installation, your project will have:
|
|
193
|
+
|
|
194
|
+
```text
|
|
195
|
+
.iris/
|
|
196
|
+
├── manifest.yaml # Installation manifest
|
|
197
|
+
└── aidlc/ # AI-DLC flow
|
|
198
|
+
├── agents/ # Agent definitions (master, inception, construction, operations)
|
|
199
|
+
├── commands/ # Slash commands for agentic tools
|
|
200
|
+
├── skills/ # Agent skills by phase
|
|
201
|
+
│ ├── master/ # Master agent skills
|
|
202
|
+
│ ├── inception/ # Inception phase skills
|
|
203
|
+
│ ├── construction/ # Construction phase skills
|
|
204
|
+
│ └── operations/ # Operations phase skills
|
|
205
|
+
├── templates/ # Artifact templates
|
|
206
|
+
│ ├── inception/ # Intent, unit, story templates
|
|
207
|
+
│ ├── construction/ # Bolt templates and bolt-types
|
|
208
|
+
│ │ └── bolt-types/ # DDD and Simple bolt definitions
|
|
209
|
+
│ └── standards/ # Standards facilitation
|
|
210
|
+
│ ├── catalog.yaml # Standards registry
|
|
211
|
+
│ └── *.guide.md # Facilitation guides
|
|
212
|
+
├── shared/ # Shared agent behaviors
|
|
213
|
+
├── memory-bank.yaml # Memory bank schema
|
|
214
|
+
├── context-config.yaml # Context loading configuration
|
|
215
|
+
├── quick-start.md # This file
|
|
216
|
+
└── README.md # Detailed documentation
|
|
217
|
+
|
|
218
|
+
memory-bank/ # Created after project-init
|
|
219
|
+
├── intents/ # Your captured intents
|
|
220
|
+
│ └── {intent-name}/
|
|
221
|
+
│ ├── requirements.md
|
|
222
|
+
│ ├── system-context.md
|
|
223
|
+
│ ├── units.md
|
|
224
|
+
│ └── units/
|
|
225
|
+
│ └── {unit-name}/
|
|
226
|
+
│ ├── unit-brief.md
|
|
227
|
+
│ └── stories/
|
|
228
|
+
│ └── {NNN}-{title}.md
|
|
229
|
+
├── bolts/ # Bolt execution records
|
|
230
|
+
│ └── {bolt-id}/
|
|
231
|
+
│ ├── bolt.md # Bolt definition
|
|
232
|
+
│ └── {stage-artifacts}.md # Stage outputs
|
|
233
|
+
├── standards/ # Your project standards
|
|
234
|
+
│ ├── tech-stack.md
|
|
235
|
+
│ ├── coding-standards.md
|
|
236
|
+
│ └── ...
|
|
237
|
+
└── operations/ # Deployment context
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## Key Concepts
|
|
243
|
+
|
|
244
|
+
### Intent
|
|
245
|
+
|
|
246
|
+
A high-level statement of purpose. The starting point for AI-driven decomposition.
|
|
247
|
+
|
|
248
|
+
### Unit
|
|
249
|
+
|
|
250
|
+
A cohesive, self-contained work element derived from an Intent. Analogous to a Subdomain (DDD) or Epic (Scrum).
|
|
251
|
+
|
|
252
|
+
### Bolt
|
|
253
|
+
|
|
254
|
+
The smallest iteration in AI-DLC. Unlike Sprints (weeks), Bolts are hours to days. Two types: DDD Construction and Simple Construction.
|
|
255
|
+
|
|
256
|
+
### Memory Bank
|
|
257
|
+
|
|
258
|
+
File-based storage for all project artifacts. Maintains context across agent sessions.
|
|
259
|
+
|
|
260
|
+
### Standards
|
|
261
|
+
|
|
262
|
+
Project decisions that inform AI code generation (tech stack, coding style, architecture).
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## Human Validation
|
|
267
|
+
|
|
268
|
+
AI-DLC emphasizes human oversight as a "loss function" - catching errors early.
|
|
269
|
+
|
|
270
|
+
**Key validation points:**
|
|
271
|
+
|
|
272
|
+
- After requirements elaboration
|
|
273
|
+
- After unit decomposition
|
|
274
|
+
- After story creation
|
|
275
|
+
- After each bolt stage
|
|
276
|
+
- Before deployment
|
|
277
|
+
|
|
278
|
+
Each validation step transforms artifacts into rich context for subsequent stages.
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Tips for Success
|
|
283
|
+
|
|
284
|
+
1. **Start with standards** - Project-init ensures AI agents understand your preferences
|
|
285
|
+
2. **Keep intents focused** - One major goal per intent
|
|
286
|
+
3. **Validate frequently** - Don't skip human checkpoints
|
|
287
|
+
4. **Use fresh chats** - Each agent invocation starts fresh; context comes from Memory Bank
|
|
288
|
+
5. **Trust the process** - AI-DLC is iterative; refinement happens naturally
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## Troubleshooting
|
|
293
|
+
|
|
294
|
+
### Agents don't remember context
|
|
295
|
+
|
|
296
|
+
Agents are stateless. They read from Memory Bank at startup. Ensure artifacts are saved after each step.
|
|
297
|
+
|
|
298
|
+
### Standards not being followed
|
|
299
|
+
|
|
300
|
+
Re-run `project-init` to update standards. Agents load standards fresh each session.
|
|
301
|
+
|
|
302
|
+
### Reset project state
|
|
303
|
+
|
|
304
|
+
- Clear `memory-bank/` to reset artifacts
|
|
305
|
+
- Delete `.iris/` to uninstall iris
|
|
306
|
+
|
|
307
|
+
### Get help
|
|
308
|
+
|
|
309
|
+
```text
|
|
310
|
+
/iris-master-agent
|
|
311
|
+
# Then type: answer-question "your question here"
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## What's Next?
|
|
317
|
+
|
|
318
|
+
1. Run `/iris-master-agent` and type `project-init` to set up your project
|
|
319
|
+
2. Create your first intent with `/iris-inception-agent intent-create`
|
|
320
|
+
3. Follow the guided workflow through Inception → Construction → Operations
|
|
321
|
+
|
|
322
|
+
Welcome to AI-native development!
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Skill: List Bolts
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Checkpoints in This Skill
|
|
6
|
+
|
|
7
|
+
| Checkpoint | Purpose | Wait For |
|
|
8
|
+
|------------|---------|----------|
|
|
9
|
+
| Checkpoint 1 | Which bolt to work on? | User selection |
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Goal
|
|
14
|
+
|
|
15
|
+
Display all bolt instances with their status, optionally filtered by unit or intent.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Input
|
|
20
|
+
|
|
21
|
+
- **Required**: `.iris/aidlc/memory-bank.yaml` - artifact schema
|
|
22
|
+
- **Optional**: `--unit` - filter by unit name
|
|
23
|
+
- **Optional**: `--intent` - filter by intent name
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Process
|
|
28
|
+
|
|
29
|
+
### 1. Load Schema
|
|
30
|
+
|
|
31
|
+
Read `.iris/aidlc/memory-bank.yaml` to get the `bolts` path.
|
|
32
|
+
*(Default: `memory-bank/bolts/`)*
|
|
33
|
+
|
|
34
|
+
### 2. Scan Bolt Files
|
|
35
|
+
|
|
36
|
+
For each bolt directory in `memory-bank/bolts/`:
|
|
37
|
+
|
|
38
|
+
1. Read `bolt.md` frontmatter for metadata
|
|
39
|
+
2. Extract: id, unit, intent, bolt_type, status, current_stage, stories
|
|
40
|
+
3. The `bolt_type` field indicates which bolt type definition to use for stage information
|
|
41
|
+
|
|
42
|
+
### 3. Apply Filters
|
|
43
|
+
|
|
44
|
+
If `--unit` or `--intent` provided:
|
|
45
|
+
|
|
46
|
+
- Filter bolts to match the specified criteria
|
|
47
|
+
- Show "No bolts found" if none match
|
|
48
|
+
|
|
49
|
+
### 4. Calculate Progress
|
|
50
|
+
|
|
51
|
+
For each bolt, determine progress:
|
|
52
|
+
|
|
53
|
+
- **planned**: 0% - Not started
|
|
54
|
+
- **in-progress**: `stages_completed / total_stages`
|
|
55
|
+
- **completed**: 100%
|
|
56
|
+
- **blocked**: Show blocker reason
|
|
57
|
+
|
|
58
|
+
### 5. Display Results
|
|
59
|
+
|
|
60
|
+
Sort bolts by:
|
|
61
|
+
|
|
62
|
+
1. In-progress first (active work)
|
|
63
|
+
2. Planned (upcoming)
|
|
64
|
+
3. Blocked (needs attention)
|
|
65
|
+
4. Completed (historical)
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Output
|
|
70
|
+
|
|
71
|
+
```markdown
|
|
72
|
+
## Bolts Overview
|
|
73
|
+
|
|
74
|
+
### Active Bolts
|
|
75
|
+
|
|
76
|
+
- ⏳ **002-auth-service** (auth-service, {bolt-type}) - Stage: {current-stage}, 2/4 (50%) ← working
|
|
77
|
+
|
|
78
|
+
### Planned Bolts
|
|
79
|
+
|
|
80
|
+
- [ ] **003-auth-service** (auth-service) - Stories: 005-*, 006-* - Ready ✅
|
|
81
|
+
- [ ] **004-payment-api** (payment-api) - Stories: 001-*, 002-*, 003-* - Ready ✅
|
|
82
|
+
|
|
83
|
+
### Blocked Bolts
|
|
84
|
+
|
|
85
|
+
- 🚫 **005-api-gateway** - Waiting for auth (since 2024-12-04)
|
|
86
|
+
|
|
87
|
+
### Completed Bolts
|
|
88
|
+
|
|
89
|
+
- ✅ **001-auth-service** (auth-service) - Completed 2024-12-05 (4 hours)
|
|
90
|
+
|
|
91
|
+
### Summary
|
|
92
|
+
- **Total**: {n} bolts
|
|
93
|
+
- **In Progress**: {n}
|
|
94
|
+
- **Planned**: {n}
|
|
95
|
+
- **Completed**: {n}
|
|
96
|
+
- **Blocked**: {n}
|
|
97
|
+
|
|
98
|
+
### Actions
|
|
99
|
+
|
|
100
|
+
1 - **Continue active bolt**: Resume `002-auth-service`
|
|
101
|
+
2 - **Start planned bolt**: Begin `003-auth-service`
|
|
102
|
+
3 - **View bolt status**: Check detailed status
|
|
103
|
+
4 - **Plan new bolts**: Create additional bolts
|
|
104
|
+
|
|
105
|
+
**Type a number or bolt ID to continue.**
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Output (Filtered)
|
|
111
|
+
|
|
112
|
+
```markdown
|
|
113
|
+
## Bolts for Unit: {unit-name}
|
|
114
|
+
|
|
115
|
+
- ✅ **001-{unit-name}** ({bolt-type}) - Completed 100% - Stories: 001-*, 002-*
|
|
116
|
+
- ⏳ **002-{unit-name}** ({bolt-type}) - In progress 50% - Stories: 003-*, 004-* ← current
|
|
117
|
+
- [ ] **003-{unit-name}** ({bolt-type}) - Planned 0% - Stories: 005-*
|
|
118
|
+
|
|
119
|
+
### Quick Actions
|
|
120
|
+
|
|
121
|
+
1 - **Continue 002-{unit-name}**: Resume current work
|
|
122
|
+
2 - **View 001-{unit-name} status**: Review completed bolt
|
|
123
|
+
|
|
124
|
+
**Type a number to continue.**
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Bolt Selection
|
|
130
|
+
|
|
131
|
+
**Checkpoint 1**: Ask user which bolt to work on:
|
|
132
|
+
|
|
133
|
+
```text
|
|
134
|
+
### Available Bolts
|
|
135
|
+
|
|
136
|
+
1 - 001-{unit-name} (planned) - Stories: 001-*, 002-*
|
|
137
|
+
2 - 002-{unit-name} (planned) - Stories: 003-*, 004-*
|
|
138
|
+
|
|
139
|
+
Which bolt would you like to work on?
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Wait for user response.**
|
|
143
|
+
|
|
144
|
+
**CRITICAL**: Never auto-select a bolt. Always ask which bolt.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Transition
|
|
149
|
+
|
|
150
|
+
After user selects bolt at Checkpoint 1:
|
|
151
|
+
|
|
152
|
+
- → **Bolt Start** - execute selected bolt
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Test Contract
|
|
157
|
+
|
|
158
|
+
```yaml
|
|
159
|
+
input: Unit name or intent filter
|
|
160
|
+
output: List of bolts with status
|
|
161
|
+
checkpoints: 1
|
|
162
|
+
- Checkpoint 1: User selects which bolt to work on
|
|
163
|
+
```
|