workflow.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Retrospective - Epic Completion Review Workflow
  2. name: "retrospective"
  3. description: "Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic"
  4. author: "BMad"
  5. config_source: "{project-root}/_bmad/bmm/config.yaml"
  6. output_folder: "{config_source}:implementation_artifacts}"
  7. user_name: "{config_source}:user_name"
  8. communication_language: "{config_source}:communication_language"
  9. user_skill_level: "{config_source}:user_skill_level"
  10. document_output_language: "{config_source}:document_output_language"
  11. date: system-generated
  12. planning_artifacts: "{config_source}:planning_artifacts"
  13. implementation_artifacts: "{config_source}:implementation_artifacts"
  14. installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/retrospective"
  15. template: false
  16. instructions: "{installed_path}/instructions.md"
  17. required_inputs:
  18. - agent_manifest: "{project-root}/_bmad/_config/agent-manifest.csv"
  19. # Smart input file references - handles both whole docs and sharded docs
  20. # Priority: Whole document first, then sharded version
  21. # Strategy: SELECTIVE LOAD - only load the completed epic and relevant retrospectives
  22. input_file_patterns:
  23. epics:
  24. description: "The completed epic for retrospective"
  25. whole: "{planning_artifacts}/*epic*.md"
  26. sharded_index: "{planning_artifacts}/*epic*/index.md"
  27. sharded_single: "{planning_artifacts}/*epic*/epic-{{epic_num}}.md"
  28. load_strategy: "SELECTIVE_LOAD"
  29. previous_retrospective:
  30. description: "Previous epic's retrospective (optional)"
  31. pattern: "{implementation_artifacts}/**/epic-{{prev_epic_num}}-retro-*.md"
  32. load_strategy: "SELECTIVE_LOAD"
  33. architecture:
  34. description: "System architecture for context"
  35. whole: "{planning_artifacts}/*architecture*.md"
  36. sharded: "{planning_artifacts}/*architecture*/*.md"
  37. load_strategy: "FULL_LOAD"
  38. prd:
  39. description: "Product requirements for context"
  40. whole: "{planning_artifacts}/*prd*.md"
  41. sharded: "{planning_artifacts}/*prd*/*.md"
  42. load_strategy: "FULL_LOAD"
  43. document_project:
  44. description: "Brownfield project documentation (optional)"
  45. sharded: "{planning_artifacts}/*.md"
  46. load_strategy: "INDEX_GUIDED"
  47. # Required files
  48. sprint_status_file: "{implementation_artifacts}/sprint-status.yaml"
  49. story_directory: "{implementation_artifacts}"
  50. retrospectives_folder: "{implementation_artifacts}"
  51. standalone: true