project-iris 0.0.7 → 0.0.11

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.
Files changed (125) hide show
  1. package/README.md +294 -264
  2. package/dist/bridge/agent-runner.js +190 -0
  3. package/dist/bridge/connector-factory.js +4 -0
  4. package/dist/bridge/connectors/in-process-connector.js +29 -0
  5. package/dist/bridge/filesystem-connector.js +5 -0
  6. package/dist/cli.js +10 -2
  7. package/dist/commands/ask.js +150 -23
  8. package/dist/commands/bridge.js +8 -0
  9. package/dist/commands/flow.js +301 -0
  10. package/dist/commands/framework.js +273 -0
  11. package/dist/commands/generate.js +59 -0
  12. package/dist/commands/install.js +72 -29
  13. package/dist/commands/pack.js +7 -1
  14. package/dist/commands/run.js +195 -13
  15. package/dist/commands/status.js +9 -0
  16. package/dist/commands/uninstall.js +3 -1
  17. package/dist/commands/use.js +20 -0
  18. package/dist/commands/validate.js +80 -65
  19. package/dist/framework/framework-loader.js +97 -0
  20. package/dist/framework/framework-paths.js +48 -0
  21. package/dist/framework/framework-types.js +15 -0
  22. package/dist/iris/artifacts/config.js +68 -0
  23. package/dist/iris/artifacts/generator.js +88 -0
  24. package/dist/iris/artifacts/types.js +1 -0
  25. package/dist/iris/bundle.js +44 -0
  26. package/dist/iris/doctrine/collector.js +124 -0
  27. package/dist/iris/fixer.js +28 -22
  28. package/dist/iris/flows/manifest.js +124 -0
  29. package/dist/iris/framework-context.js +49 -0
  30. package/dist/iris/framework-manager.js +215 -0
  31. package/dist/iris/fs/atomic.js +22 -0
  32. package/dist/iris/importers/index.js +9 -0
  33. package/dist/iris/importers/types.js +8 -0
  34. package/dist/iris/importers/writer.js +139 -0
  35. package/dist/iris/installer.js +105 -40
  36. package/dist/iris/interactive/env.js +21 -0
  37. package/dist/iris/interactive/intent-interview.js +345 -0
  38. package/dist/iris/interactive/intent-schema.js +28 -0
  39. package/dist/iris/interactive/interview-io.js +22 -0
  40. package/dist/iris/interview/config.js +71 -0
  41. package/dist/iris/interview/types.js +16 -0
  42. package/dist/iris/interview/utils.js +38 -0
  43. package/dist/iris/packer.js +69 -47
  44. package/dist/iris/parsers/unit-parser.js +43 -0
  45. package/dist/iris/paths.js +18 -0
  46. package/dist/iris/policy.js +122 -17
  47. package/dist/iris/proc.js +56 -0
  48. package/dist/iris/resolver.js +3 -0
  49. package/dist/iris/routes.js +180 -11
  50. package/dist/iris/run-state.js +3 -0
  51. package/dist/iris/state.js +37 -9
  52. package/dist/iris/templates.js +70 -0
  53. package/dist/iris/tmp.js +24 -0
  54. package/dist/iris/uninstaller.js +24 -9
  55. package/dist/iris/utils/interpolate.js +42 -0
  56. package/dist/iris/validator.js +72 -10
  57. package/dist/iris/workflow/config.js +51 -0
  58. package/dist/iris/workflow/engine.js +129 -0
  59. package/dist/iris/workflow/steps.js +448 -0
  60. package/dist/iris/workflow/types.js +1 -0
  61. package/dist/utils/logo.js +17 -0
  62. package/dist/workflows/intent-inception.js +87 -65
  63. package/package.json +8 -6
  64. package/src/iris_bundle/.iris/aidlc/README.md +0 -16
  65. package/src/iris_bundle/.iris/aidlc/agents/iris-construction-agent.md +0 -35
  66. package/src/iris_bundle/.iris/aidlc/agents/iris-inception-agent.md +0 -30
  67. package/src/iris_bundle/.iris/aidlc/agents/iris-master-agent.md +0 -35
  68. package/src/iris_bundle/.iris/aidlc/agents/iris-operations-agent.md +0 -29
  69. package/src/iris_bundle/.iris/aidlc/commands/iris-construction-agent.md +0 -18
  70. package/src/iris_bundle/.iris/aidlc/commands/iris-inception-agent.md +0 -18
  71. package/src/iris_bundle/.iris/aidlc/commands/iris-master-agent.md +0 -18
  72. package/src/iris_bundle/.iris/aidlc/commands/iris-operations-agent.md +0 -18
  73. package/src/iris_bundle/.iris/aidlc/context/context-map.md +0 -25
  74. package/src/iris_bundle/.iris/aidlc/context/exclusion-rules.md +0 -13
  75. package/src/iris_bundle/.iris/aidlc/context/load-order.md +0 -25
  76. package/src/iris_bundle/.iris/aidlc/memory/intent-rules.md +0 -9
  77. package/src/iris_bundle/.iris/aidlc/memory/log-rules.md +0 -5
  78. package/src/iris_bundle/.iris/aidlc/memory/memory-bank.yaml +0 -39
  79. package/src/iris_bundle/.iris/aidlc/memory/unit-rules.md +0 -9
  80. package/src/iris_bundle/.iris/aidlc/quick-start.md +0 -24
  81. package/src/iris_bundle/.iris/aidlc/skills/execution/implementation.md +0 -14
  82. package/src/iris_bundle/.iris/aidlc/skills/execution/refactoring.md +0 -13
  83. package/src/iris_bundle/.iris/aidlc/skills/execution/scaffold-generation.md +0 -15
  84. package/src/iris_bundle/.iris/aidlc/skills/governance/escalation.md +0 -13
  85. package/src/iris_bundle/.iris/aidlc/skills/governance/quality-gates.md +0 -14
  86. package/src/iris_bundle/.iris/aidlc/skills/governance/stop-conditions.md +0 -11
  87. package/src/iris_bundle/.iris/aidlc/skills/reasoning/decomposition.md +0 -23
  88. package/src/iris_bundle/.iris/aidlc/skills/reasoning/risk-analysis.md +0 -14
  89. package/src/iris_bundle/.iris/aidlc/skills/reasoning/verification.md +0 -21
  90. package/src/iris_bundle/.iris/aidlc/standards/artifacts-registry.md +0 -38
  91. package/src/iris_bundle/.iris/aidlc/standards/decision-logging.md +0 -16
  92. package/src/iris_bundle/.iris/aidlc/standards/doctrine-structure.md +0 -31
  93. package/src/iris_bundle/.iris/aidlc/standards/documentation-rules.md +0 -15
  94. package/src/iris_bundle/.iris/aidlc/standards/file-structure.md +0 -21
  95. package/src/iris_bundle/.iris/aidlc/standards/naming-conventions.md +0 -18
  96. package/src/iris_bundle/.iris/aidlc/standards/phases-and-gates.md +0 -25
  97. package/src/iris_bundle/.iris/aidlc/standards/routes-and-routing.md +0 -35
  98. package/src/iris_bundle/.iris/aidlc/standards/tool-wrappers.md +0 -32
  99. package/src/iris_bundle/.iris/aidlc/templates/bolt.md +0 -23
  100. package/src/iris_bundle/.iris/aidlc/templates/doctrine-doc-template.md +0 -33
  101. package/src/iris_bundle/.iris/aidlc/templates/intent.md +0 -23
  102. package/src/iris_bundle/.iris/aidlc/templates/log.md +0 -24
  103. package/src/iris_bundle/.iris/aidlc/templates/review.md +0 -21
  104. package/src/iris_bundle/.iris/aidlc/templates/unit.md +0 -31
  105. package/src/iris_bundle/.iris/aidlc/validation/failure-modes.md +0 -16
  106. package/src/iris_bundle/.iris/aidlc/validation/phase-preconditions.md +0 -21
  107. package/src/iris_bundle/.iris/aidlc/validation/quality-checklist.md +0 -20
  108. package/src/iris_bundle/.iris/policy.yaml +0 -27
  109. package/src/iris_bundle/.iris/routes.yaml +0 -98
  110. package/src/iris_bundle/.iris/state.yaml +0 -7
  111. package/src/iris_bundle/.iris/tools/claude/.claude/claude.md +0 -9
  112. package/src/iris_bundle/.iris/tools/claude/.claude/commands/compare-specs.md +0 -203
  113. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-construction-agent.md +0 -25
  114. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-inception-agent.md +0 -25
  115. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-master-agent.md +0 -25
  116. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-operations-agent.md +0 -25
  117. package/src/iris_bundle/.iris/tools/codex/AGENTS.md +0 -15
  118. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-construction-agent.md +0 -25
  119. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-inception-agent.md +0 -25
  120. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-master-agent.md +0 -25
  121. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-operations-agent.md +0 -25
  122. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-construction-agent.toml +0 -29
  123. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-inception-agent.toml +0 -29
  124. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-master-agent.toml +0 -29
  125. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-operations-agent.toml +0 -29
@@ -1,11 +0,0 @@
1
- # Skill: Stop Conditions
2
-
3
- ## Hard Rules
4
- An agent MUST stop if:
5
- - required artifacts are missing
6
- - acceptance criteria are not testable
7
- - approvals are missing
8
- - a policy violation is detected
9
-
10
- ## Recovery
11
- Create missing artifacts using templates, then continue.
@@ -1,23 +0,0 @@
1
- # Skill: Decomposition
2
-
3
- ## Purpose
4
- Turn intent into units/bolts that can be executed and verified.
5
-
6
- ## Inputs
7
- - Approved intent
8
- - Constraints and existing context
9
-
10
- ## Outputs
11
- - Units (`memory-bank/units/<unit>/unit.md`)
12
- - Bolts (`memory-bank/bolts/<unit>/<bolt>/bolt.md`) as needed
13
-
14
- ## Hard Rules
15
- - MUST produce measurable acceptance criteria.
16
- - MUST keep units verifiable in one cycle.
17
- - MUST log decomposition decisions.
18
-
19
- ## Procedure
20
- 1. Extract goals/constraints from intent.
21
- 2. Define units as independently testable deliverables.
22
- 3. Create bolts for implementation slices if helpful.
23
- 4. Record decisions in logs.
@@ -1,14 +0,0 @@
1
- # Skill: Risk Analysis
2
-
3
- ## Purpose
4
- Identify risks and define mitigations/rollback.
5
-
6
- ## Hard Rules
7
- - MUST add rollback for risky changes.
8
- - MUST log architecture risks.
9
-
10
- ## Procedure
11
- 1. Identify failure modes.
12
- 2. Add mitigations.
13
- 3. Add rollback.
14
- 4. Log major risks.
@@ -1,21 +0,0 @@
1
- # Skill: Verification
2
-
3
- ## Purpose
4
- Prove changes with evidence.
5
-
6
- ## Inputs
7
- - Unit acceptance criteria + test plan
8
- - Code changes
9
-
10
- ## Outputs
11
- - Evidence recorded in review/log artifacts
12
-
13
- ## Hard Rules
14
- - MUST run specified tests or explicitly update the unit to define them.
15
- - MUST record evidence.
16
- - MUST NOT claim “verified” without evidence.
17
-
18
- ## Procedure
19
- 1. Run tests.
20
- 2. Capture outputs.
21
- 3. Record in review.md or log.
@@ -1,38 +0,0 @@
1
- # Artifacts Registry (Canonical)
2
-
3
- ## Purpose
4
- Define IRIS artifacts and their authoritative locations.
5
-
6
- ## Artifacts
7
- ### Intent
8
- - Path: `memory-bank/intents/<intent-slug>.md`
9
- - Template: `.iris/aidlc/templates/intent.md`
10
- - Owner: Inception Agent
11
- - Lifecycle: Draft → Approved → Archived
12
-
13
- ### Unit
14
- - Path: `memory-bank/units/<unit-slug>/unit.md`
15
- - Template: `.iris/aidlc/templates/unit.md`
16
- - Owner: Inception (create/approve), Construction (execute)
17
- - Lifecycle: Draft → Approved → In Progress → Done
18
-
19
- ### Bolt
20
- - Path: `memory-bank/bolts/<unit-slug>/<bolt-slug>/bolt.md`
21
- - Template: `.iris/aidlc/templates/bolt.md`
22
- - Owner: Construction
23
- - Lifecycle: Draft → Ready → Executed → Verified
24
-
25
- ### Log
26
- - Path: `memory-bank/logs/YYYY-MM-DD__<topic>.md`
27
- - Template: `.iris/aidlc/templates/log.md`
28
- - Owner: All agents
29
- - Lifecycle: Immutable (append via new logs)
30
-
31
- ### Review
32
- - Path: `memory-bank/units/<unit-slug>/review.md` (recommended) or `memory-bank/logs/`
33
- - Template: `.iris/aidlc/templates/review.md`
34
- - Owner: Master (or delegated reviewer)
35
-
36
- ## Hard Rules
37
- - If a phase gate requires an artifact, it MUST exist at the exact path.
38
- - Artifacts MUST NOT be embedded inside unrelated documents.
@@ -1,16 +0,0 @@
1
- # Decision Logging Standard
2
-
3
- ## Purpose
4
- Prevent silent drift and preserve rationale.
5
-
6
- ## Hard Rules
7
- - Any decision with downstream impact MUST be logged in `memory-bank/logs/` using `templates/log.md`.
8
- - Logs MUST include:
9
- - context
10
- - options considered
11
- - chosen option + rationale
12
- - tradeoffs/risks
13
- - next actions
14
-
15
- ## Quality Gate
16
- If a reviewer cannot explain “why”, the change is incomplete.
@@ -1,31 +0,0 @@
1
- # Doctrine Structure Standard
2
-
3
- ## Purpose
4
- Freeze the IRIS doctrine layout so it remains stable, searchable, and enforceable.
5
-
6
- ## Scope
7
- - In scope: `.iris/aidlc/**` structure, naming, canonical locations.
8
- - Out of scope: tool-specific wrappers (kept outside doctrine or mirrored under `.iris/tools/` at repo root).
9
-
10
- ## Hard Rules
11
- - Top-level directories under `.iris/aidlc/` MUST remain:
12
- - `agents/`, `commands/`, `skills/`, `standards/`, `templates/`, `context/`, `memory/`, `validation/`
13
- - New top-level directories MUST NOT be added unless all are updated:
14
- - this document
15
- - `standards/file-structure.md`
16
- - `context/context-map.md`
17
- - Rules MUST NOT be duplicated across documents:
18
- - reference `standards/*` instead of re-copying.
19
-
20
- ## Canonical locations
21
- - Agent definitions: `agents/`
22
- - Tool entrypoints: `commands/`
23
- - Procedures/playbooks: `skills/`
24
- - Governance: `standards/`
25
- - Templates: `templates/`
26
- - Context rules: `context/`
27
- - Memory rules: `memory/`
28
- - Validation rules: `validation/`
29
-
30
- ## Quality Gate
31
- Any change to structure MUST include an updated tree and rationale in a decision log.
@@ -1,15 +0,0 @@
1
- # Documentation Rules
2
-
3
- ## Purpose
4
- Make outputs actionable, reviewable, and enforceable.
5
-
6
- ## Hard Rules
7
- - Any plan MUST specify:
8
- - exact file paths it will create/modify
9
- - acceptance criteria and verification method
10
- - stop conditions (when to halt for missing inputs)
11
- - “Done” MUST be measurable.
12
- - A unit/bolt MUST be small enough to implement and verify in one cycle.
13
-
14
- ## MUST NOT
15
- - Avoid vague verbs (“handle”, “improve”, “optimize”) without measurable criteria.
@@ -1,21 +0,0 @@
1
- # File Structure Standard
2
-
3
- ## Purpose
4
- Define canonical repo locations used by IRIS.
5
-
6
- ## Hard Rules
7
- - IRIS doctrine MUST live at: `.iris/aidlc/`
8
- - Project memory MUST live at: `memory-bank/`
9
- - Canonical memory-bank folders MUST exist:
10
- - `memory-bank/intents/`
11
- - `memory-bank/units/`
12
- - `memory-bank/bolts/`
13
- - `memory-bank/standards/`
14
- - `memory-bank/logs/`
15
-
16
- ## MUST NOT
17
- - Do not store project decisions only in chat history.
18
- - Do not introduce alternate memory roots unless doctrine is updated.
19
-
20
- ## Quality Gate
21
- A repo is not “IRIS-ready” until the memory-bank exists.
@@ -1,18 +0,0 @@
1
- # Naming Conventions
2
-
3
- ## Purpose
4
- Ensure artifacts are predictable and routable.
5
-
6
- ## Hard Rules
7
- - Filenames and folders MUST be `kebab-case`.
8
- - Agent docs MUST be prefixed with `iris-` and end with `-agent.md`.
9
- - Commands MUST be prefixed with `iris-` and match the agent name.
10
- - Logs MUST be prefixed with `YYYY-MM-DD__`.
11
-
12
- ## Recommended patterns
13
- - Unit folder: `memory-bank/units/<unit-slug>/`
14
- - Bolt folder: `memory-bank/bolts/<unit-slug>/<bolt-slug>/`
15
-
16
- ## Failure Modes & Recovery
17
- - Failure: inconsistent naming prevents routing/validation.
18
- - Recovery: rename to kebab-case and update references.
@@ -1,25 +0,0 @@
1
- # Phases & Gates
2
-
3
- ## Purpose
4
- Define SDLC phases and forbid phase skipping.
5
-
6
- ## Phases
7
- 1. **Inception**
8
- - Output: approved intent + approved units + kickoff log
9
- 2. **Construction**
10
- - Output: implementation + verification evidence + completion log
11
- 3. **Operations**
12
- - Output: handover log + incident/runbook logs as needed
13
-
14
- ## Allowed transitions
15
- - Inception → Construction
16
- - Construction → Operations
17
- - Operations → Inception (new intent only)
18
-
19
- ## Hard Rules
20
- - Construction MUST NOT begin without an approved unit.
21
- - Operations MUST NOT begin without accepted verification evidence.
22
-
23
- ## Gate authority
24
- - Master Agent is gatekeeper by default.
25
- - Delegation is allowed but MUST be logged.
@@ -1,35 +0,0 @@
1
- # IRIS Routing Doctrine
2
-
3
- ## Purpose
4
- Define how IRIS maps user intent to the correct agent command **without ambiguity** and **without hidden heuristics**.
5
-
6
- ## Scope
7
- This standard governs:
8
- - `.iris/routes.yaml` format and semantics
9
- - Required routing metadata (rationale, exclusions, required context)
10
- - How tools and Navi MUST apply routing
11
-
12
- ## Hard Rules
13
- - Routing MUST be deterministic: same input → same route selection given same routes file.
14
- - Routing MUST be explainable: every match MUST include a rationale.
15
- - Routing MUST include exclusions to prevent false positives.
16
- - If no route matches with high confidence, IRIS MUST fall back to **iris-master-agent** and request clarification.
17
-
18
- ## Route precedence
19
- 1. Exact phrase matches
20
- 2. Strong keyword matches (all required keywords present)
21
- 3. Weak keyword matches (some keywords present) — only if no strong match exists
22
- 4. Default route: `iris-master-agent`
23
-
24
- ## Output of routing
25
- A router MUST output:
26
- - `route_id`
27
- - selected `command`
28
- - `why` (the route rationale)
29
- - `missing_context` (if required context is absent)
30
- - suggested next action (which artifact to create first)
31
-
32
- ## Anti-patterns
33
- - DO NOT route directly to Construction when Inception artifacts are missing.
34
- - DO NOT route to Operations for requests that change scope/architecture.
35
- - DO NOT invent routes at runtime; update `.iris/routes.yaml` instead.
@@ -1,32 +0,0 @@
1
- # Tool Wrapper Doctrine
2
-
3
- ## Purpose
4
- Ensure tool-specific command wrappers (Claude/Cursor/Gemini/Antigravity/Codex) invoke IRIS consistently.
5
-
6
- ## Hard Rules
7
- - Tool wrappers MUST be thin: they MUST NOT redefine doctrine. They MUST reference `.iris/aidlc/**`.
8
- - Tool wrappers MUST instruct the tool to load:
9
- 1) the requested IRIS command entrypoint
10
- 2) the minimum required memory-bank artifacts for that phase
11
- 3) any repo-local constraints (e.g., `specs.md`, `README.md`, `package.json` if present)
12
- - Tool wrappers MUST forbid destructive operations unless explicitly requested.
13
- - Tool wrappers MUST require the agent to produce artifacts into `memory-bank/` using IRIS templates.
14
-
15
- ## Minimum context set
16
- All wrappers MUST load:
17
- - `.iris/aidlc/context/load-order.md`
18
- - `.iris/aidlc/standards/phases-and-gates.md`
19
- - `.iris/aidlc/standards/artifacts-registry.md`
20
- - `.iris/aidlc/validation/phase-preconditions.md`
21
-
22
- Plus phase-specific memory-bank files:
23
- - Inception: `memory-bank/intents/*`
24
- - Construction: `memory-bank/units/*`, `memory-bank/bolts/*`
25
- - Operations: `memory-bank/logs/*`, `memory-bank/standards/*`
26
-
27
- ## Wrapper content requirements
28
- Each wrapper MUST include:
29
- - What the command does
30
- - What inputs it needs
31
- - What files it MUST write/update
32
- - Stop conditions
@@ -1,23 +0,0 @@
1
- # Bolt: <title>
2
-
3
- ## Status
4
- Draft | Ready | Executed | Verified
5
-
6
- ## Objective
7
- <one sentence>
8
-
9
- ## Preconditions
10
- - Approved unit: `memory-bank/units/<unit>/unit.md`
11
-
12
- ## Steps
13
- 1.
14
- 2.
15
-
16
- ## Files to Change
17
- - <path>
18
-
19
- ## Verification
20
- - Commands:
21
- - `<command>`
22
- - Evidence location:
23
- - `memory-bank/units/<unit>/review.md` or `memory-bank/logs/...`
@@ -1,33 +0,0 @@
1
- # <Title>
2
-
3
- ## Purpose
4
- <One sentence: why this exists.>
5
-
6
- ## Scope
7
- - In scope:
8
- - Out of scope:
9
-
10
- ## Inputs
11
- - <required inputs + locations>
12
-
13
- ## Outputs
14
- - <guaranteed outputs + locations>
15
-
16
- ## Hard Rules
17
- - MUST:
18
- - MUST NOT:
19
- - SHOULD (only if necessary):
20
-
21
- ## Procedure
22
- 1.
23
- 2.
24
- 3.
25
-
26
- ## Quality Gates
27
- - Gate 1:
28
- - Gate 2:
29
-
30
- ## Failure Modes & Recovery
31
- - Failure:
32
- - Symptom:
33
- - Recovery:
@@ -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,7 +0,0 @@
1
- current_phase: Inception
2
- active:
3
- intent: null
4
- unit: null
5
- bolt: null
6
- last_validation: null
7
- notes: Initialize by creating an intent using .iris/aidlc/templates/intent.md
@@ -1,9 +0,0 @@
1
- # IRIS for Claude
2
-
3
- Use the command palette entries in `.claude/commands/`:
4
- - iris-master-agent
5
- - iris-inception-agent
6
- - iris-construction-agent
7
- - iris-operations-agent
8
-
9
- Doctrine lives in `.iris/aidlc/`.