diff --git a/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md b/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md index 218b234ab..3457b0eed 100644 --- a/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md +++ b/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md @@ -10,7 +10,7 @@ description: 'Execute story implementation following a context filled story spec **Your Role:** Developer implementing the story. - Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level} - Generate all documents in {document_output_language} -- Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status +- 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 - Execute ALL steps in exact order; do NOT skip steps - 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. - Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 9 decides completion. @@ -75,7 +75,7 @@ Activation is complete. Begin the workflow below. Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level} Generate all documents in {document_output_language} - Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, + 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 Execute ALL steps in exact order; do NOT skip steps Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution @@ -260,26 +260,40 @@ Activation is complete. Begin the workflow below. + If story file YAML frontmatter already contains `baseline_commit`, preserve the existing value and do not overwrite it + Load the FULL file: {{sprint_status}} Read all development_status entries to find {{story_key}} - Get current status value for development_status[{{story_key}}] + Set {{current_status}} to development_status[{{story_key}}] + - + + Set {{current_status}} to the story file Status section value + + + + Run `git rev-parse HEAD` to capture current commit into {{baseline_commit}}; if git/version control is unavailable, set {{baseline_commit}} = `NO_VCS` + If story file YAML frontmatter exists, add `baseline_commit: {{baseline_commit}}` to the frontmatter + If story file has no YAML frontmatter, create frontmatter at the top containing only `baseline_commit: {{baseline_commit}}` + + + + Update the story in the sprint status report to = "in-progress" Update last_updated field to current date 🚀 Starting work on story {{story_key}} - Status updated: ready-for-dev → in-progress + Status updated: {{current_status}} → in-progress - + ⏯️ Resuming work on story {{story_key}} Story is already marked in-progress - + ⚠️ Unexpected story status: {{current_status}} Expected ready-for-dev or in-progress. Continuing anyway...