# retrospective Workflow Rule This rule defines the retrospective workflow. ## Workflow Description Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic ## Workflow Definition # Retrospective - Epic Completion Review Workflow name: "retrospective" description: "Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic" author: "BMad" 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" user_skill_level: "{config_source}:user_skill_level" document_output_language: "{config_source}:document_output_language" date: system-generated ephemeral_files: "{config_source}:dev_ephemeral_location" installed_path: "{project-root}/.bmad/bmm/workflows/4-implementation/retrospective" template: false instructions: "{installed_path}/instructions.md" mode: interactive trigger: "Run AFTER completing an epic" required_inputs: - agent_manifest: "{project-root}/.bmad/_cfg/agent-manifest.csv" # Smart input file references - handles both whole docs and sharded docs # Priority: Whole document first, then sharded version # Strategy: SELECTIVE LOAD - only load the completed epic and relevant retrospectives input_file_patterns: epics: whole: "{output_folder}/*epic*.md" sharded_index: "{output_folder}/*epic*/index.md" sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md" previous_retrospective: pattern: "{ephemeral_files}/retrospectives/epic-{{prev_epic_num}}-retro-*.md" architecture: whole: "{output_folder}/*architecture*.md" sharded: "{output_folder}/*architecture*/index.md" prd: whole: "{output_folder}/*prd*.md" sharded: "{output_folder}/*prd*/index.md" document_project: sharded: "{output_folder}/docs/index.md" # Required files sprint_status_file: "{context_dir}/sprint-status.yaml || {output_folder}/sprint-status.yaml" story_directory: "{ephemeral_files}/stories" retrospectives_folder: "{ephemeral_files}/retrospectives" output_artifacts: - retrospective_summary: "Comprehensive review of what went well and what could improve" - lessons_learned: "Key insights for future epics" - action_items: "Specific improvements with ownership" - next_epic_preparation: "Dependencies, gaps, and preparation tasks for next epic" - critical_path: "Blockers or prerequisites that must be addressed" facilitation: facilitator: "Bob (Scrum Master)" tone: "Psychological safety - no blame, focus on systems and processes" format: "Two-part: (1) Review completed epic + (2) Preview next epic preparation" validation_required: - testing_complete: "Has full regression testing been completed?" - deployment_status: "Has epic been deployed to production?" - business_validation: "Have stakeholders reviewed and accepted deliverables?" - technical_health: "Is codebase in stable, maintainable state?" - blocker_resolution: "Any unresolved blockers that will impact next epic?" standalone: true ## Usage Reference this workflow with `@workflow-retrospective` to execute the guided workflow. ## Module Part of the BMAD BMM module.