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
package/README.md
CHANGED
|
@@ -1,424 +1,315 @@
|
|
|
1
|
-
#
|
|
1
|
+
# iris
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**AI-native software development with multi-agent orchestration.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
iris implements the [AI-Driven Development Lifecycle (AI-DLC)](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/) methodology as a set of markdown-based agents that work with your favorite AI coding tools.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
mkdir my-project && cd my-project
|
|
11
|
-
npx project-iris@latest install
|
|
12
|
-
```
|
|
9
|
+
---
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
- Create `package.json` if missing
|
|
16
|
-
- Set up `.iris/` framework directory
|
|
17
|
-
- Create `memory-bank/` structure
|
|
18
|
-
- Install the default `iris-core` framework
|
|
19
|
-
- **SaaS Bootstrap**: Auto-generates a "Repo Bootstrap" unit (`U000`) if `package.json` is missing.
|
|
20
|
-
- Prompt for IDE selection (defaults to `auto` for internal agent)
|
|
11
|
+
## What is AI-DLC?
|
|
21
12
|
|
|
22
|
-
|
|
13
|
+
AI-DLC is a reimagined software development methodology where **AI drives the conversation** and humans validate. Unlike traditional Agile where iterations span weeks, AI-DLC operates in **Bolts** - rapid iterations measured in hours or days.
|
|
23
14
|
|
|
24
|
-
|
|
15
|
+
> "Traditional development methods were built for human-driven, long-running processes. AI-DLC reimagines the development lifecycle with AI as a central collaborator, enabling rapid cycles measured in hours or days rather than weeks."
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
# Use the built-in zero-config agent (Default)
|
|
28
|
-
iris use auto
|
|
17
|
+
### AI-DLC vs Traditional Methods
|
|
29
18
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
| Aspect | Agile/Scrum | AI-DLC |
|
|
20
|
+
|--------|-------------|--------|
|
|
21
|
+
| Iteration duration | Weeks (Sprints) | Hours/days (Bolts) |
|
|
22
|
+
| Who drives | Human-driven, AI assists | AI-driven, human-validated |
|
|
23
|
+
| Design techniques | Out of scope | Integrated (DDD, TDD, BDD) |
|
|
24
|
+
| Task decomposition | Manual | AI-powered |
|
|
25
|
+
| Phases | Repeating sprints | Rapid three-phase cycles (Inception → Construction → Operations) |
|
|
26
|
+
| Rituals | Daily standups, retrospectives | Mob Elaboration, Mob Construction |
|
|
33
27
|
|
|
34
|
-
|
|
28
|
+
---
|
|
35
29
|
|
|
36
|
-
|
|
37
|
-
npx project-iris@latest install
|
|
38
|
-
```
|
|
30
|
+
## How It Works
|
|
39
31
|
|
|
40
|
-
|
|
32
|
+
iris provides four specialized agents that guide you through the entire development lifecycle:
|
|
41
33
|
|
|
42
|
-
```bash
|
|
43
|
-
iris --help
|
|
44
|
-
iris validate
|
|
45
|
-
iris status
|
|
46
34
|
```
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
35
|
+
┌─────────────────┐
|
|
36
|
+
│ Master Agent │ Orchestrates & navigates
|
|
37
|
+
└────────┬────────┘
|
|
38
|
+
│
|
|
39
|
+
┌────────────────────┼────────────────────┐
|
|
40
|
+
▼ ▼ ▼
|
|
41
|
+
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
|
|
42
|
+
│ Inception │ → │ Construction │ → │ Operations │
|
|
43
|
+
│ Agent │ │ Agent │ │ Agent │
|
|
44
|
+
└───────────────┘ └───────────────┘ └───────────────┘
|
|
45
|
+
Capture intent Execute bolts Deploy & monitor
|
|
46
|
+
Define units Build & test Verify & scale
|
|
47
|
+
Plan stories Validate stages
|
|
59
48
|
```
|
|
60
49
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
## 🧠 Core Concepts
|
|
50
|
+
### The Three Phases
|
|
64
51
|
|
|
65
|
-
|
|
52
|
+
| Phase | Agent | Purpose | Key Outputs |
|
|
53
|
+
|-------|-------|---------|-------------|
|
|
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 domain design → logical design → code → test | Domain models, Technical designs, Code, Tests |
|
|
56
|
+
| **Operations** | Operations Agent | Deploy, verify, and monitor | Deployment units, Monitoring, Runbooks |
|
|
66
57
|
|
|
67
|
-
|
|
58
|
+
---
|
|
68
59
|
|
|
69
|
-
|
|
70
|
-
|-------|-------|-----------|
|
|
71
|
-
| **Inception** | Requirements, architecture | `memory-bank/intents/` |
|
|
72
|
-
| **Construction** | Implementation, testing | `memory-bank/units/`, `memory-bank/bolts/` |
|
|
73
|
-
| **Operations** | Deployment, monitoring | `memory-bank/logs/` |
|
|
60
|
+
## Quick Start
|
|
74
61
|
|
|
75
|
-
###
|
|
62
|
+
### Installation
|
|
76
63
|
|
|
77
|
-
|
|
64
|
+
```bash
|
|
65
|
+
npx project-iris install
|
|
66
|
+
```
|
|
78
67
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
68
|
+
The installer detects your AI coding tools (Claude Code, Cursor, GitHub Copilot) and sets up:
|
|
69
|
+
- Agent definitions and skills
|
|
70
|
+
- Memory bank structure for context persistence
|
|
71
|
+
- Slash commands for easy agent invocation
|
|
83
72
|
|
|
84
|
-
|
|
73
|
+
### Initialize Your Project
|
|
85
74
|
|
|
86
|
-
|
|
75
|
+
```bash
|
|
76
|
+
# Start the Master Agent
|
|
77
|
+
/iris-master-agent
|
|
87
78
|
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
- **Interview** - Interactive Q&A for intent capture
|
|
92
|
-
- **Artifacts** - Generated document templates
|
|
93
|
-
- **Workflow** - Step execution order
|
|
79
|
+
# Then type:
|
|
80
|
+
project-init
|
|
81
|
+
```
|
|
94
82
|
|
|
95
|
-
|
|
83
|
+
This guides you through establishing:
|
|
84
|
+
- **Tech Stack** - Languages, frameworks, databases, infrastructure
|
|
85
|
+
- **Coding Standards** - Formatting, linting, naming, testing strategy
|
|
86
|
+
- **System Architecture** - Architecture style, API design, state management
|
|
87
|
+
- **UX Guide** - Design system, styling, accessibility (optional)
|
|
88
|
+
- **API Conventions** - API style, versioning, response formats (optional)
|
|
96
89
|
|
|
97
|
-
|
|
90
|
+
### Create Your First Intent
|
|
98
91
|
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
├── intents/ # Requirements and context
|
|
102
|
-
│ └── default/
|
|
103
|
-
│ ├── requirements.md
|
|
104
|
-
│ └── system-context.md
|
|
105
|
-
├── units/ # Implementation units
|
|
106
|
-
├── bolts/ # Reusable patterns
|
|
107
|
-
├── standards/ # Coding standards
|
|
108
|
-
└── operations/ # Runbooks
|
|
92
|
+
```bash
|
|
93
|
+
/iris-inception-agent intent-create
|
|
109
94
|
```
|
|
110
95
|
|
|
111
|
-
|
|
96
|
+
An **Intent** is your high-level goal:
|
|
97
|
+
- "User authentication system"
|
|
98
|
+
- "Product catalog with search"
|
|
99
|
+
- "Payment processing integration"
|
|
112
100
|
|
|
113
|
-
|
|
101
|
+
The agent will:
|
|
102
|
+
1. Ask clarifying questions to minimize ambiguity
|
|
103
|
+
2. Elaborate into user stories and NFRs
|
|
104
|
+
3. Define system context
|
|
105
|
+
4. Decompose into loosely-coupled units
|
|
114
106
|
|
|
115
|
-
###
|
|
107
|
+
### Plan and Execute Bolts
|
|
116
108
|
|
|
117
109
|
```bash
|
|
118
|
-
#
|
|
119
|
-
iris
|
|
110
|
+
# Plan bolts for your stories
|
|
111
|
+
/iris-inception-agent bolt-plan
|
|
120
112
|
|
|
121
|
-
#
|
|
122
|
-
iris
|
|
113
|
+
# Execute a bolt
|
|
114
|
+
/iris-construction-agent bolt-start
|
|
115
|
+
```
|
|
123
116
|
|
|
124
|
-
|
|
125
|
-
|
|
117
|
+
Each bolt goes through validated stages:
|
|
118
|
+
1. **Domain Model** - Model business logic using DDD principles
|
|
119
|
+
2. **Technical Design** - Apply patterns and make architecture decisions
|
|
120
|
+
3. **ADR Analysis** - Document significant decisions (optional)
|
|
121
|
+
4. **Implement** - Generate production code
|
|
122
|
+
5. **Test** - Verify correctness with automated tests
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
iris ask --interactive
|
|
124
|
+
**Human validation happens at each stage gate.**
|
|
129
125
|
|
|
130
|
-
|
|
131
|
-
iris ask --json "scaffold login system"
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
> **Note**: `iris ask` uses the active agent set by `iris use`. Default is `auto` (In-Process Agent).
|
|
126
|
+
---
|
|
135
127
|
|
|
136
|
-
|
|
128
|
+
## Key Concepts
|
|
137
129
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
iris pack
|
|
130
|
+
### Intent
|
|
131
|
+
A high-level statement of purpose that encapsulates what needs to be achieved - whether a business goal, feature, or technical outcome. It serves as the starting point for AI-driven decomposition.
|
|
141
132
|
|
|
142
|
-
|
|
143
|
-
|
|
133
|
+
### Unit
|
|
134
|
+
A cohesive, self-contained work element derived from an Intent. Units are loosely coupled and can be developed independently. Analogous to a Subdomain (DDD) or Epic (Scrum).
|
|
144
135
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
```
|
|
136
|
+
### Bolt
|
|
137
|
+
The smallest iteration in AI-DLC, designed for rapid implementation. Unlike Sprints (weeks), Bolts are **hours to days**. Each bolt encapsulates a well-defined scope of work.
|
|
148
138
|
|
|
149
|
-
|
|
139
|
+
| Type | Best For | Stages |
|
|
140
|
+
|------|----------|--------|
|
|
141
|
+
| **DDD Construction** | Complex business logic, domain modeling | Model → Design → ADR → Implement → Test |
|
|
142
|
+
| **Simple Construction** | UI, integrations, utilities | Plan → Implement → Test |
|
|
150
143
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
iris run --new
|
|
144
|
+
### Memory Bank
|
|
145
|
+
File-based storage for all project artifacts. Maintains context across agent sessions and provides traceability between artifacts.
|
|
154
146
|
|
|
155
|
-
|
|
156
|
-
|
|
147
|
+
### Standards
|
|
148
|
+
Project decisions that inform AI code generation. Standards ensure consistency across all generated code and documentation.
|
|
157
149
|
|
|
158
|
-
|
|
159
|
-
iris run --resume
|
|
150
|
+
---
|
|
160
151
|
|
|
161
|
-
|
|
162
|
-
iris run --resume 2026-01-03-21-41-43-abc1
|
|
152
|
+
## Project Structure
|
|
163
153
|
|
|
164
|
-
|
|
165
|
-
iris run --new --seed draft.json --no-interactive
|
|
154
|
+
After installation:
|
|
166
155
|
|
|
167
|
-
|
|
168
|
-
iris
|
|
156
|
+
```
|
|
157
|
+
.iris/
|
|
158
|
+
├── manifest.yaml # Installation manifest
|
|
159
|
+
└── aidlc/ # AI-DLC flow
|
|
160
|
+
├── agents/ # Agent definitions
|
|
161
|
+
├── skills/ # Agent capabilities
|
|
162
|
+
├── templates/ # Artifact templates
|
|
163
|
+
│ └── standards/ # Standards facilitation guides
|
|
164
|
+
└── memory-bank.yaml # Memory bank schema
|
|
165
|
+
|
|
166
|
+
memory-bank/ # Created after project-init
|
|
167
|
+
├── intents/ # Your captured intents
|
|
168
|
+
│ └── {intent-name}/
|
|
169
|
+
│ ├── requirements.md
|
|
170
|
+
│ ├── system-context.md
|
|
171
|
+
│ └── units/
|
|
172
|
+
├── bolts/ # Bolt execution records
|
|
173
|
+
├── standards/ # Project standards
|
|
174
|
+
│ ├── tech-stack.md
|
|
175
|
+
│ ├── coding-standards.md
|
|
176
|
+
│ └── ...
|
|
177
|
+
└── operations/ # Deployment context
|
|
169
178
|
```
|
|
170
179
|
|
|
171
|
-
|
|
172
|
-
145: 1. **Interview** - Capture intent (interactive or seed)
|
|
173
|
-
146: 2. **Artifacts** - Generate documents from templates
|
|
174
|
-
147: 3. **Plan** - Create unit briefs from unit list
|
|
175
|
-
148: 4. **Build** - Generate bolts from approved briefs
|
|
176
|
-
149: 5. **Execute** - Run bolt commands and generate test reports
|
|
177
|
-
150: 6. **Validate** - Check policy compliance
|
|
178
|
-
151: 7. **Pack** - Create context bundle
|
|
179
|
-
152: 8. **Handoff** - Generate final summary
|
|
180
|
+
---
|
|
180
181
|
|
|
181
|
-
|
|
182
|
+
## Agent Commands
|
|
182
183
|
|
|
184
|
+
### Master Agent
|
|
183
185
|
```bash
|
|
184
|
-
|
|
185
|
-
iris generate
|
|
186
|
-
|
|
187
|
-
# Use custom input/output
|
|
188
|
-
iris generate --in custom-draft.json --out artifacts/
|
|
186
|
+
/iris-master-agent
|
|
189
187
|
```
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
188
|
+
| Command | Purpose |
|
|
189
|
+
|---------|---------|
|
|
190
|
+
| `project-init` | Initialize project with standards |
|
|
191
|
+
| `analyze-context` | View current project state |
|
|
192
|
+
| `route-request` | Get directed to the right agent |
|
|
193
|
+
| `explain-flow` | Learn about AI-DLC methodology |
|
|
194
|
+
| `answer-question` | Get help with any iris question |
|
|
195
|
+
|
|
196
|
+
### Inception Agent
|
|
193
197
|
```bash
|
|
194
|
-
|
|
195
|
-
iris validate
|
|
196
|
-
|
|
197
|
-
# Auto-fix missing artifacts
|
|
198
|
-
iris validate --fix
|
|
199
|
-
|
|
200
|
-
# Strict mode (fail on warnings)
|
|
201
|
-
iris validate --strict
|
|
198
|
+
/iris-inception-agent
|
|
202
199
|
```
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
200
|
+
| Command | Purpose |
|
|
201
|
+
|---------|---------|
|
|
202
|
+
| `intent-create` | Create a new intent |
|
|
203
|
+
| `intent-list` | List all intents |
|
|
204
|
+
| `requirements` | Elaborate intent requirements |
|
|
205
|
+
| `context` | Define system context |
|
|
206
|
+
| `units` | Decompose into units |
|
|
207
|
+
| `story-create` | Create stories for a unit |
|
|
208
|
+
| `bolt-plan` | Plan bolts for stories |
|
|
209
|
+
| `review` | Review inception artifacts |
|
|
210
|
+
|
|
211
|
+
### Construction Agent
|
|
206
212
|
```bash
|
|
207
|
-
|
|
208
|
-
iris status
|
|
209
|
-
|
|
210
|
-
# Request phase transition
|
|
211
|
-
iris phase set construction
|
|
212
|
-
|
|
213
|
-
# Validate and apply transition
|
|
214
|
-
iris validate --apply
|
|
213
|
+
/iris-construction-agent
|
|
215
214
|
```
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
215
|
+
| Command | Purpose |
|
|
216
|
+
|---------|---------|
|
|
217
|
+
| `bolt-start` | Start/continue executing a bolt |
|
|
218
|
+
| `bolt-status` | Check bolt progress |
|
|
219
|
+
| `bolt-list` | List all bolts |
|
|
220
|
+
| `bolt-replan` | Replan bolts if needed |
|
|
221
|
+
|
|
222
|
+
### Operations Agent
|
|
219
223
|
```bash
|
|
220
|
-
|
|
221
|
-
iris develop "Build a dashboard UI"
|
|
222
|
-
|
|
223
|
-
# Resume interrupted workflow
|
|
224
|
-
iris develop --resume <runId>
|
|
225
|
-
|
|
226
|
-
# Override IDE
|
|
227
|
-
iris develop --ide cursor "intent"
|
|
228
|
-
|
|
229
|
-
# Auto-approve gates
|
|
230
|
-
iris develop --gate auto "intent"
|
|
224
|
+
/iris-operations-agent
|
|
231
225
|
```
|
|
226
|
+
| Command | Purpose |
|
|
227
|
+
|---------|---------|
|
|
228
|
+
| `build` | Build the project |
|
|
229
|
+
| `deploy` | Deploy to environment |
|
|
230
|
+
| `verify` | Verify deployment |
|
|
231
|
+
| `monitor` | Set up monitoring |
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
---
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
## Why iris?
|
|
236
236
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
iris bridge serve
|
|
237
|
+
### AI-Native, Not AI-Retrofitted
|
|
238
|
+
Built from the ground up for AI-driven development. AI-DLC is a reimagination based on first principles, not a retrofit of existing methods.
|
|
240
239
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
```
|
|
240
|
+
### Human Oversight as Loss Function
|
|
241
|
+
Validation at each stage catches errors early before they cascade downstream. Each validation transforms artifacts into rich context for subsequent stages.
|
|
244
242
|
|
|
245
|
-
###
|
|
243
|
+
### Design Techniques Built-In
|
|
244
|
+
DDD, TDD, and BDD are integral to the methodology - not optional add-ons. This addresses the "whitespace" in Agile that has led to quality issues.
|
|
246
245
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
iris doctor
|
|
246
|
+
### Tool Agnostic
|
|
247
|
+
Works with Claude Code, Cursor, GitHub Copilot, and other AI coding assistants. Markdown-based agents work anywhere.
|
|
250
248
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
```
|
|
249
|
+
### Context Engineering
|
|
250
|
+
Specs and Memory Bank provide structured context for AI agents. Agents reload context each session - no more lost knowledge.
|
|
254
251
|
|
|
255
252
|
---
|
|
256
253
|
|
|
257
|
-
##
|
|
254
|
+
## Supported Tools
|
|
258
255
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
│ ├── frameworks/ # Installed frameworks
|
|
266
|
-
│ │ └── iris-core/
|
|
267
|
-
│ ├── runs/ # Workflow run history
|
|
268
|
-
│ │ ├── latest # Pointer to latest run
|
|
269
|
-
│ │ └── 2026-01-03-.../ # Run directory
|
|
270
|
-
│ │ ├── run.json # Run state
|
|
271
|
-
│ │ ├── events.ndjson # Event log
|
|
272
|
-
│ │ ├── intent-draft.json
|
|
273
|
-
│ │ ├── artifacts.json
|
|
274
|
-
│ │ ├── validate.json
|
|
275
|
-
│ │ ├── pack.md
|
|
276
|
-
│ │ └── handoff.json
|
|
277
|
-
│ ├── inbox/ # Generated context packs
|
|
278
|
-
│ └── bridge/ # IDE bridge files
|
|
279
|
-
│ ├── inbox/
|
|
280
|
-
│ ├── outbox/
|
|
281
|
-
│ └── state/
|
|
282
|
-
├── memory-bank/ # Project documentation
|
|
283
|
-
└── package.json
|
|
284
|
-
```
|
|
256
|
+
| Tool | Status | Installation |
|
|
257
|
+
|------|--------|--------------|
|
|
258
|
+
| **Claude Code** | Full support | Slash commands in `.claude/commands/` |
|
|
259
|
+
| **Cursor** | Full support | Rules in `.cursor/rules/` (`.mdc` format) |
|
|
260
|
+
| **GitHub Copilot** | Full support | Agents in `.github/agents/` (`.agent.md` format) |
|
|
261
|
+
| **Google Antigravity** | Full support | Agents in `.agent/agents/` |
|
|
285
262
|
|
|
286
263
|
---
|
|
287
264
|
|
|
288
|
-
##
|
|
289
|
-
|
|
290
|
-
### State (`state.yaml`)
|
|
291
|
-
|
|
292
|
-
```yaml
|
|
293
|
-
version: 1
|
|
294
|
-
framework:
|
|
295
|
-
current: iris-core
|
|
296
|
-
version: null
|
|
297
|
-
phase:
|
|
298
|
-
current: inception
|
|
299
|
-
requested: null
|
|
300
|
-
active:
|
|
301
|
-
intent_id: null
|
|
302
|
-
flow: null
|
|
303
|
-
```
|
|
265
|
+
## FAQ
|
|
304
266
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
```yaml
|
|
308
|
-
version: 1
|
|
309
|
-
phases:
|
|
310
|
-
inception:
|
|
311
|
-
requires:
|
|
312
|
-
- path: memory-bank/intents/
|
|
313
|
-
type: directory
|
|
314
|
-
gates: []
|
|
315
|
-
transitions:
|
|
316
|
-
- from: inception
|
|
317
|
-
to: construction
|
|
318
|
-
```
|
|
267
|
+
**Q: Agents don't seem to remember previous context?**
|
|
268
|
+
Each agent invocation starts fresh. Agents read context from the Memory Bank at startup. Ensure artifacts are saved after each step.
|
|
319
269
|
|
|
320
|
-
|
|
270
|
+
**Q: How do I reset project state?**
|
|
271
|
+
Clear the `memory-bank/` directory to reset all artifacts. To remove iris entirely, delete the `.iris/` directory and tool-specific command files.
|
|
321
272
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
routes:
|
|
325
|
-
- match: "bug|fix|error"
|
|
326
|
-
agent: construction
|
|
327
|
-
- match: ".*"
|
|
328
|
-
agent: inception
|
|
329
|
-
```
|
|
273
|
+
**Q: Can I use iris with existing Agile workflows?**
|
|
274
|
+
AI-DLC is designed as a reimagination, not a retrofit. However, familiar concepts (user stories, acceptance criteria) are retained to ease transition.
|
|
330
275
|
|
|
331
|
-
|
|
276
|
+
**Q: What project types is this suited for?**
|
|
277
|
+
iris is designed for building complex systems that demand architectural complexity, trade-off management, and scalability. Simpler systems may be better suited for low-code/no-code approaches.
|
|
332
278
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
### `iris run --json`
|
|
336
|
-
|
|
337
|
-
Outputs a single JSON object (RunState):
|
|
338
|
-
|
|
339
|
-
```json
|
|
340
|
-
{
|
|
341
|
-
"schemaVersion": 1,
|
|
342
|
-
"runId": "2026-01-03-21-41-43-abc1",
|
|
343
|
-
"framework": { "id": "iris-core", "version": null },
|
|
344
|
-
"steps": {
|
|
345
|
-
"interview": { "status": "done", ... },
|
|
346
|
-
"artifacts": { "status": "done", ... },
|
|
347
|
-
"validate": { "status": "done", ... },
|
|
348
|
-
"pack": { "status": "done", ... },
|
|
349
|
-
"handoff": { "status": "done", ... }
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
**Exit Codes:**
|
|
355
|
-
- `0` - Success
|
|
356
|
-
- `1` - Failure (validation error, step failed)
|
|
357
|
-
- `2` - Blocked (requires input, non-interactive mode)
|
|
279
|
+
---
|
|
358
280
|
|
|
359
|
-
|
|
281
|
+
## Resources
|
|
360
282
|
|
|
361
|
-
|
|
362
|
-
{"ts":"2026-01-03T21:41:43.732Z","type":"RUN_STARTED"}
|
|
363
|
-
{"ts":"2026-01-03T21:41:43.733Z","type":"STEP_STARTED","stepId":"interview"}
|
|
364
|
-
{"ts":"2026-01-03T21:41:43.733Z","type":"STEP_DONE","stepId":"interview"}
|
|
365
|
-
```
|
|
283
|
+
- [AI-DLC Specification (AWS)](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/)
|
|
366
284
|
|
|
367
285
|
---
|
|
368
286
|
|
|
369
|
-
##
|
|
287
|
+
## Analytics & Privacy
|
|
370
288
|
|
|
371
|
-
|
|
289
|
+
iris collects **anonymous** usage analytics during installation only. This helps us understand adoption and improve the product.
|
|
372
290
|
|
|
373
|
-
|
|
374
|
-
git clone <repo-url>
|
|
375
|
-
cd project-iris
|
|
376
|
-
npm ci
|
|
377
|
-
npm run build
|
|
378
|
-
npm link
|
|
379
|
-
iris --version
|
|
380
|
-
```
|
|
291
|
+
**What we collect**: OS, shell type, selected IDEs, installation success/failure, approximate location (country level).
|
|
381
292
|
|
|
382
|
-
|
|
293
|
+
**What we don't collect**: No usernames, no file paths, no project contents, no IP addresses stored.
|
|
383
294
|
|
|
384
|
-
|
|
385
|
-
# Make changes to src/
|
|
386
|
-
npm run build
|
|
387
|
-
npm run test
|
|
388
|
-
|
|
389
|
-
# Run all verification
|
|
390
|
-
npm run verify
|
|
391
|
-
```
|
|
392
|
-
|
|
393
|
-
### Testing
|
|
295
|
+
### Opt-Out
|
|
394
296
|
|
|
395
297
|
```bash
|
|
396
|
-
#
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
# Smoke tests
|
|
400
|
-
npm run test:smoke
|
|
298
|
+
# Option 1: Environment variable
|
|
299
|
+
IRIS_TELEMETRY_DISABLED=1 npx project-iris@latest install
|
|
401
300
|
|
|
402
|
-
#
|
|
403
|
-
|
|
301
|
+
# Option 2: DO_NOT_TRACK standard
|
|
302
|
+
DO_NOT_TRACK=1 npx project-iris@latest install
|
|
404
303
|
```
|
|
405
304
|
|
|
406
|
-
|
|
305
|
+
Analytics are automatically disabled in CI environments.
|
|
407
306
|
|
|
408
|
-
|
|
409
|
-
npm unlink -g project-iris
|
|
410
|
-
```
|
|
307
|
+
See [PRIVACY.md](PRIVACY.md) for full details.
|
|
411
308
|
|
|
412
309
|
---
|
|
413
310
|
|
|
414
|
-
##
|
|
415
|
-
|
|
416
|
-
- [Baseline Documentation](docs/baseline-step0.md)
|
|
417
|
-
- [Framework Development](docs/frameworks.md)
|
|
418
|
-
- [Artifact Templates](docs/artifacts.md)
|
|
311
|
+
## License
|
|
419
312
|
|
|
420
|
-
|
|
313
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
421
314
|
|
|
422
|
-
## License
|
|
423
315
|
|
|
424
|
-
MIT
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { program } = require('commander');
|
|
4
|
+
const installer = require('../lib/installer');
|
|
5
|
+
const packageJson = require('../package.json');
|
|
6
|
+
|
|
7
|
+
program
|
|
8
|
+
.version(packageJson.version)
|
|
9
|
+
.description(packageJson.description);
|
|
10
|
+
|
|
11
|
+
program
|
|
12
|
+
.command('install')
|
|
13
|
+
.description('Interactively install a iris flow')
|
|
14
|
+
.action(installer.install);
|
|
15
|
+
|
|
16
|
+
program
|
|
17
|
+
.command('uninstall')
|
|
18
|
+
.description('Uninstall iris from the current project')
|
|
19
|
+
.action(installer.uninstall);
|
|
20
|
+
|
|
21
|
+
program.parse(process.argv);
|