bms-speckit-plugin 4.0.0 → 4.0.2

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.
@@ -20,7 +20,7 @@ chain_sequence:
20
20
 
21
21
  # ── Phase 1: Specification & Planning (subagent context) ──────────────────
22
22
 
23
- - step_id: step_0_brainstorm
23
+ - step_id: step_1_brainstorm
24
24
  skill_id: superpowers.brainstorm
25
25
  action: execute
26
26
  phase: 1
@@ -38,7 +38,7 @@ chain_sequence:
38
38
  Write a detailed specification from the user's requirement.
39
39
  Explore edge cases, constraints, and design alternatives.
40
40
 
41
- - step_id: step_1_constitution
41
+ - step_id: step_2_constitution
42
42
  skill_id: speckit.constitution
43
43
  action: execute
44
44
  phase: 1
@@ -71,7 +71,7 @@ chain_sequence:
71
71
  TDD is non-negotiable. Constitution must enforce testing at all levels,
72
72
  atomic commits, reusable components, and centralized business logic.
73
73
 
74
- - step_id: step_2_claude_md_sync
74
+ - step_id: step_3_claude_md_sync
75
75
  skill_id: internal.claude_md_verify
76
76
  action: execute
77
77
  phase: 1
@@ -88,14 +88,14 @@ chain_sequence:
88
88
  Read CLAUDE.md and verify it complies with specs/constitution.md.
89
89
  Update CLAUDE.md if it conflicts with or is missing constitution rules.
90
90
 
91
- - step_id: step_3_specify
91
+ - step_id: step_4_specify
92
92
  skill_id: speckit.specify
93
93
  action: execute
94
94
  phase: 1
95
- description: Create feature specification from requirement
95
+ description: Create feature specification from brainstorm output
96
96
  timeout_seconds: 300
97
97
  input:
98
- requirement: "$ARGUMENTS"
98
+ requirement: "{{step_1_brainstorm.output}}"
99
99
  output:
100
100
  artifacts: [specs/*/spec.md]
101
101
  error_handling:
@@ -106,14 +106,14 @@ chain_sequence:
106
106
  Generate a complete, testable specification. Include acceptance criteria,
107
107
  data models, API contracts, and edge cases.
108
108
 
109
- - step_id: step_4_plan
109
+ - step_id: step_5_plan
110
110
  skill_id: speckit.plan
111
111
  action: execute
112
112
  phase: 1
113
113
  description: Generate implementation plan from specification
114
114
  timeout_seconds: 300
115
115
  input:
116
- source: "{{step_3_specify.artifacts}}"
116
+ source: "{{step_4_specify.artifacts}}"
117
117
  output:
118
118
  artifacts: [specs/*/plan.md]
119
119
  error_handling:
@@ -124,14 +124,14 @@ chain_sequence:
124
124
  Plan in ordered steps. Include file paths, component boundaries,
125
125
  test strategy, and rollback considerations.
126
126
 
127
- - step_id: step_5_tasks
127
+ - step_id: step_6_tasks
128
128
  skill_id: speckit.tasks
129
129
  action: execute
130
130
  phase: 1
131
131
  description: Generate dependency-ordered task list
132
132
  timeout_seconds: 300
133
133
  input:
134
- source: "{{step_4_plan.artifacts}}"
134
+ source: "{{step_5_plan.artifacts}}"
135
135
  output:
136
136
  artifacts: [specs/*/tasks.md]
137
137
  error_handling:
@@ -142,14 +142,14 @@ chain_sequence:
142
142
  Tasks must be atomic, dependency-ordered, and each independently testable.
143
143
  Include clear acceptance criteria per task.
144
144
 
145
- - step_id: step_6_analyze
145
+ - step_id: step_7_analyze
146
146
  skill_id: speckit.analyze
147
147
  action: execute
148
148
  phase: 1
149
149
  description: Cross-artifact consistency and quality check
150
150
  timeout_seconds: 300
151
151
  input:
152
- source: "{{step_5_tasks.artifacts}}"
152
+ source: "{{step_6_tasks.artifacts}}"
153
153
  output:
154
154
  artifacts: [analysis_report]
155
155
  error_handling:
@@ -160,7 +160,7 @@ chain_sequence:
160
160
  Check spec ↔ plan ↔ tasks consistency. Flag gaps, contradictions,
161
161
  and missing test coverage. Non-destructive — report only.
162
162
 
163
- - step_id: step_7_commit
163
+ - step_id: step_8_commit
164
164
  skill_id: internal.git_commit_push
165
165
  action: execute
166
166
  phase: 1
@@ -176,7 +176,7 @@ chain_sequence:
176
176
 
177
177
  # ── Phase 2: Implementation (main context) ────────────────────────────────
178
178
 
179
- - step_id: step_8_compact
179
+ - step_id: step_9_compact
180
180
  skill_id: internal.compact
181
181
  action: execute
182
182
  phase: 2
@@ -186,7 +186,7 @@ chain_sequence:
186
186
  on_failure: continue
187
187
  max_retries: 0
188
188
 
189
- - step_id: step_9_implement
189
+ - step_id: step_10_implement
190
190
  skill_id: speckit.implement
191
191
  action: execute_loop
192
192
  phase: 2
@@ -213,7 +213,7 @@ chain_sequence:
213
213
  apply improvements, re-run all tests, confirm zero regression.
214
214
  Only output FINISHED after everything is validated.
215
215
 
216
- - step_id: step_10_verify
216
+ - step_id: step_11_verify
217
217
  skill_id: speckit.analyze
218
218
  action: execute
219
219
  phase: 2
@@ -237,11 +237,11 @@ metadata:
237
237
  phases:
238
238
  phase_1:
239
239
  name: Specification & Planning
240
- steps: [step_0 through step_7]
240
+ steps: [step_1 through step_8]
241
241
  execution: subagent
242
242
  reason: Preserve main context window for implementation
243
243
  phase_2:
244
244
  name: Implementation & Verification
245
- steps: [step_8 through step_10]
245
+ steps: [step_9 through step_11]
246
246
  execution: main_context
247
247
  reason: Implementation needs full tool access and ralph-loop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bms-speckit-plugin",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Chain-orchestrated development pipeline: /bms-speckit takes requirements and runs brainstorm → constitution → specify → plan → tasks → analyze → implement → verify with per-step error handling",
5
5
  "files": [
6
6
  ".claude-plugin/",
@@ -14,7 +14,7 @@ Chain blueprint: `blueprints/bms-speckit-pipeline.yaml`
14
14
  3. On step failure, check the **error policy** before proceeding:
15
15
  - `on_failure: stop` → halt the chain and report which step failed
16
16
  - `on_failure: continue` → log the failure and proceed to next step
17
- 4. Pass `$ARGUMENTS` (the user's requirement) only to steps that accept `requirement` input (step 0 and step 3)
17
+ 4. Pass `$ARGUMENTS` (the user's requirement) to step 1 (brainstorm). Step 4 (specify) receives the **output from step 1**, not raw `$ARGUMENTS`
18
18
  5. Do NOT ask for confirmation between steps
19
19
 
20
20
  ---
@@ -28,50 +28,50 @@ Subagent prompt:
28
28
  """
29
29
  You are running the BMS Speckit specification and planning chain. Execute each step in order using the Skill tool. Do NOT ask for confirmation. Follow error handling policies exactly.
30
30
 
31
- ### Step 0 — Brainstorm `[on_failure: STOP]`
31
+ ### Step 1 — Brainstorm `[on_failure: STOP]`
32
32
  - **Skill:** `superpowers.brainstorm`
33
33
  - **Input:** "$ARGUMENTS"
34
34
  - **Purpose:** Explore intent, requirements, design alternatives, and edge cases
35
35
  - **Output:** Detailed specification document
36
36
  - **Timeout:** 300s
37
37
 
38
- ### Step 1 — Constitution `[on_failure: STOP]`
38
+ ### Step 2 — Constitution `[on_failure: STOP]`
39
39
  - **Skill:** `speckit.constitution`
40
40
  - **Input:** "Establish and enforce a comprehensive set of engineering principles that prioritize high code quality, strict adherence to Test-Driven Development (TDD) practices, and well-defined testing standards across unit, component, integration, and API levels to ensure system reliability and maintainability, maintain a consistent, user-friendly, and professional user interface aligned with strong user experience (UX) guidelines, optimize application performance through efficient architecture and resource management; enforce disciplined version control practices with frequent, atomic commits to minimize risk and improve traceability, promote the development and reuse of modular components and functions while centralizing business logic to avoid duplication and ensure consistency, provide clear, informative user feedback and progress reporting throughout system interactions, and leverage all available tools, frameworks, and domain-specific expertise to support developers in delivering robust, scalable, and high-quality applications."
41
41
  - **Output:** `specs/constitution.md`
42
42
  - **Timeout:** 300s
43
43
 
44
- ### Step 2 — CLAUDE.md Sync `[on_failure: CONTINUE]`
44
+ ### Step 3 — CLAUDE.md Sync `[on_failure: CONTINUE]`
45
45
  - **Action:** Read CLAUDE.md and verify it complies with the constitution in `specs/constitution.md`. Update CLAUDE.md if it conflicts with or is missing constitution rules.
46
46
  - **Timeout:** 120s
47
47
 
48
- ### Step 3 — Specify `[on_failure: STOP]`
48
+ ### Step 4 — Specify `[on_failure: STOP]`
49
49
  - **Skill:** `speckit.specify`
50
- - **Input:** "$ARGUMENTS"
50
+ - **Input:** Use the detailed specification output from Step 1 (brainstorm) as the argument
51
51
  - **Output:** `specs/*/spec.md`
52
52
  - **Timeout:** 300s
53
53
  - **Retry:** up to 2 attempts
54
54
 
55
- ### Step 4 — Plan `[on_failure: STOP]`
55
+ ### Step 5 — Plan `[on_failure: STOP]`
56
56
  - **Skill:** `speckit.plan`
57
- - **Input:** reads from step 3 artifacts
57
+ - **Input:** reads from step 4 artifacts
58
58
  - **Output:** `specs/*/plan.md`
59
59
  - **Timeout:** 300s
60
60
  - **Retry:** up to 2 attempts
61
61
 
62
- ### Step 5 — Tasks `[on_failure: STOP]`
62
+ ### Step 6 — Tasks `[on_failure: STOP]`
63
63
  - **Skill:** `speckit.tasks`
64
- - **Input:** reads from step 4 artifacts
64
+ - **Input:** reads from step 5 artifacts
65
65
  - **Output:** `specs/*/tasks.md`
66
66
  - **Timeout:** 300s
67
67
  - **Retry:** up to 2 attempts
68
68
 
69
- ### Step 6 — Analyze `[on_failure: CONTINUE]`
69
+ ### Step 7 — Analyze `[on_failure: CONTINUE]`
70
70
  - **Skill:** `speckit.analyze`
71
71
  - **Purpose:** Cross-artifact consistency check (spec ↔ plan ↔ tasks). Non-destructive — report only.
72
72
  - **Timeout:** 300s
73
73
 
74
- ### Step 7 — Commit & Push `[on_failure: CONTINUE]`
74
+ ### Step 8 — Commit & Push `[on_failure: CONTINUE]`
75
75
  - **Action:** Commit all files and push to remote if configured.
76
76
  - **Timeout:** 120s
77
77
 
@@ -84,10 +84,10 @@ After all steps complete, return: the feature name, number of tasks created, and
84
84
 
85
85
  > **Execution context:** Runs in main context after subagent completes.
86
86
 
87
- ### Step 8 — Compact `[on_failure: CONTINUE]`
87
+ ### Step 9 — Compact `[on_failure: CONTINUE]`
88
88
  - **Action:** Run `/compact` to free context window before implementation.
89
89
 
90
- ### Step 9 — Implement (loop) `[on_failure: CONTINUE | max_retries: 3]`
90
+ ### Step 10 — Implement (loop) `[on_failure: CONTINUE | max_retries: 3]`
91
91
  - **Engine:** ralph-loop
92
92
  - **Completion promise:** `FINISHED`
93
93
  - **Max iterations:** 10
@@ -102,12 +102,12 @@ After all steps complete, return: the feature name, number of tasks created, and
102
102
  ```
103
103
  Phase 1 (subagent) Phase 2 (main context)
104
104
  ───────────────────── ──────────────────────
105
- Step 0: brainstorm ──STOP──┐ Step 8: compact
106
- Step 1: constitution ─STOP─┤ Step 9: implement (ralph-loop)
107
- Step 2: CLAUDE.md sync ────┤ Step 10: verify (via step 9)
108
- Step 3: specify ──────STOP─┤
109
- Step 4: plan ─────────STOP─┤
110
- Step 5: tasks ────────STOP─┤
111
- Step 6: analyze ───────────┤
112
- Step 7: commit & push ─────┘
105
+ Step 1: brainstorm ──STOP──┐ Step 9: compact
106
+ Step 2: constitution ─STOP─┤ Step 10: implement (ralph-loop)
107
+ Step 3: CLAUDE.md sync ────┤ Step 11: verify (via step 10)
108
+ Step 4: specify ──────STOP─┤
109
+ Step 5: plan ─────────STOP─┤
110
+ Step 6: tasks ────────STOP─┤
111
+ Step 7: analyze ───────────┤
112
+ Step 8: commit & push ─────┘
113
113
  ```