specsmd 0.0.0-dev.8 → 0.0.0-dev.80

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 (77) hide show
  1. package/README.md +175 -231
  2. package/flows/aidlc/commands/construction-agent.md +5 -1
  3. package/flows/aidlc/commands/inception-agent.md +4 -0
  4. package/flows/aidlc/commands/master-agent.md +4 -0
  5. package/flows/aidlc/commands/operations-agent.md +4 -0
  6. package/flows/aidlc/memory-bank.yaml +2 -1
  7. package/{scripts/artifact-validator.js → flows/aidlc/scripts/artifact-validator.cjs} +3 -3
  8. package/{scripts/bolt-complete.js → flows/aidlc/scripts/bolt-complete.cjs} +36 -5
  9. package/{scripts/status-integrity.js → flows/aidlc/scripts/status-integrity.cjs} +5 -5
  10. package/flows/aidlc/skills/construction/bolt-list.md +1 -1
  11. package/flows/aidlc/skills/construction/bolt-start.md +3 -3
  12. package/flows/aidlc/skills/construction/bolt-status.md +1 -1
  13. package/flows/aidlc/skills/construction/prototype-apply.md +311 -0
  14. package/flows/aidlc/skills/inception/bolt-plan.md +2 -0
  15. package/flows/aidlc/skills/inception/vibe-to-spec.md +410 -0
  16. package/flows/aidlc/skills/master/analyze-context.md +1 -1
  17. package/flows/aidlc/templates/construction/bolt-template.md +2 -2
  18. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +73 -11
  19. package/flows/aidlc/templates/standards/decision-index-template.md +32 -0
  20. package/flows/fire/README.md +19 -0
  21. package/flows/fire/agents/builder/agent.md +260 -0
  22. package/flows/fire/agents/builder/skills/code-review/SKILL.md +257 -0
  23. package/flows/fire/agents/builder/skills/code-review/references/auto-fix-rules.md +218 -0
  24. package/flows/fire/agents/builder/skills/code-review/references/review-categories.md +154 -0
  25. package/flows/fire/agents/builder/skills/code-review/templates/review-report.md.hbs +120 -0
  26. package/flows/fire/agents/builder/skills/run-execute/SKILL.md +705 -0
  27. package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.cjs +781 -0
  28. package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.cjs +457 -0
  29. package/flows/fire/agents/builder/skills/run-execute/scripts/update-phase.cjs +239 -0
  30. package/flows/fire/agents/builder/skills/run-execute/templates/plan.md.hbs +61 -0
  31. package/flows/fire/agents/builder/skills/run-execute/templates/test-report.md.hbs +81 -0
  32. package/flows/fire/agents/builder/skills/run-plan/SKILL.md +378 -0
  33. package/flows/fire/agents/builder/skills/run-status/SKILL.md +96 -0
  34. package/flows/fire/agents/builder/skills/walkthrough-generate/SKILL.md +264 -0
  35. package/flows/fire/agents/builder/skills/walkthrough-generate/templates/walkthrough.md.hbs +176 -0
  36. package/flows/fire/agents/orchestrator/agent.md +144 -0
  37. package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +226 -0
  38. package/flows/fire/agents/orchestrator/skills/project-init/templates/coding-standards.md.hbs +149 -0
  39. package/flows/fire/agents/orchestrator/skills/project-init/templates/constitution.md.hbs +43 -0
  40. package/flows/fire/agents/orchestrator/skills/project-init/templates/system-architecture.md.hbs +101 -0
  41. package/flows/fire/agents/orchestrator/skills/project-init/templates/tech-stack.md.hbs +136 -0
  42. package/flows/fire/agents/orchestrator/skills/project-init/templates/testing-standards.md.hbs +94 -0
  43. package/flows/fire/agents/orchestrator/skills/route/SKILL.md +146 -0
  44. package/flows/fire/agents/orchestrator/skills/status/SKILL.md +696 -0
  45. package/flows/fire/agents/planner/agent.md +143 -0
  46. package/flows/fire/agents/planner/skills/design-doc-generate/SKILL.md +156 -0
  47. package/flows/fire/agents/planner/skills/design-doc-generate/templates/design.md.hbs +124 -0
  48. package/flows/fire/agents/planner/skills/intent-capture/SKILL.md +125 -0
  49. package/flows/fire/agents/planner/skills/intent-capture/templates/brief.md.hbs +40 -0
  50. package/flows/fire/agents/planner/skills/work-item-decompose/SKILL.md +166 -0
  51. package/flows/fire/agents/planner/skills/work-item-decompose/templates/work-item.md.hbs +40 -0
  52. package/flows/fire/commands/fire-builder.md +56 -0
  53. package/flows/fire/commands/fire-planner.md +48 -0
  54. package/flows/fire/commands/fire.md +46 -0
  55. package/flows/fire/memory-bank.yaml +240 -0
  56. package/flows/fire/quick-start.md +146 -0
  57. package/flows/simple/README.md +190 -0
  58. package/flows/simple/agents/agent.md +404 -0
  59. package/flows/simple/commands/agent.md +60 -0
  60. package/flows/simple/context-config.yaml +34 -0
  61. package/flows/simple/memory-bank.yaml +66 -0
  62. package/flows/simple/quick-start.md +231 -0
  63. package/flows/simple/skills/design.md +96 -0
  64. package/flows/simple/skills/execute.md +190 -0
  65. package/flows/simple/skills/requirements.md +94 -0
  66. package/flows/simple/skills/tasks.md +136 -0
  67. package/flows/simple/templates/design-template.md +138 -0
  68. package/flows/simple/templates/requirements-template.md +85 -0
  69. package/flows/simple/templates/tasks-template.md +104 -0
  70. package/lib/analytics/tracker.js +6 -2
  71. package/lib/constants.js +20 -8
  72. package/lib/installer.js +19 -15
  73. package/lib/installers/KiroInstaller.js +55 -0
  74. package/lib/installers/OpenCodeInstaller.js +9 -1
  75. package/lib/installers/ToolInstaller.js +4 -1
  76. package/lib/installers/WindsurfInstaller.js +0 -54
  77. package/package.json +3 -52
package/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
  <img src="images/specs_md_pixel_logo.png" alt="specs.md logo" width="400" />
5
5
  </p>
6
6
 
7
- **AI-native software development with multi-agent orchestration.**
7
+ **AI-native development framework with pluggable flows for every use case.**
8
8
 
9
- specsmd implements the [AI-Driven Development Lifecycle (AI-DLC)](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/) methodology as a set of markdown-based agents that work with your favorite AI coding tools.
9
+ Choose the flow that matches your project needs: **Simple** for quick specs, **FIRE** for adaptive execution, or **AI-DLC** for full methodology with DDD.
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/specsmd)](https://www.npmjs.com/package/specsmd)
12
12
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -20,17 +20,45 @@ specsmd implements the [AI-Driven Development Lifecycle (AI-DLC)](https://aws.am
20
20
 
21
21
  ## VS Code Extension
22
22
 
23
- Track your AI-DLC progress with our sidebar extension for VS Code and compatible IDEs.
23
+ Track your progress with our sidebar extension for VS Code and compatible IDEs.
24
+
25
+ **AI-DLC Flow:**
26
+
27
+ <p align="center">
28
+ <img src="vs-code-extension/resources/extension-preview.png" alt="AI-DLC Flow Extension Preview" width="800" />
29
+ </p>
30
+
31
+ **FIRE Flow:**
24
32
 
25
33
  <p align="center">
26
- <img src="vs-code-extension/resources/extension-preview.png" alt="VS Code Extension Preview" width="800" />
34
+ <img src="images/fire1.png" alt="FIRE Flow - Intents View" width="400" />
35
+ <img src="images/fire3.png" alt="FIRE Flow - Runs View" width="400" />
27
36
  </p>
28
37
 
29
38
  > **Note:** Works with any VS Code-based IDE including [Cursor](https://cursor.sh), [Google Antigravity](https://antigravity.google), [Windsurf](https://codeium.com/windsurf), and others.
30
39
 
40
+ **Features:**
41
+ - Flow switcher for AI-DLC and FIRE views
42
+ - Active run/bolt tracking with progress indicators
43
+ - Intent and work item visualization
44
+ - Click-to-open spec files
45
+
31
46
  **Install from:**
32
- - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=fabriqaai.specsmd)
33
- - [GitHub Releases (VSIX)](https://github.com/fabriqaai/specs.md/releases)
47
+ - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=fabriqaai.specsmd) — VS Code, GitHub Codespaces
48
+ - [Open VSX Registry](https://open-vsx.org/extension/fabriqaai/specsmd) — Cursor, Windsurf, Amazon Kiro, Google Antigravity, VSCodium, Gitpod, Google IDX
49
+ - [GitHub Releases (VSIX)](https://github.com/fabriqaai/specs.md/releases) — Manual installation
50
+
51
+ ---
52
+
53
+ ## Three Flows, Every Use Case
54
+
55
+ | Flow | Optimized For | Agents | Checkpoints |
56
+ |------|---------------|--------|-------------|
57
+ | **[Simple](#simple-flow)** | Spec generation, prototypes | 1 | 3 (phase gates) |
58
+ | **[FIRE](#fire-flow)** | Adaptive execution, brownfield, monorepos | 3 | Adaptive (0-2) |
59
+ | **[AI-DLC](#ai-dlc-flow)** | Full traceability, DDD, regulated environments | 4 | Comprehensive |
60
+
61
+ > **Not sure which flow?** If you want quick specs without execution tracking, use **Simple**. If you want adaptive execution that right-sizes rigor, use **FIRE**. If you need comprehensive documentation and DDD, use **AI-DLC**.
34
62
 
35
63
  ---
36
64
 
@@ -44,268 +72,177 @@ Track your AI-DLC progress with our sidebar extension for VS Code and compatible
44
72
  ### Installation
45
73
 
46
74
  > [!NOTE]
47
- > Do not use npm if you want to always get the latest version. Use the npx command below.
75
+ > Always use npx to get the latest version. Do not install globally with npm.
48
76
 
49
77
  ```bash
50
78
  npx specsmd@latest install
51
79
  ```
52
80
 
53
- The installer detects your AI coding tools (Claude Code, Cursor, GitHub Copilot) and sets up:
54
- - Agent definitions and skills
55
- - Memory bank structure for context persistence
56
- - Slash commands for easy agent invocation
81
+ During installation, select your flow:
57
82
 
58
- ### Verify Installation
59
-
60
- ```bash
61
- # Check the manifest
62
- cat .specsmd/manifest.yaml
63
-
64
- # List installed agents
65
- ls .specsmd/aidlc/agents/
66
83
  ```
67
-
68
- ### Initialize Your Project
69
- Open your AI Assisted Tool (Claude Code, Cursor, GitHub Copilot) and run the following commands:
70
-
71
- ```bash
72
- # Start the Master Agent
73
- /specsmd-master-agent
74
-
75
- # Then type:
76
- project-init
84
+ ? Select a development flow:
85
+ Simple - Spec generation only (requirements, design, tasks)
86
+ FIRE - Adaptive execution, brownfield & monorepo ready
87
+ AI-DLC - Full methodology with DDD (comprehensive checkpoints)
77
88
  ```
78
89
 
79
- This guides you through establishing:
80
- - **Tech Stack** - Languages, frameworks, databases, infrastructure
81
- - **Coding Standards** - Formatting, linting, naming, testing strategy
82
- - **System Architecture** - Architecture style, API design, state management
83
- - **UX Guide** - Design system, styling, accessibility (optional)
84
- - **API Conventions** - API style, versioning, response formats (optional)
90
+ The installer detects your AI coding tools and sets up agent definitions, slash commands, and project structure for your selected flow.
85
91
 
86
- ### Create Your First Intent
92
+ ### Install VS Code Extension (Optional)
87
93
 
88
- ```bash
89
- /specsmd-inception-agent intent-create
90
- ```
94
+ Track your progress visually with our sidebar extension:
95
+ - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=fabriqaai.specsmd) — VS Code, GitHub Codespaces
96
+ - [Open VSX Registry](https://open-vsx.org/extension/fabriqaai/specsmd) — Cursor, Windsurf, Amazon Kiro, Google Antigravity
91
97
 
92
- An **Intent** is your high-level goal:
93
- - "User authentication system"
94
- - "Product catalog with search"
95
- - "Payment processing integration"
96
-
97
- The agent will:
98
- 1. Ask clarifying questions to minimize ambiguity
99
- 2. Elaborate into user stories and NFRs
100
- 3. Define system context
101
- 4. Decompose into loosely-coupled units
102
-
103
- ### Plan and Execute Bolts
98
+ ### Verify Installation
104
99
 
105
100
  ```bash
106
- # Plan bolts for your stories
107
- /specsmd-inception-agent bolt-plan
101
+ # Check the manifest
102
+ cat .specsmd/manifest.yaml
108
103
 
109
- # Execute a bolt
110
- /specsmd-construction-agent bolt-start
104
+ # List installed agents (adjust path for your flow)
105
+ ls .specsmd/fire/agents/ # FIRE flow
106
+ ls .specsmd/simple/agents/ # Simple flow
107
+ ls .specsmd/aidlc/agents/ # AI-DLC flow
111
108
  ```
112
109
 
113
- Each bolt goes through validated stages:
114
- 1. **Domain Model** - Model business logic using DDD principles
115
- 2. **Technical Design** - Apply patterns and make architecture decisions
116
- 3. **ADR Analysis** - Document significant decisions (optional)
117
- 4. **Implement** - Generate production code
118
- 5. **Test** - Verify correctness with automated tests
119
-
120
- **Human validation happens at each stage gate.**
121
-
122
110
  ---
123
111
 
124
- ## What is AI-DLC?
125
-
126
- AI-DLC is a reimagined software development methodology where **AI drives the conversation** and humans validate. Unlike traditional Agile where iterations span weeks, AI-DLC operates in **Bolts** - rapid iterations measured in hours or days.
127
-
128
- > "Traditional development methods were built for human-driven, long-running processes. AI-DLC reimagines the development lifecycle with AI as a central collaborator, enabling rapid cycles measured in hours or days rather than weeks."
129
-
130
- ### AI-DLC vs Traditional Methods
131
-
132
- | Aspect | Agile/Scrum | AI-DLC |
133
- |--------|-------------|--------|
134
- | Iteration duration | Weeks (Sprints) | Hours/days (Bolts) |
135
- | Who drives | Human-driven, AI assists | AI-driven, human-validated |
136
- | Design techniques | Out of scope | Integrated (DDD, TDD, BDD) |
137
- | Task decomposition | Manual | AI-powered |
138
- | Phases | Repeating sprints | Rapid three-phase cycles (Inception → Construction → Operations) |
139
- | Rituals | Daily standups, retrospectives | Mob Elaboration, Mob Construction |
140
-
141
- ---
112
+ ## Simple Flow
142
113
 
143
- ## How It Works
114
+ **Spec generation only.** Generate requirements, design, and task documents without execution tracking.
144
115
 
145
- specsmd provides four specialized agents that guide you through the entire development lifecycle:
116
+ ```
117
+ /specsmd-agent
118
+ ```
146
119
 
147
- ```mermaid
148
- flowchart TB
149
- MA[Master Agent<br/>Orchestrates & Navigates] --> IA[Inception Agent]
150
- MA --> CA[Construction Agent]
151
- MA --> OA[Operations Agent]
120
+ **Three Phases:**
121
+ 1. **Requirements** → `requirements.md` - User stories, EARS criteria
122
+ 2. **Design** `design.md` - Technical design, architecture diagrams
123
+ 3. **Tasks** `tasks.md` - Implementation checklist
152
124
 
153
- IA --> CA --> OA
125
+ **Best for:** Prototypes, MVPs, spec handoff, projects that don't need AI-assisted execution.
154
126
 
155
- style MA fill:#8B5CF6,stroke:#7C3AED,color:#fff
156
- style IA fill:#818CF8,stroke:#6366F1,color:#fff
157
- style CA fill:#34D399,stroke:#10B981,color:#fff
158
- style OA fill:#FBBF24,stroke:#F59E0B,color:#fff
127
+ **Output structure:**
128
+ ```
129
+ specs/
130
+ └── {feature-name}/
131
+ ├── requirements.md
132
+ ├── design.md
133
+ └── tasks.md
159
134
  ```
160
135
 
161
- ### The Three Phases
162
-
163
- | Phase | Agent | Purpose | Key Outputs |
164
- |-------|-------|---------|-------------|
165
- | **Inception** | Inception Agent | Capture intents, elaborate requirements, decompose into units | User stories, NFRs, Unit definitions, Bolt plans |
166
- | **Construction** | Construction Agent | Execute bolts through domain design → logical design → code → test | Domain models, Technical designs, Code, Tests |
167
- | **Operations** | Operations Agent | Deploy, verify, and monitor | Deployment units, Monitoring, Runbooks |
136
+ [Simple Flow Documentation →](https://specs.md/simple-flow/overview)
168
137
 
169
138
  ---
170
139
 
171
- ## Key Concepts
140
+ ## FIRE Flow
172
141
 
173
- ### Intent
174
- A high-level statement of purpose that encapsulates what needs to be achieved - whether a business goal, feature, or technical outcome. It serves as the starting point for AI-driven decomposition.
142
+ **Fast Intent-Run Engineering.** Adaptive execution with brownfield and monorepo support. Ships in hours with 0-2 checkpoints based on task complexity.
175
143
 
176
- ### Unit
177
- A cohesive, self-contained work element derived from an Intent. Units are loosely coupled and can be developed independently. Analogous to a Subdomain (DDD) or Epic (Scrum).
144
+ ```
145
+ /fire-orchestrator # Entry point, routing
146
+ /fire-planner # Intent capture, work item decomposition
147
+ /fire-builder # Run execution, walkthrough generation
148
+ ```
178
149
 
179
- ### Bolt
180
- The smallest iteration in AI-DLC, designed for rapid implementation. Unlike Sprints (weeks), Bolts are **hours to days**. Each bolt encapsulates a well-defined scope of work.
150
+ **Key Features:**
151
+ - **Adaptive checkpoints** - Autopilot (0), Confirm (1), or Validate (2) based on complexity
152
+ - **First-class brownfield** - Auto-detects existing patterns and conventions
153
+ - **Monorepo support** - Hierarchical standards with module-specific overrides
154
+ - **Walkthrough generation** - Documents every change automatically
181
155
 
182
- | Type | Best For | Stages |
183
- |------|----------|--------|
184
- | **DDD Construction** | Complex business logic, domain modeling | Model → Design → ADR → Implement → Test |
185
- | **Simple Construction** | UI, integrations, utilities | Plan → Implement → Test |
156
+ **Best for:** Teams who hate friction, brownfield projects, monorepos.
186
157
 
187
- ### Memory Bank
188
- File-based storage for all project artifacts. Maintains context across agent sessions and provides traceability between artifacts.
158
+ **Output structure:**
159
+ ```
160
+ .specs-fire/
161
+ ├── state.yaml # Central state tracking
162
+ ├── standards/ # Project standards
163
+ ├── intents/ # Intent documentation
164
+ ├── runs/ # Run logs
165
+ └── walkthroughs/ # Generated documentation
166
+ ```
189
167
 
190
- ### Standards
191
- Project decisions that inform AI code generation. Standards ensure consistency across all generated code and documentation.
168
+ [FIRE Flow Documentation →](https://specs.md/fire-flow/overview)
192
169
 
193
170
  ---
194
171
 
195
- <details>
196
- <summary><h2>Project Structure</h2></summary>
172
+ ## AI-DLC Flow
197
173
 
198
- After installation:
174
+ **Full methodology.** Implements the [AI-Driven Development Lifecycle](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/) with Domain-Driven Design and comprehensive traceability.
199
175
 
200
176
  ```
201
- .specsmd/
202
- ├── manifest.yaml # Installation manifest
203
- └── aidlc/ # AI-DLC flow
204
- ├── agents/ # Agent definitions
205
- ├── skills/ # Agent capabilities
206
- ├── templates/ # Artifact templates
207
- │ └── standards/ # Standards facilitation guides
208
- └── memory-bank.yaml # Memory bank schema
209
-
210
- memory-bank/ # Created after project-init
211
- ├── intents/ # Your captured intents
212
- │ └── {intent-name}/
213
- │ ├── requirements.md
214
- │ ├── system-context.md
215
- │ └── units/
216
- ├── bolts/ # Bolt execution records
217
- ├── standards/ # Project standards
218
- │ ├── tech-stack.md
219
- │ ├── coding-standards.md
220
- │ └── ...
221
- └── operations/ # Deployment context
177
+ /specsmd-master-agent # Orchestrates & navigates
178
+ /specsmd-inception-agent # Requirements, stories, bolt planning
179
+ /specsmd-construction-agent # Execute bolts through DDD stages
180
+ /specsmd-operations-agent # Deploy, verify, monitor
222
181
  ```
223
182
 
224
- </details>
183
+ **Three Sequential Phases:**
184
+ 1. **Inception** - Capture intents, elaborate requirements, decompose into units
185
+ 2. **Construction** - Execute bolts: Model → Design → ADR → Implement → Test
186
+ 3. **Operations** - Deploy, verify, and monitor
225
187
 
226
- <details>
227
- <summary><h2>Agent Commands</h2></summary>
188
+ **Best for:** Complex domains, multi-team coordination, regulated environments.
228
189
 
229
- ### Master Agent
230
- ```bash
231
- /specsmd-master-agent
190
+ **Output structure:**
232
191
  ```
233
- | Command | Purpose |
234
- |---------|---------|
235
- | `project-init` | Initialize project with standards |
236
- | `analyze-context` | View current project state |
237
- | `route-request` | Get directed to the right agent |
238
- | `explain-flow` | Learn about AI-DLC methodology |
239
- | `answer-question` | Get help with any specsmd question |
240
-
241
- ### Inception Agent
242
- ```bash
243
- /specsmd-inception-agent
244
- ```
245
- | Command | Purpose |
246
- |---------|---------|
247
- | `intent-create` | Create a new intent |
248
- | `intent-list` | List all intents |
249
- | `requirements` | Elaborate intent requirements |
250
- | `context` | Define system context |
251
- | `units` | Decompose into units |
252
- | `story-create` | Create stories for a unit |
253
- | `bolt-plan` | Plan bolts for stories |
254
- | `review` | Review inception artifacts |
255
-
256
- ### Construction Agent
257
- ```bash
258
- /specsmd-construction-agent
259
- ```
260
- | Command | Purpose |
261
- |---------|---------|
262
- | `bolt-start` | Start/continue executing a bolt |
263
- | `bolt-status` | Check bolt progress |
264
- | `bolt-list` | List all bolts |
265
- | `bolt-replan` | Replan bolts if needed |
266
-
267
- ### Operations Agent
268
- ```bash
269
- /specsmd-operations-agent
192
+ memory-bank/
193
+ ├── standards/ # Project standards
194
+ ├── intents/ # Intent documentation
195
+ │ └── {intent-name}/
196
+ │ ├── requirements.md
197
+ │ ├── system-context.md
198
+ │ └── units/
199
+ ├── bolts/ # Bolt execution records
200
+ └── operations/ # Deployment context
270
201
  ```
271
- | Command | Purpose |
272
- |---------|---------|
273
- | `build` | Build the project |
274
- | `deploy` | Deploy to environment |
275
- | `verify` | Verify deployment |
276
- | `monitor` | Set up monitoring |
277
202
 
278
- </details>
203
+ [AI-DLC Flow Documentation →](https://specs.md/aidlc/overview)
279
204
 
280
205
  ---
281
206
 
282
- ## Why specsmd?
207
+ ## Why specs.md?
283
208
 
284
- ### AI-Native, Not AI-Retrofitted
285
- Built from the ground up for AI-driven development. AI-DLC is a reimagination based on first principles, not a retrofit of existing methods.
209
+ ### Three Flows for Every Use Case
210
+ From quick specs (Simple) to adaptive execution (FIRE) to full methodology (AI-DLC). Choose the flow that matches your project needs.
286
211
 
287
- ### Human Oversight as Loss Function
288
- Validation at each stage catches errors early before they cascade downstream. Each validation transforms artifacts into rich context for subsequent stages.
212
+ ### Adaptive Checkpoints (FIRE)
213
+ Right-sizes the rigor. Simple bug fixes burn through fast. Critical changes get design review. You configure your autonomy preference.
289
214
 
290
- ### Design Techniques Built-In
291
- DDD, TDD, and BDD are integral to the methodology - not optional add-ons. This addresses the "whitespace" in Agile that has led to quality issues.
215
+ ### First-Class Brownfield & Monorepo (FIRE)
216
+ Auto-detects existing patterns and respects your conventions. Hierarchical standards with module-specific overrides.
217
+
218
+ ### Full DDD Methodology (AI-DLC)
219
+ Domain-Driven Design is integral to Construction, not an optional add-on. Every decision documented with full traceability.
292
220
 
293
221
  ### Tool Agnostic
294
- Works with Claude Code, Cursor, GitHub Copilot, and other AI coding assistants. Markdown-based agents work anywhere.
222
+ Works with Claude Code, Cursor, GitHub Copilot, and other AI coding assistants. Markdown-based agents work anywhere—no vendor lock-in.
295
223
 
296
224
  ### Context Engineering
297
- Specs and Memory Bank provide structured context for AI agents. Agents reload context each session - no more lost knowledge.
225
+ Structured artifacts provide persistent context for AI agents. Agents reload context each sessionno more lost knowledge.
298
226
 
299
227
  ---
300
228
 
301
229
  ## Supported Tools
302
230
 
303
- | Tool | Status | Installation |
304
- |------|--------|--------------|
305
- | **Claude Code** | Full support | Slash commands in `.claude/commands/` |
306
- | **Cursor** | Full support | Rules in `.cursor/rules/` (`.mdc` format) |
307
- | **GitHub Copilot** | Full support | Agents in `.github/agents/` (`.agent.md` format) |
308
- | **Google Antigravity** | Full support | Agents in `.agent/agents/` |
231
+ specs.md is **IDE and AI-agnostic**—your specs and agents are portable markdown files that work anywhere.
232
+
233
+ | Tool | Integration |
234
+ |------|-------------|
235
+ | **Claude Code** | Slash commands in `.claude/commands/` |
236
+ | **Cursor** | Rules in `.cursor/rules/` (`.mdc` format) |
237
+ | **GitHub Copilot** | Agents in `.github/agents/` (`.agent.md` format) |
238
+ | **Google Antigravity** | Agents in `.agent/agents/` |
239
+ | **Windsurf** | Rules in `.windsurf/rules/` |
240
+ | **Amazon Kiro** | Steering in `.kiro/steering/` |
241
+ | **Gemini CLI** | Commands in `.gemini/commands/` (`.toml` format) |
242
+ | **Cline** | Rules in `.clinerules/` |
243
+ | **Roo Code** | Commands in `.roo/commands/` |
244
+ | **OpenAI Codex** | Config in `.codex/` |
245
+ | **OpenCode** | Agents in `.opencode/agent/` |
309
246
 
310
247
  ---
311
248
 
@@ -316,7 +253,10 @@ Specs and Memory Bank provide structured context for AI agents. Agents reload co
316
253
 
317
254
  Ensure specs.md is installed correctly:
318
255
  ```bash
319
- ls .specsmd/aidlc/agents/
256
+ # Check for your flow
257
+ ls .specsmd/fire/agents/ # FIRE
258
+ ls .specsmd/simple/agents/ # Simple
259
+ ls .specsmd/aidlc/agents/ # AI-DLC
320
260
  ```
321
261
 
322
262
  If the directory is empty or missing, reinstall:
@@ -326,33 +266,26 @@ npx specsmd@latest install
326
266
  </details>
327
267
 
328
268
  <details>
329
- <summary><strong>Memory Bank artifacts missing</strong></summary>
269
+ <summary><strong>Project artifacts missing</strong></summary>
330
270
 
331
- Check if the memory-bank directory exists:
271
+ Check if the artifacts directory exists for your flow:
332
272
  ```bash
333
- ls memory-bank/
273
+ ls .specs-fire/ # FIRE flow
274
+ ls specs/ # Simple flow
275
+ ls memory-bank/ # AI-DLC flow
334
276
  ```
335
277
 
336
- If missing, run project initialization:
337
- ```
338
- /specsmd-master-agent
339
- > project-init
340
- ```
278
+ If missing, initialize your project using the appropriate agent.
341
279
  </details>
342
280
 
343
281
  <details>
344
282
  <summary><strong>Standards not being followed in generated code</strong></summary>
345
283
 
346
- Ensure standards are defined in `memory-bank/standards/`:
347
- - `tech-stack.md`
348
- - `coding-standards.md`
349
- - `architecture.md`
284
+ Ensure standards are defined in your flow's standards directory:
285
+ - FIRE: `.specs-fire/standards/`
286
+ - AI-DLC: `memory-bank/standards/`
350
287
 
351
- If missing or incomplete, use the Master Agent to define them:
352
- ```
353
- /specsmd-master-agent
354
- > project-init
355
- ```
288
+ Run project initialization if missing.
356
289
  </details>
357
290
 
358
291
  ---
@@ -360,17 +293,27 @@ If missing or incomplete, use the Master Agent to define them:
360
293
  <details>
361
294
  <summary><h2>FAQ</h2></summary>
362
295
 
296
+ **Q: Which flow should I choose?**
297
+ - **Simple**: Spec generation only, no execution tracking
298
+ - **FIRE**: Adaptive execution, brownfield/monorepo support
299
+ - **AI-DLC**: Full methodology with DDD and comprehensive traceability
300
+
301
+ **Q: Can I switch flows after installation?**
302
+ Flows are independent—they're not an upgrade path. Each is designed for different use cases. You can reinstall to change flows, but artifacts are structured differently.
303
+
363
304
  **Q: Agents don't seem to remember previous context?**
364
- Each agent invocation starts fresh. Agents read context from the Memory Bank at startup. Ensure artifacts are saved after each step.
305
+ Each agent invocation starts fresh. Agents read context from artifacts at startup. Ensure artifacts are saved after each step.
365
306
 
366
307
  **Q: How do I reset project state?**
367
- Clear the `memory-bank/` directory to reset all artifacts. To remove specsmd entirely, delete the `.specsmd/` directory and tool-specific command files.
308
+ Delete the artifacts directory for your flow:
309
+ - FIRE: `.specs-fire/`
310
+ - Simple: `specs/`
311
+ - AI-DLC: `memory-bank/`
368
312
 
369
- **Q: Can I use specsmd with existing Agile workflows?**
370
- AI-DLC is designed as a reimagination, not a retrofit. However, familiar concepts (user stories, acceptance criteria) are retained to ease transition.
313
+ To remove specsmd entirely, also delete `.specsmd/` and tool-specific command files.
371
314
 
372
315
  **Q: What project types is this suited for?**
373
- specsmd is designed for building complex systems that demand architectural complexity, trade-off management, and scalability. Simpler systems may be better suited for low-code/no-code approaches.
316
+ specs.md supports everything from quick prototypes (Simple) to complex enterprise systems (AI-DLC). Choose the flow that matches your project needs.
374
317
 
375
318
  </details>
376
319
 
@@ -379,10 +322,11 @@ specsmd is designed for building complex systems that demand architectural compl
379
322
  ## Resources
380
323
 
381
324
  - [Documentation](https://specs.md)
325
+ - [Choose Your Flow Guide](https://specs.md/architecture/choose-flow)
382
326
  - [AI-DLC Specification (AWS)](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/)
383
327
  - [npm Package](https://www.npmjs.com/package/specsmd)
384
- - [GitHub Issues](https://github.com/fabriqaai/specsmd/issues)
385
-
328
+ - [GitHub Issues](https://github.com/fabriqaai/specs.md/issues)
329
+ - [Discord Community](http://discord.specs.md/)
386
330
 
387
331
  ---
388
332
 
@@ -393,5 +337,5 @@ MIT License - see [LICENSE](LICENSE) for details.
393
337
  ---
394
338
 
395
339
  <p align="center">
396
- Built with AWS' AI-DLC methodology by the <a href="https://specs.md">specs.md</a> team.
340
+ Built by the <a href="https://specs.md">specs.md</a> team.
397
341
  </p>
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Building phase agent - execute bolts through DDD stages (model, test, implement)
3
+ ---
4
+
1
5
  # Activate Construction Agent
2
6
 
3
7
  **Command**: `/specsmd-construction-agent`
@@ -25,7 +29,7 @@ You are now the **Construction Agent** for specsmd AI-DLC.
25
29
  1. **Read Schema**: `.specsmd/aidlc/memory-bank.yaml`
26
30
  2. **Verify Unit**: Check unit exists and has completed inception
27
31
  3. **Load Bolts**: Find bolts for this unit
28
- 4. **Determine State**: Check which bolts are planned/in-progress/completed
32
+ 4. **Determine State**: Check which bolts are planned/in-progress/complete
29
33
  5. **Present Menu or Continue**: Show status or continue active bolt
30
34
 
31
35
  ---
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Planning phase agent - requirements gathering, story creation, and bolt planning
3
+ ---
4
+
1
5
  # Activate Inception Agent
2
6
 
3
7
  **Command**: `/specsmd-inception-agent`
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Master orchestrator for AI-DLC - routes to appropriate phase/agent based on project state
3
+ ---
4
+
1
5
  # Activate Master Agent
2
6
 
3
7
  **Command**: `/specsmd-master-agent`
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Deployment phase agent - build, deploy, verify, and monitor releases
3
+ ---
4
+
1
5
  # Activate Operations Agent
2
6
 
3
7
  **Command**: `/specsmd-operations-agent`
@@ -81,13 +81,14 @@ schema:
81
81
  story-index: "memory-bank/story-index.md"
82
82
  inception-log: "memory-bank/intents/{intent-name}/inception-log.md"
83
83
  construction-log: "memory-bank/intents/{intent-name}/units/{unit-name}/construction-log.md"
84
+ decision-index: "memory-bank/standards/decision-index.md"
84
85
 
85
86
  # Agent Ownership
86
87
  # Note: Both Inception and Construction can plan/create bolts
87
88
  # Inception: initial planning, Construction: replanning during execution
88
89
  ownership:
89
90
  inception: [intents, units, stories, story-index, bolts] # Plans bolts initially
90
- construction: [units, bolts] # Executes and can replan bolts
91
+ construction: [units, bolts, decision-index] # Executes, can replan bolts, maintains decision index
91
92
  operations: [operations]
92
93
 
93
94
  # Global Story Index Options
@@ -10,9 +10,9 @@
10
10
  * - Timestamp format (ISO 8601 without milliseconds)
11
11
  *
12
12
  * Usage:
13
- * node .specsmd/scripts/artifact-validator.js
14
- * node .specsmd/scripts/artifact-validator.js --json
15
- * node .specsmd/scripts/artifact-validator.js --fix
13
+ * node .specsmd/aidlc/scripts/artifact-validator.cjs
14
+ * node .specsmd/aidlc/scripts/artifact-validator.cjs --json
15
+ * node .specsmd/aidlc/scripts/artifact-validator.cjs --fix
16
16
  *
17
17
  * Cross-platform: Works on Linux, macOS, Windows via Node.js
18
18
  */