bmad-method 6.7.1-next.8 → 6.7.1-next.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "6.7.1-next.8",
4
+ "version": "6.7.1-next.9",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -10,7 +10,7 @@ description: 'Execute story implementation following a context filled story spec
10
10
  **Your Role:** Developer implementing the story.
11
11
  - Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}
12
12
  - Generate all documents in {document_output_language}
13
- - Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status
13
+ - Only modify the story file in these areas: YAML frontmatter `baseline_commit`, Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status
14
14
  - Execute ALL steps in exact order; do NOT skip steps
15
15
  - Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives other instruction.
16
16
  - Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 9 decides completion.
@@ -76,7 +76,7 @@ Activation is complete. If `activation_steps_prepend` or `activation_steps_appen
76
76
  <workflow>
77
77
  <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
78
78
  <critical>Generate all documents in {document_output_language}</critical>
79
- <critical>Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List,
79
+ <critical>Only modify the story file in these areas: YAML frontmatter `baseline_commit`, Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List,
80
80
  Change Log, and Status</critical>
81
81
  <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
82
82
  <critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution
@@ -261,26 +261,40 @@ Activation is complete. If `activation_steps_prepend` or `activation_steps_appen
261
261
  </step>
262
262
 
263
263
  <step n="4" goal="Mark story in-progress" tag="sprint-status">
264
+ <action>If story file YAML frontmatter already contains `baseline_commit`, preserve the existing value and do not overwrite it</action>
265
+
264
266
  <check if="{{sprint_status}} file exists">
265
267
  <action>Load the FULL file: {{sprint_status}}</action>
266
268
  <action>Read all development_status entries to find {{story_key}}</action>
267
- <action>Get current status value for development_status[{{story_key}}]</action>
269
+ <action>Set {{current_status}} to development_status[{{story_key}}]</action>
270
+ </check>
271
+
272
+ <check if="{{sprint_status}} file does NOT exist">
273
+ <action>Set {{current_status}} to the story file Status section value</action>
274
+ </check>
275
+
276
+ <check if="{{current_status}} == 'ready-for-dev' AND story file YAML frontmatter does NOT contain baseline_commit">
277
+ <action>Run `git rev-parse HEAD` to capture current commit into {{baseline_commit}}; if git/version control is unavailable, set {{baseline_commit}} = `NO_VCS`</action>
278
+ <action>If story file YAML frontmatter exists, add `baseline_commit: {{baseline_commit}}` to the frontmatter</action>
279
+ <action>If story file has no YAML frontmatter, create frontmatter at the top containing only `baseline_commit: {{baseline_commit}}`</action>
280
+ </check>
268
281
 
269
- <check if="current status == 'ready-for-dev' OR review_continuation == true">
282
+ <check if="{{sprint_status}} file exists">
283
+ <check if="{{current_status}} == 'ready-for-dev' OR (review_continuation == true AND {{current_status}} != 'in-progress')">
270
284
  <action>Update the story in the sprint status report to = "in-progress"</action>
271
285
  <action>Update last_updated field to current date</action>
272
286
  <output>🚀 Starting work on story {{story_key}}
273
- Status updated: ready-for-dev → in-progress
287
+ Status updated: {{current_status}} → in-progress
274
288
  </output>
275
289
  </check>
276
290
 
277
- <check if="current status == 'in-progress'">
291
+ <check if="{{current_status}} == 'in-progress'">
278
292
  <output>⏯️ Resuming work on story {{story_key}}
279
293
  Story is already marked in-progress
280
294
  </output>
281
295
  </check>
282
296
 
283
- <check if="current status is neither ready-for-dev nor in-progress">
297
+ <check if="{{current_status}} is neither ready-for-dev nor in-progress">
284
298
  <output>⚠️ Unexpected story status: {{current_status}}
285
299
  Expected ready-for-dev or in-progress. Continuing anyway...
286
300
  </output>