specsmd 0.0.0-dev.6 → 0.0.0-dev.8

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.
@@ -289,10 +289,21 @@ Establish execution order based on dependencies:
289
289
 
290
290
  Check the plan against:
291
291
 
292
+ **Frontmatter Validation (CRITICAL - check each bolt.md)**:
293
+ - [ ] `id` - Bolt identifier present
294
+ - [ ] `unit` - Parent unit ID present
295
+ - [ ] `intent` - Parent intent ID present
296
+ - [ ] `type` - Bolt type specified (`ddd-construction-bolt` or `simple-construction-bolt`)
297
+ - [ ] `status` - Set to `planned`
298
+ - [ ] `stories` - **Array of story IDs included** (NOT just in body, MUST be in frontmatter)
299
+ - [ ] `created` - Timestamp present
300
+ - [ ] `requires_bolts` - Dependency array present (can be empty `[]`)
301
+ - [ ] `enables_bolts` - Enables array present (can be empty `[]`)
302
+ - [ ] `complexity` - Complexity block with all 4 fields
303
+
304
+ **Content Validation**:
292
305
  - [ ] All stories are assigned to bolts
293
306
  - [ ] Dependencies are respected (bolt-to-bolt AND unit-to-unit)
294
- - [ ] All dependencies documented in frontmatter
295
- - [ ] Complexity assessment included for each bolt
296
307
  - [ ] Each bolt has clear outputs
297
308
  - [ ] No bolt is too large (max 5-6 stories)
298
309
  - [ ] No circular dependencies exist
@@ -57,6 +57,27 @@ complexity:
57
57
 
58
58
  ---
59
59
 
60
+ ## Required Frontmatter Fields (VALIDATION CHECKLIST)
61
+
62
+ Before creating a bolt, verify ALL required fields are present:
63
+
64
+ | Field | Required | Description |
65
+ |-------|----------|-------------|
66
+ | `id` | **YES** | Bolt identifier (format: `{BBB}-{unit-name}`) |
67
+ | `unit` | **YES** | Parent unit ID |
68
+ | `intent` | **YES** | Parent intent ID |
69
+ | `type` | **YES** | Bolt type (`ddd-construction-bolt` or `simple-construction-bolt`) |
70
+ | `status` | **YES** | Current status (`planned`, `in-progress`, `completed`, `blocked`) |
71
+ | `stories` | **YES** | Array of story IDs included in this bolt |
72
+ | `created` | **YES** | Creation timestamp |
73
+ | `requires_bolts` | **YES** | Array of bolt IDs this depends on (can be empty `[]`) |
74
+ | `enables_bolts` | **YES** | Array of bolt IDs waiting on this (can be empty `[]`) |
75
+ | `complexity` | **YES** | Complexity assessment block |
76
+
77
+ **If any required field is missing, the bolt is INVALID.**
78
+
79
+ ---
80
+
60
81
  ## Content
61
82
 
62
83
  ```markdown
@@ -270,6 +270,11 @@ created: {YYYY-MM-DDTHH:MM:SSZ}
270
270
  - **Tests**: {passed}/{total} passed
271
271
  - **Coverage**: {percentage}%
272
272
 
273
+ ### Test Files
274
+
275
+ - [x] `{path/to/test-file.test.ts}` - {what this test file covers}
276
+ - [x] `{path/to/another.test.ts}` - {what this test file covers}
277
+
273
278
  ### Acceptance Criteria Validation
274
279
 
275
280
  - ✅/❌ **{Criterion}**: {Status}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specsmd",
3
- "version": "0.0.0-dev.6",
3
+ "version": "0.0.0-dev.8",
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": {