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.
Files changed (160) 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 +12 -2
  7. package/dist/commands/ask.js +150 -23
  8. package/dist/commands/bridge.js +8 -0
  9. package/dist/commands/create.js +25 -0
  10. package/dist/commands/flow.js +301 -0
  11. package/dist/commands/framework.js +273 -0
  12. package/dist/commands/generate.js +59 -0
  13. package/dist/commands/install.js +72 -29
  14. package/dist/commands/pack.js +7 -1
  15. package/dist/commands/run.js +195 -13
  16. package/dist/commands/status.js +9 -0
  17. package/dist/commands/uninstall.js +3 -1
  18. package/dist/commands/use.js +20 -0
  19. package/dist/commands/validate.js +80 -65
  20. package/dist/framework/framework-loader.js +97 -0
  21. package/dist/framework/framework-paths.js +48 -0
  22. package/dist/framework/framework-types.js +15 -0
  23. package/dist/iris/artifacts/config.js +68 -0
  24. package/dist/iris/artifacts/generator.js +88 -0
  25. package/dist/iris/artifacts/types.js +1 -0
  26. package/dist/iris/bundle.js +44 -0
  27. package/dist/iris/doctrine/collector.js +124 -0
  28. package/dist/iris/fixer.js +28 -22
  29. package/dist/iris/flows/manifest.js +124 -0
  30. package/dist/iris/framework-context.js +49 -0
  31. package/dist/iris/framework-manager.js +215 -0
  32. package/dist/iris/fs/atomic.js +22 -0
  33. package/dist/iris/importers/index.js +9 -0
  34. package/dist/iris/importers/types.js +8 -0
  35. package/dist/iris/importers/writer.js +139 -0
  36. package/dist/iris/installer.js +105 -40
  37. package/dist/iris/interactive/env.js +21 -0
  38. package/dist/iris/interactive/intent-interview.js +345 -0
  39. package/dist/iris/interactive/intent-schema.js +28 -0
  40. package/dist/iris/interactive/interview-io.js +22 -0
  41. package/dist/iris/interview/config.js +71 -0
  42. package/dist/iris/interview/types.js +16 -0
  43. package/dist/iris/interview/utils.js +38 -0
  44. package/dist/iris/packer.js +69 -47
  45. package/dist/iris/parsers/unit-parser.js +43 -0
  46. package/dist/iris/paths.js +18 -0
  47. package/dist/iris/policy.js +122 -17
  48. package/dist/iris/proc.js +56 -0
  49. package/dist/iris/resolver.js +3 -0
  50. package/dist/iris/routes.js +180 -11
  51. package/dist/iris/run-state.js +3 -0
  52. package/dist/iris/state.js +37 -9
  53. package/dist/iris/templates.js +70 -0
  54. package/dist/iris/tmp.js +24 -0
  55. package/dist/iris/uninstaller.js +24 -9
  56. package/dist/iris/utils/interpolate.js +42 -0
  57. package/dist/iris/validator.js +72 -10
  58. package/dist/iris/workflow/config.js +51 -0
  59. package/dist/iris/workflow/engine.js +129 -0
  60. package/dist/iris/workflow/steps.js +448 -0
  61. package/dist/iris/workflow/types.js +1 -0
  62. package/dist/iris_bundle/frameworks/iris-core/framework.yaml +9 -0
  63. package/dist/iris_bundle/frameworks/iris-core/memory/memory-bank.yaml +1 -0
  64. package/dist/iris_bundle/frameworks/iris-core/policy.yaml +7 -0
  65. package/dist/iris_bundle/frameworks/iris-core/templates/config/memory-bank.yaml +1 -0
  66. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-template.md +226 -0
  67. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +49 -0
  68. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +55 -0
  69. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +67 -0
  70. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +62 -0
  71. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/ddd-construction-bolt.md +528 -0
  72. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/simple-construction-bolt.md +347 -0
  73. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/spike-bolt.md +240 -0
  74. package/dist/iris_bundle/frameworks/iris-core/templates/inception/requirements-template.md +144 -0
  75. package/dist/iris_bundle/frameworks/iris-core/templates/inception/stories-template.md +38 -0
  76. package/dist/iris_bundle/frameworks/iris-core/templates/inception/story-template.md +147 -0
  77. package/dist/iris_bundle/frameworks/iris-core/templates/inception/system-context-template.md +29 -0
  78. package/dist/iris_bundle/frameworks/iris-core/templates/inception/unit-brief-template.md +177 -0
  79. package/dist/iris_bundle/frameworks/iris-core/templates/inception/units-template.md +52 -0
  80. package/dist/templates/construction/bolt-template.md +226 -0
  81. package/dist/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +49 -0
  82. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +55 -0
  83. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +67 -0
  84. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +62 -0
  85. package/dist/templates/construction/bolt-types/ddd-construction-bolt.md +528 -0
  86. package/dist/templates/construction/bolt-types/simple-construction-bolt.md +347 -0
  87. package/dist/templates/construction/bolt-types/spike-bolt.md +240 -0
  88. package/dist/templates/inception/requirements-template.md +144 -0
  89. package/dist/templates/inception/stories-template.md +38 -0
  90. package/dist/templates/inception/story-template.md +147 -0
  91. package/dist/templates/inception/system-context-template.md +29 -0
  92. package/dist/templates/inception/unit-brief-template.md +177 -0
  93. package/dist/templates/inception/units-template.md +52 -0
  94. package/dist/utils/logo.js +17 -0
  95. package/dist/workflows/bolt-plan.js +57 -28
  96. package/dist/workflows/intent-inception.js +169 -72
  97. package/dist/workflows/memory-bank-generator.js +180 -0
  98. package/package.json +10 -7
  99. package/src/iris_bundle/.iris/aidlc/README.md +0 -16
  100. package/src/iris_bundle/.iris/aidlc/agents/iris-construction-agent.md +0 -35
  101. package/src/iris_bundle/.iris/aidlc/agents/iris-inception-agent.md +0 -30
  102. package/src/iris_bundle/.iris/aidlc/agents/iris-master-agent.md +0 -35
  103. package/src/iris_bundle/.iris/aidlc/agents/iris-operations-agent.md +0 -29
  104. package/src/iris_bundle/.iris/aidlc/commands/iris-construction-agent.md +0 -18
  105. package/src/iris_bundle/.iris/aidlc/commands/iris-inception-agent.md +0 -18
  106. package/src/iris_bundle/.iris/aidlc/commands/iris-master-agent.md +0 -18
  107. package/src/iris_bundle/.iris/aidlc/commands/iris-operations-agent.md +0 -18
  108. package/src/iris_bundle/.iris/aidlc/context/context-map.md +0 -25
  109. package/src/iris_bundle/.iris/aidlc/context/exclusion-rules.md +0 -13
  110. package/src/iris_bundle/.iris/aidlc/context/load-order.md +0 -25
  111. package/src/iris_bundle/.iris/aidlc/memory/intent-rules.md +0 -9
  112. package/src/iris_bundle/.iris/aidlc/memory/log-rules.md +0 -5
  113. package/src/iris_bundle/.iris/aidlc/memory/memory-bank.yaml +0 -39
  114. package/src/iris_bundle/.iris/aidlc/memory/unit-rules.md +0 -9
  115. package/src/iris_bundle/.iris/aidlc/quick-start.md +0 -24
  116. package/src/iris_bundle/.iris/aidlc/skills/execution/implementation.md +0 -14
  117. package/src/iris_bundle/.iris/aidlc/skills/execution/refactoring.md +0 -13
  118. package/src/iris_bundle/.iris/aidlc/skills/execution/scaffold-generation.md +0 -15
  119. package/src/iris_bundle/.iris/aidlc/skills/governance/escalation.md +0 -13
  120. package/src/iris_bundle/.iris/aidlc/skills/governance/quality-gates.md +0 -14
  121. package/src/iris_bundle/.iris/aidlc/skills/governance/stop-conditions.md +0 -11
  122. package/src/iris_bundle/.iris/aidlc/skills/reasoning/decomposition.md +0 -23
  123. package/src/iris_bundle/.iris/aidlc/skills/reasoning/risk-analysis.md +0 -14
  124. package/src/iris_bundle/.iris/aidlc/skills/reasoning/verification.md +0 -21
  125. package/src/iris_bundle/.iris/aidlc/standards/artifacts-registry.md +0 -38
  126. package/src/iris_bundle/.iris/aidlc/standards/decision-logging.md +0 -16
  127. package/src/iris_bundle/.iris/aidlc/standards/doctrine-structure.md +0 -31
  128. package/src/iris_bundle/.iris/aidlc/standards/documentation-rules.md +0 -15
  129. package/src/iris_bundle/.iris/aidlc/standards/file-structure.md +0 -21
  130. package/src/iris_bundle/.iris/aidlc/standards/naming-conventions.md +0 -18
  131. package/src/iris_bundle/.iris/aidlc/standards/phases-and-gates.md +0 -25
  132. package/src/iris_bundle/.iris/aidlc/standards/routes-and-routing.md +0 -35
  133. package/src/iris_bundle/.iris/aidlc/standards/tool-wrappers.md +0 -32
  134. package/src/iris_bundle/.iris/aidlc/templates/bolt.md +0 -23
  135. package/src/iris_bundle/.iris/aidlc/templates/doctrine-doc-template.md +0 -33
  136. package/src/iris_bundle/.iris/aidlc/templates/intent.md +0 -23
  137. package/src/iris_bundle/.iris/aidlc/templates/log.md +0 -24
  138. package/src/iris_bundle/.iris/aidlc/templates/review.md +0 -21
  139. package/src/iris_bundle/.iris/aidlc/templates/unit.md +0 -31
  140. package/src/iris_bundle/.iris/aidlc/validation/failure-modes.md +0 -16
  141. package/src/iris_bundle/.iris/aidlc/validation/phase-preconditions.md +0 -21
  142. package/src/iris_bundle/.iris/aidlc/validation/quality-checklist.md +0 -20
  143. package/src/iris_bundle/.iris/policy.yaml +0 -27
  144. package/src/iris_bundle/.iris/routes.yaml +0 -98
  145. package/src/iris_bundle/.iris/state.yaml +0 -7
  146. package/src/iris_bundle/.iris/tools/claude/.claude/claude.md +0 -9
  147. package/src/iris_bundle/.iris/tools/claude/.claude/commands/compare-specs.md +0 -203
  148. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-construction-agent.md +0 -25
  149. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-inception-agent.md +0 -25
  150. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-master-agent.md +0 -25
  151. package/src/iris_bundle/.iris/tools/claude/.claude/commands/iris-operations-agent.md +0 -25
  152. package/src/iris_bundle/.iris/tools/codex/AGENTS.md +0 -15
  153. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-construction-agent.md +0 -25
  154. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-inception-agent.md +0 -25
  155. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-master-agent.md +0 -25
  156. package/src/iris_bundle/.iris/tools/cursor/.cursor/commands/iris-operations-agent.md +0 -25
  157. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-construction-agent.toml +0 -29
  158. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-inception-agent.toml +0 -29
  159. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-master-agent.toml +0 -29
  160. package/src/iris_bundle/.iris/tools/gemini/.gemini/commands/iris-operations-agent.toml +0 -29
@@ -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,29 +0,0 @@
1
- name = "iris-construction-agent"
2
- description = "Run IRIS Construction agent using .iris/aidlc doctrine"
3
- prompt = """
4
- # Iris Construction Agent
5
-
6
- ## What this does
7
- Runs the IRIS **Construction** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
8
-
9
- ## REQUIRED context (load in this order)
10
- 1. `.iris/aidlc/context/load-order.md`
11
- 2. `.iris/aidlc/standards/phases-and-gates.md`
12
- 3. `.iris/aidlc/standards/artifacts-registry.md`
13
- 4. `.iris/aidlc/validation/phase-preconditions.md`
14
- 5. `.iris/aidlc/commands/iris-construction-agent.md`
15
- 6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
16
- 7. Phase memory-bank artifacts:
17
- - Inception: `memory-bank/intents/**`
18
- - Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
19
- - Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
20
-
21
- ## Hard rules
22
- - MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
23
- - MUST stop if required artifacts for the phase are missing and ask to create them.
24
- - MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
25
- - MUST NOT delete files unless the user explicitly requests it.
26
-
27
- ## Start
28
- Execute `.iris/aidlc/commands/iris-construction-agent.md`.
29
- """
@@ -1,29 +0,0 @@
1
- name = "iris-inception-agent"
2
- description = "Run IRIS Inception agent using .iris/aidlc doctrine"
3
- prompt = """
4
- # Iris Inception Agent
5
-
6
- ## What this does
7
- Runs the IRIS **Inception** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
8
-
9
- ## REQUIRED context (load in this order)
10
- 1. `.iris/aidlc/context/load-order.md`
11
- 2. `.iris/aidlc/standards/phases-and-gates.md`
12
- 3. `.iris/aidlc/standards/artifacts-registry.md`
13
- 4. `.iris/aidlc/validation/phase-preconditions.md`
14
- 5. `.iris/aidlc/commands/iris-inception-agent.md`
15
- 6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
16
- 7. Phase memory-bank artifacts:
17
- - Inception: `memory-bank/intents/**`
18
- - Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
19
- - Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
20
-
21
- ## Hard rules
22
- - MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
23
- - MUST stop if required artifacts for the phase are missing and ask to create them.
24
- - MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
25
- - MUST NOT delete files unless the user explicitly requests it.
26
-
27
- ## Start
28
- Execute `.iris/aidlc/commands/iris-inception-agent.md`.
29
- """
@@ -1,29 +0,0 @@
1
- name = "iris-master-agent"
2
- description = "Run IRIS Master agent using .iris/aidlc doctrine"
3
- prompt = """
4
- # Iris Master Agent
5
-
6
- ## What this does
7
- Runs the IRIS **Master** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
8
-
9
- ## REQUIRED context (load in this order)
10
- 1. `.iris/aidlc/context/load-order.md`
11
- 2. `.iris/aidlc/standards/phases-and-gates.md`
12
- 3. `.iris/aidlc/standards/artifacts-registry.md`
13
- 4. `.iris/aidlc/validation/phase-preconditions.md`
14
- 5. `.iris/aidlc/commands/iris-master-agent.md`
15
- 6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
16
- 7. Phase memory-bank artifacts:
17
- - Inception: `memory-bank/intents/**`
18
- - Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
19
- - Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
20
-
21
- ## Hard rules
22
- - MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
23
- - MUST stop if required artifacts for the phase are missing and ask to create them.
24
- - MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
25
- - MUST NOT delete files unless the user explicitly requests it.
26
-
27
- ## Start
28
- Execute `.iris/aidlc/commands/iris-master-agent.md`.
29
- """
@@ -1,29 +0,0 @@
1
- name = "iris-operations-agent"
2
- description = "Run IRIS Operations agent using .iris/aidlc doctrine"
3
- prompt = """
4
- # Iris Operations Agent
5
-
6
- ## What this does
7
- Runs the IRIS **Operations** agent using the canonical IRIS doctrine in `.iris/aidlc/`.
8
-
9
- ## REQUIRED context (load in this order)
10
- 1. `.iris/aidlc/context/load-order.md`
11
- 2. `.iris/aidlc/standards/phases-and-gates.md`
12
- 3. `.iris/aidlc/standards/artifacts-registry.md`
13
- 4. `.iris/aidlc/validation/phase-preconditions.md`
14
- 5. `.iris/aidlc/commands/iris-operations-agent.md`
15
- 6. Repo project signals (if present): `specs.md`, `README.md`, `package.json`, `tsconfig.json`, relevant `src/**`
16
- 7. Phase memory-bank artifacts:
17
- - Inception: `memory-bank/intents/**`
18
- - Construction: `memory-bank/units/**`, `memory-bank/bolts/**`
19
- - Operations: `memory-bank/logs/**`, `memory-bank/standards/**`
20
-
21
- ## Hard rules
22
- - MUST create/update artifacts in `memory-bank/` using templates in `.iris/aidlc/templates/`.
23
- - MUST stop if required artifacts for the phase are missing and ask to create them.
24
- - MUST keep outputs deterministic: numbered steps, explicit file paths, and acceptance criteria.
25
- - MUST NOT delete files unless the user explicitly requests it.
26
-
27
- ## Start
28
- Execute `.iris/aidlc/commands/iris-operations-agent.md`.
29
- """