name: dev-story
description: "Execute a story by implementing tasks/subtasks, writing tests, validating, and updating the story file per acceptance criteria"
author: "BMad"

# Critical variables from config
config_source: "{project-root}/bmad/bmm/config.yaml"
output_folder: "{config_source}:output_folder"
user_name: "{config_source}:user_name"
communication_language: "{config_source}:communication_language"
document_output_language: "{config_source}:document_output_language"
user_skill_level: "{config_source}:user_skill_level"
date: system-generated

# Workflow components
installed_path: "{project-root}/bmad/bmm/workflows/4-implementation/dev-story"
instructions: "{installed_path}/instructions.md"
validation: "{installed_path}/checklist.md"

# This is an action workflow (no output template document)
template: false

# Variables (can be provided by caller)
variables:
  story_path: ""
  run_tests_command: "auto" # 'auto' = infer from repo, or override with explicit command
  strict: true # if true, halt on validation failures
  story_dir: "{config_source}:dev_story_location" # Directory containing story markdown files
  story_selection_limit: 10
  run_until_complete: false # Continue through all tasks without pausing except on HALT conditions
  force_yolo: false # Hint executor to activate #yolo: skip optional prompts and elicitation

# Recommended inputs
recommended_inputs:
  - story_markdown: "Path to the story markdown file (Tasks/Subtasks, Acceptance Criteria present)"

web_bundle: false
