gaia-framework 1.57.0 → 1.57.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/README.md +1 -1
  2. package/bin/gaia-framework.js +27 -19
  3. package/gaia-install.sh +1 -1
  4. package/package.json +15 -11
  5. package/.claude/commands/gaia-a11y-testing.md +0 -17
  6. package/.claude/commands/gaia-action-items.md +0 -23
  7. package/.claude/commands/gaia-add-feature.md +0 -17
  8. package/.claude/commands/gaia-add-stories.md +0 -17
  9. package/.claude/commands/gaia-advanced-elicitation.md +0 -17
  10. package/.claude/commands/gaia-adversarial.md +0 -15
  11. package/.claude/commands/gaia-agent-analyst.md +0 -14
  12. package/.claude/commands/gaia-agent-architect.md +0 -14
  13. package/.claude/commands/gaia-agent-brainstorming.md +0 -14
  14. package/.claude/commands/gaia-agent-data-engineer.md +0 -14
  15. package/.claude/commands/gaia-agent-design-thinking.md +0 -14
  16. package/.claude/commands/gaia-agent-dev-angular.md +0 -14
  17. package/.claude/commands/gaia-agent-dev-flutter.md +0 -14
  18. package/.claude/commands/gaia-agent-dev-go.md +0 -14
  19. package/.claude/commands/gaia-agent-dev-java.md +0 -14
  20. package/.claude/commands/gaia-agent-dev-mobile.md +0 -14
  21. package/.claude/commands/gaia-agent-dev-python.md +0 -14
  22. package/.claude/commands/gaia-agent-dev-typescript.md +0 -14
  23. package/.claude/commands/gaia-agent-devops.md +0 -14
  24. package/.claude/commands/gaia-agent-innovation.md +0 -14
  25. package/.claude/commands/gaia-agent-performance.md +0 -14
  26. package/.claude/commands/gaia-agent-pm.md +0 -14
  27. package/.claude/commands/gaia-agent-presentation.md +0 -14
  28. package/.claude/commands/gaia-agent-problem-solver.md +0 -14
  29. package/.claude/commands/gaia-agent-qa.md +0 -14
  30. package/.claude/commands/gaia-agent-security.md +0 -14
  31. package/.claude/commands/gaia-agent-sm.md +0 -14
  32. package/.claude/commands/gaia-agent-storyteller.md +0 -14
  33. package/.claude/commands/gaia-agent-tech-writer.md +0 -14
  34. package/.claude/commands/gaia-agent-test-architect.md +0 -14
  35. package/.claude/commands/gaia-agent-ux-designer.md +0 -14
  36. package/.claude/commands/gaia-agent-validator.md +0 -14
  37. package/.claude/commands/gaia-atdd.md +0 -17
  38. package/.claude/commands/gaia-brainstorm.md +0 -17
  39. package/.claude/commands/gaia-brainstorming.md +0 -17
  40. package/.claude/commands/gaia-brownfield.md +0 -17
  41. package/.claude/commands/gaia-build-configs.md +0 -22
  42. package/.claude/commands/gaia-change-request.md +0 -11
  43. package/.claude/commands/gaia-changelog.md +0 -16
  44. package/.claude/commands/gaia-check-dod.md +0 -17
  45. package/.claude/commands/gaia-check-review-gate.md +0 -17
  46. package/.claude/commands/gaia-ci-setup.md +0 -17
  47. package/.claude/commands/gaia-code-review.md +0 -17
  48. package/.claude/commands/gaia-correct-course.md +0 -17
  49. package/.claude/commands/gaia-create-arch.md +0 -17
  50. package/.claude/commands/gaia-create-epics.md +0 -17
  51. package/.claude/commands/gaia-create-prd.md +0 -17
  52. package/.claude/commands/gaia-create-story.md +0 -23
  53. package/.claude/commands/gaia-create-ux.md +0 -17
  54. package/.claude/commands/gaia-creative-sprint.md +0 -17
  55. package/.claude/commands/gaia-deploy-checklist.md +0 -17
  56. package/.claude/commands/gaia-design-thinking.md +0 -17
  57. package/.claude/commands/gaia-dev-story.md +0 -23
  58. package/.claude/commands/gaia-document-project.md +0 -17
  59. package/.claude/commands/gaia-domain-research.md +0 -17
  60. package/.claude/commands/gaia-edge-cases.md +0 -15
  61. package/.claude/commands/gaia-edit-arch.md +0 -17
  62. package/.claude/commands/gaia-edit-prd.md +0 -17
  63. package/.claude/commands/gaia-edit-test-plan.md +0 -17
  64. package/.claude/commands/gaia-editorial-prose.md +0 -15
  65. package/.claude/commands/gaia-editorial-structure.md +0 -15
  66. package/.claude/commands/gaia-epic-status.md +0 -17
  67. package/.claude/commands/gaia-fix-story.md +0 -17
  68. package/.claude/commands/gaia-help.md +0 -15
  69. package/.claude/commands/gaia-index-docs.md +0 -15
  70. package/.claude/commands/gaia-infra-design.md +0 -17
  71. package/.claude/commands/gaia-innovation.md +0 -17
  72. package/.claude/commands/gaia-market-research.md +0 -17
  73. package/.claude/commands/gaia-memory-hygiene.md +0 -17
  74. package/.claude/commands/gaia-merge-docs.md +0 -16
  75. package/.claude/commands/gaia-mobile-testing.md +0 -17
  76. package/.claude/commands/gaia-nfr.md +0 -17
  77. package/.claude/commands/gaia-party.md +0 -17
  78. package/.claude/commands/gaia-perf-testing.md +0 -17
  79. package/.claude/commands/gaia-performance-review.md +0 -17
  80. package/.claude/commands/gaia-pitch-deck.md +0 -17
  81. package/.claude/commands/gaia-post-deploy.md +0 -17
  82. package/.claude/commands/gaia-problem-solving.md +0 -17
  83. package/.claude/commands/gaia-product-brief.md +0 -17
  84. package/.claude/commands/gaia-project-context.md +0 -17
  85. package/.claude/commands/gaia-qa-tests.md +0 -17
  86. package/.claude/commands/gaia-quick-dev.md +0 -17
  87. package/.claude/commands/gaia-quick-spec.md +0 -17
  88. package/.claude/commands/gaia-readiness-check.md +0 -17
  89. package/.claude/commands/gaia-refresh-ground-truth.md +0 -17
  90. package/.claude/commands/gaia-release-plan.md +0 -17
  91. package/.claude/commands/gaia-resume.md +0 -25
  92. package/.claude/commands/gaia-retro.md +0 -20
  93. package/.claude/commands/gaia-review-a11y.md +0 -16
  94. package/.claude/commands/gaia-review-api.md +0 -16
  95. package/.claude/commands/gaia-review-deps.md +0 -16
  96. package/.claude/commands/gaia-review-perf.md +0 -16
  97. package/.claude/commands/gaia-review-security.md +0 -16
  98. package/.claude/commands/gaia-rollback-plan.md +0 -17
  99. package/.claude/commands/gaia-run-all-reviews.md +0 -17
  100. package/.claude/commands/gaia-security-review.md +0 -17
  101. package/.claude/commands/gaia-shard-doc.md +0 -15
  102. package/.claude/commands/gaia-slide-deck.md +0 -17
  103. package/.claude/commands/gaia-sprint-plan.md +0 -17
  104. package/.claude/commands/gaia-sprint-status.md +0 -17
  105. package/.claude/commands/gaia-storytelling.md +0 -17
  106. package/.claude/commands/gaia-summarize.md +0 -16
  107. package/.claude/commands/gaia-teach-testing.md +0 -17
  108. package/.claude/commands/gaia-tech-debt-review.md +0 -20
  109. package/.claude/commands/gaia-tech-research.md +0 -17
  110. package/.claude/commands/gaia-test-automate.md +0 -17
  111. package/.claude/commands/gaia-test-design.md +0 -17
  112. package/.claude/commands/gaia-test-framework.md +0 -17
  113. package/.claude/commands/gaia-test-review.md +0 -17
  114. package/.claude/commands/gaia-threat-model.md +0 -17
  115. package/.claude/commands/gaia-trace.md +0 -17
  116. package/.claude/commands/gaia-triage-findings.md +0 -20
  117. package/.claude/commands/gaia-val-validate-plan.md +0 -17
  118. package/.claude/commands/gaia-val-validate.md +0 -17
  119. package/.claude/commands/gaia-validate-framework.md +0 -17
  120. package/.claude/commands/gaia-validate-prd.md +0 -17
  121. package/.claude/commands/gaia-validate-story.md +0 -22
  122. package/.claude/commands/gaia.md +0 -32
  123. package/CLAUDE.md +0 -165
  124. package/_gaia/_config/agent-manifest.csv +0 -29
  125. package/_gaia/_config/agents/CUSTOMIZATION-README.md +0 -117
  126. package/_gaia/_config/files-manifest.csv +0 -30
  127. package/_gaia/_config/gaia-help.csv +0 -82
  128. package/_gaia/_config/global.yaml +0 -45
  129. package/_gaia/_config/lifecycle-sequence.yaml +0 -593
  130. package/_gaia/_config/manifest.yaml +0 -24
  131. package/_gaia/_config/skill-manifest.csv +0 -12
  132. package/_gaia/_config/task-manifest.csv +0 -17
  133. package/_gaia/_config/workflow-manifest.csv +0 -73
  134. package/_gaia/_memory/tier2-results/.gitkeep +0 -0
  135. package/_gaia/_memory/tier2-results/checkpoint-resume-2026-03-24.yaml +0 -6
  136. package/_gaia/_memory/tier2-results/engine-scenarios-2026-03-22.yaml +0 -14
  137. package/_gaia/core/.resolved/.gitkeep +0 -0
  138. package/_gaia/core/agents/orchestrator.md +0 -303
  139. package/_gaia/core/config.yaml +0 -8
  140. package/_gaia/core/engine/error-recovery.xml +0 -28
  141. package/_gaia/core/engine/protocols/discover-inputs.xml +0 -31
  142. package/_gaia/core/engine/protocols/handoff.xml +0 -21
  143. package/_gaia/core/engine/protocols/preflight-check.xml +0 -31
  144. package/_gaia/core/engine/task-runner.xml +0 -63
  145. package/_gaia/core/engine/workflow.xml +0 -225
  146. package/_gaia/core/module-help.csv +0 -21
  147. package/_gaia/core/protocols/agent-specification-protocol.md +0 -103
  148. package/_gaia/core/protocols/review-gate-check.xml +0 -29
  149. package/_gaia/core/protocols/sprint-status-write-safety.xml +0 -35
  150. package/_gaia/core/protocols/status-sync.xml +0 -49
  151. package/_gaia/core/tasks/editorial-review-prose.xml +0 -42
  152. package/_gaia/core/tasks/editorial-review-structure.xml +0 -43
  153. package/_gaia/core/tasks/generate-changelog.xml +0 -35
  154. package/_gaia/core/tasks/help.md +0 -45
  155. package/_gaia/core/tasks/index-docs.xml +0 -46
  156. package/_gaia/core/tasks/merge-docs.xml +0 -34
  157. package/_gaia/core/tasks/review-accessibility.xml +0 -47
  158. package/_gaia/core/tasks/review-adversarial.xml +0 -55
  159. package/_gaia/core/tasks/review-api-design.xml +0 -38
  160. package/_gaia/core/tasks/review-dependency-audit.xml +0 -38
  161. package/_gaia/core/tasks/review-edge-case-hunter.xml +0 -52
  162. package/_gaia/core/tasks/review-performance.xml +0 -49
  163. package/_gaia/core/tasks/review-security.xml +0 -37
  164. package/_gaia/core/tasks/shard-doc.xml +0 -49
  165. package/_gaia/core/tasks/summarize-doc.xml +0 -33
  166. package/_gaia/core/tasks/validate-framework.xml +0 -66
  167. package/_gaia/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -7
  168. package/_gaia/core/workflows/brainstorming/steps/step-02-technique-selection.md +0 -20
  169. package/_gaia/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -11
  170. package/_gaia/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -14
  171. package/_gaia/core/workflows/brainstorming/template.md +0 -38
  172. package/_gaia/core/workflows/brainstorming/workflow.yaml +0 -26
  173. package/_gaia/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -11
  174. package/_gaia/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -16
  175. package/_gaia/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -10
  176. package/_gaia/core/workflows/party-mode/workflow.yaml +0 -23
  177. package/_gaia/creative/.resolved/.gitkeep +0 -0
  178. package/_gaia/creative/agents/brainstorming-coach.md +0 -93
  179. package/_gaia/creative/agents/design-thinking-coach.md +0 -91
  180. package/_gaia/creative/agents/innovation-strategist.md +0 -89
  181. package/_gaia/creative/agents/presentation-designer.md +0 -99
  182. package/_gaia/creative/agents/problem-solver.md +0 -90
  183. package/_gaia/creative/agents/storyteller.md +0 -90
  184. package/_gaia/creative/config.yaml +0 -8
  185. package/_gaia/creative/data/design-methods.csv +0 -28
  186. package/_gaia/creative/data/innovation-frameworks.csv +0 -15
  187. package/_gaia/creative/data/solving-methods.csv +0 -14
  188. package/_gaia/creative/data/story-types.csv +0 -12
  189. package/_gaia/creative/module-help.csv +0 -8
  190. package/_gaia/creative/teams/creative-squad.yaml +0 -10
  191. package/_gaia/creative/workflows/creative-sprint/checklist.md +0 -10
  192. package/_gaia/creative/workflows/creative-sprint/instructions.xml +0 -40
  193. package/_gaia/creative/workflows/creative-sprint/workflow.yaml +0 -11
  194. package/_gaia/creative/workflows/design-thinking/checklist.md +0 -25
  195. package/_gaia/creative/workflows/design-thinking/instructions.xml +0 -38
  196. package/_gaia/creative/workflows/design-thinking/workflow.yaml +0 -13
  197. package/_gaia/creative/workflows/innovation-strategy/checklist.md +0 -26
  198. package/_gaia/creative/workflows/innovation-strategy/instructions.xml +0 -34
  199. package/_gaia/creative/workflows/innovation-strategy/workflow.yaml +0 -13
  200. package/_gaia/creative/workflows/pitch-deck/checklist.md +0 -22
  201. package/_gaia/creative/workflows/pitch-deck/instructions.xml +0 -49
  202. package/_gaia/creative/workflows/pitch-deck/workflow.yaml +0 -15
  203. package/_gaia/creative/workflows/problem-solving/checklist.md +0 -26
  204. package/_gaia/creative/workflows/problem-solving/instructions.xml +0 -39
  205. package/_gaia/creative/workflows/problem-solving/workflow.yaml +0 -13
  206. package/_gaia/creative/workflows/slide-deck/checklist.md +0 -21
  207. package/_gaia/creative/workflows/slide-deck/instructions.xml +0 -39
  208. package/_gaia/creative/workflows/slide-deck/workflow.yaml +0 -15
  209. package/_gaia/creative/workflows/storytelling/checklist.md +0 -26
  210. package/_gaia/creative/workflows/storytelling/instructions.xml +0 -38
  211. package/_gaia/creative/workflows/storytelling/workflow.yaml +0 -13
  212. package/_gaia/dev/agents/_base-dev.md +0 -180
  213. package/_gaia/dev/agents/angular-dev.md +0 -70
  214. package/_gaia/dev/agents/flutter-dev.md +0 -70
  215. package/_gaia/dev/agents/go-dev.md +0 -72
  216. package/_gaia/dev/agents/java-dev.md +0 -70
  217. package/_gaia/dev/agents/mobile-dev.md +0 -70
  218. package/_gaia/dev/agents/python-dev.md +0 -70
  219. package/_gaia/dev/agents/typescript-dev.md +0 -70
  220. package/_gaia/dev/config.yaml +0 -11
  221. package/_gaia/dev/knowledge/_index.csv +0 -25
  222. package/_gaia/dev/knowledge/angular/angular-conventions.md +0 -119
  223. package/_gaia/dev/knowledge/angular/angular-patterns.md +0 -126
  224. package/_gaia/dev/knowledge/angular/ngrx-state.md +0 -124
  225. package/_gaia/dev/knowledge/angular/rxjs-patterns.md +0 -119
  226. package/_gaia/dev/knowledge/flutter/dart-conventions.md +0 -143
  227. package/_gaia/dev/knowledge/flutter/platform-channels.md +0 -144
  228. package/_gaia/dev/knowledge/flutter/state-management.md +0 -144
  229. package/_gaia/dev/knowledge/flutter/widget-patterns.md +0 -134
  230. package/_gaia/dev/knowledge/go/gin-fiber-patterns.md +0 -40
  231. package/_gaia/dev/knowledge/go/go-conventions.md +0 -54
  232. package/_gaia/dev/knowledge/go/go-stdlib-patterns.md +0 -39
  233. package/_gaia/dev/knowledge/go/go-testing-patterns.md +0 -39
  234. package/_gaia/dev/knowledge/java/jpa-patterns.md +0 -136
  235. package/_gaia/dev/knowledge/java/maven-gradle.md +0 -189
  236. package/_gaia/dev/knowledge/java/microservices.md +0 -159
  237. package/_gaia/dev/knowledge/java/spring-boot-patterns.md +0 -160
  238. package/_gaia/dev/knowledge/mobile/kotlin-patterns.md +0 -193
  239. package/_gaia/dev/knowledge/mobile/mobile-testing.md +0 -186
  240. package/_gaia/dev/knowledge/mobile/react-native-patterns.md +0 -162
  241. package/_gaia/dev/knowledge/mobile/swift-patterns.md +0 -190
  242. package/_gaia/dev/knowledge/python/data-pipelines.md +0 -169
  243. package/_gaia/dev/knowledge/python/django-patterns.md +0 -145
  244. package/_gaia/dev/knowledge/python/fastapi-patterns.md +0 -164
  245. package/_gaia/dev/knowledge/python/python-conventions.md +0 -170
  246. package/_gaia/dev/knowledge/typescript/express-patterns.md +0 -188
  247. package/_gaia/dev/knowledge/typescript/nextjs-patterns.md +0 -166
  248. package/_gaia/dev/knowledge/typescript/react-patterns.md +0 -176
  249. package/_gaia/dev/knowledge/typescript/ts-conventions.md +0 -133
  250. package/_gaia/dev/module-help.csv +0 -10
  251. package/_gaia/dev/skills/_skill-index.yaml +0 -55
  252. package/_gaia/dev/skills/api-design.md +0 -229
  253. package/_gaia/dev/skills/code-review-standards.md +0 -226
  254. package/_gaia/dev/skills/database-design.md +0 -172
  255. package/_gaia/dev/skills/docker-workflow.md +0 -222
  256. package/_gaia/dev/skills/documentation-standards.md +0 -256
  257. package/_gaia/dev/skills/git-workflow.md +0 -157
  258. package/_gaia/dev/skills/security-basics.md +0 -230
  259. package/_gaia/dev/skills/testing-patterns.md +0 -232
  260. package/_gaia/lifecycle/.resolved/.gitkeep +0 -0
  261. package/_gaia/lifecycle/agents/analyst.md +0 -104
  262. package/_gaia/lifecycle/agents/architect.md +0 -109
  263. package/_gaia/lifecycle/agents/data-engineer.md +0 -99
  264. package/_gaia/lifecycle/agents/devops.md +0 -110
  265. package/_gaia/lifecycle/agents/performance.md +0 -92
  266. package/_gaia/lifecycle/agents/pm.md +0 -112
  267. package/_gaia/lifecycle/agents/qa.md +0 -89
  268. package/_gaia/lifecycle/agents/security.md +0 -108
  269. package/_gaia/lifecycle/agents/sm.md +0 -119
  270. package/_gaia/lifecycle/agents/tech-writer.md +0 -94
  271. package/_gaia/lifecycle/agents/ux-designer.md +0 -94
  272. package/_gaia/lifecycle/agents/validator.md +0 -189
  273. package/_gaia/lifecycle/config.yaml +0 -14
  274. package/_gaia/lifecycle/module-help.csv +0 -39
  275. package/_gaia/lifecycle/skills/ground-truth-management.md +0 -252
  276. package/_gaia/lifecycle/skills/memory-management.md +0 -322
  277. package/_gaia/lifecycle/skills/validation-patterns.md +0 -230
  278. package/_gaia/lifecycle/teams/team-data-intensive.yaml +0 -12
  279. package/_gaia/lifecycle/teams/team-enterprise.yaml +0 -16
  280. package/_gaia/lifecycle/teams/team-full.yaml +0 -13
  281. package/_gaia/lifecycle/teams/team-implementation.yaml +0 -8
  282. package/_gaia/lifecycle/teams/team-planning.yaml +0 -9
  283. package/_gaia/lifecycle/teams/team-quick-ship.yaml +0 -6
  284. package/_gaia/lifecycle/teams/team-security-focused.yaml +0 -13
  285. package/_gaia/lifecycle/templates/api-documentation-template.md +0 -112
  286. package/_gaia/lifecycle/templates/architecture-template.md +0 -65
  287. package/_gaia/lifecycle/templates/brownfield-architecture-template.md +0 -198
  288. package/_gaia/lifecycle/templates/brownfield-assessment-template.md +0 -78
  289. package/_gaia/lifecycle/templates/brownfield-onboarding-template.md +0 -160
  290. package/_gaia/lifecycle/templates/dependency-map-template.md +0 -73
  291. package/_gaia/lifecycle/templates/deployment-template.md +0 -52
  292. package/_gaia/lifecycle/templates/epic-status-template.md +0 -64
  293. package/_gaia/lifecycle/templates/event-catalog-template.md +0 -78
  294. package/_gaia/lifecycle/templates/nfr-assessment-template.md +0 -96
  295. package/_gaia/lifecycle/templates/prd-template.md +0 -83
  296. package/_gaia/lifecycle/templates/product-brief-template.md +0 -48
  297. package/_gaia/lifecycle/templates/review-template.md +0 -47
  298. package/_gaia/lifecycle/templates/sprint-plan-template.md +0 -45
  299. package/_gaia/lifecycle/templates/story-template.md +0 -118
  300. package/_gaia/lifecycle/templates/tech-debt-dashboard-template.md +0 -71
  301. package/_gaia/lifecycle/templates/test-plan-template.md +0 -56
  302. package/_gaia/lifecycle/templates/ux-design-assessment-template.md +0 -122
  303. package/_gaia/lifecycle/workflows/1-analysis/advanced-elicitation/instructions.xml +0 -44
  304. package/_gaia/lifecycle/workflows/1-analysis/advanced-elicitation/methods.csv +0 -9
  305. package/_gaia/lifecycle/workflows/1-analysis/advanced-elicitation/workflow.yaml +0 -33
  306. package/_gaia/lifecycle/workflows/1-analysis/brainstorm-project/checklist.md +0 -24
  307. package/_gaia/lifecycle/workflows/1-analysis/brainstorm-project/instructions.xml +0 -39
  308. package/_gaia/lifecycle/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -19
  309. package/_gaia/lifecycle/workflows/1-analysis/create-product-brief/checklist.md +0 -27
  310. package/_gaia/lifecycle/workflows/1-analysis/create-product-brief/instructions.xml +0 -57
  311. package/_gaia/lifecycle/workflows/1-analysis/create-product-brief/workflow.yaml +0 -38
  312. package/_gaia/lifecycle/workflows/1-analysis/domain-research/checklist.md +0 -22
  313. package/_gaia/lifecycle/workflows/1-analysis/domain-research/instructions.xml +0 -34
  314. package/_gaia/lifecycle/workflows/1-analysis/domain-research/workflow.yaml +0 -15
  315. package/_gaia/lifecycle/workflows/1-analysis/market-research/checklist.md +0 -28
  316. package/_gaia/lifecycle/workflows/1-analysis/market-research/instructions.xml +0 -42
  317. package/_gaia/lifecycle/workflows/1-analysis/market-research/workflow.yaml +0 -15
  318. package/_gaia/lifecycle/workflows/1-analysis/technical-research/checklist.md +0 -22
  319. package/_gaia/lifecycle/workflows/1-analysis/technical-research/instructions.xml +0 -34
  320. package/_gaia/lifecycle/workflows/1-analysis/technical-research/workflow.yaml +0 -15
  321. package/_gaia/lifecycle/workflows/2-planning/create-prd/checklist.md +0 -36
  322. package/_gaia/lifecycle/workflows/2-planning/create-prd/instructions.xml +0 -80
  323. package/_gaia/lifecycle/workflows/2-planning/create-prd/workflow.yaml +0 -23
  324. package/_gaia/lifecycle/workflows/2-planning/create-ux-design/checklist.md +0 -26
  325. package/_gaia/lifecycle/workflows/2-planning/create-ux-design/instructions.xml +0 -49
  326. package/_gaia/lifecycle/workflows/2-planning/create-ux-design/workflow.yaml +0 -23
  327. package/_gaia/lifecycle/workflows/2-planning/edit-prd/checklist.md +0 -17
  328. package/_gaia/lifecycle/workflows/2-planning/edit-prd/instructions.xml +0 -50
  329. package/_gaia/lifecycle/workflows/2-planning/edit-prd/workflow.yaml +0 -22
  330. package/_gaia/lifecycle/workflows/2-planning/validate-prd/checklist.md +0 -12
  331. package/_gaia/lifecycle/workflows/2-planning/validate-prd/instructions.xml +0 -52
  332. package/_gaia/lifecycle/workflows/2-planning/validate-prd/workflow.yaml +0 -19
  333. package/_gaia/lifecycle/workflows/3-solutioning/create-architecture/checklist.md +0 -32
  334. package/_gaia/lifecycle/workflows/3-solutioning/create-architecture/instructions.xml +0 -100
  335. package/_gaia/lifecycle/workflows/3-solutioning/create-architecture/workflow.yaml +0 -41
  336. package/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories/checklist.md +0 -30
  337. package/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories/instructions.xml +0 -86
  338. package/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories/workflow.yaml +0 -34
  339. package/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/checklist.md +0 -24
  340. package/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/instructions.xml +0 -91
  341. package/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/workflow.yaml +0 -32
  342. package/_gaia/lifecycle/workflows/3-solutioning/implementation-readiness/checklist.md +0 -66
  343. package/_gaia/lifecycle/workflows/3-solutioning/implementation-readiness/instructions.xml +0 -160
  344. package/_gaia/lifecycle/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -48
  345. package/_gaia/lifecycle/workflows/3-solutioning/infrastructure-design/checklist.md +0 -24
  346. package/_gaia/lifecycle/workflows/3-solutioning/infrastructure-design/instructions.xml +0 -44
  347. package/_gaia/lifecycle/workflows/3-solutioning/infrastructure-design/workflow.yaml +0 -23
  348. package/_gaia/lifecycle/workflows/3-solutioning/security-threat-model/checklist.md +0 -24
  349. package/_gaia/lifecycle/workflows/3-solutioning/security-threat-model/instructions.xml +0 -55
  350. package/_gaia/lifecycle/workflows/3-solutioning/security-threat-model/workflow.yaml +0 -23
  351. package/_gaia/lifecycle/workflows/4-implementation/action-items/instructions.xml +0 -131
  352. package/_gaia/lifecycle/workflows/4-implementation/action-items/workflow.yaml +0 -19
  353. package/_gaia/lifecycle/workflows/4-implementation/add-stories/checklist.md +0 -27
  354. package/_gaia/lifecycle/workflows/4-implementation/add-stories/instructions.xml +0 -100
  355. package/_gaia/lifecycle/workflows/4-implementation/add-stories/workflow.yaml +0 -35
  356. package/_gaia/lifecycle/workflows/4-implementation/change-request/checklist.md +0 -25
  357. package/_gaia/lifecycle/workflows/4-implementation/change-request/instructions.xml +0 -123
  358. package/_gaia/lifecycle/workflows/4-implementation/change-request/workflow.yaml +0 -38
  359. package/_gaia/lifecycle/workflows/4-implementation/check-dod/checklist.md +0 -18
  360. package/_gaia/lifecycle/workflows/4-implementation/check-dod/instructions.xml +0 -54
  361. package/_gaia/lifecycle/workflows/4-implementation/check-dod/workflow.yaml +0 -19
  362. package/_gaia/lifecycle/workflows/4-implementation/check-review-gate/checklist.md +0 -18
  363. package/_gaia/lifecycle/workflows/4-implementation/check-review-gate/instructions.xml +0 -53
  364. package/_gaia/lifecycle/workflows/4-implementation/check-review-gate/workflow.yaml +0 -19
  365. package/_gaia/lifecycle/workflows/4-implementation/code-review/checklist.md +0 -18
  366. package/_gaia/lifecycle/workflows/4-implementation/code-review/instructions.xml +0 -50
  367. package/_gaia/lifecycle/workflows/4-implementation/code-review/workflow.yaml +0 -24
  368. package/_gaia/lifecycle/workflows/4-implementation/correct-course/checklist.md +0 -21
  369. package/_gaia/lifecycle/workflows/4-implementation/correct-course/instructions.xml +0 -63
  370. package/_gaia/lifecycle/workflows/4-implementation/correct-course/workflow.yaml +0 -25
  371. package/_gaia/lifecycle/workflows/4-implementation/create-story/checklist.md +0 -38
  372. package/_gaia/lifecycle/workflows/4-implementation/create-story/instructions.xml +0 -194
  373. package/_gaia/lifecycle/workflows/4-implementation/create-story/workflow.yaml +0 -26
  374. package/_gaia/lifecycle/workflows/4-implementation/dev-story/checklist.md +0 -26
  375. package/_gaia/lifecycle/workflows/4-implementation/dev-story/instructions.xml +0 -268
  376. package/_gaia/lifecycle/workflows/4-implementation/dev-story/workflow.yaml +0 -51
  377. package/_gaia/lifecycle/workflows/4-implementation/epic-status/checklist.md +0 -25
  378. package/_gaia/lifecycle/workflows/4-implementation/epic-status/instructions.xml +0 -62
  379. package/_gaia/lifecycle/workflows/4-implementation/epic-status/workflow.yaml +0 -24
  380. package/_gaia/lifecycle/workflows/4-implementation/fix-story/checklist.md +0 -12
  381. package/_gaia/lifecycle/workflows/4-implementation/fix-story/instructions.xml +0 -67
  382. package/_gaia/lifecycle/workflows/4-implementation/fix-story/workflow.yaml +0 -17
  383. package/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/checklist.md +0 -19
  384. package/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/instructions.xml +0 -52
  385. package/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/workflow.yaml +0 -20
  386. package/_gaia/lifecycle/workflows/4-implementation/retrospective/checklist.md +0 -15
  387. package/_gaia/lifecycle/workflows/4-implementation/retrospective/instructions.xml +0 -164
  388. package/_gaia/lifecycle/workflows/4-implementation/retrospective/workflow.yaml +0 -30
  389. package/_gaia/lifecycle/workflows/4-implementation/run-all-reviews/checklist.md +0 -14
  390. package/_gaia/lifecycle/workflows/4-implementation/run-all-reviews/instructions.xml +0 -78
  391. package/_gaia/lifecycle/workflows/4-implementation/run-all-reviews/workflow.yaml +0 -16
  392. package/_gaia/lifecycle/workflows/4-implementation/security-review/checklist.md +0 -29
  393. package/_gaia/lifecycle/workflows/4-implementation/security-review/instructions.xml +0 -80
  394. package/_gaia/lifecycle/workflows/4-implementation/security-review/workflow.yaml +0 -27
  395. package/_gaia/lifecycle/workflows/4-implementation/sprint-planning/checklist.md +0 -29
  396. package/_gaia/lifecycle/workflows/4-implementation/sprint-planning/instructions.xml +0 -140
  397. package/_gaia/lifecycle/workflows/4-implementation/sprint-planning/workflow.yaml +0 -33
  398. package/_gaia/lifecycle/workflows/4-implementation/sprint-status/checklist.md +0 -18
  399. package/_gaia/lifecycle/workflows/4-implementation/sprint-status/instructions.xml +0 -36
  400. package/_gaia/lifecycle/workflows/4-implementation/sprint-status/workflow.yaml +0 -19
  401. package/_gaia/lifecycle/workflows/4-implementation/tech-debt-review/checklist.md +0 -30
  402. package/_gaia/lifecycle/workflows/4-implementation/tech-debt-review/instructions.xml +0 -147
  403. package/_gaia/lifecycle/workflows/4-implementation/tech-debt-review/workflow.yaml +0 -24
  404. package/_gaia/lifecycle/workflows/4-implementation/triage-findings/checklist.md +0 -17
  405. package/_gaia/lifecycle/workflows/4-implementation/triage-findings/instructions.xml +0 -124
  406. package/_gaia/lifecycle/workflows/4-implementation/triage-findings/workflow.yaml +0 -15
  407. package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/checklist.md +0 -48
  408. package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/instructions.xml +0 -125
  409. package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/workflow.yaml +0 -31
  410. package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/checklist.md +0 -54
  411. package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/instructions.xml +0 -147
  412. package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/test-structure.sh +0 -116
  413. package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/workflow.yaml +0 -29
  414. package/_gaia/lifecycle/workflows/4-implementation/val-validate-plan/checklist.md +0 -34
  415. package/_gaia/lifecycle/workflows/4-implementation/val-validate-plan/instructions.xml +0 -162
  416. package/_gaia/lifecycle/workflows/4-implementation/val-validate-plan/workflow.yaml +0 -39
  417. package/_gaia/lifecycle/workflows/4-implementation/validate-story/checklist.md +0 -23
  418. package/_gaia/lifecycle/workflows/4-implementation/validate-story/instructions.xml +0 -146
  419. package/_gaia/lifecycle/workflows/4-implementation/validate-story/workflow.yaml +0 -25
  420. package/_gaia/lifecycle/workflows/5-deployment/deployment-checklist/checklist.md +0 -29
  421. package/_gaia/lifecycle/workflows/5-deployment/deployment-checklist/instructions.xml +0 -59
  422. package/_gaia/lifecycle/workflows/5-deployment/deployment-checklist/workflow.yaml +0 -39
  423. package/_gaia/lifecycle/workflows/5-deployment/post-deploy-verify/checklist.md +0 -19
  424. package/_gaia/lifecycle/workflows/5-deployment/post-deploy-verify/instructions.xml +0 -33
  425. package/_gaia/lifecycle/workflows/5-deployment/post-deploy-verify/workflow.yaml +0 -15
  426. package/_gaia/lifecycle/workflows/5-deployment/release-plan/checklist.md +0 -20
  427. package/_gaia/lifecycle/workflows/5-deployment/release-plan/instructions.xml +0 -33
  428. package/_gaia/lifecycle/workflows/5-deployment/release-plan/workflow.yaml +0 -19
  429. package/_gaia/lifecycle/workflows/5-deployment/rollback-plan/checklist.md +0 -20
  430. package/_gaia/lifecycle/workflows/5-deployment/rollback-plan/instructions.xml +0 -33
  431. package/_gaia/lifecycle/workflows/5-deployment/rollback-plan/workflow.yaml +0 -15
  432. package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/checklist.md +0 -52
  433. package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/instructions.xml +0 -122
  434. package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/test-step7.sh +0 -149
  435. package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/workflow.yaml +0 -33
  436. package/_gaia/lifecycle/workflows/anytime/document-project/checklist.md +0 -11
  437. package/_gaia/lifecycle/workflows/anytime/document-project/instructions.xml +0 -26
  438. package/_gaia/lifecycle/workflows/anytime/document-project/workflow.yaml +0 -15
  439. package/_gaia/lifecycle/workflows/anytime/generate-project-context/checklist.md +0 -11
  440. package/_gaia/lifecycle/workflows/anytime/generate-project-context/instructions.xml +0 -22
  441. package/_gaia/lifecycle/workflows/anytime/generate-project-context/workflow.yaml +0 -15
  442. package/_gaia/lifecycle/workflows/anytime/memory-hygiene/checklist.md +0 -24
  443. package/_gaia/lifecycle/workflows/anytime/memory-hygiene/instructions.xml +0 -108
  444. package/_gaia/lifecycle/workflows/anytime/memory-hygiene/workflow.yaml +0 -15
  445. package/_gaia/lifecycle/workflows/anytime/performance-review/checklist.md +0 -25
  446. package/_gaia/lifecycle/workflows/anytime/performance-review/instructions.xml +0 -62
  447. package/_gaia/lifecycle/workflows/anytime/performance-review/workflow.yaml +0 -15
  448. package/_gaia/lifecycle/workflows/cross-phase/add-feature/checklist.md +0 -30
  449. package/_gaia/lifecycle/workflows/cross-phase/add-feature/instructions.xml +0 -85
  450. package/_gaia/lifecycle/workflows/cross-phase/add-feature/workflow.yaml +0 -37
  451. package/_gaia/lifecycle/workflows/quick-flow/quick-dev/checklist.md +0 -11
  452. package/_gaia/lifecycle/workflows/quick-flow/quick-dev/instructions.xml +0 -26
  453. package/_gaia/lifecycle/workflows/quick-flow/quick-dev/workflow.yaml +0 -19
  454. package/_gaia/lifecycle/workflows/quick-flow/quick-spec/checklist.md +0 -13
  455. package/_gaia/lifecycle/workflows/quick-flow/quick-spec/instructions.xml +0 -27
  456. package/_gaia/lifecycle/workflows/quick-flow/quick-spec/workflow.yaml +0 -15
  457. package/_gaia/testing/.resolved/.gitkeep +0 -0
  458. package/_gaia/testing/agents/test-architect.md +0 -131
  459. package/_gaia/testing/config.yaml +0 -8
  460. package/_gaia/testing/knowledge/_index.csv +0 -22
  461. package/_gaia/testing/knowledge/accessibility/axe-core-patterns.md +0 -177
  462. package/_gaia/testing/knowledge/accessibility/wcag-checks.md +0 -191
  463. package/_gaia/testing/knowledge/core/deterministic-testing.md +0 -167
  464. package/_gaia/testing/knowledge/core/fixture-architecture.md +0 -131
  465. package/_gaia/testing/knowledge/core/test-isolation.md +0 -142
  466. package/_gaia/testing/knowledge/core/test-pyramid.md +0 -129
  467. package/_gaia/testing/knowledge/extended/api-testing-patterns.md +0 -196
  468. package/_gaia/testing/knowledge/extended/data-factories.md +0 -158
  469. package/_gaia/testing/knowledge/extended/risk-governance.md +0 -119
  470. package/_gaia/testing/knowledge/extended/selector-resilience.md +0 -109
  471. package/_gaia/testing/knowledge/mobile-testing/appium-patterns.md +0 -164
  472. package/_gaia/testing/knowledge/mobile-testing/react-native-testing.md +0 -193
  473. package/_gaia/testing/knowledge/mobile-testing/responsive-testing.md +0 -177
  474. package/_gaia/testing/knowledge/performance/k6-patterns.md +0 -200
  475. package/_gaia/testing/knowledge/performance/lighthouse-ci.md +0 -158
  476. package/_gaia/testing/knowledge/specialized/contract-testing.md +0 -173
  477. package/_gaia/testing/knowledge/specialized/test-healing.md +0 -129
  478. package/_gaia/testing/knowledge/specialized/visual-testing.md +0 -129
  479. package/_gaia/testing/knowledge/unit-testing/jest-vitest-patterns.md +0 -193
  480. package/_gaia/testing/knowledge/unit-testing/junit5-patterns.md +0 -200
  481. package/_gaia/testing/knowledge/unit-testing/pytest-patterns.md +0 -185
  482. package/_gaia/testing/module-help.csv +0 -13
  483. package/_gaia/testing/workflows/accessibility-testing/checklist.md +0 -12
  484. package/_gaia/testing/workflows/accessibility-testing/instructions.xml +0 -41
  485. package/_gaia/testing/workflows/accessibility-testing/workflow.yaml +0 -13
  486. package/_gaia/testing/workflows/atdd/checklist.md +0 -6
  487. package/_gaia/testing/workflows/atdd/instructions.xml +0 -36
  488. package/_gaia/testing/workflows/atdd/workflow.yaml +0 -22
  489. package/_gaia/testing/workflows/ci-setup/checklist.md +0 -9
  490. package/_gaia/testing/workflows/ci-setup/instructions.xml +0 -43
  491. package/_gaia/testing/workflows/ci-setup/workflow.yaml +0 -11
  492. package/_gaia/testing/workflows/edit-test-plan/checklist.md +0 -20
  493. package/_gaia/testing/workflows/edit-test-plan/instructions.xml +0 -65
  494. package/_gaia/testing/workflows/edit-test-plan/workflow.yaml +0 -35
  495. package/_gaia/testing/workflows/mobile-testing/checklist.md +0 -13
  496. package/_gaia/testing/workflows/mobile-testing/instructions.xml +0 -41
  497. package/_gaia/testing/workflows/mobile-testing/workflow.yaml +0 -11
  498. package/_gaia/testing/workflows/nfr-assessment/checklist.md +0 -7
  499. package/_gaia/testing/workflows/nfr-assessment/instructions.xml +0 -26
  500. package/_gaia/testing/workflows/nfr-assessment/workflow.yaml +0 -11
  501. package/_gaia/testing/workflows/performance-testing/checklist.md +0 -11
  502. package/_gaia/testing/workflows/performance-testing/instructions.xml +0 -41
  503. package/_gaia/testing/workflows/performance-testing/workflow.yaml +0 -11
  504. package/_gaia/testing/workflows/teach-me-testing/checklist.md +0 -6
  505. package/_gaia/testing/workflows/teach-me-testing/instructions.xml +0 -28
  506. package/_gaia/testing/workflows/teach-me-testing/workflow.yaml +0 -12
  507. package/_gaia/testing/workflows/test-automation/checklist.md +0 -6
  508. package/_gaia/testing/workflows/test-automation/instructions.xml +0 -49
  509. package/_gaia/testing/workflows/test-automation/workflow.yaml +0 -11
  510. package/_gaia/testing/workflows/test-design/checklist.md +0 -9
  511. package/_gaia/testing/workflows/test-design/instructions.xml +0 -47
  512. package/_gaia/testing/workflows/test-design/workflow.yaml +0 -11
  513. package/_gaia/testing/workflows/test-framework/checklist.md +0 -8
  514. package/_gaia/testing/workflows/test-framework/instructions.xml +0 -25
  515. package/_gaia/testing/workflows/test-framework/workflow.yaml +0 -11
  516. package/_gaia/testing/workflows/test-review/checklist.md +0 -9
  517. package/_gaia/testing/workflows/test-review/instructions.xml +0 -51
  518. package/_gaia/testing/workflows/test-review/workflow.yaml +0 -11
  519. package/_gaia/testing/workflows/traceability/checklist.md +0 -6
  520. package/_gaia/testing/workflows/traceability/instructions.xml +0 -49
  521. package/_gaia/testing/workflows/traceability/workflow.yaml +0 -21
@@ -1,100 +0,0 @@
1
- <workflow name="create-architecture">
2
- <critical>
3
- <mandate>Record every significant decision as an ADR in architect-sidecar</mandate>
4
- <mandate>PRD must exist before starting architecture</mandate>
5
- <mandate>Every technical decision must connect to business value</mandate>
6
- </critical>
7
- <step n="1" title="Load Upstream Artifacts">
8
- <action>Read {planning_artifacts}/prd.md — extract requirements</action>
9
- <action>GATE: verify prd.md contains a "## Review Findings Incorporated" section. If missing, HALT — run /gaia-create-prd first to complete adversarial review and PRD refinement.</action>
10
- <action>Read {planning_artifacts}/ux-design.md if available — extract UI requirements</action>
11
- <action>Check for brownfield artifacts: {planning_artifacts}/brownfield-assessment.md and {planning_artifacts}/project-documentation.md. If either exists, load them — these contain existing codebase analysis that must inform architecture decisions even if the PRD is not in brownfield mode.</action>
12
- <action>Check for {planning_artifacts}/threat-model.md. If it exists, load it — identified threats and mitigations must inform the security architecture in Step 7.</action>
13
- </step>
14
- <step n="2" title="Detect Mode">
15
- <action>Check {planning_artifacts}/prd.md header for "Mode: Brownfield"</action>
16
- <check if="brownfield mode detected">
17
- Set {mode} = brownfield. Read brownfield-architecture-template.md from {installed_path}/../../templates/.
18
- Also read for cross-references: {planning_artifacts}/api-documentation.md, {planning_artifacts}/event-catalog.md, {planning_artifacts}/dependency-map.md (skip any that don't exist).
19
- </check>
20
- <check if="no brownfield header">
21
- Set {mode} = greenfield. Read architecture-template.md from {installed_path}/../../templates/.
22
- </check>
23
- </step>
24
- <step n="3" title="Technology Selection">
25
- <action>Greenfield: select tech stack with rationale for each choice. Consider: team expertise, scalability needs, ecosystem maturity.</action>
26
- <action>Brownfield: discover existing tech stack from project-documentation.md and code scan. Mark ADR status as "Existing" for discovered decisions.</action>
27
- <action>If brownfield artifacts were loaded in Step 1: reference the existing tech stack, constraints, and integration points from project-documentation.md and brownfield-assessment.md when evaluating technology choices. Prefer compatibility with the existing stack unless a change is justified by PRD requirements.</action>
28
- <action>Record decision as ADR in {memory_path}/architect-sidecar/architecture-decisions.md</action>
29
- <ask>Here is the recommended technology stack with rationale for each choice. Please review — confirm to proceed or request changes before I design the full architecture. [confirm / revise]</ask>
30
- </step>
31
- <step n="4" title="System Architecture">
32
- <action>Greenfield: define component diagram and service boundaries. Describe communication patterns. Record architectural style as ADR.</action>
33
- <action>Brownfield: document as-is architecture with Mermaid diagrams:</action>
34
- <action>— System context diagram (C4 Level 1) using Mermaid C4 syntax</action>
35
- <action>— Container diagram (C4 Level 2) using Mermaid C4 syntax</action>
36
- <action>— 3-5 sequence diagrams for key system flows using Mermaid sequence diagram syntax</action>
37
- <action>— Data flow diagram using Mermaid flowchart syntax</action>
38
- <action>Brownfield: document target architecture for gaps identified in the PRD</action>
39
- <action>Brownfield: create as-is vs target delta table</action>
40
- </step>
41
- <step n="5" title="Data Architecture">
42
- <action>Design database schema and data model</action>
43
- <action>Define data flow between components</action>
44
- <action>Specify data storage, caching, and replication strategies</action>
45
- </step>
46
- <step n="6" title="API Design">
47
- <action>Define API endpoint overview</action>
48
- <action>Specify authentication and authorization strategy</action>
49
- <action>Document API versioning approach</action>
50
- </step>
51
- <step n="7" title="Infrastructure &amp; Cross-Cutting Concerns">
52
- <action>Define deployment topology and environments (dev, staging, prod)</action>
53
- <action>Specify hosting, containerization, and orchestration choices</action>
54
- <action>Define monitoring and logging strategy</action>
55
- <action>Define security architecture: if threat-model.md was loaded, cross-reference identified threats and map each critical/high threat to an architectural mitigation (authentication strategy, authorization model, data encryption at rest and in transit, audit logging, input validation). If no threat model exists, prompt user for key security requirements.</action>
56
- <action>Brownfield: document security architecture, cross-cutting concerns with current state and gaps</action>
57
- <action>Brownfield: define migration strategy from as-is to target architecture</action>
58
- <action>Brownfield: cross-reference api-documentation.md, event-catalog.md, dependency-map.md in the Integration Architecture section</action>
59
- </step>
60
- <step n="8" title="Architecture Decision Records">
61
- <action>Review all decisions made in steps 3-7</action>
62
- <action>Ensure each significant decision is recorded as ADR</action>
63
- <action>Each ADR MUST follow this template: ### ADR-{NNN}: {Title} — **Date:** {YYYY-MM-DD} — **Status:** Proposed | Accepted | Deprecated | Superseded | Existing (brownfield) — **Context:** What is the issue or requirement driving this decision? — **Decision:** What was decided and why this option was chosen over alternatives? — **Alternatives Considered:** What other options were evaluated? — **Consequences:** What are the positive and negative implications? — **Addresses:** {FR/NFR IDs this decision satisfies}</action>
64
- <action>Brownfield: mark existing decisions as status "Existing", new gap-related decisions as "Proposed"</action>
65
- <action>For each ADR: add an "Addresses" field listing the FR/NFR IDs it satisfies (e.g., "Addresses: FR-003, NFR-002")</action>
66
- <action>Append all ADRs to {memory_path}/architect-sidecar/architecture-decisions.md</action>
67
- <action>Generate a "Decision → Requirement Mapping" table mapping each ADR to the FR/NFR IDs it addresses. Flag any FR/NFR from the PRD with no corresponding ADR as a coverage gap.</action>
68
- </step>
69
- <step n="9" title="Generate Output">
70
- <template-output file="{planning_artifacts}/architecture.md">
71
- Greenfield: generate architecture document with: technology stack, system architecture, data architecture, API design, infrastructure plan, ADR references, and Decision → Requirement Mapping table.
72
- Brownfield: generate architecture document following brownfield-architecture-template. Must include: C4 Level 1 and Level 2 Mermaid diagrams, 3-5 Mermaid sequence diagrams for key flows, Mermaid data flow diagram, as-is/target delta table, migration strategy, and cross-references to api-documentation.md, event-catalog.md, and dependency-map.md.
73
- </template-output>
74
- </step>
75
- <step n="10" title="Optional: API Design Review">
76
- <ask>Would you like to review the API design against REST standards? This spawns a subagent in a separate context. Recommended if your architecture includes APIs. (yes / skip)</ask>
77
- <action>If yes: spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/tasks/review-api-design.xml. Read its entire contents. Target: {planning_artifacts}/architecture.md. Follow the flow steps EXACTLY. Generate API design findings report."</action>
78
- <action>If skip: API review can be run anytime later with /gaia-review-api</action>
79
- </step>
80
- <step n="11" title="Adversarial Review">
81
- <action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/tasks/review-adversarial.xml. Read its entire contents. Target: {planning_artifacts}/architecture.md. Target label: architecture. Follow the task instructions EXACTLY." This is required — findings will be incorporated back into the architecture document.</action>
82
- <action>When subagent returns: verify adversarial-review-architecture-{date}.md exists in {planning_artifacts}/</action>
83
- </step>
84
- <step n="12" title="Incorporate Adversarial Findings">
85
- <action>Read {planning_artifacts}/adversarial-review-architecture-{date}.md — extract critical and high severity findings relevant to architecture</action>
86
- <action>For each critical/high finding: update the architecture — add missing components, revise decisions, strengthen security/scalability, update ADRs</action>
87
- <action>Add a "## Review Findings Incorporated" section to the architecture document listing each finding, its severity, and how it was addressed</action>
88
- <template-output file="{planning_artifacts}/architecture.md">
89
- Update the architecture document with adversarial review findings incorporated. Critical/high findings lead to architecture revisions. Add "Review Findings Incorporated" section.
90
- </template-output>
91
- </step>
92
- <next-step source="lifecycle-sequence.yaml">
93
- <primary command="/gaia-review-api">Review API design against standards (optional, if APIs exist — otherwise skip to /gaia-adversarial)</primary>
94
- <primary command="/gaia-adversarial">Adversarial review of architecture</primary>
95
- <primary command="/gaia-test-design">Create risk-based test plan (required before creating epics)</primary>
96
- <primary command="/gaia-test-framework">Setup test framework (optional)</primary>
97
- <parallel command="/gaia-threat-model">Create security threat model (can run in parallel)</parallel>
98
- <parallel command="/gaia-infra-design">Design infrastructure (can run in parallel)</parallel>
99
- </next-step>
100
- </workflow>
@@ -1,41 +0,0 @@
1
- name: create-architecture
2
- description: 'Create architecture and solution design'
3
- module: lifecycle
4
- agent: architect
5
- config_resolved: "{installed_path}/.resolved/create-architecture.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/3-solutioning/create-architecture"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- input_file_patterns:
11
- prd:
12
- whole: "{planning_artifacts}/prd.md"
13
- load_strategy: "FULL_LOAD"
14
- ux:
15
- whole: "{planning_artifacts}/ux-design.md"
16
- load_strategy: "FULL_LOAD"
17
- technical_research:
18
- whole: "{planning_artifacts}/technical-research.md"
19
- load_strategy: "FULL_LOAD"
20
- brownfield_assessment:
21
- whole: "{planning_artifacts}/brownfield-assessment.md"
22
- load_strategy: "FULL_LOAD"
23
- project_documentation:
24
- whole: "{planning_artifacts}/project-documentation.md"
25
- load_strategy: "INDEX_GUIDED"
26
- threat_model:
27
- whole: "{planning_artifacts}/threat-model.md"
28
- load_strategy: "INDEX_GUIDED"
29
- quality_gates:
30
- pre_start:
31
- - check: "prd_exists"
32
- on_fail: "HALT: Run /gaia-create-prd first — PRD required before architecture"
33
- post_complete:
34
- - check: "test_plan_recommended"
35
- on_fail: "RECOMMEND: Architecture complete. Run /gaia-test-design next to create the test plan before creating epics."
36
- on_error:
37
- missing_file: "ask_user"
38
- unresolved_variable: "halt"
39
-
40
- output:
41
- primary: "{planning_artifacts}/architecture.md"
@@ -1,30 +0,0 @@
1
- ---
2
- title: 'Epics and Stories Validation'
3
- validation-target: 'Epics and stories document'
4
- required-inputs:
5
- - '{planning_artifacts}/prd.md'
6
- - '{planning_artifacts}/architecture.md'
7
- - '{test_artifacts}/test-plan.md'
8
- ---
9
- ## Gates
10
- - [ ] Architecture has "Review Findings Incorporated" section (hard gate — required before epics)
11
- ## Epics
12
- - [ ] Epics group related features logically
13
- - [ ] Each epic has description and goal
14
- ## Stories
15
- - [ ] Each story has acceptance criteria
16
- - [ ] Each story has size estimate
17
- - [ ] Each story follows user story format
18
- ## Dependencies
19
- - [ ] depends_on declared for each story
20
- - [ ] blocks declared for each story
21
- - [ ] No circular dependencies
22
- ## Test Integration
23
- - [ ] test-plan.md read and risk levels extracted
24
- - [ ] Each story has risk_level field (high/medium/low)
25
- - [ ] High-risk stories include ATDD reminder in Dev Notes
26
- ## Priority
27
- - [ ] Stories ordered by dependency + priority
28
- - [ ] Priority labels assigned (P0/P1/P2)
29
- ## Output Verification
30
- - [ ] Output file exists at {planning_artifacts}/epics-and-stories.md
@@ -1,86 +0,0 @@
1
- <workflow name="create-epics-stories">
2
- <critical>
3
- <mandate>Architecture must exist before creating epics</mandate>
4
- <mandate>Every story must have depends_on and blocks declarations</mandate>
5
- <mandate>Stories must be ordered by dependency topology + business priority</mandate>
6
- </critical>
7
- <step n="1" title="Load PRD, Architecture, and UX Design">
8
- <action>Read {planning_artifacts}/prd.md — extract functional requirements</action>
9
- <action>Read {planning_artifacts}/architecture.md — extract technical components</action>
10
- <action>Read {planning_artifacts}/ux-design.md if available — extract UI flows, component hierarchy, interaction patterns, and accessibility requirements. Set {has_ux_design} flag.</action>
11
- <action>GATE: verify architecture.md contains a "## Review Findings Incorporated" section. If missing, HALT — run /gaia-create-arch first to complete adversarial review and architecture refinement.</action>
12
- </step>
13
- <step n="2" title="Detect Mode">
14
- <action>Check {planning_artifacts}/prd.md header for "Mode: Brownfield"</action>
15
- <check if="brownfield mode detected">
16
- Set {mode} = brownfield. Stories must cover gap requirements ONLY — do NOT create stories for existing implemented features.
17
- </check>
18
- <check if="no brownfield header">
19
- Set {mode} = greenfield. Create stories for all features from the PRD.
20
- </check>
21
- </step>
22
- <step n="3" title="Define Epics">
23
- <action>Group related features into logical epics</action>
24
- <action>Each epic: name, description, goal, success criteria</action>
25
- <action>Brownfield: epics should focus on gap closure — not existing functionality</action>
26
- </step>
27
- <step n="4" title="Break Into Stories">
28
- <action>For each epic, create user stories</action>
29
- <action>Each story needs: title, description, acceptance criteria, size estimate (S/M/L/XL)</action>
30
- <action>Use format: "As a [user], I want to [action] so that [benefit]"</action>
31
- <action>Brownfield: stories must trace to PRD gap requirement IDs. Do NOT create stories for existing implemented features.</action>
32
- <action>If {has_ux_design}: frontend stories MUST reference specific UX flows, components, and interaction patterns from ux-design.md. Include relevant screen names, navigation paths, and accessibility requirements in acceptance criteria.</action>
33
- </step>
34
- <step n="5" title="Apply Test-Plan Risk Levels">
35
- <action>Read {test_artifacts}/test-plan.md — extract risk assessment: high-risk areas (revenue-critical, security-sensitive, complex logic)</action>
36
- <action>For each story: if it touches a high-risk component, set risk_level: high. Otherwise medium or low.</action>
37
- <action>High-risk stories: add to Dev Notes: "Risk: HIGH — run /gaia-atdd before /gaia-dev-story"</action>
38
- </step>
39
- <step n="6" title="Declare Dependencies">
40
- <action>For each story, declare depends_on: [story-ids] and blocks: [story-ids]</action>
41
- <action>Ensure no circular dependencies</action>
42
- </step>
43
- <step n="7" title="Priority Ordering">
44
- <action>Sort stories by: dependency topology first, then business priority</action>
45
- <action>Assign priority: P0 (must-have), P1 (should-have), P2 (nice-to-have)</action>
46
- </step>
47
- <step n="8" title="Generate Output">
48
- <template-output file="{planning_artifacts}/epics-and-stories.md">
49
- Generate epics and stories document. Each story formatted as:
50
- ### Story {epic-N}-{story-N}: {Title}
51
- - Epic: {epic name}
52
- - Priority: {P0/P1/P2}
53
- - Size: {S/M/L/XL}
54
- - Risk: {high/medium/low}
55
- - Depends on: [{story-ids}]
56
- - Blocks: [{story-ids}]
57
- - Acceptance Criteria:
58
- - AC1: {criteria}
59
- </template-output>
60
- </step>
61
- <step n="9" title="Brownfield: Generate Onboarding Knowledge Base" optional="true" condition="{mode} == brownfield">
62
- <action>Skip this step if {mode} is greenfield.</action>
63
- <action>Read the brownfield onboarding template from {installed_path}/../../templates/brownfield-onboarding-template.md</action>
64
- <action>Generate onboarding doc as a knowledge base index linking to ALL artifacts: project-documentation.md, api-documentation.md (if exists), ux-design.md (if exists), event-catalog.md (if exists), dependency-map.md, nfr-assessment.md, performance-test-plan-{date}.md, prd.md, architecture.md, epics-and-stories.md</action>
65
- <action>Include: quick-start guide, project overview, architecture overview, API reference, UX patterns (if frontend), event architecture (if events), dependencies, NFR baselines, performance test plan, gap analysis, stories, conventions, key files</action>
66
- <action>Skip sections for optional artifacts that were not generated</action>
67
- <action>Include a "Reading Order for New Developers" section at the end</action>
68
- <template-output file="{planning_artifacts}/brownfield-onboarding.md">
69
- Generate developer knowledge base following the brownfield-onboarding-template. Link to every artifact produced by the brownfield workflow. Skip sections for artifacts that were not generated (optional steps that were skipped). Include quick-start, architecture summary, conventions, key files, and reading order.
70
- </template-output>
71
- </step>
72
- <step n="10" title="Optional: Edge Case Analysis">
73
- <ask>Would you like to hunt for edge cases in the stories? This spawns a subagent in a separate context. Recommended to catch gaps before sprint planning. (yes / skip)</ask>
74
- <action>If yes: spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/tasks/review-edge-case-hunter.xml. Read its entire contents. Target: {planning_artifacts}/epics-and-stories.md. Follow the task instructions EXACTLY."</action>
75
- <action>If skip: edge case analysis can be run anytime later with /gaia-edge-cases</action>
76
- </step>
77
- <step n="11" title="Optional: Adversarial Review">
78
- <ask>Would you like to run an adversarial review on the epics and stories? This spawns a subagent in a separate context. Recommended before sprint planning. (yes / skip)</ask>
79
- <action>If yes: spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/tasks/review-adversarial.xml. Read its entire contents. Target: {planning_artifacts}/epics-and-stories.md. Target label: epics. Follow the task instructions EXACTLY."</action>
80
- <action>If skip: adversarial review can be run anytime later with /gaia-adversarial</action>
81
- </step>
82
- <next-step source="lifecycle-sequence.yaml">
83
- <primary command="/gaia-atdd">Generate acceptance tests for high-risk stories</primary>
84
- <alternative command="/gaia-threat-model" context="If threat modeling not yet done"/>
85
- </next-step>
86
- </workflow>
@@ -1,34 +0,0 @@
1
- name: create-epics-stories
2
- description: 'Break requirements into epics and user stories'
3
- module: lifecycle
4
- agent: pm
5
- config_resolved: "{installed_path}/.resolved/create-epics-stories.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- input_file_patterns:
11
- prd:
12
- whole: "{planning_artifacts}/prd.md"
13
- load_strategy: "FULL_LOAD"
14
- architecture:
15
- whole: "{planning_artifacts}/architecture.md"
16
- load_strategy: "FULL_LOAD"
17
- test_plan:
18
- whole: "{test_artifacts}/test-plan.md"
19
- load_strategy: "FULL_LOAD"
20
- ux_design:
21
- whole: "{planning_artifacts}/ux-design.md"
22
- load_strategy: "FULL_LOAD"
23
- quality_gates:
24
- pre_start:
25
- - check: "architecture_exists"
26
- on_fail: "HALT: Run /gaia-create-arch first — architecture doc required before creating epics"
27
- - check: "test_plan_exists"
28
- on_fail: "HALT: Test plan not found. Run /gaia-test-design first — test risk levels inform story sizing and ATDD decisions."
29
- on_error:
30
- missing_file: "ask_user"
31
- unresolved_variable: "halt"
32
-
33
- output:
34
- primary: "{planning_artifacts}/epics-and-stories.md"
@@ -1,24 +0,0 @@
1
- ---
2
- title: 'Architecture Edit Validation'
3
- validation-target: 'Edited Architecture'
4
- ---
5
- ## Edit Quality
6
- - [ ] Requested changes applied correctly
7
- - [ ] Unchanged sections preserved exactly
8
- - [ ] Architecture version incremented
9
- - [ ] Consistency maintained across sections
10
- ## ADR Quality
11
- - [ ] New ADR(s) created with auto-incremented ID
12
- - [ ] Superseded ADRs marked with status update
13
- - [ ] Addresses field maps to FR/NFR IDs
14
- ## Version History
15
- - [ ] Version note added with date, reason, driver, and CR ID (if applicable)
16
- ## Review Gate
17
- - [ ] Adversarial review completed OR explicitly skipped for minor edits
18
- - [ ] "Review Findings Incorporated" section updated (if review ran)
19
- ## Cascade Assessment
20
- - [ ] Impact classified for: epics/stories, test plan, infrastructure, traceability
21
- - [ ] Next steps communicated to user
22
- ## Output Verification
23
- - [ ] Output file saved to {planning_artifacts}/architecture.md
24
- - [ ] Changes recorded in architect-sidecar memory
@@ -1,91 +0,0 @@
1
- <workflow name="edit-architecture">
2
- <critical>
3
- <mandate>Preserve existing content not being changed — no silent drops, reorders, or modifications</mandate>
4
- <mandate>Record every significant decision as a new ADR with auto-incremented ID</mandate>
5
- <mandate>Add version note documenting what changed, why, and the CR/reference</mandate>
6
- </critical>
7
- <step n="1" title="Load Existing Architecture">
8
- <action>Read {planning_artifacts}/architecture.md in full</action>
9
- <action>Count existing ADRs in Section 2 (Architecture Decisions) — note highest ADR ID for auto-increment</action>
10
- <action>Identify existing Version History entries — note last version number for auto-increment</action>
11
- <action>Display current structure summary to user: section headers, ADR count, current version</action>
12
- </step>
13
- <step n="2" title="Capture Change Scope">
14
- <check if="triggered_by_change_request">Inherit CR ID, technical_impact, and change_description from the triggering workflow context. Skip user questions — proceed directly to scope confirmation.</check>
15
- <check if="triggered_by_adversarial_review">Load adversarial review findings as the change scope. Set driver = "adversarial-review". Skip user questions — proceed directly to scope confirmation.</check>
16
- <ask>What sections need to change? (List affected architecture sections)</ask>
17
- <ask>What is the change? (Describe the modification)</ask>
18
- <ask>Why is this change needed? (Driver: change request / technical discovery / adversarial finding / PRD edit cascade)</ask>
19
- <ask>Is this linked to a change request or other reference? If so, provide the CR ID or reference.</ask>
20
- <action>Record: sections_affected, change_description, driver, cr_id</action>
21
- <action>Classify change scope: MINOR (section update, config change) / SIGNIFICANT (new component, API change, data model change) / BREAKING (architectural shift, tech stack change)</action>
22
- <action>Confirm scope of changes with user before proceeding</action>
23
- </step>
24
- <step n="3" title="Apply Targeted Edits">
25
- <action>For each affected section: present current content, propose edits, wait for user confirmation or modification</action>
26
- <action>Preserve all unchanged sections exactly as-is — no reordering, no reformatting, no content loss</action>
27
- <action>Validate consistency between edited sections and remaining unchanged sections</action>
28
- <action>If edits affect component-to-requirement traceability: verify Addresses fields remain accurate</action>
29
- </step>
30
- <step n="4" title="Record ADRs">
31
- <action>For each significant decision in the edit: create a new ADR entry</action>
32
- <action>Auto-increment ADR ID from highest existing (e.g., if ADR-5 exists, new ADR is ADR-6)</action>
33
- <action>ADR template:
34
- ### ADR-{id}: {Decision Title}
35
- - **Status:** Active
36
- - **Context:** {Why this decision was needed}
37
- - **Decision:** {What was decided}
38
- - **Consequences:** {Trade-offs and implications}
39
- - **Addresses:** {FR-* / NFR-* IDs this decision addresses}
40
- </action>
41
- <action>If superseding an existing ADR: set old ADR status to "Superseded by ADR-{new_id}" and add "Supersedes: ADR-{old_id}" to the new entry</action>
42
- <action>Auto-increment architecture version: minor bump (e.g., v1.0 → v1.1, v1.3 → v1.4)</action>
43
- </step>
44
- <step n="5" title="Add Version Note">
45
- <action>Append a new row to the Version History table:
46
- | {date} | {change summary} | {driver} | {CR ID or reference} |
47
- </action>
48
- <action>If no Version History section exists, create one:
49
- ## Version History
50
- | Date | Change | Reason | CR/Reference |
51
- |------|--------|--------|-------------|
52
- | {date} | {change summary} | {driver} | {CR ID or reference} |
53
- </action>
54
- </step>
55
- <step n="6" title="Save and Review Gate">
56
- <action>Generate a diff summary showing exactly what changed (sections modified, ADRs added/superseded, version bump)</action>
57
- <template-output file="{planning_artifacts}/architecture.md">
58
- Save updated architecture document with all edits applied, new ADRs appended, version incremented, and version note added.
59
- </template-output>
60
- <check if="change_scope == SIGNIFICANT OR change_scope == BREAKING">
61
- <action>Adversarial review is REQUIRED for SIGNIFICANT/BREAKING changes.</action>
62
- <action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/tasks/review-adversarial.xml. Read its entire contents. Target: {planning_artifacts}/architecture.md. Target label: architecture. Follow the task instructions EXACTLY. Focus review on changed sections: {sections_affected}."</action>
63
- <action>When subagent returns: verify adversarial-review-architecture-{date}.md exists.</action>
64
- <action>Read findings — extract critical and high severity items.</action>
65
- <action>For each critical/high finding: incorporate into architecture document.</action>
66
- <action>Update "Review Findings Incorporated" section — append new entries with amendment date.</action>
67
- <template-output file="{planning_artifacts}/architecture.md">
68
- Update architecture with adversarial review findings incorporated. Append to existing "Review Findings Incorporated" section with amendment date.
69
- </template-output>
70
- </check>
71
- <check if="change_scope == MINOR">
72
- <ask>The architecture has been updated with MINOR changes. Would you like to run an adversarial review? (yes / skip for minor edits)</ask>
73
- <action>If yes: spawn subagent as above, incorporate findings.</action>
74
- <action>If skip: mark "Review Findings Incorporated" as "Incremental edit — adversarial review skipped (minor change)"</action>
75
- </check>
76
- </step>
77
- <step n="7" title="Cascade Impact Analysis">
78
- <action>Classify cascade impact on downstream artifacts:</action>
79
- <action>
80
- | Downstream Artifact | Impact | Recommended Action |
81
- |------------------------|--------|--------------------|
82
- | Epics and Stories | {NONE/MINOR/SIGNIFICANT} | {/gaia-add-stories or manual update} |
83
- | Test Plan | {NONE/MINOR/SIGNIFICANT} | {/gaia-test-design} |
84
- | Infrastructure Design | {NONE/MINOR/SIGNIFICANT} | {/gaia-infra-design or manual update} |
85
- | Traceability Matrix | {NONE/MINOR/SIGNIFICANT} | {/gaia-trace} |
86
- </action>
87
- <action>For each artifact with impact > NONE: recommend the appropriate update workflow</action>
88
- <action>Report cascade assessment to user with recommended next command(s)</action>
89
- <action>Record all architecture changes and new ADRs in Theo's memory sidecar: {memory_path}/architect-sidecar/architecture-decisions.md</action>
90
- </step>
91
- </workflow>
@@ -1,32 +0,0 @@
1
- name: edit-architecture
2
- description: 'Edit an existing architecture document'
3
- module: lifecycle
4
- agent: architect
5
- config_resolved: "{installed_path}/.resolved/edit-architecture.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/3-solutioning/edit-architecture"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- input_file_patterns:
11
- architecture:
12
- whole: "{planning_artifacts}/architecture.md"
13
- load_strategy: "FULL_LOAD"
14
- prd:
15
- whole: "{planning_artifacts}/prd.md"
16
- load_strategy: "SELECTIVE_LOAD"
17
- epics_and_stories:
18
- whole: "{planning_artifacts}/epics-and-stories.md"
19
- load_strategy: "SELECTIVE_LOAD"
20
- quality_gates:
21
- pre_start:
22
- - check: "architecture_exists"
23
- on_fail: "HALT: No architecture.md found. Run /gaia-create-arch first."
24
- post_complete:
25
- - check: "cascade_significant"
26
- on_fail: "RECOMMEND: Cascade impact is SIGNIFICANT — run /gaia-create-epics to update stories and /gaia-test-design to update test plan."
27
- on_error:
28
- missing_file: "ask_user"
29
- unresolved_variable: "halt"
30
-
31
- output:
32
- primary: "{planning_artifacts}/architecture.md"
@@ -1,66 +0,0 @@
1
- ---
2
- title: 'Implementation Readiness Check'
3
- validation-target: 'Readiness gate report'
4
- ---
5
- ## Artifacts
6
- - [ ] PRD exists and is complete
7
- - [ ] UX Design exists and is complete
8
- - [ ] Architecture exists and is complete
9
- - [ ] Epics/Stories exist and are complete
10
- ## Consistency
11
- - [ ] Stories trace to PRD requirements
12
- - [ ] Architecture covers all features
13
- - [ ] prd.md contains "Review Findings Incorporated" section
14
- - [ ] architecture.md contains "Review Findings Incorporated" section
15
- ## Cross-Artifact Contradictions
16
- - [ ] Architecture decisions checked against threat model security requirements (if threat-model.md exists)
17
- - [ ] Architecture topology checked against infrastructure deployment topology (if infrastructure-design.md exists)
18
- - [ ] Story component references verified against architecture component inventory
19
- - [ ] PRD NFR targets verified against architecture design decisions
20
- - [ ] Critical/high security requirements verified against story acceptance criteria (if threat-model.md exists)
21
- - [ ] Auth strategy alignment verified across PRD, architecture, and threat model
22
- - [ ] contradiction_check field present in gate report YAML frontmatter
23
- - [ ] All BLOCKING contradictions listed in blocking_issues
24
- - [ ] Contradictions table included in report body
25
- ## TEA Readiness
26
- - [ ] Technical: team expertise evaluated against chosen stack, learning curve assessed
27
- - [ ] Estimation: stories use numeric points (not just T-shirt sizes), no oversized stories (>13 pts)
28
- - [ ] Architecture: all ADRs resolved (none Proposed), adversarial findings incorporated, threat model reviewed
29
- - [ ] Testing: acceptance criteria testable, NFR targets quantified
30
- ## Test Infrastructure
31
- - [ ] test-plan.md exists at {test_artifacts}/test-plan.md
32
- - [ ] traceability-matrix.md covers all PRD requirements
33
- - [ ] ci-setup.md has enforced quality gates (not advisory-only)
34
- - [ ] Gate report includes test_plan_exists, traceability_complete, ci_gates_enforced
35
- ## Security
36
- - [ ] Security requirements documented
37
- - [ ] Auth strategy defined
38
- - [ ] Compliance timeline estimated (GDPR, PCI-DSS if applicable)
39
- - [ ] No P0 compliance stories in Post-MVP epics (or flagged as WARNING)
40
- ## Operational Readiness
41
- - [ ] Rollback procedure documented and feasible
42
- - [ ] Observability stack defined (logging, metrics, alerting)
43
- - [ ] Release strategy defined and infrastructure supports it
44
- - [ ] Gate report includes rollback_feasible, observability_ready, release_strategy_defined
45
- ## Brownfield Completeness (if brownfield-onboarding.md exists)
46
- - [ ] dependency-map.md exists with Mermaid dependency graph
47
- - [ ] nfr-assessment.md exists at {test_artifacts}/nfr-assessment.md with real baseline values
48
- - [ ] api-documentation.md exists with OpenAPI spec (if APIs detected)
49
- - [ ] event-catalog.md exists with event tables (if events detected)
50
- - [ ] ux-design.md exists with accessibility assessment (if frontend detected)
51
- - [ ] architecture.md has as-is/target sections with Mermaid diagrams
52
- - [ ] PRD NFR section references nfr-assessment.md baselines
53
- - [ ] brownfield-onboarding.md links to all generated artifacts
54
- - [ ] dependency-audit-{date}.md exists in planning-artifacts
55
- ## Report
56
- - [ ] Machine-readable YAML frontmatter present
57
- - [ ] date field present in YAML
58
- - [ ] checks_passed aggregate (e.g., "7/8") in YAML
59
- - [ ] critical_blockers count in YAML
60
- - [ ] PASS/FAIL status clear
61
- - [ ] Section names use standard schema (completeness, consistency, contradictions, tea_readiness, test_infrastructure, security_readiness, operational_readiness, brownfield_completeness)
62
- - [ ] Values use PASS/FAIL (not boolean true/false), brownfield uses N/A when skipped
63
- - [ ] contradictions_found and contradictions_blocking counts in frontmatter
64
- - [ ] Blocking issues listed if FAIL
65
- ## Output Verification
66
- - [ ] Output file exists at {planning_artifacts}/readiness-report.md