@ydtb/specsmd 0.1.22

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 (143) hide show
  1. package/README.md +322 -0
  2. package/bin/cli.js +21 -0
  3. package/flows/aidlc/README.md +372 -0
  4. package/flows/aidlc/agents/construction-agent.md +80 -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 +67 -0
  9. package/flows/aidlc/commands/inception-agent.md +59 -0
  10. package/flows/aidlc/commands/master-agent.md +51 -0
  11. package/flows/aidlc/commands/operations-agent.md +81 -0
  12. package/flows/aidlc/context-config.yaml +67 -0
  13. package/flows/aidlc/memory-bank.yaml +105 -0
  14. package/flows/aidlc/quick-start.md +322 -0
  15. package/flows/aidlc/scripts/artifact-validator.cjs +594 -0
  16. package/flows/aidlc/scripts/bolt-complete.cjs +606 -0
  17. package/flows/aidlc/scripts/status-integrity.cjs +598 -0
  18. package/flows/aidlc/skills/construction/bolt-list.md +163 -0
  19. package/flows/aidlc/skills/construction/bolt-replan.md +345 -0
  20. package/flows/aidlc/skills/construction/bolt-start.md +442 -0
  21. package/flows/aidlc/skills/construction/bolt-status.md +185 -0
  22. package/flows/aidlc/skills/construction/navigator.md +196 -0
  23. package/flows/aidlc/skills/construction/prototype-apply.md +311 -0
  24. package/flows/aidlc/skills/inception/bolt-plan.md +372 -0
  25. package/flows/aidlc/skills/inception/context.md +171 -0
  26. package/flows/aidlc/skills/inception/intent-create.md +211 -0
  27. package/flows/aidlc/skills/inception/intent-list.md +124 -0
  28. package/flows/aidlc/skills/inception/navigator.md +207 -0
  29. package/flows/aidlc/skills/inception/requirements.md +227 -0
  30. package/flows/aidlc/skills/inception/review.md +248 -0
  31. package/flows/aidlc/skills/inception/story-create.md +304 -0
  32. package/flows/aidlc/skills/inception/units.md +278 -0
  33. package/flows/aidlc/skills/inception/vibe-to-spec.md +410 -0
  34. package/flows/aidlc/skills/master/analyze-context.md +239 -0
  35. package/flows/aidlc/skills/master/answer-question.md +141 -0
  36. package/flows/aidlc/skills/master/explain-flow.md +158 -0
  37. package/flows/aidlc/skills/master/project-init.md +281 -0
  38. package/flows/aidlc/skills/master/route-request.md +126 -0
  39. package/flows/aidlc/skills/operations/build.md +237 -0
  40. package/flows/aidlc/skills/operations/deploy.md +259 -0
  41. package/flows/aidlc/skills/operations/monitor.md +265 -0
  42. package/flows/aidlc/skills/operations/navigator.md +209 -0
  43. package/flows/aidlc/skills/operations/verify.md +224 -0
  44. package/flows/aidlc/templates/construction/bolt-template.md +226 -0
  45. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +49 -0
  46. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +55 -0
  47. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +67 -0
  48. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +62 -0
  49. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +590 -0
  50. package/flows/aidlc/templates/construction/bolt-types/simple-construction-bolt.md +347 -0
  51. package/flows/aidlc/templates/construction/bolt-types/spike-bolt.md +240 -0
  52. package/flows/aidlc/templates/construction/construction-log-template.md +129 -0
  53. package/flows/aidlc/templates/construction/standards/coding-standards.md +29 -0
  54. package/flows/aidlc/templates/construction/standards/system-architecture.md +22 -0
  55. package/flows/aidlc/templates/construction/standards/tech-stack.md +19 -0
  56. package/flows/aidlc/templates/inception/inception-log-template.md +134 -0
  57. package/flows/aidlc/templates/inception/project/README.md +55 -0
  58. package/flows/aidlc/templates/inception/requirements-template.md +144 -0
  59. package/flows/aidlc/templates/inception/stories-template.md +38 -0
  60. package/flows/aidlc/templates/inception/story-template.md +147 -0
  61. package/flows/aidlc/templates/inception/system-context-template.md +29 -0
  62. package/flows/aidlc/templates/inception/unit-brief-template.md +177 -0
  63. package/flows/aidlc/templates/inception/units-template.md +52 -0
  64. package/flows/aidlc/templates/standards/catalog.yaml +345 -0
  65. package/flows/aidlc/templates/standards/coding-standards.guide.md +553 -0
  66. package/flows/aidlc/templates/standards/data-stack.guide.md +162 -0
  67. package/flows/aidlc/templates/standards/decision-index-template.md +32 -0
  68. package/flows/aidlc/templates/standards/tech-stack.guide.md +280 -0
  69. package/flows/fire/README.md +19 -0
  70. package/flows/fire/agents/builder/agent.md +254 -0
  71. package/flows/fire/agents/builder/skills/code-review/SKILL.md +257 -0
  72. package/flows/fire/agents/builder/skills/code-review/references/auto-fix-rules.md +218 -0
  73. package/flows/fire/agents/builder/skills/code-review/references/review-categories.md +154 -0
  74. package/flows/fire/agents/builder/skills/code-review/templates/review-report.md.hbs +120 -0
  75. package/flows/fire/agents/builder/skills/commit-changes/SKILL.md +232 -0
  76. package/flows/fire/agents/builder/skills/commit-changes/scripts/commit-changes.cjs +447 -0
  77. package/flows/fire/agents/builder/skills/run-execute/SKILL.md +700 -0
  78. package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.cjs +748 -0
  79. package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.cjs +457 -0
  80. package/flows/fire/agents/builder/skills/run-execute/scripts/update-phase.cjs +239 -0
  81. package/flows/fire/agents/builder/skills/run-execute/templates/plan.md.hbs +61 -0
  82. package/flows/fire/agents/builder/skills/run-execute/templates/test-report.md.hbs +81 -0
  83. package/flows/fire/agents/builder/skills/run-plan/SKILL.md +366 -0
  84. package/flows/fire/agents/builder/skills/run-status/SKILL.md +96 -0
  85. package/flows/fire/agents/builder/skills/walkthrough-generate/SKILL.md +181 -0
  86. package/flows/fire/agents/builder/skills/walkthrough-generate/templates/walkthrough.md.hbs +108 -0
  87. package/flows/fire/agents/orchestrator/agent.md +144 -0
  88. package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +226 -0
  89. package/flows/fire/agents/orchestrator/skills/project-init/templates/coding-standards.md.hbs +149 -0
  90. package/flows/fire/agents/orchestrator/skills/project-init/templates/constitution.md.hbs +43 -0
  91. package/flows/fire/agents/orchestrator/skills/project-init/templates/system-architecture.md.hbs +101 -0
  92. package/flows/fire/agents/orchestrator/skills/project-init/templates/tech-stack.md.hbs +136 -0
  93. package/flows/fire/agents/orchestrator/skills/project-init/templates/testing-standards.md.hbs +94 -0
  94. package/flows/fire/agents/orchestrator/skills/route/SKILL.md +146 -0
  95. package/flows/fire/agents/orchestrator/skills/status/SKILL.md +696 -0
  96. package/flows/fire/agents/planner/agent.md +143 -0
  97. package/flows/fire/agents/planner/skills/design-doc-generate/SKILL.md +156 -0
  98. package/flows/fire/agents/planner/skills/design-doc-generate/templates/design.md.hbs +124 -0
  99. package/flows/fire/agents/planner/skills/intent-capture/SKILL.md +125 -0
  100. package/flows/fire/agents/planner/skills/intent-capture/templates/brief.md.hbs +40 -0
  101. package/flows/fire/agents/planner/skills/work-item-decompose/SKILL.md +166 -0
  102. package/flows/fire/agents/planner/skills/work-item-decompose/templates/work-item.md.hbs +40 -0
  103. package/flows/fire/commands/fire-builder.md +56 -0
  104. package/flows/fire/commands/fire-planner.md +48 -0
  105. package/flows/fire/commands/fire.md +46 -0
  106. package/flows/fire/memory-bank.yaml +240 -0
  107. package/flows/fire/quick-start.md +146 -0
  108. package/flows/simple/README.md +190 -0
  109. package/flows/simple/agents/agent.md +404 -0
  110. package/flows/simple/commands/agent.md +60 -0
  111. package/flows/simple/context-config.yaml +34 -0
  112. package/flows/simple/memory-bank.yaml +66 -0
  113. package/flows/simple/quick-start.md +231 -0
  114. package/flows/simple/skills/design.md +96 -0
  115. package/flows/simple/skills/execute.md +190 -0
  116. package/flows/simple/skills/requirements.md +94 -0
  117. package/flows/simple/skills/tasks.md +136 -0
  118. package/flows/simple/templates/design-template.md +138 -0
  119. package/flows/simple/templates/requirements-template.md +85 -0
  120. package/flows/simple/templates/tasks-template.md +104 -0
  121. package/lib/InstallerFactory.js +36 -0
  122. package/lib/analytics/env-detector.js +92 -0
  123. package/lib/analytics/index.js +22 -0
  124. package/lib/analytics/machine-id.js +33 -0
  125. package/lib/analytics/tracker.js +232 -0
  126. package/lib/cli-utils.js +342 -0
  127. package/lib/constants.js +44 -0
  128. package/lib/installer.js +406 -0
  129. package/lib/installers/AntigravityInstaller.js +22 -0
  130. package/lib/installers/ClaudeInstaller.js +85 -0
  131. package/lib/installers/ClineInstaller.js +21 -0
  132. package/lib/installers/CodexInstaller.js +21 -0
  133. package/lib/installers/CopilotInstaller.js +113 -0
  134. package/lib/installers/CursorInstaller.js +63 -0
  135. package/lib/installers/GeminiInstaller.js +75 -0
  136. package/lib/installers/KiroInstaller.js +77 -0
  137. package/lib/installers/OpenCodeInstaller.js +30 -0
  138. package/lib/installers/RooInstaller.js +22 -0
  139. package/lib/installers/ToolInstaller.js +76 -0
  140. package/lib/installers/WindsurfInstaller.js +22 -0
  141. package/lib/markdown-validator.ts +175 -0
  142. package/lib/yaml-validator.ts +99 -0
  143. package/package.json +69 -0
@@ -0,0 +1,105 @@
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
+ decision-index: "memory-bank/standards/decision-index.md"
85
+
86
+ # Agent Ownership
87
+ # Note: Both Inception and Construction can plan/create bolts
88
+ # Inception: initial planning, Construction: replanning during execution
89
+ ownership:
90
+ inception: [intents, units, stories, story-index, bolts] # Plans bolts initially
91
+ construction: [units, bolts, decision-index] # Executes, can replan bolts, maintains decision index
92
+ operations: [operations]
93
+
94
+ # Global Story Index Options
95
+ # Choose ONE approach for project-wide story tracking
96
+ story-index:
97
+ enabled: true
98
+ # Options:
99
+ # 1. single-file: One story-index.md at memory-bank root (recommended for small projects)
100
+ # 2. per-intent: One story-index.md per intent folder (recommended for large projects)
101
+ # 3. aggregate: Auto-generated from unit-level stories (computed, not stored)
102
+ mode: "single-file"
103
+ path: "memory-bank/story-index.md"
104
+
105
+
@@ -0,0 +1,322 @@
1
+ # specsmd AI-DLC Quick Start Guide
2
+
3
+ Get started with AI-Driven Development Lifecycle in minutes.
4
+
5
+ ---
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npx specsmd@latest install
11
+ ```
12
+
13
+ The installer will:
14
+
15
+ 1. Detect available agentic coding tools (Claude Code, Cursor, GitHub Copilot)
16
+ 2. Install agent definitions and skills
17
+ 3. Set up the memory bank structure
18
+ 4. Create slash commands for your tools
19
+
20
+ ---
21
+
22
+ ## Three-Phase Workflow
23
+
24
+ AI-DLC has three sequential phases, each with a specialized agent:
25
+
26
+ | Phase | Agent | Purpose |
27
+ |-------|-------|---------|
28
+ | **Inception** | Inception Agent | Capture intents, gather requirements, decompose into units |
29
+ | **Construction** | Construction Agent | Execute bolts (rapid iterations) to build code |
30
+ | **Operations** | Operations Agent | Deploy, verify, and monitor |
31
+
32
+ The **Master Agent** orchestrates everything and helps you navigate.
33
+
34
+ ---
35
+
36
+ ## Quick Start Flow
37
+
38
+ ### Step 1: Initialize Your Project
39
+
40
+ Open your AI coding tool (Claude Code, Cursor, etc.) and type this command as a prompt:
41
+
42
+ ```text
43
+ /specsmd-master-agent
44
+ ```
45
+
46
+ Then type `project-init` or `init` when prompted.
47
+
48
+ This guides you through:
49
+
50
+ - **Project type selection** (full-stack, backend API, frontend, CLI, library)
51
+ - **Tech stack decisions** (language, framework, database, ORM)
52
+ - **Coding standards** (formatting, linting, testing strategy)
53
+ - **Optional standards** (architecture, UX guide, API conventions)
54
+
55
+ Standards are saved to `memory-bank/standards/` and provide context for all AI agents.
56
+
57
+ ### Step 2: Create Your First Intent
58
+
59
+ Switch to the Inception Agent:
60
+
61
+ ```text
62
+ /specsmd-inception-agent intent-create
63
+ ```
64
+
65
+ An **Intent** is a high-level goal. Examples:
66
+
67
+ - "User authentication system"
68
+ - "Product catalog with search"
69
+ - "Payment processing integration"
70
+
71
+ The agent will:
72
+
73
+ 1. Capture the intent
74
+ 2. Elaborate requirements
75
+ 3. Define system context
76
+ 4. Decompose into units
77
+
78
+ ### Step 3: Plan and Start Bolts
79
+
80
+ Once units are defined, plan your first bolt:
81
+
82
+ ```text
83
+ /specsmd-inception-agent bolt-plan
84
+ ```
85
+
86
+ A **Bolt** is a rapid iteration (hours to days). Two types available:
87
+
88
+ | Bolt Type | Best For |
89
+ |-----------|----------|
90
+ | **DDD Construction** | Complex business logic, domain modeling |
91
+ | **Simple Construction** | UI, integrations, utilities |
92
+
93
+ ### Step 4: Execute Bolts
94
+
95
+ Switch to the Construction Agent to execute:
96
+
97
+ ```text
98
+ /specsmd-construction-agent bolt-start
99
+ ```
100
+
101
+ Each bolt type has its own stages:
102
+
103
+ **DDD Construction Bolt** (for complex business logic):
104
+
105
+ 1. **Domain Model** - Model the business domain
106
+ 2. **Technical Design** - Define interfaces and architecture
107
+ 3. **ADR Analysis** - Document significant decisions (optional)
108
+ 4. **Implement** - Write production code
109
+ 5. **Test** - Verify correctness
110
+
111
+ **Simple Construction Bolt** (for UI, integrations, utilities):
112
+
113
+ 1. **Spec** - Define what to build
114
+ 2. **Implement** - Write the code
115
+ 3. **Test** - Verify it works
116
+
117
+ Human validation happens at each stage.
118
+
119
+ ### Step 5: Deploy
120
+
121
+ When bolts are complete, use the Operations Agent:
122
+
123
+ ```text
124
+ /specsmd-operations-agent deploy
125
+ ```
126
+
127
+ ---
128
+
129
+ ## Agent Commands Reference
130
+
131
+ ### Master Agent (`/specsmd-master-agent`)
132
+
133
+ | Skill | Purpose |
134
+ |-------|---------|
135
+ | `project-init` | Initialize project with standards |
136
+ | `analyze-context` | View current project state |
137
+ | `route-request` | Get directed to the right agent |
138
+ | `explain-flow` | Learn about AI-DLC methodology |
139
+ | `answer-question` | Get help with any specsmd question |
140
+
141
+ ### Inception Agent (`/specsmd-inception-agent`)
142
+
143
+ | Skill | Purpose |
144
+ |-------|---------|
145
+ | `intent-create` | Create a new intent |
146
+ | `intent-list` | List all intents |
147
+ | `requirements` | Elaborate intent requirements |
148
+ | `context` | Define system context |
149
+ | `units` | Decompose into units |
150
+ | `story-create` | Create stories for a unit |
151
+ | `bolt-plan` | Plan bolts for stories |
152
+ | `review` | Review inception artifacts |
153
+ | `navigator` | Navigate inception workflow |
154
+
155
+ ### Construction Agent (`/specsmd-construction-agent`)
156
+
157
+ | Skill | Purpose |
158
+ |-------|---------|
159
+ | `bolt-start` | Start executing a bolt |
160
+ | `bolt-status` | Check bolt progress |
161
+ | `bolt-list` | List all bolts |
162
+ | `bolt-plan` | Plan additional bolts |
163
+ | `navigator` | Navigate construction workflow |
164
+
165
+ ### Operations Agent (`/specsmd-operations-agent`)
166
+
167
+ | Skill | Purpose |
168
+ |-------|---------|
169
+ | `build` | Build the project |
170
+ | `deploy` | Deploy to environment |
171
+ | `verify` | Verify deployment |
172
+ | `monitor` | Set up monitoring |
173
+
174
+ ---
175
+
176
+ ## Project Types
177
+
178
+ Choose your project type during initialization:
179
+
180
+ | Type | Required Standards | Recommended Standards |
181
+ |------|-------------------|----------------------|
182
+ | **full-stack-web** | tech-stack, coding-standards | system-architecture, ux-guide, api-conventions |
183
+ | **backend-api** | tech-stack, coding-standards | system-architecture, api-conventions |
184
+ | **frontend-app** | tech-stack, coding-standards | ux-guide |
185
+ | **cli-tool** | tech-stack, coding-standards | - |
186
+ | **library** | tech-stack, coding-standards | api-conventions |
187
+
188
+ ---
189
+
190
+ ## File Structure
191
+
192
+ After installation, your project will have:
193
+
194
+ ```text
195
+ .specsmd/
196
+ ├── manifest.yaml # Installation manifest
197
+ └── aidlc/ # AI-DLC flow
198
+ ├── agents/ # Agent definitions (master, inception, construction, operations)
199
+ ├── commands/ # Slash commands for agentic tools
200
+ ├── skills/ # Agent skills by phase
201
+ │ ├── master/ # Master agent skills
202
+ │ ├── inception/ # Inception phase skills
203
+ │ ├── construction/ # Construction phase skills
204
+ │ └── operations/ # Operations phase skills
205
+ ├── templates/ # Artifact templates
206
+ │ ├── inception/ # Intent, unit, story templates
207
+ │ ├── construction/ # Bolt templates and bolt-types
208
+ │ │ └── bolt-types/ # DDD and Simple bolt definitions
209
+ │ └── standards/ # Standards facilitation
210
+ │ ├── catalog.yaml # Standards registry
211
+ │ └── *.guide.md # Facilitation guides
212
+ ├── shared/ # Shared agent behaviors
213
+ ├── memory-bank.yaml # Memory bank schema
214
+ ├── context-config.yaml # Context loading configuration
215
+ ├── quick-start.md # This file
216
+ └── README.md # Detailed documentation
217
+
218
+ memory-bank/ # Created after project-init
219
+ ├── intents/ # Your captured intents
220
+ │ └── {intent-name}/
221
+ │ ├── requirements.md
222
+ │ ├── system-context.md
223
+ │ ├── units.md
224
+ │ └── units/
225
+ │ └── {unit-name}/
226
+ │ ├── unit-brief.md
227
+ │ └── stories/
228
+ │ └── {NNN}-{title}.md
229
+ ├── bolts/ # Bolt execution records
230
+ │ └── {bolt-id}/
231
+ │ ├── bolt.md # Bolt definition
232
+ │ └── {stage-artifacts}.md # Stage outputs
233
+ ├── standards/ # Your project standards
234
+ │ ├── tech-stack.md
235
+ │ ├── coding-standards.md
236
+ │ └── ...
237
+ └── operations/ # Deployment context
238
+ ```
239
+
240
+ ---
241
+
242
+ ## Key Concepts
243
+
244
+ ### Intent
245
+
246
+ A high-level statement of purpose. The starting point for AI-driven decomposition.
247
+
248
+ ### Unit
249
+
250
+ A cohesive, self-contained work element derived from an Intent. Analogous to a Subdomain (DDD) or Epic (Scrum).
251
+
252
+ ### Bolt
253
+
254
+ The smallest iteration in AI-DLC. Unlike Sprints (weeks), Bolts are hours to days. Two types: DDD Construction and Simple Construction.
255
+
256
+ ### Memory Bank
257
+
258
+ File-based storage for all project artifacts. Maintains context across agent sessions.
259
+
260
+ ### Standards
261
+
262
+ Project decisions that inform AI code generation (tech stack, coding style, architecture).
263
+
264
+ ---
265
+
266
+ ## Human Validation
267
+
268
+ AI-DLC emphasizes human oversight as a "loss function" - catching errors early.
269
+
270
+ **Key validation points:**
271
+
272
+ - After requirements elaboration
273
+ - After unit decomposition
274
+ - After story creation
275
+ - After each bolt stage
276
+ - Before deployment
277
+
278
+ Each validation step transforms artifacts into rich context for subsequent stages.
279
+
280
+ ---
281
+
282
+ ## Tips for Success
283
+
284
+ 1. **Start with standards** - Project-init ensures AI agents understand your preferences
285
+ 2. **Keep intents focused** - One major goal per intent
286
+ 3. **Validate frequently** - Don't skip human checkpoints
287
+ 4. **Use fresh chats** - Each agent invocation starts fresh; context comes from Memory Bank
288
+ 5. **Trust the process** - AI-DLC is iterative; refinement happens naturally
289
+
290
+ ---
291
+
292
+ ## Troubleshooting
293
+
294
+ ### Agents don't remember context
295
+
296
+ Agents are stateless. They read from Memory Bank at startup. Ensure artifacts are saved after each step.
297
+
298
+ ### Standards not being followed
299
+
300
+ Re-run `project-init` to update standards. Agents load standards fresh each session.
301
+
302
+ ### Reset project state
303
+
304
+ - Clear `memory-bank/` to reset artifacts
305
+ - Delete `.specsmd/` to uninstall specsmd
306
+
307
+ ### Get help
308
+
309
+ ```text
310
+ /specsmd-master-agent
311
+ # Then type: answer-question "your question here"
312
+ ```
313
+
314
+ ---
315
+
316
+ ## What's Next?
317
+
318
+ 1. Run `/specsmd-master-agent` and type `project-init` to set up your project
319
+ 2. Create your first intent with `/specsmd-inception-agent intent-create`
320
+ 3. Follow the guided workflow through Inception → Construction → Operations
321
+
322
+ Welcome to AI-native development!