GAIA Lifecycle -- Activity Diagram
This diagram shows the full end-to-end command flow across all five GAIA lifecycle phases. Every box is a clickable link to that command's documentation page. Gates are highlighted in orange. Optional steps have dashed borders.
/gaia-create-story.
Sable
Open docs
/gaia-threat-model
STRIDE/DREAD threat analysis
Zara
Open docs
/gaia-infra-design
Infrastructure and IaC design
Soren
Open docs
/gaia-review-all runs all six sequentially. All must PASS for the story to reach DONE.
Tutorial: Automated Versioning & Deploy
/gaia-release-plan Staged rollout strategy Soren Open docsAlternate Entry Paths
/gaia-create-arch.
/gaia-add-feature. Graduate is the only downstream edge.
Discovery synthesis is internal-only -- never paste secrets into
capture.
Anytime Commands
These commands can be run at any point in the lifecycle. They are not tied to a specific phase.
Configuration
Testing
- /gaia-test-strategy
- /gaia-edit-test-plan
- /gaia-test-automate
- /gaia-review-test
- /gaia-test-gap-analysis
- /gaia-fill-test-gaps
- /gaia-nfr
- /gaia-test-run
- /gaia-test-a11y
- /gaia-test-e2e
- /gaia-test-perf
- /gaia-test-dast
- /gaia-test-mobile-e2e
- /gaia-test-device-matrix
- /gaia-mobile-testing
- /gaia-perf-testing
- /gaia-teach-testing
Validation and Memory
Status and Monitoring
Documentation
Gates Summary
Gates are quality checkpoints that must pass before the workflow proceeds. A failed gate loops back to the producing command for remediation.
| Gate | Command | What It Checks | On Failure |
|---|---|---|---|
| PRD Adversarial | /gaia-adversarial | Critical/high findings in PRD must be addressed | Incorporate findings into prd.md, re-run |
| PRD Validation | /gaia-val-validate | PRD quality and completeness | Run /gaia-edit-prd, re-validate |
| Arch Adversarial | /gaia-adversarial | Architecture "Review Findings" section present | Incorporate findings into architecture.md |
| Test Plan | /gaia-test-strategy | test-plan.md must exist before epics | Run /gaia-test-strategy to create plan |
| Traceability | /gaia-trace | traceability-matrix.md exists and maps all requirements | Run /gaia-trace to generate matrix |
| CI Setup | /gaia-ci-setup | ci-setup.md must exist | Run /gaia-ci-setup to scaffold CI pipeline |
| Readiness | /gaia-readiness-check | All planning artifacts complete, no blocking contradictions | Resolve contradictions, fill missing artifacts |
| Story Validation | /gaia-validate-story | Story completeness and factual accuracy | Run /gaia-fix-story, re-validate |
| Definition of Done | /gaia-check-dod | All DoD checklist items checked | Address unchecked items, re-run |
| 6-Gate Review | /gaia-review-all | Code, QA, Security, Test Auto, Test Review, Performance all PASS | Fix issues, run /gaia-dev-story to address, re-review |
| Review Gate | /gaia-check-review-gate | Composite gate: all 6 reviews passed | Return to IN-PROGRESS, fix remaining failures |
| Deploy Checklist | /gaia-deploy-checklist | Pre-deployment verification passes | Fix blockers, re-check |
| Post-Deploy | /gaia-deploy-post | Health checks and metrics within thresholds | Execute rollback plan |