specsmd 0.0.0-dev.9 → 0.0.0-dev.90

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 (146) hide show
  1. package/README.md +190 -224
  2. package/bin/cli.js +28 -1
  3. package/flows/aidlc/commands/construction-agent.md +5 -1
  4. package/flows/aidlc/commands/inception-agent.md +4 -0
  5. package/flows/aidlc/commands/master-agent.md +4 -0
  6. package/flows/aidlc/commands/operations-agent.md +4 -0
  7. package/flows/aidlc/memory-bank.yaml +2 -1
  8. package/{scripts/artifact-validator.js → flows/aidlc/scripts/artifact-validator.cjs} +3 -3
  9. package/{scripts/bolt-complete.js → flows/aidlc/scripts/bolt-complete.cjs} +36 -5
  10. package/{scripts/status-integrity.js → flows/aidlc/scripts/status-integrity.cjs} +5 -5
  11. package/flows/aidlc/skills/construction/bolt-list.md +1 -1
  12. package/flows/aidlc/skills/construction/bolt-start.md +3 -3
  13. package/flows/aidlc/skills/construction/bolt-status.md +1 -1
  14. package/flows/aidlc/skills/construction/prototype-apply.md +311 -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 +714 -0
  27. package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.cjs +800 -0
  28. package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.cjs +500 -0
  29. package/flows/fire/agents/builder/skills/run-execute/scripts/update-checkpoint.cjs +254 -0
  30. package/flows/fire/agents/builder/skills/run-execute/scripts/update-phase.cjs +250 -0
  31. package/flows/fire/agents/builder/skills/run-execute/templates/plan.md.hbs +61 -0
  32. package/flows/fire/agents/builder/skills/run-execute/templates/test-report.md.hbs +81 -0
  33. package/flows/fire/agents/builder/skills/run-plan/SKILL.md +378 -0
  34. package/flows/fire/agents/builder/skills/run-status/SKILL.md +96 -0
  35. package/flows/fire/agents/builder/skills/walkthrough-generate/SKILL.md +267 -0
  36. package/flows/fire/agents/builder/skills/walkthrough-generate/templates/walkthrough.md.hbs +176 -0
  37. package/flows/fire/agents/orchestrator/agent.md +144 -0
  38. package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +226 -0
  39. package/flows/fire/agents/orchestrator/skills/project-init/templates/coding-standards.md.hbs +149 -0
  40. package/flows/fire/agents/orchestrator/skills/project-init/templates/constitution.md.hbs +43 -0
  41. package/flows/fire/agents/orchestrator/skills/project-init/templates/system-architecture.md.hbs +101 -0
  42. package/flows/fire/agents/orchestrator/skills/project-init/templates/tech-stack.md.hbs +136 -0
  43. package/flows/fire/agents/orchestrator/skills/project-init/templates/testing-standards.md.hbs +94 -0
  44. package/flows/fire/agents/orchestrator/skills/route/SKILL.md +146 -0
  45. package/flows/fire/agents/orchestrator/skills/status/SKILL.md +696 -0
  46. package/flows/fire/agents/planner/agent.md +143 -0
  47. package/flows/fire/agents/planner/skills/design-doc-generate/SKILL.md +156 -0
  48. package/flows/fire/agents/planner/skills/design-doc-generate/templates/design.md.hbs +124 -0
  49. package/flows/fire/agents/planner/skills/intent-capture/SKILL.md +125 -0
  50. package/flows/fire/agents/planner/skills/intent-capture/templates/brief.md.hbs +40 -0
  51. package/flows/fire/agents/planner/skills/work-item-decompose/SKILL.md +166 -0
  52. package/flows/fire/agents/planner/skills/work-item-decompose/templates/work-item.md.hbs +40 -0
  53. package/flows/fire/commands/fire-builder.md +56 -0
  54. package/flows/fire/commands/fire-planner.md +48 -0
  55. package/flows/fire/commands/fire.md +46 -0
  56. package/flows/fire/memory-bank.yaml +240 -0
  57. package/flows/fire/quick-start.md +146 -0
  58. package/flows/ideation/README.md +35 -0
  59. package/flows/ideation/agents/orchestrator/agent.md +103 -0
  60. package/flows/ideation/agents/orchestrator/skills/flame/SKILL.md +132 -0
  61. package/flows/ideation/agents/orchestrator/skills/flame/references/evaluation-criteria.md +81 -0
  62. package/flows/ideation/agents/orchestrator/skills/flame/references/six-hats-method.md +87 -0
  63. package/flows/ideation/agents/orchestrator/skills/flame/templates/flame-report.md.hbs +81 -0
  64. package/flows/ideation/agents/orchestrator/skills/forge/SKILL.md +153 -0
  65. package/flows/ideation/agents/orchestrator/skills/forge/references/disney-method.md +94 -0
  66. package/flows/ideation/agents/orchestrator/skills/forge/references/pitch-framework.md +87 -0
  67. package/flows/ideation/agents/orchestrator/skills/forge/templates/concept-brief.md.hbs +83 -0
  68. package/flows/ideation/agents/orchestrator/skills/spark/SKILL.md +152 -0
  69. package/flows/ideation/agents/orchestrator/skills/spark/references/anti-bias.md +43 -0
  70. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/analogy.md +60 -0
  71. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/first-principles.md +56 -0
  72. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/index.yaml +76 -0
  73. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/inversion.md +52 -0
  74. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/questorming.md +57 -0
  75. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/random-word.md +35 -0
  76. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/scamper.md +67 -0
  77. package/flows/ideation/agents/orchestrator/skills/spark/references/techniques/what-if.md +55 -0
  78. package/flows/ideation/agents/orchestrator/skills/spark/templates/spark-bank.md.hbs +72 -0
  79. package/flows/ideation/commands/flame.md +43 -0
  80. package/flows/ideation/commands/forge.md +43 -0
  81. package/flows/ideation/commands/ideation.md +51 -0
  82. package/flows/ideation/commands/spark.md +43 -0
  83. package/flows/ideation/memory-bank.yaml +177 -0
  84. package/flows/ideation/quick-start.md +84 -0
  85. package/flows/ideation/shared/protocols/anti-bias.md +79 -0
  86. package/flows/ideation/shared/protocols/deep-thinking.md +92 -0
  87. package/flows/ideation/shared/protocols/diverge-converge.md +72 -0
  88. package/flows/ideation/shared/protocols/interaction-adaptation.md +88 -0
  89. package/flows/simple/README.md +190 -0
  90. package/flows/simple/agents/agent.md +404 -0
  91. package/flows/simple/commands/agent.md +60 -0
  92. package/flows/simple/context-config.yaml +34 -0
  93. package/flows/simple/memory-bank.yaml +66 -0
  94. package/flows/simple/quick-start.md +231 -0
  95. package/flows/simple/skills/design.md +96 -0
  96. package/flows/simple/skills/execute.md +190 -0
  97. package/flows/simple/skills/requirements.md +94 -0
  98. package/flows/simple/skills/tasks.md +136 -0
  99. package/flows/simple/templates/design-template.md +138 -0
  100. package/flows/simple/templates/requirements-template.md +85 -0
  101. package/flows/simple/templates/tasks-template.md +104 -0
  102. package/lib/analytics/tracker.js +6 -2
  103. package/lib/constants.js +25 -8
  104. package/lib/dashboard/aidlc/parser.js +581 -0
  105. package/lib/dashboard/fire/model.js +382 -0
  106. package/lib/dashboard/fire/parser.js +470 -0
  107. package/lib/dashboard/flow-detect.js +86 -0
  108. package/lib/dashboard/git/changes.js +362 -0
  109. package/lib/dashboard/git/worktrees.js +248 -0
  110. package/lib/dashboard/index.js +709 -0
  111. package/lib/dashboard/runtime/watch-runtime.js +122 -0
  112. package/lib/dashboard/simple/parser.js +293 -0
  113. package/lib/dashboard/tui/app.js +1675 -0
  114. package/lib/dashboard/tui/components/error-banner.js +35 -0
  115. package/lib/dashboard/tui/components/header.js +60 -0
  116. package/lib/dashboard/tui/components/help-footer.js +15 -0
  117. package/lib/dashboard/tui/components/stats-strip.js +35 -0
  118. package/lib/dashboard/tui/file-entries.js +383 -0
  119. package/lib/dashboard/tui/flow-builders.js +991 -0
  120. package/lib/dashboard/tui/git-builders.js +218 -0
  121. package/lib/dashboard/tui/helpers.js +236 -0
  122. package/lib/dashboard/tui/overlays.js +242 -0
  123. package/lib/dashboard/tui/preview.js +220 -0
  124. package/lib/dashboard/tui/renderer.js +76 -0
  125. package/lib/dashboard/tui/row-builders.js +797 -0
  126. package/lib/dashboard/tui/sections.js +45 -0
  127. package/lib/dashboard/tui/store.js +44 -0
  128. package/lib/dashboard/tui/views/overview-view.js +61 -0
  129. package/lib/dashboard/tui/views/runs-view.js +93 -0
  130. package/lib/dashboard/tui/worktree-builders.js +229 -0
  131. package/lib/dashboard/web/extension-adapter.js +726 -0
  132. package/lib/dashboard/web/public/app.js +9 -0
  133. package/lib/dashboard/web/public/index.html +14 -0
  134. package/lib/dashboard/web/public/styles.css +36 -0
  135. package/lib/dashboard/web/public/webview-bundle.js +7596 -0
  136. package/lib/dashboard/web/server.js +376 -0
  137. package/lib/dashboard/web/snapshot.js +299 -0
  138. package/lib/installer.js +19 -15
  139. package/lib/installers/CodexInstaller.js +72 -1
  140. package/lib/installers/KiroInstaller.js +55 -0
  141. package/lib/installers/OpenCodeInstaller.js +9 -1
  142. package/lib/installers/ToolInstaller.js +4 -1
  143. package/lib/installers/WindsurfInstaller.js +0 -54
  144. package/package.json +15 -55
  145. package/scripts/check-webview-bundle-sync.cjs +38 -0
  146. package/scripts/sync-webview-bundle.cjs +19 -0
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # specs.md
1
+ # specs.md - by fabriqa
2
2
 
3
3
  <p align="center">
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,199 @@ 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
83
+ ```
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)
88
+ ```
59
89
 
60
- ```bash
61
- # Check the manifest
62
- cat .specsmd/manifest.yaml
90
+ The installer detects your AI coding tools and sets up agent definitions, slash commands, and project structure for your selected flow.
63
91
 
64
- # List installed agents
65
- ls .specsmd/aidlc/agents/
66
- ```
92
+ ### Dashboard Web
67
93
 
68
- ### Initialize Your Project
69
- Open your AI Assisted Tool (Claude Code, Cursor, GitHub Copilot) and run the following commands:
94
+ Track specsmd flow state from a local browser dashboard:
70
95
 
71
96
  ```bash
72
- # Start the Master Agent
73
- /specsmd-master-agent
74
-
75
- # Then type:
76
- project-init
97
+ npx specsmd@latest dashboard
77
98
  ```
78
99
 
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)
85
-
86
- ### Create Your First Intent
100
+ Useful options:
87
101
 
88
102
  ```bash
89
- /specsmd-inception-agent intent-create
103
+ npx specsmd@latest dashboard --flow fire --path . --no-open
104
+ npx specsmd@latest dashboard --host 127.0.0.1 --port 4317
90
105
  ```
91
106
 
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
107
+ Prefer the terminal dashboard?
104
108
 
105
109
  ```bash
106
- # Plan bolts for your stories
107
- /specsmd-inception-agent bolt-plan
108
-
109
- # Execute a bolt
110
- /specsmd-construction-agent bolt-start
110
+ npx specsmd@latest dashboard-cli
111
+ npx specsmd@latest dashboard-cli --flow fire --path . --refresh-ms 1000
111
112
  ```
112
113
 
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
- ---
114
+ ### Install VS Code Extension (Optional)
123
115
 
124
- ## What is AI-DLC?
116
+ Track your progress visually with our sidebar extension:
117
+ - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=fabriqaai.specsmd) — VS Code, GitHub Codespaces
118
+ - [Open VSX Registry](https://open-vsx.org/extension/fabriqaai/specsmd) — Cursor, Windsurf, Amazon Kiro, Google Antigravity
125
119
 
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."
120
+ ### Verify Installation
129
121
 
130
- ### AI-DLC vs Traditional Methods
122
+ ```bash
123
+ # Check the manifest
124
+ cat .specsmd/manifest.yaml
131
125
 
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 |
126
+ # List installed agents (adjust path for your flow)
127
+ ls .specsmd/fire/agents/ # FIRE flow
128
+ ls .specsmd/simple/agents/ # Simple flow
129
+ ls .specsmd/aidlc/agents/ # AI-DLC flow
130
+ ```
140
131
 
141
132
  ---
142
133
 
143
- ## How It Works
134
+ ## Simple Flow
144
135
 
145
- specsmd provides four specialized agents that guide you through the entire development lifecycle:
136
+ **Spec generation only.** Generate requirements, design, and task documents without execution tracking.
146
137
 
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]
138
+ ```
139
+ /specsmd-agent
140
+ ```
152
141
 
153
- IA --> CA --> OA
142
+ **Three Phases:**
143
+ 1. **Requirements** → `requirements.md` - User stories, EARS criteria
144
+ 2. **Design** → `design.md` - Technical design, architecture diagrams
145
+ 3. **Tasks** → `tasks.md` - Implementation checklist
154
146
 
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
159
- ```
147
+ **Best for:** Prototypes, MVPs, spec handoff, projects that don't need AI-assisted execution.
160
148
 
161
- ### The Three Phases
149
+ **Output structure:**
150
+ ```
151
+ specs/
152
+ └── {feature-name}/
153
+ ├── requirements.md
154
+ ├── design.md
155
+ └── tasks.md
156
+ ```
162
157
 
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 |
158
+ [Simple Flow Documentation →](https://specs.md/simple-flow/overview)
168
159
 
169
160
  ---
170
161
 
171
- ## Key Concepts
162
+ ## FIRE Flow
172
163
 
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.
164
+ **Fast Intent-Run Engineering.** Adaptive execution with brownfield and monorepo support. Ships in hours with 0-2 checkpoints based on task complexity.
175
165
 
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).
166
+ ```
167
+ /fire-orchestrator # Entry point, routing
168
+ /fire-planner # Intent capture, work item decomposition
169
+ /fire-builder # Run execution, walkthrough generation
170
+ ```
178
171
 
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.
172
+ **Key Features:**
173
+ - **Adaptive checkpoints** - Autopilot (0), Confirm (1), or Validate (2) based on complexity
174
+ - **First-class brownfield** - Auto-detects existing patterns and conventions
175
+ - **Monorepo support** - Hierarchical standards with module-specific overrides
176
+ - **Walkthrough generation** - Documents every change automatically
181
177
 
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 |
178
+ **Best for:** Teams who hate friction, brownfield projects, monorepos.
186
179
 
187
- ### Memory Bank
188
- File-based storage for all project artifacts. Maintains context across agent sessions and provides traceability between artifacts.
180
+ **Output structure:**
181
+ ```
182
+ .specs-fire/
183
+ ├── state.yaml # Central state tracking
184
+ ├── standards/ # Project standards
185
+ ├── intents/ # Intent documentation
186
+ ├── runs/ # Run logs
187
+ └── walkthroughs/ # Generated documentation
188
+ ```
189
189
 
190
- ### Standards
191
- Project decisions that inform AI code generation. Standards ensure consistency across all generated code and documentation.
190
+ [FIRE Flow Documentation →](https://specs.md/fire-flow/overview)
192
191
 
193
192
  ---
194
193
 
195
- <details>
196
- <summary><h2>Project Structure</h2></summary>
194
+ ## AI-DLC Flow
197
195
 
198
- After installation:
196
+ **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
197
 
200
198
  ```
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
199
+ /specsmd-master-agent # Orchestrates & navigates
200
+ /specsmd-inception-agent # Requirements, stories, bolt planning
201
+ /specsmd-construction-agent # Execute bolts through DDD stages
202
+ /specsmd-operations-agent # Deploy, verify, monitor
222
203
  ```
223
204
 
224
- </details>
205
+ **Three Sequential Phases:**
206
+ 1. **Inception** - Capture intents, elaborate requirements, decompose into units
207
+ 2. **Construction** - Execute bolts: Model → Design → ADR → Implement → Test
208
+ 3. **Operations** - Deploy, verify, and monitor
225
209
 
226
- <details>
227
- <summary><h2>Agent Commands</h2></summary>
210
+ **Best for:** Complex domains, multi-team coordination, regulated environments.
228
211
 
229
- ### Master Agent
230
- ```bash
231
- /specsmd-master-agent
232
- ```
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
212
+ **Output structure:**
244
213
  ```
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
214
+ memory-bank/
215
+ ├── standards/ # Project standards
216
+ ├── intents/ # Intent documentation
217
+ │ └── {intent-name}/
218
+ │ ├── requirements.md
219
+ │ ├── system-context.md
220
+ │ └── units/
221
+ ├── bolts/ # Bolt execution records
222
+ └── operations/ # Deployment context
270
223
  ```
271
- | Command | Purpose |
272
- |---------|---------|
273
- | `build` | Build the project |
274
- | `deploy` | Deploy to environment |
275
- | `verify` | Verify deployment |
276
- | `monitor` | Set up monitoring |
277
224
 
278
- </details>
225
+ [AI-DLC Flow Documentation →](https://specs.md/aidlc/overview)
279
226
 
280
227
  ---
281
228
 
282
- ## Why specsmd?
229
+ ## Why specs.md?
283
230
 
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.
231
+ ### Three Flows for Every Use Case
232
+ From quick specs (Simple) to adaptive execution (FIRE) to full methodology (AI-DLC). Choose the flow that matches your project needs.
286
233
 
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.
234
+ ### Adaptive Checkpoints (FIRE)
235
+ Right-sizes the rigor. Simple bug fixes burn through fast. Critical changes get design review. You configure your autonomy preference.
289
236
 
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.
237
+ ### First-Class Brownfield & Monorepo (FIRE)
238
+ Auto-detects existing patterns and respects your conventions. Hierarchical standards with module-specific overrides.
239
+
240
+ ### Full DDD Methodology (AI-DLC)
241
+ Domain-Driven Design is integral to Construction, not an optional add-on. Every decision documented with full traceability.
292
242
 
293
243
  ### Tool Agnostic
294
- Works with Claude Code, Cursor, GitHub Copilot, and other AI coding assistants. Markdown-based agents work anywhere.
244
+ Works with Claude Code, Cursor, GitHub Copilot, and other AI coding assistants. Markdown-based agents work anywhere—no vendor lock-in.
295
245
 
296
246
  ### Context Engineering
297
- Specs and Memory Bank provide structured context for AI agents. Agents reload context each session - no more lost knowledge.
247
+ Structured artifacts provide persistent context for AI agents. Agents reload context each sessionno more lost knowledge.
298
248
 
299
249
  ---
300
250
 
301
251
  ## Supported Tools
302
252
 
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/` |
253
+ specs.md is **IDE and AI-agnostic**—your specs and agents are portable markdown files that work anywhere.
254
+
255
+ | Tool | Integration |
256
+ |------|-------------|
257
+ | **Claude Code** | Slash commands in `.claude/commands/` |
258
+ | **Cursor** | Rules in `.cursor/rules/` (`.mdc` format) |
259
+ | **GitHub Copilot** | Agents in `.github/agents/` (`.agent.md` format) |
260
+ | **Google Antigravity** | Agents in `.agent/agents/` |
261
+ | **Windsurf** | Rules in `.windsurf/rules/` |
262
+ | **Amazon Kiro** | Steering in `.kiro/steering/` |
263
+ | **Gemini CLI** | Commands in `.gemini/commands/` (`.toml` format) |
264
+ | **Cline** | Rules in `.clinerules/` |
265
+ | **Roo Code** | Commands in `.roo/commands/` |
266
+ | **OpenAI Codex** | Config in `.codex/` |
267
+ | **OpenCode** | Agents in `.opencode/agent/` |
309
268
 
310
269
  ---
311
270
 
@@ -316,7 +275,10 @@ Specs and Memory Bank provide structured context for AI agents. Agents reload co
316
275
 
317
276
  Ensure specs.md is installed correctly:
318
277
  ```bash
319
- ls .specsmd/aidlc/agents/
278
+ # Check for your flow
279
+ ls .specsmd/fire/agents/ # FIRE
280
+ ls .specsmd/simple/agents/ # Simple
281
+ ls .specsmd/aidlc/agents/ # AI-DLC
320
282
  ```
321
283
 
322
284
  If the directory is empty or missing, reinstall:
@@ -326,33 +288,26 @@ npx specsmd@latest install
326
288
  </details>
327
289
 
328
290
  <details>
329
- <summary><strong>Memory Bank artifacts missing</strong></summary>
291
+ <summary><strong>Project artifacts missing</strong></summary>
330
292
 
331
- Check if the memory-bank directory exists:
293
+ Check if the artifacts directory exists for your flow:
332
294
  ```bash
333
- ls memory-bank/
295
+ ls .specs-fire/ # FIRE flow
296
+ ls specs/ # Simple flow
297
+ ls memory-bank/ # AI-DLC flow
334
298
  ```
335
299
 
336
- If missing, run project initialization:
337
- ```
338
- /specsmd-master-agent
339
- > project-init
340
- ```
300
+ If missing, initialize your project using the appropriate agent.
341
301
  </details>
342
302
 
343
303
  <details>
344
304
  <summary><strong>Standards not being followed in generated code</strong></summary>
345
305
 
346
- Ensure standards are defined in `memory-bank/standards/`:
347
- - `tech-stack.md`
348
- - `coding-standards.md`
349
- - `architecture.md`
306
+ Ensure standards are defined in your flow's standards directory:
307
+ - FIRE: `.specs-fire/standards/`
308
+ - AI-DLC: `memory-bank/standards/`
350
309
 
351
- If missing or incomplete, use the Master Agent to define them:
352
- ```
353
- /specsmd-master-agent
354
- > project-init
355
- ```
310
+ Run project initialization if missing.
356
311
  </details>
357
312
 
358
313
  ---
@@ -360,17 +315,27 @@ If missing or incomplete, use the Master Agent to define them:
360
315
  <details>
361
316
  <summary><h2>FAQ</h2></summary>
362
317
 
318
+ **Q: Which flow should I choose?**
319
+ - **Simple**: Spec generation only, no execution tracking
320
+ - **FIRE**: Adaptive execution, brownfield/monorepo support
321
+ - **AI-DLC**: Full methodology with DDD and comprehensive traceability
322
+
323
+ **Q: Can I switch flows after installation?**
324
+ 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.
325
+
363
326
  **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.
327
+ Each agent invocation starts fresh. Agents read context from artifacts at startup. Ensure artifacts are saved after each step.
365
328
 
366
329
  **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.
330
+ Delete the artifacts directory for your flow:
331
+ - FIRE: `.specs-fire/`
332
+ - Simple: `specs/`
333
+ - AI-DLC: `memory-bank/`
368
334
 
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.
335
+ To remove specsmd entirely, also delete `.specsmd/` and tool-specific command files.
371
336
 
372
337
  **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.
338
+ specs.md supports everything from quick prototypes (Simple) to complex enterprise systems (AI-DLC). Choose the flow that matches your project needs.
374
339
 
375
340
  </details>
376
341
 
@@ -379,10 +344,11 @@ specsmd is designed for building complex systems that demand architectural compl
379
344
  ## Resources
380
345
 
381
346
  - [Documentation](https://specs.md)
347
+ - [Choose Your Flow Guide](https://specs.md/architecture/choose-flow)
382
348
  - [AI-DLC Specification (AWS)](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/)
383
349
  - [npm Package](https://www.npmjs.com/package/specsmd)
384
- - [GitHub Issues](https://github.com/fabriqaai/specsmd/issues)
385
-
350
+ - [GitHub Issues](https://github.com/fabriqaai/specs.md/issues)
351
+ - [Discord Community](http://discord.specs.md/)
386
352
 
387
353
  ---
388
354
 
@@ -393,5 +359,5 @@ MIT License - see [LICENSE](LICENSE) for details.
393
359
  ---
394
360
 
395
361
  <p align="center">
396
- Built with AWS' AI-DLC methodology by the <a href="https://specs.md">specs.md</a> team.
362
+ Built by the <a href="https://specs.md">specs.md</a> team.
397
363
  </p>
package/bin/cli.js CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  const { program } = require('commander');
4
4
  const installer = require('../lib/installer');
5
+ const dashboard = require('../lib/dashboard');
6
+ const dashboardWeb = require('../lib/dashboard/web/server');
5
7
  const packageJson = require('../package.json');
6
8
 
7
9
  program
@@ -18,4 +20,29 @@ program
18
20
  .description('Uninstall specsmd from the current project')
19
21
  .action(installer.uninstall);
20
22
 
21
- program.parse(process.argv);
23
+ program
24
+ .command('dashboard')
25
+ .description('Local web dashboard for flow state')
26
+ .option('--flow <flow>', 'Flow to inspect (fire|aidlc|simple), default auto-detect')
27
+ .option('--path <dir>', 'Workspace path', process.cwd())
28
+ .option('--host <host>', 'Host to bind (default: 127.0.0.1)', '127.0.0.1')
29
+ .option('--port <n>', 'Port to bind (default: random available port)', '0')
30
+ .option('--refresh-ms <n>', 'Fallback refresh interval in milliseconds (reserved for compatibility)', '1000')
31
+ .option('--no-watch', 'Disable file watching')
32
+ .option('--no-open', 'Do not open the dashboard in a browser automatically')
33
+ .action((options) => dashboardWeb.run(options));
34
+
35
+ program
36
+ .command('dashboard-cli')
37
+ .description('Live terminal dashboard for flow state')
38
+ .option('--flow <flow>', 'Flow to inspect (fire|aidlc|simple), default auto-detect')
39
+ .option('--path <dir>', 'Workspace path', process.cwd())
40
+ .option('--worktree <nameOrPath>', 'Initial git worktree (branch name, worktree name, id, or absolute path)')
41
+ .option('--refresh-ms <n>', 'Fallback refresh interval in milliseconds (default: 1000)', '1000')
42
+ .option('--no-watch', 'Render once and exit')
43
+ .action((options) => dashboard.run(options));
44
+
45
+ program.parseAsync(process.argv).catch((error) => {
46
+ console.error(error.message);
47
+ process.exit(1);
48
+ });
@@ -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`