project-iris 0.0.13 → 0.0.15

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 (189) hide show
  1. package/README.md +261 -94
  2. package/bin/cli.js +21 -0
  3. package/flows/aidlc/README.md +372 -0
  4. package/flows/aidlc/agents/construction-agent.md +79 -0
  5. package/flows/aidlc/agents/inception-agent.md +97 -0
  6. package/flows/aidlc/agents/master-agent.md +61 -0
  7. package/flows/aidlc/agents/operations-agent.md +89 -0
  8. package/flows/aidlc/commands/construction-agent.md +63 -0
  9. package/flows/aidlc/commands/inception-agent.md +55 -0
  10. package/flows/aidlc/commands/master-agent.md +47 -0
  11. package/flows/aidlc/commands/operations-agent.md +77 -0
  12. package/flows/aidlc/context-config.yaml +67 -0
  13. package/flows/aidlc/memory-bank.yaml +104 -0
  14. package/flows/aidlc/quick-start.md +322 -0
  15. package/flows/aidlc/skills/construction/bolt-list.md +163 -0
  16. package/flows/aidlc/skills/construction/bolt-replan.md +345 -0
  17. package/flows/aidlc/skills/construction/bolt-start.md +442 -0
  18. package/flows/aidlc/skills/construction/bolt-status.md +185 -0
  19. package/flows/aidlc/skills/construction/navigator.md +196 -0
  20. package/flows/aidlc/skills/inception/bolt-plan.md +372 -0
  21. package/flows/aidlc/skills/inception/context.md +171 -0
  22. package/flows/aidlc/skills/inception/intent-create.md +211 -0
  23. package/flows/aidlc/skills/inception/intent-list.md +124 -0
  24. package/flows/aidlc/skills/inception/navigator.md +207 -0
  25. package/flows/aidlc/skills/inception/requirements.md +227 -0
  26. package/flows/aidlc/skills/inception/review.md +248 -0
  27. package/flows/aidlc/skills/inception/story-create.md +304 -0
  28. package/flows/aidlc/skills/inception/units.md +278 -0
  29. package/flows/aidlc/skills/master/analyze-context.md +239 -0
  30. package/flows/aidlc/skills/master/answer-question.md +141 -0
  31. package/flows/aidlc/skills/master/explain-flow.md +158 -0
  32. package/flows/aidlc/skills/master/project-init.md +281 -0
  33. package/flows/aidlc/skills/master/route-request.md +126 -0
  34. package/flows/aidlc/skills/operations/build.md +237 -0
  35. package/flows/aidlc/skills/operations/deploy.md +259 -0
  36. package/flows/aidlc/skills/operations/monitor.md +265 -0
  37. package/flows/aidlc/skills/operations/navigator.md +209 -0
  38. package/flows/aidlc/skills/operations/verify.md +224 -0
  39. package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt.md +3 -3
  40. package/{dist → flows/aidlc}/templates/construction/bolt-types/spike-bolt.md +2 -2
  41. package/flows/aidlc/templates/construction/construction-log-template.md +129 -0
  42. package/flows/aidlc/templates/construction/standards/coding-standards.md +29 -0
  43. package/flows/aidlc/templates/construction/standards/system-architecture.md +22 -0
  44. package/flows/aidlc/templates/construction/standards/tech-stack.md +19 -0
  45. package/flows/aidlc/templates/inception/inception-log-template.md +134 -0
  46. package/flows/aidlc/templates/inception/project/README.md +55 -0
  47. package/flows/aidlc/templates/standards/catalog.yaml +345 -0
  48. package/flows/aidlc/templates/standards/coding-standards.guide.md +553 -0
  49. package/flows/aidlc/templates/standards/data-stack.guide.md +162 -0
  50. package/flows/aidlc/templates/standards/tech-stack.guide.md +280 -0
  51. package/lib/InstallerFactory.js +36 -0
  52. package/lib/analytics/env-detector.js +92 -0
  53. package/lib/analytics/index.js +22 -0
  54. package/lib/analytics/machine-id.js +33 -0
  55. package/lib/analytics/tracker.js +232 -0
  56. package/lib/cli-utils.js +342 -0
  57. package/lib/constants.js +32 -0
  58. package/lib/installer.js +402 -0
  59. package/lib/installers/AntigravityInstaller.js +112 -0
  60. package/lib/installers/ClaudeInstaller.js +85 -0
  61. package/lib/installers/ClineInstaller.js +21 -0
  62. package/lib/installers/CodexInstaller.js +21 -0
  63. package/lib/installers/CopilotInstaller.js +113 -0
  64. package/lib/installers/CursorInstaller.js +63 -0
  65. package/lib/installers/GeminiInstaller.js +75 -0
  66. package/lib/installers/KiroInstaller.js +22 -0
  67. package/lib/installers/OpenCodeInstaller.js +22 -0
  68. package/lib/installers/RooInstaller.js +22 -0
  69. package/lib/installers/ToolInstaller.js +73 -0
  70. package/lib/installers/WindsurfInstaller.js +22 -0
  71. package/lib/markdown-validator.ts +175 -0
  72. package/lib/yaml-validator.ts +99 -0
  73. package/package.json +106 -33
  74. package/scripts/artifact-validator.js +594 -0
  75. package/scripts/bolt-complete.js +606 -0
  76. package/scripts/status-integrity.js +598 -0
  77. package/dist/bridge/agent-runner.js +0 -190
  78. package/dist/bridge/connector-factory.js +0 -31
  79. package/dist/bridge/connectors/antigravity-connector.js +0 -18
  80. package/dist/bridge/connectors/cursor-connector.js +0 -31
  81. package/dist/bridge/connectors/in-process-connector.js +0 -29
  82. package/dist/bridge/connectors/vscode-connector.js +0 -31
  83. package/dist/bridge/connectors/windsurf-connector.js +0 -23
  84. package/dist/bridge/filesystem-connector.js +0 -110
  85. package/dist/bridge/helper.js +0 -203
  86. package/dist/bridge/types.js +0 -10
  87. package/dist/cli.js +0 -40
  88. package/dist/commands/ask.js +0 -259
  89. package/dist/commands/bridge.js +0 -88
  90. package/dist/commands/create.js +0 -25
  91. package/dist/commands/develop.js +0 -141
  92. package/dist/commands/doctor.js +0 -102
  93. package/dist/commands/flow.js +0 -301
  94. package/dist/commands/framework.js +0 -273
  95. package/dist/commands/generate.js +0 -59
  96. package/dist/commands/install.js +0 -100
  97. package/dist/commands/pack.js +0 -33
  98. package/dist/commands/phase.js +0 -38
  99. package/dist/commands/run.js +0 -199
  100. package/dist/commands/status.js +0 -114
  101. package/dist/commands/uninstall.js +0 -14
  102. package/dist/commands/use.js +0 -20
  103. package/dist/commands/validate.js +0 -102
  104. package/dist/framework/framework-loader.js +0 -97
  105. package/dist/framework/framework-paths.js +0 -48
  106. package/dist/framework/framework-types.js +0 -15
  107. package/dist/iris/artifact-checker.js +0 -78
  108. package/dist/iris/artifacts/config.js +0 -68
  109. package/dist/iris/artifacts/generator.js +0 -88
  110. package/dist/iris/artifacts/types.js +0 -1
  111. package/dist/iris/bundle.js +0 -44
  112. package/dist/iris/doctrine/collector.js +0 -124
  113. package/dist/iris/fixer.js +0 -149
  114. package/dist/iris/flows/manifest.js +0 -124
  115. package/dist/iris/framework-context.js +0 -49
  116. package/dist/iris/framework-manager.js +0 -215
  117. package/dist/iris/fs/atomic.js +0 -22
  118. package/dist/iris/guard.js +0 -38
  119. package/dist/iris/importers/index.js +0 -9
  120. package/dist/iris/importers/types.js +0 -8
  121. package/dist/iris/importers/writer.js +0 -139
  122. package/dist/iris/include.js +0 -49
  123. package/dist/iris/installer.js +0 -334
  124. package/dist/iris/interactive/env.js +0 -21
  125. package/dist/iris/interactive/intent-interview.js +0 -345
  126. package/dist/iris/interactive/intent-schema.js +0 -28
  127. package/dist/iris/interactive/interview-io.js +0 -22
  128. package/dist/iris/interview/config.js +0 -71
  129. package/dist/iris/interview/types.js +0 -16
  130. package/dist/iris/interview/utils.js +0 -38
  131. package/dist/iris/manifest.js +0 -54
  132. package/dist/iris/packer.js +0 -325
  133. package/dist/iris/parsers/unit-parser.js +0 -43
  134. package/dist/iris/paths.js +0 -18
  135. package/dist/iris/policy.js +0 -133
  136. package/dist/iris/proc.js +0 -56
  137. package/dist/iris/report.js +0 -53
  138. package/dist/iris/resolver.js +0 -66
  139. package/dist/iris/router.js +0 -114
  140. package/dist/iris/routes.js +0 -189
  141. package/dist/iris/run-state.js +0 -146
  142. package/dist/iris/state.js +0 -113
  143. package/dist/iris/templates.js +0 -70
  144. package/dist/iris/tmp.js +0 -24
  145. package/dist/iris/uninstaller.js +0 -181
  146. package/dist/iris/utils/interpolate.js +0 -42
  147. package/dist/iris/validator.js +0 -391
  148. package/dist/iris/workflow/config.js +0 -51
  149. package/dist/iris/workflow/engine.js +0 -129
  150. package/dist/iris/workflow/steps.js +0 -448
  151. package/dist/iris/workflow/types.js +0 -1
  152. package/dist/iris_bundle/frameworks/iris-core/framework.yaml +0 -9
  153. package/dist/iris_bundle/frameworks/iris-core/memory/memory-bank.yaml +0 -1
  154. package/dist/iris_bundle/frameworks/iris-core/policy.yaml +0 -7
  155. package/dist/iris_bundle/frameworks/iris-core/templates/config/memory-bank.yaml +0 -1
  156. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/spike-bolt.md +0 -240
  157. package/dist/lib.js +0 -96
  158. package/dist/templates/construction/bolt-template.md +0 -226
  159. package/dist/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -49
  160. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -55
  161. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -67
  162. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -62
  163. package/dist/templates/construction/bolt-types/ddd-construction-bolt.md +0 -528
  164. package/dist/templates/construction/bolt-types/simple-construction-bolt.md +0 -347
  165. package/dist/templates/inception/requirements-template.md +0 -144
  166. package/dist/templates/inception/stories-template.md +0 -38
  167. package/dist/templates/inception/story-template.md +0 -147
  168. package/dist/templates/inception/system-context-template.md +0 -29
  169. package/dist/templates/inception/unit-brief-template.md +0 -177
  170. package/dist/templates/inception/units-template.md +0 -52
  171. package/dist/utils/exit-codes.js +0 -7
  172. package/dist/utils/logo.js +0 -17
  173. package/dist/workflows/bolt-execution.js +0 -238
  174. package/dist/workflows/bolt-plan.js +0 -221
  175. package/dist/workflows/intent-inception.js +0 -285
  176. package/dist/workflows/memory-bank-generator.js +0 -180
  177. package/dist/workflows/reporting.js +0 -74
  178. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-template.md +0 -0
  179. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -0
  180. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -0
  181. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -0
  182. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -0
  183. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/simple-construction-bolt.md +0 -0
  184. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/requirements-template.md +0 -0
  185. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/stories-template.md +0 -0
  186. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/story-template.md +0 -0
  187. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/system-context-template.md +0 -0
  188. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/unit-brief-template.md +0 -0
  189. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/units-template.md +0 -0
@@ -0,0 +1,63 @@
1
+ # Activate Construction Agent
2
+
3
+ **Command**: `/iris-construction-agent`
4
+
5
+ ---
6
+
7
+ ## Activation
8
+
9
+ You are now the **Construction Agent** for iris AI-DLC.
10
+
11
+ **IMMEDIATELY** read and adopt the persona from:
12
+ → `src/flows/aidlc/agents/construction-agent.md`
13
+
14
+ ---
15
+
16
+ ## Parameters
17
+
18
+ - `--unit` (Required): Unit of work to construct
19
+ - `--bolt-id` (Optional): Specific bolt to work on
20
+
21
+ ---
22
+
23
+ ## Critical First Steps
24
+
25
+ 1. **Read Schema**: `.iris/aidlc/memory-bank.yaml`
26
+ 2. **Verify Unit**: Check unit exists and has completed inception
27
+ 3. **Load Bolts**: Find bolts for this unit
28
+ 4. **Determine State**: Check which bolts are planned/in-progress/completed
29
+ 5. **Present Menu or Continue**: Show status or continue active bolt
30
+
31
+ ---
32
+
33
+ ## Your Skills
34
+
35
+ - **List Bolts**: `.iris/skills/construction/bolt-list.md` → View all bolts
36
+ - **Bolt Status**: `.iris/skills/construction/bolt-status.md` → Detailed bolt status
37
+ - **Start/Continue Bolt**: `.iris/skills/construction/bolt-start.md` → Execute bolt stages
38
+ - **Plan Bolts**: `.iris/skills/construction/bolt-plan.md` → Redirects to Inception
39
+ - **Menu**: `.iris/skills/construction/navigator.md` → Show skills
40
+
41
+ ---
42
+
43
+ ## Bolt Type Execution
44
+
45
+ When executing a bolt, you **MUST**:
46
+
47
+ 1. Read the bolt type from `.iris/bolt-types/{type}.md`
48
+ 2. Follow stages defined in that file
49
+ 3. **NEVER** assume stages - always read them
50
+
51
+ ---
52
+
53
+ ## Transitions
54
+
55
+ - **All bolts complete** → Operations Agent
56
+ - **Need more stories/bolts** → Inception Agent
57
+ - **User asks about other phase** → Master Agent
58
+
59
+ ---
60
+
61
+ ## Begin
62
+
63
+ Activate now. Read your agent definition and guide the user through Construction.
@@ -0,0 +1,55 @@
1
+ # Activate Inception Agent
2
+
3
+ **Command**: `/iris-inception-agent`
4
+
5
+ ---
6
+
7
+ ## Activation
8
+
9
+ You are now the **Inception Agent** for iris AI-DLC.
10
+
11
+ **IMMEDIATELY** read and adopt the persona from:
12
+ → `src/flows/aidlc/agents/inception-agent.md`
13
+
14
+ ---
15
+
16
+ ## Parameters
17
+
18
+ - `--intent` (Optional): Intent name to work on
19
+ - `--skill` (Optional): Specific skill to execute
20
+
21
+ ---
22
+
23
+ ## Critical First Steps
24
+
25
+ 1. **Read Schema**: `.iris/aidlc/memory-bank.yaml`
26
+ 2. **Load Intent**: If `--intent` provided, load that intent's artifacts
27
+ 3. **Determine State**: Check what inception artifacts exist
28
+ 4. **Present Menu or Execute**: Show menu or run specific skill
29
+
30
+ ---
31
+
32
+ ## Your Skills
33
+
34
+ - **Create Intent**: `.iris/skills/inception/intent-create.md` → Start new feature
35
+ - **List Intents**: `.iris/skills/inception/intent-list.md` → View all intents
36
+ - **Gather Requirements**: `.iris/skills/inception/requirements.md` → Document FR/NFR
37
+ - **Define Context**: `.iris/skills/inception/context.md` → Map system boundaries
38
+ - **Decompose Units**: `.iris/skills/inception/units.md` → Break into units
39
+ - **Create Stories**: `.iris/skills/inception/story-create.md` → Define user stories
40
+ - **Plan Bolts**: `.iris/skills/inception/bolt-plan.md` → Group into bolts
41
+ - **Review**: `.iris/skills/inception/review.md` → Complete inception
42
+ - **Menu**: `.iris/skills/inception/navigator.md` → Show skills
43
+
44
+ ---
45
+
46
+ ## Transitions
47
+
48
+ - **Inception complete** → Construction Agent
49
+ - **User asks about other phase** → Master Agent
50
+
51
+ ---
52
+
53
+ ## Begin
54
+
55
+ Activate now. Read your agent definition and guide the user through Inception.
@@ -0,0 +1,47 @@
1
+ # Activate Master Agent
2
+
3
+ **Command**: `/iris-master-agent`
4
+
5
+ > **Note**: This is the ONLY command to activate the Master Agent. There are no aliases like `/iris-master`.
6
+
7
+ ---
8
+
9
+ ## Activation
10
+
11
+ You are now the **Master Orchestrator** for iris AI-DLC.
12
+
13
+ **IMMEDIATELY** read and adopt the persona from:
14
+ → `.iris/aidlc/agents/master-agent.md`
15
+
16
+ ---
17
+
18
+ ## Critical First Steps
19
+
20
+ 1. **Read Schema**: `.iris/aidlc/memory-bank.yaml`
21
+ 2. **Check Initialization**: Verify `memory-bank/standards/` exists with at least one standard file
22
+ 3. **If NOT initialized** → Redirect to `project-init` skill (STOP HERE until initialized)
23
+ 4. **If initialized** → Analyze Context and route appropriately
24
+
25
+ ---
26
+
27
+ ## Your Skills
28
+
29
+ - **Project Init**: `.iris/skills/master/project-init.md` → `project-init`, `init` - **Use for uninitialized projects**
30
+ - **Analyze Context**: `.iris/skills/master/analyze-context.md` → Auto on activation (after initialization)
31
+ - **Route Request**: `.iris/skills/master/route-request.md` → User wants to do something
32
+ - **Explain Flow**: `.iris/skills/master/explain-flow.md` → User asks about AI-DLC
33
+ - **Answer Question**: `.iris/skills/master/answer-question.md` → User has questions
34
+
35
+ ---
36
+
37
+ ## Routing Targets
38
+
39
+ - **Planning**: Inception Agent → `/iris-inception-agent`
40
+ - **Building**: Construction Agent → `/iris-construction-agent`
41
+ - **Deploying**: Operations Agent → `/iris-operations-agent`
42
+
43
+ ---
44
+
45
+ ## Begin
46
+
47
+ Activate now. Read your agent definition and start the orchestration process.
@@ -0,0 +1,77 @@
1
+ # Activate Operations Agent
2
+
3
+ **Command**: `/iris-operations-agent`
4
+
5
+ ---
6
+
7
+ ## Activation
8
+
9
+ You are now the **Operations Agent** for iris AI-DLC.
10
+
11
+ **IMMEDIATELY** read and adopt the persona from:
12
+ → `src/flows/aidlc/agents/operations-agent.md`
13
+
14
+ ---
15
+
16
+ ## Parameters
17
+
18
+ - `--unit` (Required): Unit to deploy/operate
19
+ - `--env` (Optional): Target environment (dev/staging/prod)
20
+
21
+ ---
22
+
23
+ ## Critical First Steps
24
+
25
+ 1. **Read Schema**: `.iris/aidlc/memory-bank.yaml`
26
+ 2. **Verify Unit**: Check all bolts are complete
27
+ 3. **Load Deployment Status**: Check `{unit}/deployment/` artifacts
28
+ 4. **Determine State**: What's built? What's deployed? What's verified?
29
+ 5. **Present Menu**: Show deployment status and options
30
+
31
+ ---
32
+
33
+ ## Your Skills
34
+
35
+ - **Build**: `.iris/skills/operations/build.md` → Create deployment artifacts
36
+ - **Deploy**: `.iris/skills/operations/deploy.md` → Deploy to environment
37
+ - **Verify**: `.iris/skills/operations/verify.md` → Validate deployment
38
+ - **Monitor**: `.iris/skills/operations/monitor.md` → Setup observability
39
+ - **Menu**: `.iris/skills/operations/navigator.md` → Show skills
40
+
41
+ ---
42
+
43
+ ## Deployment Progression
44
+
45
+ **ALWAYS** follow this progression:
46
+
47
+ ```text
48
+ Build → Dev → Verify → Staging → Verify → Prod → Verify → Monitor
49
+ ```
50
+
51
+ **NEVER** skip environments or verification.
52
+
53
+ ---
54
+
55
+ ## Forbidden Actions
56
+
57
+ You are **NOT** authorized to execute bolt commands:
58
+
59
+ - ❌ `bolt-plan`
60
+ - ❌ `bolt-start`
61
+ - ❌ `bolt-status`
62
+
63
+ If user requests these, redirect to Construction Agent.
64
+
65
+ ---
66
+
67
+ ## Transitions
68
+
69
+ - **Code needs fixes** → Construction Agent
70
+ - **Need more features** → Inception Agent
71
+ - **Operations complete** → Master Agent
72
+
73
+ ---
74
+
75
+ ## Begin
76
+
77
+ Activate now. Read your agent definition and guide the user through Operations.
@@ -0,0 +1,67 @@
1
+ # Context Configuration
2
+ # Defines what context each agent should load on activation.
3
+ # Only Construction Agent requires context loading at this stage.
4
+
5
+ agents:
6
+ construction:
7
+ description: "Construction Agent requires project standards to generate consistent code"
8
+ required_context:
9
+ - path: standards/tech-stack.md
10
+ purpose: "Technology choices for code generation"
11
+ critical: true
12
+
13
+ - path: standards/coding-standards.md
14
+ purpose: "Code style and patterns for generated code"
15
+ critical: true
16
+
17
+ optional_context:
18
+ - path: standards/system-architecture.md
19
+ purpose: "Architectural patterns and decisions"
20
+
21
+ - path: standards/api-conventions.md
22
+ purpose: "API design conventions"
23
+
24
+ - path: standards/ux-guide.md
25
+ purpose: "UI/UX patterns for frontend code"
26
+
27
+ on_missing_critical:
28
+ action: warn
29
+ message: |
30
+ ⚠️ Project standards not found.
31
+
32
+ The Construction Agent needs project standards to generate consistent code.
33
+ Missing: {missing_files}
34
+
35
+ Please run project initialization first:
36
+ → Use Master Agent with 'project-init' skill
37
+
38
+ Or continue without standards (code may be inconsistent).
39
+
40
+ inception:
41
+ description: "Inception Agent needs project type awareness for unit decomposition"
42
+ required_context:
43
+ - path: project.yaml
44
+ purpose: "Project type for unit decomposition and bolt type defaults"
45
+ critical: false
46
+
47
+ optional_context:
48
+ - path: standards/tech-stack.md
49
+ purpose: "Technology context for realistic decomposition"
50
+
51
+ on_missing_critical:
52
+ action: continue
53
+ message: |
54
+ ℹ️ Project not initialized yet.
55
+
56
+ The project.yaml file will be created during project-init.
57
+ Inception can proceed without it (will use defaults).
58
+
59
+ operations:
60
+ description: "Operations Agent requires deployment context"
61
+ required_context: []
62
+ optional_context:
63
+ - path: standards/system-architecture.md
64
+ purpose: "Architecture for deployment decisions"
65
+
66
+ - path: operations/deployment-config.md
67
+ purpose: "Existing deployment configuration"
@@ -0,0 +1,104 @@
1
+ # Memory Bank Configuration for AI-DLC Flow
2
+ # Defines the directory structure and required folders for project context
3
+
4
+ # Structure created at project initialization
5
+ # Note: units/ and stories/ are NOT created at init - they are created
6
+ # dynamically when intents are elaborated during Inception phase
7
+ structure:
8
+ - path: intents/
9
+ description: "Intents (Features/Capabilities) - units created per intent"
10
+ - path: bolts/
11
+ description: "Execution Instances (Bolt Sessions)"
12
+ - path: standards/
13
+ description: "Project Standards (Architecture, Tech Stack)"
14
+ - path: operations/
15
+ description: "Operations Context (Deployment, Monitoring)"
16
+
17
+ # Project configuration file (created during project-init)
18
+ project_config:
19
+ path: "memory-bank/project.yaml"
20
+ description: "Project type and initialization metadata"
21
+ fields:
22
+ - project_type: "full-stack-web | backend-api | frontend-app | cli-tool | library"
23
+ - initialized_at: "ISO 8601 timestamp"
24
+
25
+ # Dynamic structure (created by agents, not at init)
26
+ # - intents/{NNN}-{intent-name}/ → Created by Inception when intent is created
27
+ # - intents/{NNN}-{intent-name}/units/ → Created by Inception when units are defined
28
+ # - intents/{NNN}-{intent-name}/units/{unit-name}/stories/ → Created when stories are added
29
+
30
+ # Data Conventions (CRITICAL - Agents MUST follow these)
31
+ conventions:
32
+ timestamps:
33
+ format: "ISO 8601 with time and timezone"
34
+ pattern: "YYYY-MM-DDTHH:MM:SSZ"
35
+ example: "2024-12-05T10:30:00Z"
36
+ note: "ALL timestamps in memory-bank artifacts MUST include time, not just date"
37
+ applies_to:
38
+ - "created, started, completed fields in bolt files"
39
+ - "stages_completed entries"
40
+ - "construction-log entries"
41
+ - "inception-log entries"
42
+ - "any date/time field in frontmatter"
43
+
44
+ # Naming Conventions (CRITICAL - Agents MUST follow these)
45
+ # All names are derived from folder/file names - NO frontmatter prefixes needed
46
+ naming:
47
+ intents:
48
+ format: "{NNN}-{intent-name}"
49
+ example: "001-user-authentication"
50
+ note: "3-digit prefix indicates order, kebab-case name"
51
+
52
+ units:
53
+ format: "{UUU}-{unit-name}"
54
+ example: "001-auth-service"
55
+ note: "3-digit prefix within intent, kebab-case name"
56
+
57
+ stories:
58
+ format: "{SSS}-{title-slug}.md"
59
+ example: "001-user-signup.md"
60
+ note: "3-digit story number + kebab-case story title"
61
+ full_path_example: "memory-bank/intents/001-user-authentication/units/001-auth-service/stories/001-user-signup.md"
62
+
63
+ bolts:
64
+ format: "{BBB}-{unit-name}/"
65
+ example: "001-auth-service/"
66
+ note: "Global 3-digit sequence, unit name for context"
67
+ contents:
68
+ - "bolt.md" # Bolt instance metadata
69
+ - "ddd-01-domain-model.md" # Stage 1 artifact (DDD bolt)
70
+ - "ddd-02-technical-design.md" # Stage 2 artifact (DDD bolt)
71
+ - "ddd-03-test-report.md" # Stage 4 artifact (DDD bolt)
72
+
73
+ # Schema Definition (Source of Truth for Agents)
74
+ schema:
75
+ intents: "memory-bank/intents/{intent-name}/"
76
+ units: "memory-bank/intents/{intent-name}/units/{unit-name}/"
77
+ stories: "memory-bank/intents/{intent-name}/units/{unit-name}/stories/"
78
+ bolts: "memory-bank/bolts/{bolt-id}/"
79
+ bolt-artifacts: "memory-bank/bolts/{bolt-id}/"
80
+ standards: "memory-bank/standards/"
81
+ story-index: "memory-bank/story-index.md"
82
+ inception-log: "memory-bank/intents/{intent-name}/inception-log.md"
83
+ construction-log: "memory-bank/intents/{intent-name}/units/{unit-name}/construction-log.md"
84
+
85
+ # Agent Ownership
86
+ # Note: Both Inception and Construction can plan/create bolts
87
+ # Inception: initial planning, Construction: replanning during execution
88
+ ownership:
89
+ inception: [intents, units, stories, story-index, bolts] # Plans bolts initially
90
+ construction: [units, bolts] # Executes and can replan bolts
91
+ operations: [operations]
92
+
93
+ # Global Story Index Options
94
+ # Choose ONE approach for project-wide story tracking
95
+ story-index:
96
+ enabled: true
97
+ # Options:
98
+ # 1. single-file: One story-index.md at memory-bank root (recommended for small projects)
99
+ # 2. per-intent: One story-index.md per intent folder (recommended for large projects)
100
+ # 3. aggregate: Auto-generated from unit-level stories (computed, not stored)
101
+ mode: "single-file"
102
+ path: "memory-bank/story-index.md"
103
+
104
+