specsmd 0.0.0-dev.43 → 0.0.0-dev.45
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.
package/flows/fire/README.md
CHANGED
|
@@ -2,129 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
**Fast Intent-Run Engineering** — A simplified AI-native development methodology.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
For getting started, see [quick-start.md](./quick-start.md).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Summary
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- **Hierarchy**: Intent → Work Item → Run
|
|
10
|
+
- **Checkpoints**: 0-2 (adaptive based on complexity)
|
|
11
|
+
- **Agents**: Orchestrator, Planner, Builder
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## Commands
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# Or directly invoke specific agents
|
|
22
|
-
/specsmd-fire-planner # For planning work
|
|
23
|
-
/specsmd-fire-builder # For executing work
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Execution Modes
|
|
27
|
-
|
|
28
|
-
| Mode | Checkpoints | Complexity | Use For |
|
|
29
|
-
|------|-------------|------------|---------|
|
|
30
|
-
| **Autopilot** | 0 | Low | Bug fixes, minor updates |
|
|
31
|
-
| **Confirm** | 1 | Medium | Standard features |
|
|
32
|
-
| **Validate** | 2 | High | Security, payments, architecture |
|
|
33
|
-
|
|
34
|
-
## Project Structure
|
|
35
|
-
|
|
36
|
-
When initialized, FIRE creates:
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
.specs-fire/
|
|
40
|
-
├── state.yaml # Central state (source of truth)
|
|
41
|
-
├── intents/ # Intent briefs and work items
|
|
42
|
-
│ └── {intent-id}/
|
|
43
|
-
│ ├── brief.md
|
|
44
|
-
│ └── work-items/
|
|
45
|
-
│ └── {work-item-id}.md
|
|
46
|
-
├── runs/ # Run logs and walkthroughs
|
|
47
|
-
│ └── {run-id}/
|
|
48
|
-
│ ├── run.md
|
|
49
|
-
│ └── walkthrough.md
|
|
50
|
-
└── standards/ # Project standards
|
|
51
|
-
├── tech-stack.md
|
|
52
|
-
└── coding-standards.md
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Agents
|
|
56
|
-
|
|
57
|
-
### Orchestrator (`/specsmd-fire`)
|
|
58
|
-
|
|
59
|
-
Routes users based on project state:
|
|
60
|
-
- New project → Initialize
|
|
61
|
-
- No intent → Capture intent
|
|
62
|
-
- No work items → Decompose
|
|
63
|
-
- Pending work → Execute
|
|
64
|
-
|
|
65
|
-
### Planner (`/specsmd-fire-planner`)
|
|
66
|
-
|
|
67
|
-
Handles planning:
|
|
68
|
-
- **intent-capture** — Capture user intent through conversation
|
|
69
|
-
- **work-item-decompose** — Break intent into executable work items
|
|
70
|
-
- **design-doc-generate** — Create design docs for Validate mode
|
|
71
|
-
|
|
72
|
-
### Builder (`/specsmd-fire-builder`)
|
|
73
|
-
|
|
74
|
-
Handles execution:
|
|
75
|
-
- **run-execute** — Execute work items with mode-appropriate checkpoints
|
|
76
|
-
- **walkthrough-generate** — Generate implementation documentation
|
|
77
|
-
- **run-status** — Show current run progress
|
|
78
|
-
|
|
79
|
-
## Flow Directory Structure
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
src/flows/fire/
|
|
83
|
-
├── agents/
|
|
84
|
-
│ ├── orchestrator/
|
|
85
|
-
│ │ ├── agent.md
|
|
86
|
-
│ │ └── skills/
|
|
87
|
-
│ │ ├── project-init/
|
|
88
|
-
│ │ ├── route/
|
|
89
|
-
│ │ └── status/
|
|
90
|
-
│ ├── planner/
|
|
91
|
-
│ │ ├── agent.md
|
|
92
|
-
│ │ └── skills/
|
|
93
|
-
│ │ ├── intent-capture/
|
|
94
|
-
│ │ ├── work-item-decompose/
|
|
95
|
-
│ │ └── design-doc-generate/
|
|
96
|
-
│ └── builder/
|
|
97
|
-
│ ├── agent.md
|
|
98
|
-
│ └── skills/
|
|
99
|
-
│ ├── run-execute/
|
|
100
|
-
│ ├── walkthrough-generate/
|
|
101
|
-
│ └── run-status/
|
|
102
|
-
├── commands/
|
|
103
|
-
│ ├── fire.md
|
|
104
|
-
│ ├── fire-planner.md
|
|
105
|
-
│ └── fire-builder.md
|
|
106
|
-
├── templates/
|
|
107
|
-
│ ├── intents/
|
|
108
|
-
│ ├── runs/
|
|
109
|
-
│ └── standards/
|
|
110
|
-
├── fire-config.yaml
|
|
111
|
-
└── README.md
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
## Comparison with AI-DLC
|
|
115
|
-
|
|
116
|
-
| Aspect | AI-DLC | FIRE |
|
|
117
|
-
|--------|--------|------|
|
|
118
|
-
| Hierarchy | Intent → Unit → Story | Intent → Work Item |
|
|
119
|
-
| Checkpoints | 10-26 per feature | 0-2 per work item |
|
|
120
|
-
| Phases | Inception → Construction → Operations | Plan → Execute |
|
|
121
|
-
| Artifacts | Extensive | Minimal |
|
|
122
|
-
| Best for | Large initiatives, teams | Rapid delivery, individuals |
|
|
123
|
-
|
|
124
|
-
## Configuration
|
|
125
|
-
|
|
126
|
-
See `fire-config.yaml` for:
|
|
127
|
-
- Artifact paths
|
|
128
|
-
- Naming conventions
|
|
129
|
-
- Execution modes
|
|
130
|
-
- Agent ownership
|
|
15
|
+
| Command | Purpose |
|
|
16
|
+
|---------|---------|
|
|
17
|
+
| `/specsmd-fire` | Main entry point (orchestrator) |
|
|
18
|
+
| `/specsmd-fire-planner` | Planning and decomposition |
|
|
19
|
+
| `/specsmd-fire-builder` | Execution and walkthroughs |
|
|
@@ -4,6 +4,31 @@ Execute a work item based on its assigned mode (autopilot, confirm, validate).
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
Before executing scripts, ensure required dependencies are installed:
|
|
10
|
+
|
|
11
|
+
```xml
|
|
12
|
+
<prerequisite-check>
|
|
13
|
+
<step n="1" title="Check yaml Package">
|
|
14
|
+
<action>Run: npm list yaml --depth=0 2>/dev/null || echo "NOT_FOUND"</action>
|
|
15
|
+
<check if="output contains NOT_FOUND">
|
|
16
|
+
<output>
|
|
17
|
+
Installing required dependency: yaml
|
|
18
|
+
</output>
|
|
19
|
+
<action>Run: npm install yaml</action>
|
|
20
|
+
</check>
|
|
21
|
+
</step>
|
|
22
|
+
</prerequisite-check>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Required packages:**
|
|
26
|
+
| Package | Purpose | Install Command |
|
|
27
|
+
|---------|---------|-----------------|
|
|
28
|
+
| `yaml` | Parse/stringify state.yaml | `npm install yaml` |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
7
32
|
## Trigger
|
|
8
33
|
|
|
9
34
|
- Pending work item ready for execution
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# FIRE Flow
|
|
2
|
+
|
|
3
|
+
**Fast Intent-Run Engineering** — A simplified AI-native development methodology.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
FIRE reduces the complexity of AI-assisted development by flattening the hierarchy:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Intent → Work Item → Run
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Unlike traditional methodologies with 10-26 checkpoints, FIRE uses adaptive checkpoints (0-2) based on work item complexity.
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Initialize FIRE in your project
|
|
19
|
+
/specsmd-fire
|
|
20
|
+
|
|
21
|
+
# Or directly invoke specific agents
|
|
22
|
+
/specsmd-fire-planner # For planning work
|
|
23
|
+
/specsmd-fire-builder # For executing work
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Execution Modes
|
|
27
|
+
|
|
28
|
+
| Mode | Checkpoints | Complexity | Use For |
|
|
29
|
+
|------|-------------|------------|---------|
|
|
30
|
+
| **Autopilot** | 0 | Low | Bug fixes, minor updates |
|
|
31
|
+
| **Confirm** | 1 | Medium | Standard features |
|
|
32
|
+
| **Validate** | 2 | High | Security, payments, architecture |
|
|
33
|
+
|
|
34
|
+
## Project Structure
|
|
35
|
+
|
|
36
|
+
When initialized, FIRE creates:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
.specs-fire/
|
|
40
|
+
├── state.yaml # Central state (source of truth)
|
|
41
|
+
├── intents/ # Intent briefs and work items
|
|
42
|
+
│ └── {intent-id}/
|
|
43
|
+
│ ├── brief.md
|
|
44
|
+
│ └── work-items/
|
|
45
|
+
│ └── {work-item-id}.md
|
|
46
|
+
├── runs/ # Run logs and walkthroughs
|
|
47
|
+
│ └── {run-id}/
|
|
48
|
+
│ ├── run.md
|
|
49
|
+
│ └── walkthrough.md
|
|
50
|
+
└── standards/ # Project standards
|
|
51
|
+
├── tech-stack.md
|
|
52
|
+
└── coding-standards.md
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Agents
|
|
56
|
+
|
|
57
|
+
### Orchestrator (`/specsmd-fire`)
|
|
58
|
+
|
|
59
|
+
Routes users based on project state:
|
|
60
|
+
- New project → Initialize
|
|
61
|
+
- No intent → Capture intent
|
|
62
|
+
- No work items → Decompose
|
|
63
|
+
- Pending work → Execute
|
|
64
|
+
|
|
65
|
+
### Planner (`/specsmd-fire-planner`)
|
|
66
|
+
|
|
67
|
+
Handles planning:
|
|
68
|
+
- **intent-capture** — Capture user intent through conversation
|
|
69
|
+
- **work-item-decompose** — Break intent into executable work items
|
|
70
|
+
- **design-doc-generate** — Create design docs for Validate mode
|
|
71
|
+
|
|
72
|
+
### Builder (`/specsmd-fire-builder`)
|
|
73
|
+
|
|
74
|
+
Handles execution:
|
|
75
|
+
- **run-execute** — Execute work items with mode-appropriate checkpoints
|
|
76
|
+
- **walkthrough-generate** — Generate implementation documentation
|
|
77
|
+
- **run-status** — Show current run progress
|
|
78
|
+
|
|
79
|
+
## Flow Directory Structure
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
src/flows/fire/
|
|
83
|
+
├── agents/
|
|
84
|
+
│ ├── orchestrator/
|
|
85
|
+
│ │ ├── agent.md
|
|
86
|
+
│ │ └── skills/
|
|
87
|
+
│ │ ├── project-init/
|
|
88
|
+
│ │ ├── route/
|
|
89
|
+
│ │ └── status/
|
|
90
|
+
│ ├── planner/
|
|
91
|
+
│ │ ├── agent.md
|
|
92
|
+
│ │ └── skills/
|
|
93
|
+
│ │ ├── intent-capture/
|
|
94
|
+
│ │ ├── work-item-decompose/
|
|
95
|
+
│ │ └── design-doc-generate/
|
|
96
|
+
│ └── builder/
|
|
97
|
+
│ ├── agent.md
|
|
98
|
+
│ └── skills/
|
|
99
|
+
│ ├── run-execute/
|
|
100
|
+
│ ├── walkthrough-generate/
|
|
101
|
+
│ └── run-status/
|
|
102
|
+
├── commands/
|
|
103
|
+
│ ├── fire.md
|
|
104
|
+
│ ├── fire-planner.md
|
|
105
|
+
│ └── fire-builder.md
|
|
106
|
+
├── templates/
|
|
107
|
+
│ ├── intents/
|
|
108
|
+
│ ├── runs/
|
|
109
|
+
│ └── standards/
|
|
110
|
+
├── memory-bank.yaml
|
|
111
|
+
└── quick-start.md
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Comparison with AI-DLC
|
|
115
|
+
|
|
116
|
+
| Aspect | AI-DLC | FIRE |
|
|
117
|
+
|--------|--------|------|
|
|
118
|
+
| Hierarchy | Intent → Unit → Story | Intent → Work Item |
|
|
119
|
+
| Checkpoints | 10-26 per feature | 0-2 per work item |
|
|
120
|
+
| Phases | Inception → Construction → Operations | Plan → Execute |
|
|
121
|
+
| Artifacts | Extensive | Minimal |
|
|
122
|
+
| Best for | Large initiatives, teams | Rapid delivery, individuals |
|
|
123
|
+
|
|
124
|
+
## Configuration
|
|
125
|
+
|
|
126
|
+
See `memory-bank.yaml` for:
|
|
127
|
+
- Artifact paths
|
|
128
|
+
- Naming conventions
|
|
129
|
+
- Execution modes
|
|
130
|
+
- Agent ownership
|
package/lib/constants.js
CHANGED
|
@@ -17,6 +17,11 @@ const FLOWS = {
|
|
|
17
17
|
description: 'AI-Driven Development Life Cycle - Best for greenfield projects with AI-native development',
|
|
18
18
|
path: 'aidlc'
|
|
19
19
|
},
|
|
20
|
+
fire: {
|
|
21
|
+
name: 'FIRE',
|
|
22
|
+
description: 'Fast Intent-Run Engineering - Lightweight flow for quick iterations with minimal overhead',
|
|
23
|
+
path: 'fire'
|
|
24
|
+
},
|
|
20
25
|
simple: {
|
|
21
26
|
name: 'Simple',
|
|
22
27
|
description: 'Spec-driven development - Best for quick feature specs without full methodology overhead',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specsmd",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.45",
|
|
4
4
|
"description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
|
|
5
5
|
"main": "lib/installer.js",
|
|
6
6
|
"bin": {
|
|
@@ -54,66 +54,16 @@
|
|
|
54
54
|
"node": ">=14.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@semantic-release/git": "^10.0.1",
|
|
58
57
|
"@types/js-yaml": "^4.0.9",
|
|
59
58
|
"@types/node": "^24.10.2",
|
|
60
59
|
"glob": "^13.0.0",
|
|
61
60
|
"markdownlint": "^0.40.0",
|
|
62
61
|
"markdownlint-cli": "^0.46.0",
|
|
63
62
|
"remark-parse": "^11.0.0",
|
|
64
|
-
"semantic-release": "^25.0.2",
|
|
65
63
|
"typescript": "^5.9.3",
|
|
66
64
|
"unified": "^11.0.5",
|
|
67
65
|
"unist-util-visit": "^5.0.0",
|
|
68
66
|
"vitest": "^4.0.15",
|
|
69
67
|
"yaml": "^2.8.2"
|
|
70
|
-
},
|
|
71
|
-
"release": {
|
|
72
|
-
"branches": [
|
|
73
|
-
"main"
|
|
74
|
-
],
|
|
75
|
-
"plugins": [
|
|
76
|
-
[
|
|
77
|
-
"@semantic-release/commit-analyzer",
|
|
78
|
-
{
|
|
79
|
-
"releaseRules": [
|
|
80
|
-
{
|
|
81
|
-
"breaking": true,
|
|
82
|
-
"release": "minor"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"type": "feat",
|
|
86
|
-
"release": "minor"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"type": "fix",
|
|
90
|
-
"release": "patch"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"type": "perf",
|
|
94
|
-
"release": "patch"
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"@semantic-release/release-notes-generator",
|
|
100
|
-
"@semantic-release/npm",
|
|
101
|
-
[
|
|
102
|
-
"@semantic-release/github",
|
|
103
|
-
{
|
|
104
|
-
"successComment": false,
|
|
105
|
-
"failComment": false
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
[
|
|
109
|
-
"@semantic-release/git",
|
|
110
|
-
{
|
|
111
|
-
"assets": [
|
|
112
|
-
"package.json"
|
|
113
|
-
],
|
|
114
|
-
"message": "chore(release): ${nextRelease.version} [skip ci]"
|
|
115
|
-
}
|
|
116
|
-
]
|
|
117
|
-
]
|
|
118
68
|
}
|
|
119
69
|
}
|
|
File without changes
|