bmad-auto-copilot 1.0.4 → 1.0.6

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,6 +1,6 @@
1
1
  {
2
2
  "name": "bmad-auto-copilot",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Automated BMAD story development loop using GitHub Copilot CLI — install into any BMAD project",
5
5
  "keywords": [
6
6
  "bmad",
@@ -360,11 +360,11 @@ for ((iteration=1; iteration<=MAX_ITERATIONS; iteration++)); do
360
360
  "code-review")
361
361
  log "[ACTION] CODE REVIEW (Dev Agent → new session)" "yellow"
362
362
  # Capture story key before review (it's in 'review' state now)
363
- local review_story_key=$(get_story_key_for_state "review")
363
+ review_story_key=$(get_story_key_for_state "review")
364
364
  invoke_copilot "bmad-agent-bmm-dev" "$PROMPT_DIR/code-review.md" "code-review"
365
365
 
366
366
  # Only commit if the story actually moved to 'done'
367
- local current_state=$(grep -E "^\s*${review_story_key}:" "$SPRINT_STATUS_PATH" | sed 's/.*: *//' | tr -d ' \r')
367
+ current_state=$(grep -E "^\s*${review_story_key}:" "$SPRINT_STATUS_PATH" | sed 's/.*: *//' | tr -d ' \r')
368
368
  if [[ "$current_state" == "done" ]]; then
369
369
  log "[VERIFIED] Story $review_story_key confirmed DONE" "green"
370
370
  invoke_git_commit "$review_story_key"