specsmd 0.0.0-dev.53 → 0.0.0-dev.55
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/agents/builder/agent.md +4 -1
- package/flows/fire/agents/builder/skills/run-execute/SKILL.md +23 -7
- package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.js +384 -0
- package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.js +319 -0
- package/flows/fire/agents/builder/skills/run-execute/templates/test-report.md.hbs +81 -0
- package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +15 -6
- package/flows/fire/agents/orchestrator/skills/project-init/templates/coding-standards.md.hbs +149 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/system-architecture.md.hbs +101 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/tech-stack.md.hbs +136 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/testing-standards.md.hbs +94 -0
- package/flows/fire/memory-bank.yaml +12 -3
- package/package.json +1 -1
- package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.ts +0 -806
- package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.ts +0 -575
|
@@ -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 FIRE project-init*
|
|
@@ -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 FIRE project-init*
|
|
@@ -11,7 +11,7 @@ structure:
|
|
|
11
11
|
- path: runs/
|
|
12
12
|
description: "Execution logs and walkthroughs per run"
|
|
13
13
|
- path: standards/
|
|
14
|
-
description: "Project standards (tech-stack, coding-standards)"
|
|
14
|
+
description: "Project standards (tech-stack, coding-standards, testing-standards)"
|
|
15
15
|
|
|
16
16
|
# Central state file (FIRE's source of truth)
|
|
17
17
|
state:
|
|
@@ -42,6 +42,8 @@ state:
|
|
|
42
42
|
- work_items: "List of work items in this run"
|
|
43
43
|
- current_item: "Work item currently being executed"
|
|
44
44
|
- started: "ISO 8601 timestamp"
|
|
45
|
+
runs:
|
|
46
|
+
- completed: "List of completed runs with id, work_item, intent, completed timestamp"
|
|
45
47
|
|
|
46
48
|
# Data Conventions
|
|
47
49
|
conventions:
|
|
@@ -67,8 +69,10 @@ naming:
|
|
|
67
69
|
example: "run-001/"
|
|
68
70
|
note: "Sequential 3-digit number, folder per run"
|
|
69
71
|
contents:
|
|
70
|
-
- "
|
|
71
|
-
- "
|
|
72
|
+
- "plan.md" # Approved implementation plan (confirm/validate modes)
|
|
73
|
+
- "run.md" # Run log
|
|
74
|
+
- "test-report.md" # Test results and coverage
|
|
75
|
+
- "walkthrough.md" # Implementation walkthrough
|
|
72
76
|
|
|
73
77
|
# Schema Definition (Source of Truth for Agents)
|
|
74
78
|
schema:
|
|
@@ -81,8 +85,13 @@ schema:
|
|
|
81
85
|
run-folder: ".specs-fire/runs/{run-id}/"
|
|
82
86
|
plan: ".specs-fire/runs/{run-id}/plan.md"
|
|
83
87
|
run-log: ".specs-fire/runs/{run-id}/run.md"
|
|
88
|
+
test-report: ".specs-fire/runs/{run-id}/test-report.md"
|
|
84
89
|
walkthrough: ".specs-fire/runs/{run-id}/walkthrough.md"
|
|
85
90
|
standards: ".specs-fire/standards/"
|
|
91
|
+
tech-stack: ".specs-fire/standards/tech-stack.md"
|
|
92
|
+
coding-standards: ".specs-fire/standards/coding-standards.md"
|
|
93
|
+
testing-standards: ".specs-fire/standards/testing-standards.md"
|
|
94
|
+
system-architecture: ".specs-fire/standards/system-architecture.md"
|
|
86
95
|
|
|
87
96
|
# Agent Ownership
|
|
88
97
|
ownership:
|
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.55",
|
|
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": {
|