# Workflow Status - Lightweight Status Checker
name: workflow-status
description: "Lightweight status checker - answers \"what should I do now?\" for any agent. Reads YAML status file for workflow tracking. Use workflow-init for new projects."
author: "BMad"

# Critical variables from config
config_source: "{project-root}/_bmad/core/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"
date: system-generated
implementation_artifacts: "{output_folder}/implementation-artifacts"
planning_artifacts: "{output_folder}/planning-artifacts"

# Workflow components
installed_path: "{project-root}/_bmad/bmm/workflows/workflow-status"
instructions: "{installed_path}/instructions.md"

# Inputs
variables:
  workflow_path: "{planning_artifacts}/workflow-path.yaml"
  sprint_status_file: "{implementation_artifacts}/sprint-status.yaml"

# Smart input file references
input_file_patterns:
  workflow_path:
    description: "Workflow path configuration from workflow-init"
    whole: "{planning_artifacts}/workflow-path.yaml"
    load_strategy: "FULL_LOAD"

  sprint_status:
    description: "Sprint status file generated by sprint-planning"
    whole: "{implementation_artifacts}/sprint-status.yaml"
    load_strategy: "FULL_LOAD"

# Standalone workflow
standalone: true
