workflow.yaml 2.2 KB

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