specsmd 0.0.0-dev.7 → 0.0.0-dev.70

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 (76) hide show
  1. package/README.md +10 -2
  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 → flows/aidlc/scripts}/artifact-validator.js +3 -3
  8. package/{scripts → flows/aidlc/scripts}/bolt-complete.js +35 -4
  9. package/{scripts → flows/aidlc/scripts}/status-integrity.js +4 -4
  10. package/flows/aidlc/skills/construction/bolt-list.md +1 -1
  11. package/flows/aidlc/skills/construction/bolt-start.md +2 -2
  12. package/flows/aidlc/skills/construction/bolt-status.md +1 -1
  13. package/flows/aidlc/skills/construction/prototype-apply.md +305 -0
  14. package/flows/aidlc/skills/inception/bolt-plan.md +15 -2
  15. package/flows/aidlc/skills/inception/vibe-to-spec.md +406 -0
  16. package/flows/aidlc/skills/master/analyze-context.md +1 -1
  17. package/flows/aidlc/templates/construction/bolt-template.md +22 -1
  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 +252 -0
  22. package/flows/fire/agents/builder/skills/code-review/SKILL.md +254 -0
  23. package/flows/fire/agents/builder/skills/code-review/references/auto-fix-rules.md +212 -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 +498 -0
  27. package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.js +549 -0
  28. package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.js +454 -0
  29. package/flows/fire/agents/builder/skills/run-execute/templates/plan.md.hbs +61 -0
  30. package/flows/fire/agents/builder/skills/run-execute/templates/test-report.md.hbs +81 -0
  31. package/flows/fire/agents/builder/skills/run-plan/SKILL.md +368 -0
  32. package/flows/fire/agents/builder/skills/run-status/SKILL.md +94 -0
  33. package/flows/fire/agents/builder/skills/walkthrough-generate/SKILL.md +140 -0
  34. package/flows/fire/agents/builder/skills/walkthrough-generate/scripts/render-walkthrough.ts +755 -0
  35. package/flows/fire/agents/builder/skills/walkthrough-generate/templates/walkthrough.md.hbs +77 -0
  36. package/flows/fire/agents/orchestrator/agent.md +127 -0
  37. package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +153 -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/system-architecture.md.hbs +101 -0
  40. package/flows/fire/agents/orchestrator/skills/project-init/templates/tech-stack.md.hbs +136 -0
  41. package/flows/fire/agents/orchestrator/skills/project-init/templates/testing-standards.md.hbs +94 -0
  42. package/flows/fire/agents/orchestrator/skills/route/SKILL.md +128 -0
  43. package/flows/fire/agents/orchestrator/skills/status/SKILL.md +100 -0
  44. package/flows/fire/agents/planner/agent.md +138 -0
  45. package/flows/fire/agents/planner/skills/design-doc-generate/SKILL.md +155 -0
  46. package/flows/fire/agents/planner/skills/design-doc-generate/templates/design.md.hbs +124 -0
  47. package/flows/fire/agents/planner/skills/intent-capture/SKILL.md +124 -0
  48. package/flows/fire/agents/planner/skills/intent-capture/templates/brief.md.hbs +40 -0
  49. package/flows/fire/agents/planner/skills/work-item-decompose/SKILL.md +165 -0
  50. package/flows/fire/agents/planner/skills/work-item-decompose/templates/work-item.md.hbs +40 -0
  51. package/flows/fire/commands/fire-builder.md +56 -0
  52. package/flows/fire/commands/fire-planner.md +48 -0
  53. package/flows/fire/commands/fire.md +46 -0
  54. package/flows/fire/memory-bank.yaml +164 -0
  55. package/flows/fire/quick-start.md +130 -0
  56. package/flows/simple/README.md +190 -0
  57. package/flows/simple/agents/agent.md +404 -0
  58. package/flows/simple/commands/agent.md +60 -0
  59. package/flows/simple/context-config.yaml +34 -0
  60. package/flows/simple/memory-bank.yaml +66 -0
  61. package/flows/simple/quick-start.md +231 -0
  62. package/flows/simple/skills/design.md +96 -0
  63. package/flows/simple/skills/execute.md +190 -0
  64. package/flows/simple/skills/requirements.md +94 -0
  65. package/flows/simple/skills/tasks.md +136 -0
  66. package/flows/simple/templates/design-template.md +138 -0
  67. package/flows/simple/templates/requirements-template.md +85 -0
  68. package/flows/simple/templates/tasks-template.md +104 -0
  69. package/lib/analytics/tracker.js +6 -2
  70. package/lib/constants.js +17 -8
  71. package/lib/installer.js +5 -15
  72. package/lib/installers/KiroInstaller.js +55 -0
  73. package/lib/installers/OpenCodeInstaller.js +9 -1
  74. package/lib/installers/ToolInstaller.js +4 -1
  75. package/lib/installers/WindsurfInstaller.js +0 -54
  76. package/package.json +3 -52
@@ -0,0 +1,136 @@
1
+ # Tech Stack
2
+
3
+ ## Overview
4
+
5
+ {{overview}}
6
+
7
+ ## Core Technologies
8
+
9
+ ### Language
10
+
11
+ **Primary**: {{primary_language}}
12
+ **Version**: {{language_version}}
13
+
14
+ ### Framework
15
+
16
+ **Framework**: {{framework}}
17
+ **Version**: {{framework_version}}
18
+ **Rationale**: {{framework_rationale}}
19
+
20
+ ### Runtime
21
+
22
+ **Runtime**: {{runtime}}
23
+ **Version**: {{runtime_version}}
24
+
25
+ ## Data Layer
26
+
27
+ ### Database
28
+
29
+ **Type**: {{database_type}}
30
+ **Database**: {{database}}
31
+ **Version**: {{database_version}}
32
+
33
+ ### ORM / Data Access
34
+
35
+ **Tool**: {{orm}}
36
+ **Rationale**: {{orm_rationale}}
37
+
38
+ ### Caching
39
+
40
+ {{#if caching}}
41
+ **Solution**: {{caching}}
42
+ {{else}}
43
+ Not configured.
44
+ {{/if}}
45
+
46
+ ## API Layer
47
+
48
+ ### API Style
49
+
50
+ **Style**: {{api_style}}
51
+
52
+ ### Documentation
53
+
54
+ **Tool**: {{api_docs}}
55
+
56
+ ## Frontend (if applicable)
57
+
58
+ {{#if frontend}}
59
+ ### UI Framework
60
+
61
+ **Framework**: {{frontend.framework}}
62
+ **Version**: {{frontend.version}}
63
+
64
+ ### Styling
65
+
66
+ **Approach**: {{frontend.styling}}
67
+
68
+ ### State Management
69
+
70
+ **Solution**: {{frontend.state_management}}
71
+ {{else}}
72
+ Not applicable (backend-only or CLI project).
73
+ {{/if}}
74
+
75
+ ## Infrastructure
76
+
77
+ ### Hosting
78
+
79
+ **Platform**: {{hosting_platform}}
80
+
81
+ ### Containerization
82
+
83
+ {{#if containerization}}
84
+ **Tool**: {{containerization}}
85
+ {{else}}
86
+ Not configured.
87
+ {{/if}}
88
+
89
+ ### CI/CD
90
+
91
+ **Platform**: {{ci_platform}}
92
+
93
+ ## Development Tools
94
+
95
+ ### Package Manager
96
+
97
+ **Manager**: {{package_manager}}
98
+
99
+ ### Build Tool
100
+
101
+ **Tool**: {{build_tool}}
102
+
103
+ ### Linting
104
+
105
+ **Linter**: {{linter}}
106
+ **Config**: {{linter_config}}
107
+
108
+ ### Formatting
109
+
110
+ **Formatter**: {{formatter}}
111
+ **Config**: {{formatter_config}}
112
+
113
+ ## Dependencies
114
+
115
+ ### Production Dependencies
116
+
117
+ {{#each prod_dependencies}}
118
+ - `{{this.name}}` ({{this.version}}) — {{this.purpose}}
119
+ {{/each}}
120
+
121
+ ### Development Dependencies
122
+
123
+ {{#each dev_dependencies}}
124
+ - `{{this.name}}` ({{this.version}}) — {{this.purpose}}
125
+ {{/each}}
126
+
127
+ ## Version Requirements
128
+
129
+ | Tool | Minimum Version | Recommended |
130
+ |------|-----------------|-------------|
131
+ {{#each version_requirements}}
132
+ | {{this.tool}} | {{this.minimum}} | {{this.recommended}} |
133
+ {{/each}}
134
+
135
+ ---
136
+ *Generated by specs.md - fabriqa.ai FIRE Flow*
@@ -0,0 +1,94 @@
1
+ # Testing Standards
2
+
3
+ ## Overview
4
+
5
+ {{overview}}
6
+
7
+ ## Testing Framework
8
+
9
+ **Framework**: {{framework}}
10
+ **Runner**: {{runner}}
11
+
12
+ ## Test Types
13
+
14
+ | Type | Tool | Location | When to Use |
15
+ |------|------|----------|-------------|
16
+ {{#each test_types}}
17
+ | {{this.type}} | {{this.tool}} | `{{this.location}}` | {{this.when}} |
18
+ {{/each}}
19
+
20
+ ## Coverage Requirements
21
+
22
+ **Target**: {{coverage_target}}%
23
+ **Enforcement**: {{coverage_enforcement}}
24
+
25
+ **Critical paths that MUST have coverage:**
26
+ {{#each critical_paths}}
27
+ - {{this}}
28
+ {{/each}}
29
+
30
+ ## Test Naming
31
+
32
+ **Pattern**: `{{naming_pattern}}`
33
+
34
+ **Examples**:
35
+ {{#each naming_examples}}
36
+ - `{{this.name}}` — {{this.description}}
37
+ {{/each}}
38
+
39
+ ## Test Structure
40
+
41
+ ```{{language}}
42
+ {{test_structure}}
43
+ ```
44
+
45
+ ## Mock Strategy
46
+
47
+ **Approach**: {{mock_approach}}
48
+
49
+ **Guidelines**:
50
+ {{#each mock_guidelines}}
51
+ - {{this}}
52
+ {{/each}}
53
+
54
+ ## Test Data
55
+
56
+ **Strategy**: {{test_data_strategy}}
57
+
58
+ **Guidelines**:
59
+ {{#each test_data_guidelines}}
60
+ - {{this}}
61
+ {{/each}}
62
+
63
+ ## Running Tests
64
+
65
+ ```bash
66
+ # Run all tests
67
+ {{run_all_command}}
68
+
69
+ # Run with coverage
70
+ {{run_coverage_command}}
71
+
72
+ # Run specific test file
73
+ {{run_single_command}}
74
+
75
+ # Run in watch mode
76
+ {{run_watch_command}}
77
+ ```
78
+
79
+ ## CI/CD Integration
80
+
81
+ {{#if ci_enabled}}
82
+ **Pipeline**: {{ci_pipeline}}
83
+ **Trigger**: {{ci_trigger}}
84
+
85
+ **Required gates**:
86
+ {{#each ci_gates}}
87
+ - {{this}}
88
+ {{/each}}
89
+ {{else}}
90
+ CI/CD integration not configured.
91
+ {{/if}}
92
+
93
+ ---
94
+ *Generated by specs.md - fabriqa.ai FIRE Flow*
@@ -0,0 +1,128 @@
1
+ ---
2
+ name: route
3
+ description: Analyze project state and route user to the appropriate agent based on current context.
4
+ version: 1.0.0
5
+ ---
6
+
7
+ <objective>
8
+ Analyze project state and route user to the appropriate agent.
9
+ </objective>
10
+
11
+ <triggers>
12
+ - User runs `/fire` on initialized project
13
+ - After any agent completes its task
14
+ </triggers>
15
+
16
+ <llm critical="true">
17
+ <mandate>ALWAYS scan file system for intents/work-items not in state.yaml</mandate>
18
+ <mandate>FILE SYSTEM is source of truth — state.yaml may be incomplete</mandate>
19
+ <mandate>Route based on VERIFIED state, not assumptions</mandate>
20
+ </llm>
21
+
22
+ <flow>
23
+ <step n="1" title="Discover and Read State">
24
+ <action>Read .specs-fire/state.yaml</action>
25
+ <action>Scan .specs-fire/intents/ for briefs not in state</action>
26
+ <action>Scan .specs-fire/intents/*/work-items/ for items not in state</action>
27
+ <action>Reconcile: add discovered items to state as pending</action>
28
+ <action>Parse current project state</action>
29
+ </step>
30
+
31
+ <step n="2" title="Check Active Run">
32
+ <check if="active_run exists and status == in_progress">
33
+ <output>
34
+ Resuming active run: {active_run.id}
35
+ Scope: {active_run.scope}
36
+ Current item: {active_run.current_item}
37
+ Progress: {completed_count}/{total_count} items
38
+ </output>
39
+ <route_to>builder-agent (run-execute)</route_to>
40
+ <stop/>
41
+ </check>
42
+ </step>
43
+
44
+ <step n="3" title="Check Pending Work Items">
45
+ <action>Find work items with status == pending across all intents</action>
46
+ <check if="pending work items exist">
47
+ <output>
48
+ **{pending_count} pending work items** found across {intent_count} intent(s).
49
+
50
+ Plan run scope and start execution? [Y/n]
51
+ </output>
52
+ <check if="response == y">
53
+ <route_to>builder-agent (run-plan)</route_to>
54
+ </check>
55
+ <stop/>
56
+ </check>
57
+ </step>
58
+
59
+ <step n="4" title="Check Active Intent">
60
+ <action>Find intents with status == in_progress</action>
61
+ <check if="active intent has no work items">
62
+ <output>
63
+ Intent "{intent.title}" needs decomposition.
64
+ Routing to Planner to create work items.
65
+ </output>
66
+ <route_to>planner-agent (work-item-decompose)</route_to>
67
+ <stop/>
68
+ </check>
69
+ <check if="all work items completed">
70
+ <action>Mark intent as completed</action>
71
+ <output>
72
+ Intent "{intent.title}" completed!
73
+
74
+ Work items delivered:
75
+ {list completed work items}
76
+
77
+ Ready for next intent? [Y/n]
78
+ </output>
79
+ </check>
80
+ </step>
81
+
82
+ <step n="5" title="No Active Work">
83
+ <output>
84
+ No active work. Ready for a new intent.
85
+
86
+ What do you want to build?
87
+ </output>
88
+ <route_to>planner-agent (intent-capture)</route_to>
89
+ </step>
90
+ </flow>
91
+
92
+ <routing_decision_tree>
93
+ ```
94
+ state.yaml + file system scan
95
+
96
+ ├── active_run? ──────────────> Builder (run-execute, resume)
97
+
98
+ ├── pending work items? ──────> Builder (run-plan, then execute)
99
+
100
+ ├── intent without work items? > Planner (work-item-decompose)
101
+
102
+ └── no active intents ────────> Planner (intent-capture)
103
+ ```
104
+ </routing_decision_tree>
105
+
106
+ <context_passed_to_agents>
107
+ **To Planner:**
108
+ ```yaml
109
+ context:
110
+ action: intent-capture | work-item-decompose
111
+ intent_id: {if decomposing}
112
+ ```
113
+
114
+ **To Builder:**
115
+ ```yaml
116
+ context:
117
+ action: run-plan | run-execute | resume
118
+ pending_items: [{list of pending work items}] # for run-plan
119
+ run_id: {if resuming}
120
+ ```
121
+ </context_passed_to_agents>
122
+
123
+ <success_criteria>
124
+ <criterion>File system scanned for untracked intents/work-items</criterion>
125
+ <criterion>State reconciled with file system</criterion>
126
+ <criterion>Correct agent selected based on state</criterion>
127
+ <criterion>Context passed to target agent</criterion>
128
+ </success_criteria>
@@ -0,0 +1,100 @@
1
+ ---
2
+ name: status
3
+ description: Display current FIRE project status including intents, work items, and active runs.
4
+ version: 1.0.0
5
+ ---
6
+
7
+ <objective>
8
+ Display current FIRE project status.
9
+ </objective>
10
+
11
+ <triggers>
12
+ - User runs `/fire status`
13
+ - User asks "what's the status?"
14
+ </triggers>
15
+
16
+ <flow>
17
+ <step n="1" title="Read State">
18
+ <action>Read .specs-fire/state.yaml</action>
19
+ </step>
20
+
21
+ <step n="2" title="Display Status">
22
+ <output>
23
+ # FIRE Status
24
+
25
+ **Project**: {project.name}
26
+ **Workspace**: {workspace.type} / {workspace.structure}
27
+ **Autonomy**: {workspace.autonomy_bias}
28
+
29
+ ## Intents
30
+
31
+ {for each intent}
32
+ ### {intent.title} [{intent.status}]
33
+
34
+ | Work Item | Status | Complexity | Mode |
35
+ |-----------|--------|------------|------|
36
+ {for each work_item}
37
+ | {title} | {status} | {complexity} | {mode} |
38
+ {/for}
39
+
40
+ {/for}
41
+
42
+ ## Active Run
43
+
44
+ {if active_run}
45
+ - **Run**: {active_run.id}
46
+ - **Work Item**: {active_run.work_item}
47
+ - **Started**: {active_run.started}
48
+ - **Mode**: {active_run.mode}
49
+ {else}
50
+ No active run.
51
+ {/if}
52
+
53
+ ## Quick Stats
54
+
55
+ - Intents: {total_intents} ({completed_intents} completed)
56
+ - Work Items: {total_work_items} ({completed_work_items} completed)
57
+ - Runs: {total_runs}
58
+ </output>
59
+ </step>
60
+ </flow>
61
+
62
+ <example_output>
63
+ ```
64
+ # FIRE Status
65
+
66
+ **Project**: my-saas-app
67
+ **Workspace**: brownfield / monolith
68
+ **Autonomy**: balanced
69
+
70
+ ## Intents
71
+
72
+ ### User Authentication [in_progress]
73
+
74
+ | Work Item | Status | Complexity | Mode |
75
+ |-----------|--------|------------|------|
76
+ | login-endpoint | completed | medium | confirm |
77
+ | session-management | in_progress | medium | confirm |
78
+ | password-reset | pending | high | validate |
79
+
80
+ ## Active Run
81
+
82
+ - **Run**: run-002
83
+ - **Work Item**: session-management
84
+ - **Started**: 2026-01-19T10:30:00Z
85
+ - **Mode**: confirm
86
+
87
+ ## Quick Stats
88
+
89
+ - Intents: 1 (0 completed)
90
+ - Work Items: 3 (1 completed)
91
+ - Runs: 2
92
+ ```
93
+ </example_output>
94
+
95
+ <success_criteria>
96
+ <criterion>State file read successfully</criterion>
97
+ <criterion>All intents and work items displayed</criterion>
98
+ <criterion>Active run status shown</criterion>
99
+ <criterion>Quick stats accurate</criterion>
100
+ </success_criteria>
@@ -0,0 +1,138 @@
1
+ ---
2
+ name: fire-planner-agent
3
+ description: Intent architect and work item designer for FIRE. Captures user intent through dialogue and decomposes into executable work items.
4
+ version: 1.0.0
5
+ ---
6
+
7
+ <role>
8
+ You are the **Planner Agent** for FIRE (Fast Intent-Run Engineering).
9
+
10
+ - **Role**: Intent Architect & Work Item Designer
11
+ - **Communication**: Conversational during capture, structured during output.
12
+ - **Principle**: Capture the "what" and "why" through dialogue. NEVER assume requirements.
13
+ </role>
14
+
15
+ <constraints critical="true">
16
+ <constraint>NEVER assume requirements — ALWAYS ask clarifying questions</constraint>
17
+ <constraint>NEVER skip intent capture for new features</constraint>
18
+ <constraint>ALWAYS validate dependencies before saving work items</constraint>
19
+ <constraint>MUST use templates for all artifacts</constraint>
20
+ </constraints>
21
+
22
+ <on_activation>
23
+ When routed from Orchestrator or user invokes this agent:
24
+
25
+ <step n="1" title="Load State">
26
+ <action>Read `.specs-fire/state.yaml` for current state</action>
27
+ </step>
28
+
29
+ <step n="2" title="Route by State">
30
+ <check if="no active intent">
31
+ <action>Execute `intent-capture` skill</action>
32
+ </check>
33
+ <check if="intent without work items">
34
+ <action>Execute `work-item-decompose` skill</action>
35
+ </check>
36
+ <check if="high-complexity work item needs design">
37
+ <action>Execute `design-doc-generate` skill</action>
38
+ </check>
39
+ </step>
40
+ </on_activation>
41
+
42
+ <skills>
43
+ | Command | Skill | Description |
44
+ |---------|-------|-------------|
45
+ | `capture`, `intent` | `skills/intent-capture/SKILL.md` | Capture new intent through conversation |
46
+ | `decompose`, `plan` | `skills/work-item-decompose/SKILL.md` | Break intent into work items |
47
+ | `design` | `skills/design-doc-generate/SKILL.md` | Generate design doc (Validate mode) |
48
+ </skills>
49
+
50
+ <intent_capture_flow>
51
+ <critical>Use HIGH degrees of freedom. Explore openly, don't constrain prematurely.</critical>
52
+
53
+ ```
54
+ [1] Ask: "What do you want to build?"
55
+ [2] Elicit context through follow-up questions:
56
+ - Who is this for?
57
+ - What problem does it solve?
58
+ - Any constraints or preferences?
59
+ [3] Summarize understanding
60
+ [4] Generate intent brief
61
+ [5] Save to .specs-fire/intents/{id}/brief.md
62
+ [6] Update state.yaml
63
+ ```
64
+ </intent_capture_flow>
65
+
66
+ <work_item_decomposition_flow>
67
+ <critical>Use MEDIUM degrees of freedom. Follow patterns but adapt to context.</critical>
68
+
69
+ ```
70
+ [1] Read intent brief
71
+ [2] Identify discrete deliverables
72
+ [3] For each work item:
73
+ - Assign complexity (low/medium/high)
74
+ - Suggest execution mode (autopilot/confirm/validate)
75
+ - Define acceptance criteria
76
+ [4] Validate dependencies
77
+ [5] Save work items to .specs-fire/intents/{id}/work-items/
78
+ [6] Update state.yaml with work items list
79
+ ```
80
+ </work_item_decomposition_flow>
81
+
82
+ <design_document_flow>
83
+ For high-complexity work items requiring Validate mode:
84
+
85
+ <critical>Use LOW degrees of freedom. Follow structure precisely.</critical>
86
+
87
+ ```
88
+ [1] Read work item from .specs-fire/intents/{intent-id}/work-items/{work-item-id}.md
89
+ [2] Review standards from .specs-fire/standards/
90
+ [3] Identify key decisions needed
91
+ [4] Draft:
92
+ - Key decisions table (decision, choice, rationale)
93
+ - Domain model (if applicable)
94
+ - Technical approach (component diagram, API contracts)
95
+ - Risks and mitigations
96
+ - Implementation checklist
97
+ [5] Present to user for review (Checkpoint 1)
98
+ [6] Incorporate feedback
99
+ [7] Generate using template: skills/design-doc-generate/templates/design.md.hbs
100
+ [8] Save to .specs-fire/intents/{intent-id}/work-items/{work-item-id}-design.md
101
+ [9] Update state.yaml (mark checkpoint_1: approved)
102
+ ```
103
+ </design_document_flow>
104
+
105
+ <output_artifacts>
106
+ | Artifact | Location | Template |
107
+ |----------|----------|----------|
108
+ | Intent Brief | `.specs-fire/intents/{id}/brief.md` | `templates/intents/brief.md.hbs` |
109
+ | Work Item | `.specs-fire/intents/{id}/work-items/{id}.md` | `templates/intents/work-item.md.hbs` |
110
+ | Design Doc | `.specs-fire/intents/{id}/work-items/{id}-design.md` | `templates/intents/design-doc.md.hbs` |
111
+ </output_artifacts>
112
+
113
+ <handoff_format>
114
+ When planning is complete:
115
+
116
+ ```
117
+ Planning complete for intent "{intent-title}".
118
+
119
+ Work items ready for execution:
120
+ 1. {work-item-1} (low, autopilot)
121
+ 2. {work-item-2} (medium, confirm)
122
+ 3. {work-item-3} (high, validate)
123
+
124
+ Route to Builder Agent to begin execution? [Y/n]
125
+ ```
126
+ </handoff_format>
127
+
128
+ <success_criteria>
129
+ <criterion>Intent captured with clear goal and success criteria</criterion>
130
+ <criterion>Work items have explicit acceptance criteria</criterion>
131
+ <criterion>Dependencies validated (no circular dependencies)</criterion>
132
+ <criterion>High-complexity items have approved design docs</criterion>
133
+ <criterion>All artifacts saved using templates</criterion>
134
+ </success_criteria>
135
+
136
+ <begin>
137
+ Read `.specs-fire/state.yaml` and determine which planning skill to execute based on current state.
138
+ </begin>