project-iris 0.0.8 → 0.0.12
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 +294 -264
- package/dist/bridge/agent-runner.js +190 -0
- package/dist/bridge/connector-factory.js +4 -0
- package/dist/bridge/connectors/in-process-connector.js +29 -0
- package/dist/bridge/filesystem-connector.js +5 -0
- package/dist/cli.js +12 -2
- package/dist/commands/ask.js +150 -23
- package/dist/commands/bridge.js +8 -0
- package/dist/commands/create.js +25 -0
- package/dist/commands/flow.js +301 -0
- package/dist/commands/framework.js +273 -0
- package/dist/commands/generate.js +59 -0
- package/dist/commands/install.js +72 -29
- package/dist/commands/pack.js +7 -1
- package/dist/commands/run.js +195 -13
- package/dist/commands/status.js +9 -0
- package/dist/commands/uninstall.js +3 -1
- package/dist/commands/use.js +20 -0
- package/dist/commands/validate.js +80 -65
- package/dist/framework/framework-loader.js +97 -0
- package/dist/framework/framework-paths.js +48 -0
- package/dist/framework/framework-types.js +15 -0
- package/dist/iris/artifacts/config.js +68 -0
- package/dist/iris/artifacts/generator.js +88 -0
- package/dist/iris/artifacts/types.js +1 -0
- package/dist/iris/bundle.js +44 -0
- package/dist/iris/doctrine/collector.js +124 -0
- package/dist/iris/fixer.js +28 -22
- package/dist/iris/flows/manifest.js +124 -0
- package/dist/iris/framework-context.js +49 -0
- package/dist/iris/framework-manager.js +215 -0
- package/dist/iris/fs/atomic.js +22 -0
- package/dist/iris/importers/index.js +9 -0
- package/dist/iris/importers/types.js +8 -0
- package/dist/iris/importers/writer.js +139 -0
- package/dist/iris/installer.js +105 -40
- package/dist/iris/interactive/env.js +21 -0
- package/dist/iris/interactive/intent-interview.js +345 -0
- package/dist/iris/interactive/intent-schema.js +28 -0
- package/dist/iris/interactive/interview-io.js +22 -0
- package/dist/iris/interview/config.js +71 -0
- package/dist/iris/interview/types.js +16 -0
- package/dist/iris/interview/utils.js +38 -0
- package/dist/iris/packer.js +69 -47
- package/dist/iris/parsers/unit-parser.js +43 -0
- package/dist/iris/paths.js +18 -0
- package/dist/iris/policy.js +122 -17
- package/dist/iris/proc.js +56 -0
- package/dist/iris/resolver.js +3 -0
- package/dist/iris/routes.js +180 -11
- package/dist/iris/run-state.js +3 -0
- package/dist/iris/state.js +37 -9
- package/dist/iris/templates.js +70 -0
- package/dist/iris/tmp.js +24 -0
- package/dist/iris/uninstaller.js +24 -9
- package/dist/iris/utils/interpolate.js +42 -0
- package/dist/iris/validator.js +72 -10
- package/dist/iris/workflow/config.js +51 -0
- package/dist/iris/workflow/engine.js +129 -0
- package/dist/iris/workflow/steps.js +448 -0
- package/dist/iris/workflow/types.js +1 -0
- package/dist/iris_bundle/frameworks/iris-core/framework.yaml +9 -0
- package/dist/iris_bundle/frameworks/iris-core/memory/memory-bank.yaml +1 -0
- package/dist/iris_bundle/frameworks/iris-core/policy.yaml +7 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/config/memory-bank.yaml +1 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-template.md +226 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +49 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +55 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +67 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +62 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt.md +528 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/simple-construction-bolt.md +347 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/spike-bolt.md +240 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/inception/requirements-template.md +144 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/inception/stories-template.md +38 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/inception/story-template.md +147 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/inception/system-context-template.md +29 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/inception/unit-brief-template.md +177 -0
- package/dist/iris_bundle/frameworks/iris-core/templates/inception/units-template.md +52 -0
- package/dist/templates/construction/bolt-template.md +226 -0
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +49 -0
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +55 -0
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +67 -0
- package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +62 -0
- package/dist/templates/construction/bolt-types/ddd-construction-bolt.md +528 -0
- package/dist/templates/construction/bolt-types/simple-construction-bolt.md +347 -0
- package/dist/templates/construction/bolt-types/spike-bolt.md +240 -0
- package/dist/templates/inception/requirements-template.md +144 -0
- package/dist/templates/inception/stories-template.md +38 -0
- package/dist/templates/inception/story-template.md +147 -0
- package/dist/templates/inception/system-context-template.md +29 -0
- package/dist/templates/inception/unit-brief-template.md +177 -0
- package/dist/templates/inception/units-template.md +52 -0
- package/dist/utils/logo.js +17 -0
- package/dist/workflows/bolt-plan.js +57 -28
- package/dist/workflows/intent-inception.js +169 -72
- package/dist/workflows/memory-bank-generator.js +180 -0
- package/package.json +10 -7
- package/src/iris_bundle/.iris/aidlc/README.md +0 -16
- package/src/iris_bundle/.iris/aidlc/agents/iris-construction-agent.md +0 -35
- package/src/iris_bundle/.iris/aidlc/agents/iris-inception-agent.md +0 -30
- package/src/iris_bundle/.iris/aidlc/agents/iris-master-agent.md +0 -35
- package/src/iris_bundle/.iris/aidlc/agents/iris-operations-agent.md +0 -29
- package/src/iris_bundle/.iris/aidlc/commands/iris-construction-agent.md +0 -18
- package/src/iris_bundle/.iris/aidlc/commands/iris-inception-agent.md +0 -18
- package/src/iris_bundle/.iris/aidlc/commands/iris-master-agent.md +0 -18
- package/src/iris_bundle/.iris/aidlc/commands/iris-operations-agent.md +0 -18
- package/src/iris_bundle/.iris/aidlc/context/context-map.md +0 -25
- package/src/iris_bundle/.iris/aidlc/context/exclusion-rules.md +0 -13
- package/src/iris_bundle/.iris/aidlc/context/load-order.md +0 -25
- package/src/iris_bundle/.iris/aidlc/memory/intent-rules.md +0 -9
- package/src/iris_bundle/.iris/aidlc/memory/log-rules.md +0 -5
- package/src/iris_bundle/.iris/aidlc/memory/memory-bank.yaml +0 -39
- package/src/iris_bundle/.iris/aidlc/memory/unit-rules.md +0 -9
- package/src/iris_bundle/.iris/aidlc/quick-start.md +0 -24
- package/src/iris_bundle/.iris/aidlc/skills/execution/implementation.md +0 -14
- package/src/iris_bundle/.iris/aidlc/skills/execution/refactoring.md +0 -13
- package/src/iris_bundle/.iris/aidlc/skills/execution/scaffold-generation.md +0 -15
- package/src/iris_bundle/.iris/aidlc/skills/governance/escalation.md +0 -13
- package/src/iris_bundle/.iris/aidlc/skills/governance/quality-gates.md +0 -14
- package/src/iris_bundle/.iris/aidlc/skills/governance/stop-conditions.md +0 -11
- package/src/iris_bundle/.iris/aidlc/skills/reasoning/decomposition.md +0 -23
- package/src/iris_bundle/.iris/aidlc/skills/reasoning/risk-analysis.md +0 -14
- package/src/iris_bundle/.iris/aidlc/skills/reasoning/verification.md +0 -21
- package/src/iris_bundle/.iris/aidlc/standards/artifacts-registry.md +0 -38
- package/src/iris_bundle/.iris/aidlc/standards/decision-logging.md +0 -16
- package/src/iris_bundle/.iris/aidlc/standards/doctrine-structure.md +0 -31
- package/src/iris_bundle/.iris/aidlc/standards/documentation-rules.md +0 -15
- package/src/iris_bundle/.iris/aidlc/standards/file-structure.md +0 -21
- package/src/iris_bundle/.iris/aidlc/standards/naming-conventions.md +0 -18
- package/src/iris_bundle/.iris/aidlc/standards/phases-and-gates.md +0 -25
- package/src/iris_bundle/.iris/aidlc/standards/routes-and-routing.md +0 -35
- package/src/iris_bundle/.iris/aidlc/standards/tool-wrappers.md +0 -32
- package/src/iris_bundle/.iris/aidlc/templates/bolt.md +0 -23
- package/src/iris_bundle/.iris/aidlc/templates/doctrine-doc-template.md +0 -33
- package/src/iris_bundle/.iris/aidlc/templates/intent.md +0 -23
- package/src/iris_bundle/.iris/aidlc/templates/log.md +0 -24
- package/src/iris_bundle/.iris/aidlc/templates/review.md +0 -21
- package/src/iris_bundle/.iris/aidlc/templates/unit.md +0 -31
- package/src/iris_bundle/.iris/aidlc/validation/failure-modes.md +0 -16
- package/src/iris_bundle/.iris/aidlc/validation/phase-preconditions.md +0 -21
- package/src/iris_bundle/.iris/aidlc/validation/quality-checklist.md +0 -20
- package/src/iris_bundle/.iris/policy.yaml +0 -27
- package/src/iris_bundle/.iris/routes.yaml +0 -98
- package/src/iris_bundle/.iris/state.yaml +0 -7
- package/src/iris_bundle/.iris/tools/claude/.claude/claude.md +0 -9
- package/src/iris_bundle/.iris/tools/claude/.claude/commands/compare-specs.md +0 -203
- package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-construction-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-inception-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-master-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-operations-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/codex/AGENTS.md +0 -15
- package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-construction-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-inception-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-master-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-operations-agent.md +0 -25
- package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-construction-agent.toml +0 -29
- package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-inception-agent.toml +0 -29
- package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-master-agent.toml +0 -29
- package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-operations-agent.toml +0 -29
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Intent: <title>
|
|
2
|
-
|
|
3
|
-
## Status
|
|
4
|
-
Draft | Approved | Archived
|
|
5
|
-
|
|
6
|
-
## Problem
|
|
7
|
-
<What is broken or missing?>
|
|
8
|
-
|
|
9
|
-
## Goals
|
|
10
|
-
- [ ] <measurable goal>
|
|
11
|
-
|
|
12
|
-
## Non-goals
|
|
13
|
-
- <explicit exclusions>
|
|
14
|
-
|
|
15
|
-
## Constraints
|
|
16
|
-
- <time/tech/policy>
|
|
17
|
-
|
|
18
|
-
## Definition of Done
|
|
19
|
-
- [ ] <observable criteria>
|
|
20
|
-
- Verification: <how to verify>
|
|
21
|
-
|
|
22
|
-
## Notes
|
|
23
|
-
<links to units/logs>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Log: <topic>
|
|
2
|
-
|
|
3
|
-
## Date
|
|
4
|
-
YYYY-MM-DD
|
|
5
|
-
|
|
6
|
-
## Context
|
|
7
|
-
<what triggered this?>
|
|
8
|
-
|
|
9
|
-
## Decision / Event
|
|
10
|
-
<what happened?>
|
|
11
|
-
|
|
12
|
-
## Options Considered
|
|
13
|
-
- A:
|
|
14
|
-
- B:
|
|
15
|
-
|
|
16
|
-
## Outcome
|
|
17
|
-
<chosen action + result>
|
|
18
|
-
|
|
19
|
-
## Tradeoffs / Risks
|
|
20
|
-
- <tradeoff>
|
|
21
|
-
- <risk>
|
|
22
|
-
|
|
23
|
-
## Next Actions
|
|
24
|
-
- [ ] <action>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Review: <unit/bolt>
|
|
2
|
-
|
|
3
|
-
## Gate
|
|
4
|
-
Inception | Construction | Operations
|
|
5
|
-
|
|
6
|
-
## Checklist
|
|
7
|
-
- [ ] Acceptance criteria met
|
|
8
|
-
- [ ] Tests executed
|
|
9
|
-
- [ ] Evidence recorded
|
|
10
|
-
- [ ] Logs recorded
|
|
11
|
-
- [ ] Rollback documented (if applicable)
|
|
12
|
-
|
|
13
|
-
## Evidence
|
|
14
|
-
- Unit: `memory-bank/units/<unit>/unit.md`
|
|
15
|
-
- Logs: `memory-bank/logs/...`
|
|
16
|
-
- Test output: <snippet/link>
|
|
17
|
-
|
|
18
|
-
## Decision
|
|
19
|
-
Accepted | Rejected
|
|
20
|
-
|
|
21
|
-
## Notes
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Unit: <title>
|
|
2
|
-
|
|
3
|
-
## Status
|
|
4
|
-
Draft | Approved | In Progress | Done | Archived
|
|
5
|
-
|
|
6
|
-
## Scope
|
|
7
|
-
<what is included?>
|
|
8
|
-
|
|
9
|
-
## Out of Scope
|
|
10
|
-
<what is excluded?>
|
|
11
|
-
|
|
12
|
-
## Interfaces / Contracts
|
|
13
|
-
- <api/schema/format changes>
|
|
14
|
-
|
|
15
|
-
## Files Impacted (expected)
|
|
16
|
-
- <path>
|
|
17
|
-
|
|
18
|
-
## Acceptance Criteria
|
|
19
|
-
- [ ] <criterion>
|
|
20
|
-
|
|
21
|
-
## Test Plan
|
|
22
|
-
- <commands/tests>
|
|
23
|
-
|
|
24
|
-
## Risks
|
|
25
|
-
- <risk> → <mitigation>
|
|
26
|
-
|
|
27
|
-
## Rollback Plan
|
|
28
|
-
<how to revert>
|
|
29
|
-
|
|
30
|
-
## Links
|
|
31
|
-
- Intent: `memory-bank/intents/<intent>.md`
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Failure Modes & Recovery
|
|
2
|
-
|
|
3
|
-
## Missing prerequisites
|
|
4
|
-
- Stop immediately.
|
|
5
|
-
- Create missing artifacts using templates.
|
|
6
|
-
- Log the decision/event.
|
|
7
|
-
- Re-run checklist.
|
|
8
|
-
|
|
9
|
-
## Phase skipping
|
|
10
|
-
- Return to prior phase.
|
|
11
|
-
- Produce approvals and evidence.
|
|
12
|
-
- Only then proceed.
|
|
13
|
-
|
|
14
|
-
## Unbounded scope
|
|
15
|
-
- Split into smaller units.
|
|
16
|
-
- Ensure each unit has measurable acceptance criteria.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Phase Preconditions & Exit Criteria
|
|
2
|
-
|
|
3
|
-
## Inception — Exit to Construction (REQUIRED)
|
|
4
|
-
MUST exist:
|
|
5
|
-
- `memory-bank/intents/<intent>.md` with `Status: Approved`
|
|
6
|
-
- `memory-bank/units/<unit>/unit.md` with `Status: Approved`
|
|
7
|
-
- `memory-bank/logs/<date>__inception-kickoff.md`
|
|
8
|
-
|
|
9
|
-
## Construction — Entry (REQUIRED)
|
|
10
|
-
MUST exist:
|
|
11
|
-
- Approved unit: `memory-bank/units/<unit>/unit.md`
|
|
12
|
-
- Ready bolt: `memory-bank/bolts/<unit>/<bolt>/bolt.md` with `Status: Ready`
|
|
13
|
-
|
|
14
|
-
## Construction — Exit to Operations (REQUIRED)
|
|
15
|
-
MUST exist:
|
|
16
|
-
- Evidence in `memory-bank/units/<unit>/review.md` (Accepted) OR a log with equivalent evidence
|
|
17
|
-
- `memory-bank/logs/<date>__construction-complete.md`
|
|
18
|
-
|
|
19
|
-
## Operations — Entry (REQUIRED)
|
|
20
|
-
MUST exist:
|
|
21
|
-
- `memory-bank/logs/<date>__ops-handover.md`
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Quality Checklist
|
|
2
|
-
|
|
3
|
-
## Universal
|
|
4
|
-
- [ ] Required artifacts exist at canonical paths
|
|
5
|
-
- [ ] Decisions logged for any architecture/behavior change
|
|
6
|
-
- [ ] No secrets in context or repo
|
|
7
|
-
|
|
8
|
-
## Inception
|
|
9
|
-
- [ ] Goals are measurable
|
|
10
|
-
- [ ] Acceptance criteria are testable
|
|
11
|
-
- [ ] Risks + rollback documented
|
|
12
|
-
|
|
13
|
-
## Construction
|
|
14
|
-
- [ ] Work references an approved unit
|
|
15
|
-
- [ ] Tests executed
|
|
16
|
-
- [ ] Evidence recorded
|
|
17
|
-
|
|
18
|
-
## Operations
|
|
19
|
-
- [ ] Handover recorded
|
|
20
|
-
- [ ] Incident logging process ready
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
version: 1
|
|
2
|
-
phases:
|
|
3
|
-
inception:
|
|
4
|
-
requires:
|
|
5
|
-
- path: "memory-bank/intents/"
|
|
6
|
-
type: "directory"
|
|
7
|
-
gates: []
|
|
8
|
-
|
|
9
|
-
construction:
|
|
10
|
-
requires:
|
|
11
|
-
- path: "memory-bank/units/"
|
|
12
|
-
type: "directory"
|
|
13
|
-
gates: []
|
|
14
|
-
|
|
15
|
-
operations:
|
|
16
|
-
requires:
|
|
17
|
-
- path: "memory-bank/logs/"
|
|
18
|
-
type: "directory"
|
|
19
|
-
gates: []
|
|
20
|
-
|
|
21
|
-
transitions:
|
|
22
|
-
- from: inception
|
|
23
|
-
to: construction
|
|
24
|
-
- from: construction
|
|
25
|
-
to: operations
|
|
26
|
-
- from: operations
|
|
27
|
-
to: inception
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
version: 1
|
|
2
|
-
default:
|
|
3
|
-
route_id: master_default
|
|
4
|
-
command: iris-master-agent
|
|
5
|
-
why: Fallback when intent is unclear or spans multiple phases.
|
|
6
|
-
routes:
|
|
7
|
-
- route_id: inception_architecture
|
|
8
|
-
phase: Inception
|
|
9
|
-
command: iris-inception-agent
|
|
10
|
-
match:
|
|
11
|
-
phrases:
|
|
12
|
-
- architecture plan
|
|
13
|
-
- scaffold plan
|
|
14
|
-
- system design
|
|
15
|
-
- technical design
|
|
16
|
-
all_keywords:
|
|
17
|
-
- plan
|
|
18
|
-
any_keywords:
|
|
19
|
-
- architecture
|
|
20
|
-
- design
|
|
21
|
-
- scaffold
|
|
22
|
-
- roadmap
|
|
23
|
-
- spec
|
|
24
|
-
exclude:
|
|
25
|
-
any_keywords:
|
|
26
|
-
- bug
|
|
27
|
-
- fix
|
|
28
|
-
- deploy
|
|
29
|
-
- release
|
|
30
|
-
- incident
|
|
31
|
-
requires:
|
|
32
|
-
artifacts:
|
|
33
|
-
- memory-bank/intents/
|
|
34
|
-
notes: If no intent exists, create one from templates/intent.md first.
|
|
35
|
-
rationale: Use Inception for framing, constraints, architecture, and an executable
|
|
36
|
-
plan.
|
|
37
|
-
- route_id: construction_build
|
|
38
|
-
phase: Construction
|
|
39
|
-
command: iris-construction-agent
|
|
40
|
-
match:
|
|
41
|
-
phrases:
|
|
42
|
-
- implement
|
|
43
|
-
- build feature
|
|
44
|
-
- write code
|
|
45
|
-
- add endpoint
|
|
46
|
-
- create component
|
|
47
|
-
all_keywords:
|
|
48
|
-
- implement
|
|
49
|
-
any_keywords:
|
|
50
|
-
- build
|
|
51
|
-
- code
|
|
52
|
-
- feature
|
|
53
|
-
- api
|
|
54
|
-
- component
|
|
55
|
-
- refactor
|
|
56
|
-
exclude:
|
|
57
|
-
any_keywords:
|
|
58
|
-
- deploy
|
|
59
|
-
- release
|
|
60
|
-
- incident
|
|
61
|
-
- monitor
|
|
62
|
-
requires:
|
|
63
|
-
artifacts:
|
|
64
|
-
- memory-bank/units/
|
|
65
|
-
notes: Construction requires an approved Unit brief; create it if missing.
|
|
66
|
-
rationale: Use Construction for implementation work that changes source code and
|
|
67
|
-
produces units/bolts.
|
|
68
|
-
- route_id: operations_runbook
|
|
69
|
-
phase: Operations
|
|
70
|
-
command: iris-operations-agent
|
|
71
|
-
match:
|
|
72
|
-
phrases:
|
|
73
|
-
- deploy
|
|
74
|
-
- release
|
|
75
|
-
- ci
|
|
76
|
-
- monitoring
|
|
77
|
-
- incident
|
|
78
|
-
- oncall
|
|
79
|
-
all_keywords:
|
|
80
|
-
- deploy
|
|
81
|
-
any_keywords:
|
|
82
|
-
- release
|
|
83
|
-
- ci
|
|
84
|
-
- cd
|
|
85
|
-
- monitor
|
|
86
|
-
- alert
|
|
87
|
-
- incident
|
|
88
|
-
- rollback
|
|
89
|
-
exclude:
|
|
90
|
-
any_keywords:
|
|
91
|
-
- architecture
|
|
92
|
-
- scaffold
|
|
93
|
-
- spec
|
|
94
|
-
requires:
|
|
95
|
-
artifacts:
|
|
96
|
-
- memory-bank/logs/
|
|
97
|
-
notes: Operations logs are required; record decisions and outcomes.
|
|
98
|
-
rationale: Use Operations for shipping, reliability, incident response, and runbooks.
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
# Compare Specs and Implementation
|
|
2
|
-
|
|
3
|
-
**Command**: `/compare-specs`
|
|
4
|
-
|
|
5
|
-
Compare specifications in `memory-bank/` with their corresponding implementations in `src/` to identify gaps, inconsistencies, and missing items.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Comparison Modes
|
|
10
|
-
|
|
11
|
-
Choose a comparison mode based on what you want to analyze:
|
|
12
|
-
|
|
13
|
-
### Mode 1: Spec → Implementation (Default)
|
|
14
|
-
Find what's documented in specs but missing or inconsistent in implementation.
|
|
15
|
-
- Identifies incomplete implementations
|
|
16
|
-
- Finds mismatches between spec requirements and actual code
|
|
17
|
-
|
|
18
|
-
### Mode 2: Implementation → Spec
|
|
19
|
-
Find what's implemented but not documented in specs.
|
|
20
|
-
- Identifies undocumented features
|
|
21
|
-
- Finds implementation details that should be in specs
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Process
|
|
26
|
-
|
|
27
|
-
### Step 1: Identify Scope
|
|
28
|
-
|
|
29
|
-
Ask the user:
|
|
30
|
-
|
|
31
|
-
> **What would you like to compare?**
|
|
32
|
-
>
|
|
33
|
-
> 1. **Specific agent** (e.g., inception-agent, construction-agent, master-agent)
|
|
34
|
-
> 2. **Specific feature** (e.g., bolt planning, story creation, estimation)
|
|
35
|
-
> 3. **Full system** (compare all specs vs all implementations)
|
|
36
|
-
>
|
|
37
|
-
> **Direction:**
|
|
38
|
-
> - A) Spec → Implementation (find missing implementations)
|
|
39
|
-
> - B) Implementation → Spec (find missing documentation)
|
|
40
|
-
> - C) Both directions
|
|
41
|
-
|
|
42
|
-
### Step 2: Locate Files
|
|
43
|
-
|
|
44
|
-
**Spec locations** (`memory-bank/`):
|
|
45
|
-
```
|
|
46
|
-
memory-bank/
|
|
47
|
-
├── intents/
|
|
48
|
-
│ ├── 001-multi-agent-orchestration/
|
|
49
|
-
│ │ └── units/
|
|
50
|
-
│ │ ├── master-agent/unit-brief.md
|
|
51
|
-
│ │ ├── inception-agent/unit-brief.md
|
|
52
|
-
│ │ ├── construction-agent/unit-brief.md
|
|
53
|
-
│ │ └── operations-agent/unit-brief.md
|
|
54
|
-
│ ├── 002-agentic-coding-tool-integration/
|
|
55
|
-
│ └── 003-memory-bank-system/
|
|
56
|
-
├── standards/
|
|
57
|
-
│ ├── coding-standards.md
|
|
58
|
-
│ ├── tech-stack.md
|
|
59
|
-
│ └── system-architecture.md
|
|
60
|
-
├── research/
|
|
61
|
-
│ └── (research documentation)
|
|
62
|
-
├── glossary.md
|
|
63
|
-
└── term-mappings.md
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**Implementation locations** (`src/flows/aidlc/`):
|
|
67
|
-
```
|
|
68
|
-
src/flows/aidlc/
|
|
69
|
-
├── agents/
|
|
70
|
-
│ ├── master-agent.md
|
|
71
|
-
│ ├── inception-agent.md
|
|
72
|
-
│ ├── construction-agent.md
|
|
73
|
-
│ └── operations-agent.md
|
|
74
|
-
├── commands/
|
|
75
|
-
├── .iris/
|
|
76
|
-
│ ├── skills/
|
|
77
|
-
│ │ ├── master/
|
|
78
|
-
│ │ ├── inception/
|
|
79
|
-
│ │ └── construction/
|
|
80
|
-
│ ├── templates/
|
|
81
|
-
│ └── memory-bank.yaml
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### Step 3: Compare Content
|
|
85
|
-
|
|
86
|
-
For each file pair, analyze:
|
|
87
|
-
|
|
88
|
-
| Aspect | Check |
|
|
89
|
-
|--------|-------|
|
|
90
|
-
| **Terminology** | Same terms used consistently? |
|
|
91
|
-
| **Features** | All spec features implemented? |
|
|
92
|
-
| **Naming conventions** | Match between spec and implementation? |
|
|
93
|
-
| **Estimation guidance** | Consistent across both? |
|
|
94
|
-
| **Dependencies** | All documented dependencies implemented? |
|
|
95
|
-
| **Commands** | All spec commands exist in implementation? |
|
|
96
|
-
| **Skills** | All spec skills have implementations? |
|
|
97
|
-
|
|
98
|
-
### Step 4: Report Findings
|
|
99
|
-
|
|
100
|
-
Generate a gap analysis report:
|
|
101
|
-
|
|
102
|
-
```markdown
|
|
103
|
-
## Gap Analysis Report
|
|
104
|
-
|
|
105
|
-
### Comparison: {scope}
|
|
106
|
-
- Direction: {Spec → Impl | Impl → Spec | Both}
|
|
107
|
-
- Files analyzed: {count}
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
### Gaps Found
|
|
112
|
-
|
|
113
|
-
#### Missing in Implementation (Spec → Impl)
|
|
114
|
-
| Spec | Item | Status |
|
|
115
|
-
|------|------|--------|
|
|
116
|
-
| inception-agent/unit-brief.md | Global story index | Not implemented |
|
|
117
|
-
| ... | ... | ... |
|
|
118
|
-
|
|
119
|
-
#### Missing in Specs (Impl → Spec)
|
|
120
|
-
| Implementation | Item | Status |
|
|
121
|
-
|----------------|------|--------|
|
|
122
|
-
| inception-agent.md | Naming conventions section | Not documented |
|
|
123
|
-
| ... | ... | ... |
|
|
124
|
-
|
|
125
|
-
#### Inconsistencies
|
|
126
|
-
| Location | Spec Says | Implementation Says |
|
|
127
|
-
|----------|-----------|---------------------|
|
|
128
|
-
| Bolt estimation | Hours only | Uses "1-2 days" |
|
|
129
|
-
| ... | ... | ... |
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
### Recommended Actions
|
|
134
|
-
|
|
135
|
-
1. **High Priority** (blocking or incorrect):
|
|
136
|
-
- { action }
|
|
137
|
-
|
|
138
|
-
2. **Medium Priority** (missing features):
|
|
139
|
-
- { action }
|
|
140
|
-
|
|
141
|
-
3. **Low Priority** (documentation polish):
|
|
142
|
-
- { action }
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
### Update Plan
|
|
147
|
-
|
|
148
|
-
Based on chosen direction:
|
|
149
|
-
|
|
150
|
-
**If updating specs:**
|
|
151
|
-
1. { step }
|
|
152
|
-
2. { step }
|
|
153
|
-
|
|
154
|
-
**If updating implementation:**
|
|
155
|
-
1. { step }
|
|
156
|
-
2. { step }
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
---
|
|
160
|
-
|
|
161
|
-
## Example Usage
|
|
162
|
-
|
|
163
|
-
**User**: `/compare-specs`
|
|
164
|
-
|
|
165
|
-
**Assistant**:
|
|
166
|
-
> What would you like to compare?
|
|
167
|
-
> 1. Specific agent
|
|
168
|
-
> 2. Specific feature
|
|
169
|
-
> 3. Full system
|
|
170
|
-
>
|
|
171
|
-
> And in which direction?
|
|
172
|
-
> A) Spec → Implementation
|
|
173
|
-
> B) Implementation → Spec
|
|
174
|
-
> C) Both
|
|
175
|
-
|
|
176
|
-
**User**: `1 - inception-agent, C - both`
|
|
177
|
-
|
|
178
|
-
**Assistant**: *Reads spec and implementation files, generates gap analysis*
|
|
179
|
-
|
|
180
|
-
---
|
|
181
|
-
|
|
182
|
-
## Quick Comparisons
|
|
183
|
-
|
|
184
|
-
For common comparisons, use these shortcuts:
|
|
185
|
-
|
|
186
|
-
| Shortcut | Scope |
|
|
187
|
-
|----------|-------|
|
|
188
|
-
| `/compare-specs agents` | All agent specs vs implementations |
|
|
189
|
-
| `/compare-specs skills` | All skill specs vs implementations |
|
|
190
|
-
| `/compare-specs memory-bank` | Memory bank spec vs implementation |
|
|
191
|
-
| `/compare-specs naming` | Naming conventions consistency |
|
|
192
|
-
| `/compare-specs estimation` | Estimation guidance consistency |
|
|
193
|
-
|
|
194
|
-
---
|
|
195
|
-
|
|
196
|
-
## Output
|
|
197
|
-
|
|
198
|
-
After analysis, provide:
|
|
199
|
-
|
|
200
|
-
1. **Summary**: X gaps found (Y in implementation, Z in specs)
|
|
201
|
-
2. **Gap table**: Detailed list of discrepancies
|
|
202
|
-
3. **Recommended plan**: Steps to resolve gaps
|
|
203
|
-
4. **User choice**: Ask if they want to fix specs, implementation, or both
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Iris Construction Agent
|
|
2
|
-
|
|
3
|
-
## What this does
|
|
4
|
-
Runs the IRIS **Construction** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
|
|
5
|
-
|
|
6
|
-
## REQUIRED context (load in this order)
|
|
7
|
-
1. `.iris/aidlc/context/load-order.md`
|
|
8
|
-
2. `.iris/aidlc/standards/phases-and-gates.md`
|
|
9
|
-
3. `.iris/aidlc/standards/artifacts-registry.md`
|
|
10
|
-
4. `.iris/aidlc/validation/phase-preconditions.md`
|
|
11
|
-
5. `.iris/aidlc/commands/iris-construction-agent.md`
|
|
12
|
-
6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
|
|
13
|
-
7. Phase memory-bank artifacts:
|
|
14
|
-
- Inception: `memory-bank/intents/**`
|
|
15
|
-
- Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
|
|
16
|
-
- Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
|
|
17
|
-
|
|
18
|
-
## Hard rules
|
|
19
|
-
- MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
|
|
20
|
-
- MUST stop if required artifacts for the phase are missing and ask to create them.
|
|
21
|
-
- MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
|
|
22
|
-
- MUST NOT delete files unless the user explicitly requests it.
|
|
23
|
-
|
|
24
|
-
## Start
|
|
25
|
-
Execute `.iris/aidlc/commands/iris-construction-agent.md`.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Iris Inception Agent
|
|
2
|
-
|
|
3
|
-
## What this does
|
|
4
|
-
Runs the IRIS **Inception** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
|
|
5
|
-
|
|
6
|
-
## REQUIRED context (load in this order)
|
|
7
|
-
1. `.iris/aidlc/context/load-order.md`
|
|
8
|
-
2. `.iris/aidlc/standards/phases-and-gates.md`
|
|
9
|
-
3. `.iris/aidlc/standards/artifacts-registry.md`
|
|
10
|
-
4. `.iris/aidlc/validation/phase-preconditions.md`
|
|
11
|
-
5. `.iris/aidlc/commands/iris-inception-agent.md`
|
|
12
|
-
6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
|
|
13
|
-
7. Phase memory-bank artifacts:
|
|
14
|
-
- Inception: `memory-bank/intents/**`
|
|
15
|
-
- Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
|
|
16
|
-
- Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
|
|
17
|
-
|
|
18
|
-
## Hard rules
|
|
19
|
-
- MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
|
|
20
|
-
- MUST stop if required artifacts for the phase are missing and ask to create them.
|
|
21
|
-
- MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
|
|
22
|
-
- MUST NOT delete files unless the user explicitly requests it.
|
|
23
|
-
|
|
24
|
-
## Start
|
|
25
|
-
Execute `.iris/aidlc/commands/iris-inception-agent.md`.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Iris Master Agent
|
|
2
|
-
|
|
3
|
-
## What this does
|
|
4
|
-
Runs the IRIS **Master** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
|
|
5
|
-
|
|
6
|
-
## REQUIRED context (load in this order)
|
|
7
|
-
1. `.iris/aidlc/context/load-order.md`
|
|
8
|
-
2. `.iris/aidlc/standards/phases-and-gates.md`
|
|
9
|
-
3. `.iris/aidlc/standards/artifacts-registry.md`
|
|
10
|
-
4. `.iris/aidlc/validation/phase-preconditions.md`
|
|
11
|
-
5. `.iris/aidlc/commands/iris-master-agent.md`
|
|
12
|
-
6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
|
|
13
|
-
7. Phase memory-bank artifacts:
|
|
14
|
-
- Inception: `memory-bank/intents/**`
|
|
15
|
-
- Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
|
|
16
|
-
- Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
|
|
17
|
-
|
|
18
|
-
## Hard rules
|
|
19
|
-
- MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
|
|
20
|
-
- MUST stop if required artifacts for the phase are missing and ask to create them.
|
|
21
|
-
- MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
|
|
22
|
-
- MUST NOT delete files unless the user explicitly requests it.
|
|
23
|
-
|
|
24
|
-
## Start
|
|
25
|
-
Execute `.iris/aidlc/commands/iris-master-agent.md`.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Iris Operations Agent
|
|
2
|
-
|
|
3
|
-
## What this does
|
|
4
|
-
Runs the IRIS **Operations** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
|
|
5
|
-
|
|
6
|
-
## REQUIRED context (load in this order)
|
|
7
|
-
1. `.iris/aidlc/context/load-order.md`
|
|
8
|
-
2. `.iris/aidlc/standards/phases-and-gates.md`
|
|
9
|
-
3. `.iris/aidlc/standards/artifacts-registry.md`
|
|
10
|
-
4. `.iris/aidlc/validation/phase-preconditions.md`
|
|
11
|
-
5. `.iris/aidlc/commands/iris-operations-agent.md`
|
|
12
|
-
6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
|
|
13
|
-
7. Phase memory-bank artifacts:
|
|
14
|
-
- Inception: `memory-bank/intents/**`
|
|
15
|
-
- Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
|
|
16
|
-
- Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
|
|
17
|
-
|
|
18
|
-
## Hard rules
|
|
19
|
-
- MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
|
|
20
|
-
- MUST stop if required artifacts for the phase are missing and ask to create them.
|
|
21
|
-
- MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
|
|
22
|
-
- MUST NOT delete files unless the user explicitly requests it.
|
|
23
|
-
|
|
24
|
-
## Start
|
|
25
|
-
Execute `.iris/aidlc/commands/iris-operations-agent.md`.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# IRIS Agents (Codex)
|
|
2
|
-
|
|
3
|
-
This repository uses IRIS doctrine in `.iris/aidlc/`.
|
|
4
|
-
|
|
5
|
-
## How to run
|
|
6
|
-
Use one of these entrypoints (read and follow):
|
|
7
|
-
- `.iris/aidlc/commands/iris-master-agent.md`
|
|
8
|
-
- `.iris/aidlc/commands/iris-inception-agent.md`
|
|
9
|
-
- `.iris/aidlc/commands/iris-construction-agent.md`
|
|
10
|
-
- `.iris/aidlc/commands/iris-operations-agent.md`
|
|
11
|
-
|
|
12
|
-
## Mandatory rules
|
|
13
|
-
- Write SDLC artifacts into `memory-bank/` using `.iris/aidlc/templates/`.
|
|
14
|
-
- Do not skip phases; follow `.iris/aidlc/standards/phases-and-gates.md`.
|
|
15
|
-
- Stop and request missing required artifacts rather than guessing.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Iris Construction Agent
|
|
2
|
-
|
|
3
|
-
## What this does
|
|
4
|
-
Runs the IRIS **Construction** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
|
|
5
|
-
|
|
6
|
-
## REQUIRED context (load in this order)
|
|
7
|
-
1. `.iris/aidlc/context/load-order.md`
|
|
8
|
-
2. `.iris/aidlc/standards/phases-and-gates.md`
|
|
9
|
-
3. `.iris/aidlc/standards/artifacts-registry.md`
|
|
10
|
-
4. `.iris/aidlc/validation/phase-preconditions.md`
|
|
11
|
-
5. `.iris/aidlc/commands/iris-construction-agent.md`
|
|
12
|
-
6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
|
|
13
|
-
7. Phase memory-bank artifacts:
|
|
14
|
-
- Inception: `memory-bank/intents/**`
|
|
15
|
-
- Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
|
|
16
|
-
- Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
|
|
17
|
-
|
|
18
|
-
## Hard rules
|
|
19
|
-
- MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
|
|
20
|
-
- MUST stop if required artifacts for the phase are missing and ask to create them.
|
|
21
|
-
- MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
|
|
22
|
-
- MUST NOT delete files unless the user explicitly requests it.
|
|
23
|
-
|
|
24
|
-
## Start
|
|
25
|
-
Execute `.iris/aidlc/commands/iris-construction-agent.md`.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Iris Inception Agent
|
|
2
|
-
|
|
3
|
-
## What this does
|
|
4
|
-
Runs the IRIS **Inception** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
|
|
5
|
-
|
|
6
|
-
## REQUIRED context (load in this order)
|
|
7
|
-
1. `.iris/aidlc/context/load-order.md`
|
|
8
|
-
2. `.iris/aidlc/standards/phases-and-gates.md`
|
|
9
|
-
3. `.iris/aidlc/standards/artifacts-registry.md`
|
|
10
|
-
4. `.iris/aidlc/validation/phase-preconditions.md`
|
|
11
|
-
5. `.iris/aidlc/commands/iris-inception-agent.md`
|
|
12
|
-
6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
|
|
13
|
-
7. Phase memory-bank artifacts:
|
|
14
|
-
- Inception: `memory-bank/intents/**`
|
|
15
|
-
- Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
|
|
16
|
-
- Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
|
|
17
|
-
|
|
18
|
-
## Hard rules
|
|
19
|
-
- MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
|
|
20
|
-
- MUST stop if required artifacts for the phase are missing and ask to create them.
|
|
21
|
-
- MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
|
|
22
|
-
- MUST NOT delete files unless the user explicitly requests it.
|
|
23
|
-
|
|
24
|
-
## Start
|
|
25
|
-
Execute `.iris/aidlc/commands/iris-inception-agent.md`.
|