agile_config.yaml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. # AceFlow 敏捷集成配置
  2. # 支持Scrum、Kanban等敏捷框架与AceFlow的深度集成
  3. agile_frameworks:
  4. # Scrum框架集成
  5. scrum:
  6. name: "Scrum"
  7. description: "迭代式敏捷开发框架"
  8. # Sprint配置
  9. sprint_config:
  10. default_length: "2weeks"
  11. available_lengths: ["1week", "2weeks", "3weeks", "4weeks"]
  12. planning_time: "4hours" # Sprint Planning时间
  13. review_time: "2hours" # Sprint Review时间
  14. retro_time: "1hour" # Sprint Retrospective时间
  15. # 仪式映射到AceFlow阶段
  16. ceremonies_mapping:
  17. sprint_planning:
  18. aceflow_stage: "P" # 规划阶段
  19. duration: "2-4小时"
  20. participants: ["PO", "SM", "开发团队"]
  21. outputs:
  22. - "Sprint目标"
  23. - "Sprint Backlog"
  24. - "任务分解"
  25. daily_standup:
  26. aceflow_stage: "D" # 开发阶段检查点
  27. duration: "15分钟"
  28. frequency: "每日"
  29. participants: ["开发团队", "SM"]
  30. questions:
  31. - "昨天完成了什么?"
  32. - "今天计划做什么?"
  33. - "遇到什么阻碍?"
  34. sprint_review:
  35. aceflow_stage: "R" # 评审阶段
  36. duration: "1-2小时"
  37. participants: ["全体成员", "利益相关者"]
  38. outputs:
  39. - "产品增量演示"
  40. - "反馈收集"
  41. - "Product Backlog调整"
  42. sprint_retrospective:
  43. aceflow_stage: "R" # 评审阶段后续
  44. duration: "1小时"
  45. participants: ["Scrum团队"]
  46. outputs:
  47. - "改进行动项"
  48. - "团队反思"
  49. - "流程优化建议"
  50. # 角色定义
  51. roles:
  52. product_owner:
  53. name: "产品负责人"
  54. responsibilities:
  55. - "管理Product Backlog"
  56. - "定义验收标准"
  57. - "确定优先级"
  58. aceflow_permissions:
  59. - "创建用户故事"
  60. - "审批需求变更"
  61. - "验收最终交付"
  62. scrum_master:
  63. name: "Scrum Master"
  64. responsibilities:
  65. - "促进Scrum流程"
  66. - "移除阻碍"
  67. - "指导团队"
  68. aceflow_permissions:
  69. - "管理流程配置"
  70. - "查看所有阶段状态"
  71. - "协调跨阶段协作"
  72. development_team:
  73. name: "开发团队"
  74. responsibilities:
  75. - "交付产品增量"
  76. - "自组织工作"
  77. - "持续改进"
  78. aceflow_permissions:
  79. - "更新开发进度"
  80. - "记录技术决策"
  81. - "执行测试验证"
  82. # AceFlow阶段与Sprint的映射
  83. stage_sprint_mapping:
  84. # 轻量级模式映射
  85. minimal_mode:
  86. "P":
  87. sprint_phase: "Sprint Planning"
  88. typical_duration: "20%" # Sprint时间的20%
  89. key_activities:
  90. - "Story refinement"
  91. - "Task breakdown"
  92. - "Sprint goal setting"
  93. "D":
  94. sprint_phase: "Sprint Execution"
  95. typical_duration: "70%" # Sprint时间的70%
  96. key_activities:
  97. - "Daily development"
  98. - "Daily standups"
  99. - "Continuous integration"
  100. "R":
  101. sprint_phase: "Sprint Review & Retro"
  102. typical_duration: "10%" # Sprint时间的10%
  103. key_activities:
  104. - "Sprint review"
  105. - "Retrospective"
  106. - "Next sprint preparation"
  107. # Kanban框架集成
  108. kanban:
  109. name: "Kanban"
  110. description: "持续流动的敏捷开发方法"
  111. # 看板配置
  112. board_config:
  113. default_lanes:
  114. - id: "backlog"
  115. name: "待办事项"
  116. aceflow_stage: null
  117. wip_limit: null
  118. - id: "planning"
  119. name: "规划中"
  120. aceflow_stage: "P"
  121. wip_limit: 3
  122. - id: "development"
  123. name: "开发中"
  124. aceflow_stage: "D"
  125. wip_limit: 5
  126. - id: "review"
  127. name: "评审中"
  128. aceflow_stage: "R"
  129. wip_limit: 2
  130. - id: "done"
  131. name: "已完成"
  132. aceflow_stage: null
  133. wip_limit: null
  134. # WIP限制策略
  135. wip_limits:
  136. team_based:
  137. "1-3人": {"planning": 2, "development": 3, "review": 1}
  138. "4-6人": {"planning": 3, "development": 5, "review": 2}
  139. "7+人": {"planning": 4, "development": 7, "review": 3}
  140. complexity_based:
  141. "简单任务": {"multiplier": 0.8}
  142. "中等任务": {"multiplier": 1.0}
  143. "复杂任务": {"multiplier": 1.5}
  144. # 持续改进指标
  145. metrics:
  146. cycle_time:
  147. definition: "从开始到完成的总时间"
  148. target: "<= 5天"
  149. measurement: "自动计算"
  150. lead_time:
  151. definition: "从需求提出到交付的时间"
  152. target: "<= 10天"
  153. measurement: "自动计算"
  154. throughput:
  155. definition: "单位时间完成的工作项数量"
  156. target: ">= 2项/周"
  157. measurement: "周期性统计"
  158. wip_compliance:
  159. definition: "WIP限制的遵守情况"
  160. target: ">= 90%"
  161. measurement: "实时监控"
  162. # 通用敏捷配置
  163. common_agile_config:
  164. # 迭代配置
  165. iteration:
  166. auto_create_next: true
  167. burndown_tracking: true
  168. velocity_calculation: true
  169. retrospective_template: "standard"
  170. # 估算方法
  171. estimation:
  172. methods: ["故事点", "T恤尺寸", "理想天"]
  173. default_method: "故事点"
  174. fibonacci_scale: [1, 2, 3, 5, 8, 13, 21]
  175. planning_poker: true
  176. # 报告配置
  177. reporting:
  178. daily_reports: true
  179. sprint_reports: true
  180. velocity_charts: true
  181. burndown_charts: true
  182. cumulative_flow: true # Kanban特有
  183. # 通知配置
  184. notifications:
  185. sprint_start: true
  186. sprint_end: true
  187. wip_limit_exceeded: true
  188. blocked_items: true
  189. overdue_tasks: true
  190. # 工具集成配置
  191. tool_integrations:
  192. # Jira集成
  193. jira:
  194. enabled: false
  195. api_endpoint: ""
  196. authentication:
  197. type: "token" # token | oauth | basic
  198. credentials: {}
  199. sync_settings:
  200. bidirectional: true
  201. sync_frequency: "hourly"
  202. field_mapping:
  203. aceflow_stage: "status"
  204. aceflow_progress: "progress"
  205. aceflow_assignee: "assignee"
  206. # Azure DevOps集成
  207. azure_devops:
  208. enabled: false
  209. organization: ""
  210. project: ""
  211. sync_settings:
  212. work_item_types: ["User Story", "Task", "Bug"]
  213. area_path: ""
  214. iteration_path: ""
  215. # GitHub项目集成
  216. github_projects:
  217. enabled: false
  218. repository: ""
  219. project_number: null
  220. sync_settings:
  221. issue_sync: true
  222. pr_sync: true
  223. milestone_sync: true
  224. # 自定义敏捷框架模板
  225. custom_framework_template:
  226. name: "自定义框架"
  227. description: "根据团队需要自定义的敏捷框架"
  228. # 必需配置项
  229. required_config:
  230. - name: "iteration_length"
  231. type: "duration"
  232. description: "迭代周期长度"
  233. - name: "ceremonies"
  234. type: "list"
  235. description: "关键仪式列表"
  236. - name: "roles"
  237. type: "list"
  238. description: "团队角色定义"
  239. - name: "workflow_stages"
  240. type: "list"
  241. description: "工作流阶段"
  242. # 可选配置项
  243. optional_config:
  244. - name: "metrics"
  245. type: "object"
  246. description: "关键指标定义"
  247. - name: "tools"
  248. type: "list"
  249. description: "使用的工具列表"
  250. - name: "artifacts"
  251. type: "list"
  252. description: "产出物定义"
  253. # 敏捷成熟度评估
  254. maturity_assessment:
  255. levels:
  256. level_1:
  257. name: "起步级"
  258. description: "刚开始采用敏捷实践"
  259. indicators:
  260. - "基础敏捷仪式实施"
  261. - "团队角色明确"
  262. - "简单的迭代规划"
  263. recommendations:
  264. - "专注于基础实践"
  265. - "建立团队信任"
  266. - "简化流程"
  267. level_2:
  268. name: "发展级"
  269. description: "敏捷实践逐渐成熟"
  270. indicators:
  271. - "稳定的迭代节奏"
  272. - "有效的回顾改进"
  273. - "基础指标跟踪"
  274. recommendations:
  275. - "引入高级实践"
  276. - "优化团队协作"
  277. - "数据驱动改进"
  278. level_3:
  279. name: "成熟级"
  280. description: "敏捷实践高度成熟"
  281. indicators:
  282. - "自组织团队"
  283. - "持续改进文化"
  284. - "价值交付优化"
  285. recommendations:
  286. - "探索创新实践"
  287. - "跨团队协作"
  288. - "组织级敏捷"
  289. # 配置验证规则
  290. validation_rules:
  291. sprint_length:
  292. min: "1week"
  293. max: "4weeks"
  294. recommended: "2weeks"
  295. wip_limits:
  296. min_ratio: 0.5 # 最小WIP限制相对团队大小
  297. max_ratio: 2.0 # 最大WIP限制相对团队大小
  298. ceremony_duration:
  299. planning:
  300. ratio: 0.05 # Sprint长度的5%
  301. max: "8hours"
  302. review:
  303. ratio: 0.025 # Sprint长度的2.5%
  304. max: "4hours"
  305. retrospective:
  306. ratio: 0.0125 # Sprint长度的1.25%
  307. max: "3hours"