@ikunin/sprintpilot 2.2.7 → 2.2.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.
@@ -157,7 +157,17 @@ function verifyCreateStory(state, _out, ctx) {
157
157
  else {
158
158
  const text = readFileSafe(ctx.fs, state.story_file_path);
159
159
  const fm = frontMatter(text);
160
- if (!fm) issues.push('story file missing YAML front-matter');
160
+ // Escape hatch: when the LLM sends verify_override with evidence
161
+ // {acknowledge_missing_front_matter: true, decision_log_ref: '...'},
162
+ // skip the front-matter check ONLY for this verification call. AC +
163
+ // Tasks checks still run. Auditable via the verify_override ledger
164
+ // entry which captures evidence verbatim. Used when bmad-create-story
165
+ // can't or won't regenerate front-matter (e.g., legacy story files
166
+ // in repos that pre-date the front-matter convention and have a
167
+ // body the skill wants to preserve).
168
+ const override = ctx.augmented || {};
169
+ const ackMissingFm = override && override.acknowledge_missing_front_matter === true;
170
+ if (!fm && !ackMissingFm) issues.push('story file missing YAML front-matter');
161
171
  // AC presence — look for "## Acceptance Criteria" section with at least one bullet.
162
172
  if (text && !/##\s+Acceptance Criteria[\s\S]*?\n-\s+/.test(text)) {
163
173
  issues.push('Acceptance Criteria section missing or empty');
@@ -1,6 +1,6 @@
1
1
  addon:
2
2
  name: sprintpilot
3
- version: 2.2.7
3
+ version: 2.2.8
4
4
  description: Sprintpilot — autopilot and multi-agent addon for BMad Method (git workflow, parallel agents, autonomous story execution)
5
5
  bmad_compatibility: ">=6.2.0"
6
6
  modules:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikunin/sprintpilot",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "Sprintpilot — autopilot and multi-agent addon for BMad Method v6: git workflow, parallel agents, autonomous story execution",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {