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,33 +0,0 @@
1
- <workflow name="release-plan">
2
- <critical>
3
- <mandate>Every release must have a defined deployment strategy</mandate>
4
- <mandate>Staged rollout percentages must be explicit</mandate>
5
- <mandate>Communication plan must be included</mandate>
6
- </critical>
7
- <step n="1" title="Release Scope">
8
- <action>Define what's included: stories, features, bug fixes, breaking changes</action>
9
- <action>Assign version number following semantic versioning</action>
10
- <action>Identify release dependencies and ordering constraints</action>
11
- </step>
12
- <step n="2" title="Deployment Strategy">
13
- <action>Select strategy: blue-green, canary, rolling, or big-bang</action>
14
- <action>Justify strategy choice based on risk profile and infrastructure</action>
15
- <action>Define success criteria for each deployment phase</action>
16
- </step>
17
- <step n="3" title="Staged Rollout">
18
- <action>Define percentage targets: 1% → 10% → 50% → 100%</action>
19
- <action>Set observation windows between stages</action>
20
- <action>Define metrics to monitor at each stage</action>
21
- <action>Specify abort criteria for each stage</action>
22
- </step>
23
- <step n="4" title="Communication Plan">
24
- <action>Define stakeholder notification timeline</action>
25
- <action>Prepare changelog and release notes</action>
26
- <action>Plan user-facing communications if applicable</action>
27
- </step>
28
- <step n="5" title="Generate Output">
29
- <template-output file="{implementation_artifacts}/release-plan-{version}.md">
30
- Generate release plan with: scope, deployment strategy, staged rollout schedule, communication plan, and success criteria.
31
- </template-output>
32
- </step>
33
- </workflow>
@@ -1,19 +0,0 @@
1
- name: release-plan
2
- description: 'Staged rollout and release strategy'
3
- module: lifecycle
4
- agent: devops
5
- config_resolved: "{installed_path}/.resolved/release-plan.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/5-deployment/release-plan"
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
- on_error:
15
- missing_file: "ask_user"
16
- unresolved_variable: "halt"
17
-
18
- output:
19
- primary: "{implementation_artifacts}/release-plan-{version}.md"
@@ -1,20 +0,0 @@
1
- ---
2
- title: 'Rollback Plan Validation'
3
- validation-target: 'Rollback plan document'
4
- required-inputs: []
5
- ---
6
- ## Triggers
7
- - [ ] Rollback trigger criteria defined
8
- - [ ] Authority to initiate specified
9
- ## Procedure
10
- - [ ] Step-by-step rollback documented
11
- - [ ] Expected duration estimated
12
- - [ ] Verification steps after rollback defined
13
- ## Data
14
- - [ ] DB migration reversal plan exists
15
- - [ ] Non-reversible data identified with mitigation
16
- ## Communication
17
- - [ ] Notification list defined
18
- - [ ] Incident response process documented
19
- ## Output Verification
20
- - [ ] Rollback plan file generated
@@ -1,33 +0,0 @@
1
- <workflow name="rollback-plan">
2
- <critical>
3
- <mandate>Rollback must be executable without additional approvals during incident</mandate>
4
- <mandate>Data rollback strategy must be explicitly defined</mandate>
5
- <mandate>Communication plan must be included</mandate>
6
- </critical>
7
- <step n="1" title="Trigger Criteria">
8
- <action>Define when to rollback: error rate threshold, latency spike, critical bug</action>
9
- <action>Specify automated vs manual rollback triggers</action>
10
- <action>Define who has authority to initiate rollback</action>
11
- </step>
12
- <step n="2" title="Rollback Procedure">
13
- <action>Step-by-step rollback execution plan</action>
14
- <action>Define rollback mechanism: redeploy previous version, traffic shift, feature flag</action>
15
- <action>Specify expected rollback duration</action>
16
- <action>Define verification steps after rollback</action>
17
- </step>
18
- <step n="3" title="Data Rollback">
19
- <action>Define DB migration reversal plan</action>
20
- <action>Specify data fix procedures for any data written by new version</action>
21
- <action>Identify data that cannot be rolled back and mitigation plan</action>
22
- </step>
23
- <step n="4" title="Communication">
24
- <action>Define who to notify during rollback: engineering, stakeholders, users</action>
25
- <action>Specify incident response process and escalation path</action>
26
- <action>Prepare status page and communication templates</action>
27
- </step>
28
- <step n="5" title="Generate Plan">
29
- <template-output file="{implementation_artifacts}/rollback-plan-{version}.md">
30
- Generate rollback plan with: trigger criteria, step-by-step procedure, data rollback strategy, communication plan, and post-rollback verification steps.
31
- </template-output>
32
- </step>
33
- </workflow>
@@ -1,15 +0,0 @@
1
- name: rollback-plan
2
- description: 'Rollback trigger criteria and procedures'
3
- module: lifecycle
4
- agent: devops
5
- config_resolved: "{installed_path}/.resolved/rollback-plan.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/5-deployment/rollback-plan"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- on_error:
11
- missing_file: "ask_user"
12
- unresolved_variable: "halt"
13
-
14
- output:
15
- primary: "{implementation_artifacts}/rollback-plan-{version}.md"
@@ -1,52 +0,0 @@
1
- ---
2
- title: 'Brownfield Onboarding Validation'
3
- validation-target: 'Brownfield onboarding output'
4
- ---
5
- ## Step 1: Discovery
6
- - [ ] Existing project documented
7
- - [ ] Tech stack identified
8
- - [ ] Current architecture mapped
9
- - [ ] Capability flags detected (has_apis, has_events, has_external_deps, has_frontend)
10
- - [ ] Testing infrastructure assessed
11
- - [ ] CI/CD pipeline documented
12
- - [ ] Brownfield assessment generated at {planning_artifacts}/brownfield-assessment.md
13
- ## Step 2: Parallel Documentation Subagents
14
- - [ ] Dependency map subagent completed — {planning_artifacts}/dependency-map.md exists
15
- - [ ] Dependency audit subagent completed — {test_artifacts}/dependency-audit-{date}.md exists
16
- - [ ] API documentation subagent completed (if has_apis) — {planning_artifacts}/api-documentation.md exists
17
- - [ ] UX design assessment subagent completed (if has_frontend) — {planning_artifacts}/ux-design.md exists
18
- - [ ] Event catalog subagent completed (if has_events) — {planning_artifacts}/event-catalog.md exists
19
- - [ ] All API docs use Swagger/OpenAPI format
20
- - [ ] All diagrams use Mermaid syntax
21
- ## Step 3: NFR Assessment & Performance Test Plan
22
- - [ ] NFR assessment subagent completed — {test_artifacts}/nfr-assessment.md exists
23
- - [ ] NFR baseline summary table has real measured values (not placeholders)
24
- - [ ] Performance test plan created — {test_artifacts}/performance-test-plan-{date}.md exists
25
- - [ ] Performance budgets defined (P50/P95/P99) based on NFR baselines
26
- - [ ] Load test scenarios designed (gradual, spike, soak)
27
- - [ ] Frontend performance targets set if applicable (LCP, INP, CLS)
28
- - [ ] CI performance gates configured with pass/fail thresholds
29
- ## Step 4: Gap Analysis PRD
30
- - [ ] If prior prd.md existed, user confirmed overwrite or alternate filename used
31
- - [ ] PRD created with gap-focused content only
32
- - [ ] NFR section includes current baseline and target from nfr-assessment.md
33
- - [ ] Upstream artifacts referenced (api-docs, event-catalog, dependency-map, ux-design)
34
- - [ ] Priority matrix maps each gap to priority/effort/impact
35
- ## Step 5: Adversarial Review
36
- - [ ] Adversarial review subagent completed — {planning_artifacts}/adversarial-review-prd-{date}.md exists
37
- - [ ] Critical/high findings incorporated into PRD
38
- - [ ] "Review Findings Incorporated" section added to PRD
39
- ## Step 6: Architecture & Phase 3 Handoff
40
- - [ ] Architecture subagent completed — {planning_artifacts}/architecture.md exists
41
- - [ ] User informed of remaining Phase 3 sequence: /gaia-review-api (optional) → /gaia-adversarial → /gaia-test-design → /gaia-test-framework (optional) → /gaia-create-epics → /gaia-threat-model → /gaia-infra-design → /gaia-trace → /gaia-ci-setup → /gaia-readiness-check
42
- ## Output Verification
43
- - [ ] Project documentation exists at {planning_artifacts}/project-documentation.md
44
- - [ ] API documentation exists at {planning_artifacts}/api-documentation.md (if has_apis)
45
- - [ ] UX design exists at {planning_artifacts}/ux-design.md (if has_frontend)
46
- - [ ] Event catalog exists at {planning_artifacts}/event-catalog.md (if has_events)
47
- - [ ] Dependency map exists at {planning_artifacts}/dependency-map.md
48
- - [ ] NFR assessment exists at {test_artifacts}/nfr-assessment.md
49
- - [ ] Performance test plan exists at {test_artifacts}/performance-test-plan-*.md
50
- - [ ] PRD exists at {planning_artifacts}/prd.md
51
- - [ ] Architecture exists at {planning_artifacts}/architecture.md
52
- - [ ] Next step: /gaia-review-api (optional) → /gaia-adversarial → /gaia-test-design → /gaia-test-framework (optional) → /gaia-create-epics → /gaia-threat-model → /gaia-infra-design → /gaia-trace → /gaia-ci-setup → /gaia-readiness-check
@@ -1,122 +0,0 @@
1
- <workflow name="brownfield-onboarding">
2
- <critical>
3
- <mandate>Document existing state before proposing changes</mandate>
4
- <mandate>Stories should only cover gaps, not re-implement existing features</mandate>
5
- <mandate>All diagrams must use Mermaid syntax — no ASCII art, no text descriptions of diagrams</mandate>
6
- <mandate>All API documentation must use Swagger/OpenAPI format</mandate>
7
- <mandate>Limit flow diagrams to 3-5 key flows to avoid output bloat</mandate>
8
- <mandate>Subagent completion MUST NOT auto-advance the workflow. After all subagents return, pause for user review before proceeding.</mandate>
9
- </critical>
10
-
11
- <step n="1" title="Deep Project Discovery">
12
- <action>Invoke document-project workflow to scan codebase</action>
13
- <action>Capture: tech stack, architecture, existing features, code quality, conventions</action>
14
- <action>API Detection: scan for route definitions, controllers, OpenAPI/Swagger specs. Set {has_apis} flag (true/false)</action>
15
- <action>Event Detection: scan for Kafka, RabbitMQ, SNS-SQS, Redis pub-sub, NATS, or other messaging patterns. Set {has_events} flag (true/false)</action>
16
- <action>Dependency Detection: scan for outbound HTTP clients, SDKs, service URLs, database connections. Set {has_external_deps} flag (true/false)</action>
17
- <action>Frontend Detection: scan for React, Angular, Vue, Flutter, SwiftUI, UI frameworks, CSS/styling. Set {has_frontend} flag (true/false)</action>
18
- <action>Testing infrastructure: identify test framework, coverage config, test count, test patterns</action>
19
- <action>CI/CD: identify GitHub Actions, Jenkins, Docker, Terraform, or other pipeline files</action>
20
- <action>Generate brownfield assessment: read {installed_path}/../../templates/brownfield-assessment-template.md — capture component inventory, technical debt, migration constraints, coexistence strategy, and adoption path. Output to {planning_artifacts}/brownfield-assessment.md</action>
21
- <template-output file="{planning_artifacts}/project-documentation.md">
22
- Generate enhanced project documentation following the project documentation conventions. Include all standard sections plus: detected capability flags (has_apis, has_events, has_external_deps, has_frontend), testing infrastructure summary, and CI/CD pipeline summary.
23
- </template-output>
24
- </step>
25
-
26
- <step n="2" title="Parallel Documentation Subagents">
27
- <action>Spawn subagents in parallel using the Agent tool with multiple calls in a single message. Only spawn subagents for detected capabilities.</action>
28
- <action>If {has_apis}: spawn subagent — "Scan the codebase at {project-path} for API routes, controllers, and OpenAPI/Swagger specs. Read {installed_path}/../../templates/api-documentation-template.md for the output format. Check if an OpenAPI spec file already exists — if so, validate it against actual routes; if not, generate an OpenAPI 3.x spec from code. Document all endpoints (method, path, handler, auth, parameters, request/response schemas, error formats). Include a Mermaid API flow diagram. List undocumented endpoints as gaps. All API docs must use Swagger/OpenAPI format. Output to {planning_artifacts}/api-documentation.md"</action>
29
- <action>If {has_frontend}: spawn subagent — "Scan the codebase at {project-path} for UI frameworks, components, design patterns, and styling. Read {installed_path}/../../templates/ux-design-assessment-template.md for the output format. Document existing UI patterns, navigation structure (Mermaid sitemap), interaction patterns, accessibility (WCAG compliance, ARIA, keyboard nav). Identify UX gaps — propose improvements for gaps only, not redesign of working patterns. Output to {planning_artifacts}/ux-design.md"</action>
30
- <action>If {has_events}: spawn subagent — "Scan the codebase at {project-path} for messaging patterns (Kafka, RabbitMQ, SNS-SQS, Redis pub-sub, NATS). Read {installed_path}/../../templates/event-catalog-template.md for the output format. Document messaging infrastructure, produced/consumed events with schemas, external events, delivery guarantees (retry, DLQ, idempotency). Include Mermaid event flow diagrams for 2-3 key flows. Output to {planning_artifacts}/event-catalog.md"</action>
31
- <action>Spawn subagent (always) — "Scan the codebase at {project-path} for external dependencies. Read {installed_path}/../../templates/dependency-map-template.md for the output format. Document external service dependencies (APIs consumed, auth, health checks), infrastructure dependencies (databases, caches, queues), key library dependencies (ORM, auth lib — check version currency and CVE risk). Create Mermaid dependency graph. Document contracts, SLAs, and fallback strategies. Identify dependency risks. Output to {planning_artifacts}/dependency-map.md. Then load {project-root}/_gaia/core/tasks/review-dependency-audit.xml, read its entire contents, and follow the flow steps EXACTLY to generate a dependency audit report."</action>
32
- <action>Wait for all subagents to complete. Verify each expected output file exists: dependency-map.md at {planning_artifacts}/ (always), api-documentation.md at {planning_artifacts}/ (if has_apis), ux-design.md at {planning_artifacts}/ (if has_frontend), event-catalog.md at {planning_artifacts}/ (if has_events), dependency-audit-{date}.md at {test_artifacts}/ (always).</action>
33
- <action>If any subagent failed to write its output file: the orchestrator MUST write the file on the subagent's behalf using the paths declared in workflow.yaml output.artifacts. Do NOT use hardcoded paths — read the workflow config to determine the correct output directory for each artifact. Specifically: dependency-audit goes to {test_artifacts}/, all other Step 2 artifacts go to {planning_artifacts}/.</action>
34
- <template-output file="{planning_artifacts}/brownfield-subagent-summary.md">
35
- After all subagents complete, summarize: which subagents ran, artifacts produced, file paths, and any errors. This checkpoint ensures user reviews subagent results before NFR assessment.
36
- </template-output>
37
- </step>
38
-
39
- <step n="3" title="NFR Assessment &amp; Performance Test Plan">
40
- <action>Spawn a subagent — "Analyze the codebase at {project-path} for non-functional requirements. Read {installed_path}/../../templates/nfr-assessment-template.md for the output format. Assess: code quality (linting, complexity, duplication), security posture (dependency vulnerabilities, secrets handling, auth quality — load security-basics skill section vulnerability-scanning if needed), performance (bundle size if frontend, query patterns, caching, resource management), accessibility (ARIA, semantic HTML, keyboard nav if frontend), test coverage (framework, count, coverage %, untested areas, quality), CI/CD (build pipeline, deploy strategy, environments, IaC). Create NFR Baseline Summary Table with measured values (not placeholders). Output to {test_artifacts}/nfr-assessment.md. Then create a performance test plan: load {project-root}/_gaia/testing/knowledge/performance/k6-patterns.md for load testing patterns. If {has_frontend}: also load {project-root}/_gaia/testing/knowledge/performance/lighthouse-ci.md. Define performance budgets (P50/P95/P99) based on NFR baselines, load test scenarios (gradual, spike, soak), backend profiling targets (slow queries, N+1, connection pools), CI performance gates. If {has_frontend}: define Core Web Vitals targets (LCP under 2.5s, INP under 200ms, CLS under 0.1). Output to {test_artifacts}/performance-test-plan-{date}.md"</action>
41
- <action>When subagent returns: verify both {test_artifacts}/nfr-assessment.md and {test_artifacts}/performance-test-plan-{date}.md exist. If the subagent failed to write files, the orchestrator MUST write them to {test_artifacts}/ as declared in workflow.yaml output.artifacts — do NOT fall back to {planning_artifacts}/.</action>
42
- </step>
43
-
44
- <step n="4" title="Create PRD for Gaps">
45
- <action>Read the PRD template from {installed_path}/../../templates/prd-template.md</action>
46
- <action>Read upstream artifacts to inform gap analysis:</action>
47
- <action>— nfr-assessment.md → NFR section gets real "Current Baseline" and "Target" columns</action>
48
- <action>— api-documentation.md (if exists) → extract API gaps (undocumented endpoints, missing validation)</action>
49
- <action>— event-catalog.md (if exists) → extract messaging gaps (missing DLQ, missing schemas)</action>
50
- <action>— dependency-map.md → extract dependency risks (outdated versions, missing health checks)</action>
51
- <action>— dependency-audit-{date}.md → extract critical/high findings as gap requirements (CVEs, outdated packages, license conflicts)</action>
52
- <action>— ux-design.md (if exists) → extract UX gaps (accessibility violations, inconsistent patterns)</action>
53
- <action>Invoke create-prd logic in brownfield mode: fill every section with gap-focused content only</action>
54
- <action>Overview = existing project summary + what gaps this PRD addresses</action>
55
- <action>Goals = gap closure goals only. Non-Goals = existing features that will NOT be re-implemented</action>
56
- <action>User Stories = stories for gap features only, not existing functionality</action>
57
- <action>Functional Requirements = gap requirements organized by priority</action>
58
- <action>Non-Functional Requirements = NFR gaps with current baseline and target from {test_artifacts}/nfr-assessment.md</action>
59
- <action>If {planning_artifacts}/prd.md already exists: WARN user — "A PRD already exists. Continuing will overwrite it with brownfield gap content. Choose: (a) overwrite, (b) save as prd-brownfield-gaps.md instead." If user chooses (b), adjust template-output path accordingly.</action>
60
- <template-output file="{planning_artifacts}/prd.md">
61
- Generate a PRD following the standard template structure. YAML frontmatter MUST include: mode: brownfield, baseline_version: {version from package.json or inferred}, focus: gap-filling. Add "Mode: Brownfield — gaps only" to the header. All sections must follow the template format but contain only gap-focused content. NFR section must include "Current Baseline" and "Target" columns with real values from {test_artifacts}/nfr-assessment.md. Include a Priority Matrix section mapping each gap to priority/effort/impact.
62
- </template-output>
63
- </step>
64
-
65
- <step n="5" title="Adversarial Review &amp; PRD Refinement">
66
- <action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/tasks/review-adversarial.xml. Read its entire contents. Target: {planning_artifacts}/prd.md. Target label: prd. Follow the task instructions EXACTLY." This is required — findings will be incorporated back into the PRD.</action>
67
- <action>When subagent returns: verify adversarial-review-prd-{date}.md exists in {planning_artifacts}/</action>
68
- <action>Read {planning_artifacts}/adversarial-review-prd-{date}.md — extract critical and high severity findings</action>
69
- <action>For each critical/high finding: add as a new requirement or refine an existing requirement in the PRD</action>
70
- <action>Add a "## Review Findings Incorporated" section to the PRD listing each finding, its severity, and how it was addressed</action>
71
- <template-output file="{planning_artifacts}/prd.md">
72
- Update the PRD with adversarial review findings incorporated. Critical/high findings become new requirements or refine existing ones. Add "Review Findings Incorporated" section.
73
- </template-output>
74
- </step>
75
-
76
- <step n="6" title="Architecture">
77
- <action>Architecture is created using the Phase 3 workflow which auto-detects brownfield mode from the PRD "Mode: Brownfield" header set in step 4.</action>
78
- <action>If {planning_artifacts}/architecture.md already exists: WARN user — "An architecture document already exists. Continuing will overwrite it with the brownfield version. Choose: (a) overwrite, (b) save as architecture-brownfield.md instead." If user chooses (b), instruct the subagent to output to {planning_artifacts}/architecture-brownfield.md.</action>
79
- <action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/3-solutioning/create-architecture/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY." When subagent returns: verify the architecture file exists at the chosen path.</action>
80
- <action>After architecture is generated: verify it has YAML frontmatter with mode: brownfield, baseline_version: {version}, and update_scope: [list of components being modified]. If these fields are missing, append them to the YAML frontmatter block.</action>
81
- <action>The remaining Phase 3 sequence must be run after this workflow completes:
82
- /gaia-review-api (optional, if APIs) → /gaia-adversarial → /gaia-test-design → /gaia-test-framework (optional) → /gaia-create-epics → /gaia-threat-model → /gaia-infra-design → /gaia-trace → /gaia-ci-setup → /gaia-readiness-check</action>
83
- </step>
84
-
85
- <step n="7" title="Bootstrap Val Ground Truth" optional="true">
86
- <action>Check if Val is installed: verify {project-root}/_gaia/lifecycle/agents/validator.md exists AND {memory_path}/validator-sidecar/ directory exists</action>
87
- <check if="validator.md not found OR validator-sidecar/ not found">Skip Step 7 silently — Val is not installed. Brownfield onboarding continues without ground truth bootstrap.</check>
88
-
89
- <ask>Step 7: Bootstrap Val ground truth from brownfield assessment? [y/n]</ask>
90
-
91
- <action>Check if /gaia-refresh-ground-truth workflow exists: look for {project-root}/_gaia/lifecycle/workflows/*/refresh-ground-truth/ directory</action>
92
- <check if="refresh-ground-truth workflow directory not found">Val ground truth bootstrap skipped — refresh-ground-truth workflow not available. Run /gaia-refresh-ground-truth manually after E8-S9 is implemented. Brownfield onboarding completes successfully.</check>
93
-
94
- <action>Invoke /gaia-refresh-ground-truth to scan the filesystem and populate framework inventory facts (workflows, agents, skills, commands) into ground-truth.md</action>
95
- <invoke-workflow ref="refresh-ground-truth" mode="yolo" />
96
-
97
- <action>Load brownfield-extraction section of ground-truth-management skill JIT from {project-root}/_gaia/lifecycle/skills/ground-truth-management.md</action>
98
- <action>Read available brownfield artifacts and extract project-specific facts. For each artifact, check if the file exists before reading — skip missing artifacts without error:
99
- — {planning_artifacts}/brownfield-assessment.md: extract tech stack, dependencies, file counts, project structure → file-inventory and variable-inventory entries
100
- — {planning_artifacts}/project-documentation.md: extract architecture patterns, conventions, config values → structural-pattern and cross-reference entries
101
- — {test_artifacts}/nfr-assessment.md (if present): extract performance targets, security requirements → variable-inventory entries</action>
102
-
103
- <action>Write extracted project facts to {memory_path}/validator-sidecar/ground-truth.md. If ground-truth.md already exists with content: merge new facts with existing entries — add new facts, update changed facts, flag removed facts — never destructive overwrite. Follow merge semantics from ground-truth-management conflict-resolution section. If ground-truth.md is empty or new: write all extracted facts as initial seed entries with verification count = 1.</action>
104
- <action>Report: "Seeded {N} ground-truth entries from brownfield artifacts + filesystem scan"</action>
105
- </step>
106
-
107
- <next-step command="/gaia-review-api">
108
- Run the remaining Phase 3 sequence after this workflow:
109
- 1. /gaia-review-api — review API design against standards (optional, if APIs exist)
110
- 2. /gaia-adversarial — adversarial review of architecture
111
- 3. /gaia-test-design — create risk-based test plan (required before epics)
112
- 4. /gaia-test-framework — setup test framework (optional)
113
- 5. /gaia-create-epics — create epics and stories for gap requirements
114
- 6. /gaia-threat-model — security threat model
115
- 7. /gaia-infra-design — infrastructure design
116
- 8. /gaia-trace — traceability matrix
117
- 9. /gaia-ci-setup — CI pipeline setup
118
- 10. /gaia-readiness-check — implementation readiness validation
119
-
120
- WARNING: If Phase 3 artifacts already exist from a prior greenfield setup (test-plan.md, epics-and-stories.md), running these workflows will overwrite them. Consider backing up existing artifacts or using the brownfield PRD path to generate separate brownfield-specific outputs.
121
- </next-step>
122
- </workflow>
@@ -1,149 +0,0 @@
1
- #!/usr/bin/env bash
2
- # E8-S17 — Structural validation tests for Step 7 in brownfield instructions.xml
3
- # RED phase: All tests should FAIL because Step 7 does not exist yet.
4
-
5
- FILE="$(dirname "$0")/instructions.xml"
6
- PASS=0
7
- FAIL=0
8
- ERRORS=()
9
-
10
- count_matches() {
11
- local pattern="$1"
12
- local file="$2"
13
- grep -c "$pattern" "$file" 2>/dev/null || printf "0"
14
- }
15
-
16
- count_matches_after_line() {
17
- local pattern="$1"
18
- local file="$2"
19
- local start_line="$3"
20
- if [ "$start_line" -gt 0 ] 2>/dev/null; then
21
- tail -n +"$start_line" "$file" | grep -c "$pattern" 2>/dev/null || printf "0"
22
- else
23
- printf "0"
24
- fi
25
- }
26
-
27
- assert() {
28
- local desc="$1"
29
- local actual="$2"
30
- local expected="${3:-1}"
31
- if [ "$actual" -ge "$expected" ] 2>/dev/null; then
32
- PASS=$((PASS + 1))
33
- echo " PASS: $desc"
34
- else
35
- FAIL=$((FAIL + 1))
36
- ERRORS+=("$desc")
37
- echo " FAIL: $desc"
38
- fi
39
- }
40
-
41
- echo "=== E8-S17 Structural Tests ==="
42
- echo ""
43
-
44
- # Locate step lines
45
- step6_line=$(grep -n 'step n="6"' "$FILE" 2>/dev/null | head -1 | cut -d: -f1)
46
- step6_line=${step6_line:-0}
47
- step7_line=$(grep -n 'step n="7"' "$FILE" 2>/dev/null | head -1 | cut -d: -f1)
48
- step7_line=${step7_line:-0}
49
-
50
- # --- AC1: Step 7 exists after Step 6 ---
51
- echo "[AC1] Step 7 exists and is positioned after Step 6"
52
-
53
- assert "Step 7 XML block exists with n=\"7\"" "$(count_matches 'step n="7"' "$FILE")"
54
- assert "Step 7 has title 'Bootstrap Val Ground Truth'" "$(count_matches 'title="Bootstrap Val Ground Truth"' "$FILE")"
55
-
56
- if [ "$step7_line" -gt 0 ] && [ "$step6_line" -gt 0 ] && [ "$step7_line" -gt "$step6_line" ]; then
57
- assert "Step 7 appears after Step 6 in file" 1
58
- else
59
- assert "Step 7 appears after Step 6 in file" 0
60
- fi
61
-
62
- step7_optional=$(grep 'step n="7"' "$FILE" 2>/dev/null | grep -c 'optional="true"' || printf "0")
63
- assert "Step 7 is marked optional" "$step7_optional"
64
-
65
- for i in 1 2 3 4 5 6; do
66
- assert "Step $i still exists" "$(count_matches "step n=\"$i\"" "$FILE")"
67
- done
68
-
69
- echo ""
70
-
71
- # --- AC2: User prompt with correct text ---
72
- echo "[AC2] User prompt for Step 7"
73
- assert "Ask tag contains 'Bootstrap Val ground truth from brownfield assessment'" \
74
- "$(count_matches 'Bootstrap Val ground truth from brownfield assessment' "$FILE")"
75
-
76
- echo ""
77
-
78
- # --- AC3: Silent skip when Val not installed ---
79
- echo "[AC3] Silent skip when Val not installed"
80
- assert "Step 7 checks for validator.md existence" \
81
- "$(count_matches_after_line 'validator.md' "$FILE" "$step7_line")"
82
- assert "Step 7 checks for validator-sidecar/ directory" \
83
- "$(count_matches_after_line 'validator-sidecar' "$FILE" "$step7_line")"
84
-
85
- echo ""
86
-
87
- # --- AC4: Graceful skip when refresh-ground-truth missing ---
88
- echo "[AC4] Graceful skip when refresh-ground-truth workflow missing"
89
- assert "Step 7 references refresh-ground-truth workflow" \
90
- "$(count_matches_after_line 'refresh-ground-truth' "$FILE" "$step7_line")"
91
- assert "Step 7 has graceful skip message for missing refresh workflow" \
92
- "$(count_matches_after_line 'refresh-ground-truth workflow not available' "$FILE" "$step7_line")"
93
-
94
- echo ""
95
-
96
- # --- AC5: Invoke refresh-ground-truth ---
97
- echo "[AC5] Invoke refresh-ground-truth sub-workflow"
98
- assert "Step 7 has invoke-workflow for refresh-ground-truth" \
99
- "$(count_matches_after_line 'invoke-workflow' "$FILE" "$step7_line")"
100
-
101
- echo ""
102
-
103
- # --- AC6: Brownfield-specific artifact extraction ---
104
- echo "[AC6] Brownfield-specific artifact extraction"
105
- assert "Step 7 references brownfield-extraction skill section" \
106
- "$(count_matches_after_line 'brownfield-extraction' "$FILE" "$step7_line")"
107
- assert "Step 7 reads brownfield-assessment.md" \
108
- "$(count_matches_after_line 'brownfield-assessment.md' "$FILE" "$step7_line")"
109
- assert "Step 7 reads project-documentation.md" \
110
- "$(count_matches_after_line 'project-documentation.md' "$FILE" "$step7_line")"
111
- assert "Step 7 reads nfr-assessment.md" \
112
- "$(count_matches_after_line 'nfr-assessment.md' "$FILE" "$step7_line")"
113
-
114
- echo ""
115
-
116
- # --- AC7: Handle missing artifacts gracefully ---
117
- echo "[AC7] Handle missing artifacts gracefully"
118
- assert "Step 7 has conditional checks for artifact existence" \
119
- "$(count_matches_after_line 'if.*exists\|if.*available\|if.*present\|skip.*missing' "$FILE" "$step7_line")"
120
-
121
- echo ""
122
-
123
- # --- AC8: Merge with existing ground truth ---
124
- echo "[AC8] Merge with existing ground truth (no destructive overwrite)"
125
- assert "Step 7 references merge semantics (not overwrite)" \
126
- "$(count_matches_after_line 'merge\|never.*overwrite\|additive\|flag.*removed' "$FILE" "$step7_line")"
127
- assert "Step 7 references ground-truth.md output" \
128
- "$(count_matches_after_line 'ground-truth.md' "$FILE" "$step7_line")"
129
-
130
- echo ""
131
-
132
- # --- XML well-formedness ---
133
- echo "[Structure] XML integrity"
134
- close_tags=$(count_matches '</step>' "$FILE")
135
- assert "XML has balanced step tags (7 closing tags for 7 steps)" "$close_tags" 7
136
-
137
- echo ""
138
- echo "=== Results: $PASS passed, $FAIL failed ==="
139
-
140
- if [ "$FAIL" -gt 0 ]; then
141
- echo ""
142
- echo "Failed tests:"
143
- for err in "${ERRORS[@]}"; do
144
- echo " - $err"
145
- done
146
- exit 1
147
- fi
148
-
149
- exit 0
@@ -1,33 +0,0 @@
1
- name: brownfield-onboarding
2
- description: 'Apply GAIA framework to an existing project with comprehensive developer knowledge base'
3
- module: lifecycle
4
- agent: orchestrator
5
- config_resolved: "{installed_path}/.resolved/brownfield-onboarding.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/anytime/brownfield-onboarding"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- quality_gates:
11
- post_complete:
12
- - check: "nfr_assessment_exists"
13
- on_fail: "HALT: NFR assessment not found at {test_artifacts}/nfr-assessment.md."
14
- - check: "performance_test_plan_exists"
15
- on_fail: "HALT: Performance test plan not found at {test_artifacts}/. Run /gaia-perf-testing."
16
- on_error:
17
- missing_file: "ask_user"
18
- unresolved_variable: "halt"
19
-
20
- output:
21
- primary: "{planning_artifacts}/brownfield-onboarding.md"
22
- artifacts:
23
- - "{planning_artifacts}/project-documentation.md"
24
- - "{planning_artifacts}/api-documentation.md"
25
- - "{planning_artifacts}/ux-design.md"
26
- - "{planning_artifacts}/event-catalog.md"
27
- - "{planning_artifacts}/dependency-map.md"
28
- - "{test_artifacts}/nfr-assessment.md"
29
- - "{test_artifacts}/performance-test-plan-{date}.md"
30
- - "{planning_artifacts}/prd.md"
31
- - "{planning_artifacts}/architecture.md"
32
- - "{planning_artifacts}/epics-and-stories.md"
33
- - "{planning_artifacts}/brownfield-onboarding.md"
@@ -1,11 +0,0 @@
1
- ---
2
- title: 'Project Documentation Validation'
3
- validation-target: 'Project documentation'
4
- ---
5
- ## Coverage
6
- - [ ] Tech stack identified
7
- - [ ] Directory structure documented
8
- - [ ] Key files identified
9
- - [ ] Conventions documented
10
- ## Output Verification
11
- - [ ] Output file exists at {planning_artifacts}/project-documentation.md
@@ -1,26 +0,0 @@
1
- <workflow name="document-project">
2
- <critical>
3
- <mandate>Scan the actual project files — do not guess or assume</mandate>
4
- </critical>
5
- <step n="1" title="Scan Project">
6
- <action>Identify source files, config files, existing documentation</action>
7
- <action>Map directory structure</action>
8
- </step>
9
- <step n="2" title="Technology Detection">
10
- <action>Identify tech stack from package.json, build files, configs</action>
11
- <action>Detect frameworks, build tools, test frameworks</action>
12
- </step>
13
- <step n="3" title="Structure Mapping">
14
- <action>Generate directory structure overview</action>
15
- <action>Identify key entry points and modules</action>
16
- </step>
17
- <step n="4" title="Generate Documentation">
18
- <action>Create comprehensive project documentation</action>
19
- <action>Include: overview, tech stack, structure, conventions, key files</action>
20
- </step>
21
- <step n="5" title="Generate Output">
22
- <template-output file="{planning_artifacts}/project-documentation.md">
23
- Generate project documentation with: overview, technology stack, directory structure, conventions, key files, and entry points.
24
- </template-output>
25
- </step>
26
- </workflow>
@@ -1,15 +0,0 @@
1
- name: document-project
2
- description: 'Document an existing project for AI context'
3
- module: lifecycle
4
- agent: analyst
5
- config_resolved: "{installed_path}/.resolved/document-project.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/anytime/document-project"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- on_error:
11
- missing_file: "ask_user"
12
- unresolved_variable: "halt"
13
-
14
- output:
15
- primary: "{planning_artifacts}/project-documentation.md"
@@ -1,11 +0,0 @@
1
- ---
2
- title: 'Project Context Validation'
3
- validation-target: 'Project context document'
4
- ---
5
- ## Content
6
- - [ ] Project overview present
7
- - [ ] Tech stack documented
8
- - [ ] Conventions listed
9
- - [ ] AI-optimized rules included
10
- ## Output Verification
11
- - [ ] Output file exists at {planning_artifacts}/project-context.md
@@ -1,22 +0,0 @@
1
- <workflow name="generate-project-context">
2
- <critical>
3
- <mandate>Output must be optimized for AI agent consumption</mandate>
4
- </critical>
5
- <step n="1" title="Scan Project">
6
- <action>Read key files: package.json, README, config files</action>
7
- <action>Identify project name, version, dependencies</action>
8
- </step>
9
- <step n="2" title="Distill Context">
10
- <action>Extract: project name, tech stack, conventions, file structure</action>
11
- <action>Identify coding standards, naming conventions</action>
12
- </step>
13
- <step n="3" title="Generate AI Rules">
14
- <action>Create rules file optimized for AI agent consumption</action>
15
- <action>Include: do/don't rules, file patterns, conventions</action>
16
- </step>
17
- <step n="4" title="Generate Output">
18
- <template-output file="{planning_artifacts}/project-context.md">
19
- Generate project context document optimized for AI agents with: project overview, tech stack, conventions, do/don't rules, key file patterns.
20
- </template-output>
21
- </step>
22
- </workflow>
@@ -1,15 +0,0 @@
1
- name: generate-project-context
2
- description: 'Generate AI-optimized project context'
3
- module: lifecycle
4
- agent: analyst
5
- config_resolved: "{installed_path}/.resolved/generate-project-context.yaml"
6
- config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
- installed_path: "{project-root}/_gaia/lifecycle/workflows/anytime/generate-project-context"
8
- instructions: "{installed_path}/instructions.xml"
9
- validation: "{installed_path}/checklist.md"
10
- on_error:
11
- missing_file: "ask_user"
12
- unresolved_variable: "halt"
13
-
14
- output:
15
- primary: "{planning_artifacts}/project-context.md"
@@ -1,24 +0,0 @@
1
- ---
2
- title: 'Memory Hygiene Validation'
3
- validation-target: 'Memory hygiene report'
4
- ---
5
-
6
- ## Scan
7
- - [ ] All 9 sidecar directories enumerated
8
- - [ ] Empty sidecars identified and skipped
9
- - [ ] Session/creative logs (orchestrator, storyteller) skipped
10
-
11
- ## Cross-Reference
12
- - [ ] Available reference artifacts loaded (architecture.md, prd.md, test-plan.md, etc.)
13
- - [ ] Each sidecar entry compared against its reference artifact
14
- - [ ] Each entry classified as ACTIVE, STALE, CONTRADICTED, or ORPHANED
15
- - [ ] Orphaned and renamed artifact references detected and reported
16
-
17
- ## User Actions
18
- - [ ] All flagged entries presented to user with evidence
19
- - [ ] User confirmed action (Keep/Archive/Delete) for each flagged entry
20
- - [ ] Sidecar files updated per user choices
21
- - [ ] Sidecar headers and marker comments preserved after edits
22
-
23
- ## Output
24
- - [ ] Report saved to {implementation_artifacts}/memory-hygiene-report-{date}.md