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.
- package/README.md +1 -1
- package/bin/gaia-framework.js +27 -19
- package/gaia-install.sh +1 -1
- package/package.json +15 -11
- package/.claude/commands/gaia-a11y-testing.md +0 -17
- package/.claude/commands/gaia-action-items.md +0 -23
- package/.claude/commands/gaia-add-feature.md +0 -17
- package/.claude/commands/gaia-add-stories.md +0 -17
- package/.claude/commands/gaia-advanced-elicitation.md +0 -17
- package/.claude/commands/gaia-adversarial.md +0 -15
- package/.claude/commands/gaia-agent-analyst.md +0 -14
- package/.claude/commands/gaia-agent-architect.md +0 -14
- package/.claude/commands/gaia-agent-brainstorming.md +0 -14
- package/.claude/commands/gaia-agent-data-engineer.md +0 -14
- package/.claude/commands/gaia-agent-design-thinking.md +0 -14
- package/.claude/commands/gaia-agent-dev-angular.md +0 -14
- package/.claude/commands/gaia-agent-dev-flutter.md +0 -14
- package/.claude/commands/gaia-agent-dev-go.md +0 -14
- package/.claude/commands/gaia-agent-dev-java.md +0 -14
- package/.claude/commands/gaia-agent-dev-mobile.md +0 -14
- package/.claude/commands/gaia-agent-dev-python.md +0 -14
- package/.claude/commands/gaia-agent-dev-typescript.md +0 -14
- package/.claude/commands/gaia-agent-devops.md +0 -14
- package/.claude/commands/gaia-agent-innovation.md +0 -14
- package/.claude/commands/gaia-agent-performance.md +0 -14
- package/.claude/commands/gaia-agent-pm.md +0 -14
- package/.claude/commands/gaia-agent-presentation.md +0 -14
- package/.claude/commands/gaia-agent-problem-solver.md +0 -14
- package/.claude/commands/gaia-agent-qa.md +0 -14
- package/.claude/commands/gaia-agent-security.md +0 -14
- package/.claude/commands/gaia-agent-sm.md +0 -14
- package/.claude/commands/gaia-agent-storyteller.md +0 -14
- package/.claude/commands/gaia-agent-tech-writer.md +0 -14
- package/.claude/commands/gaia-agent-test-architect.md +0 -14
- package/.claude/commands/gaia-agent-ux-designer.md +0 -14
- package/.claude/commands/gaia-agent-validator.md +0 -14
- package/.claude/commands/gaia-atdd.md +0 -17
- package/.claude/commands/gaia-brainstorm.md +0 -17
- package/.claude/commands/gaia-brainstorming.md +0 -17
- package/.claude/commands/gaia-brownfield.md +0 -17
- package/.claude/commands/gaia-build-configs.md +0 -22
- package/.claude/commands/gaia-change-request.md +0 -11
- package/.claude/commands/gaia-changelog.md +0 -16
- package/.claude/commands/gaia-check-dod.md +0 -17
- package/.claude/commands/gaia-check-review-gate.md +0 -17
- package/.claude/commands/gaia-ci-setup.md +0 -17
- package/.claude/commands/gaia-code-review.md +0 -17
- package/.claude/commands/gaia-correct-course.md +0 -17
- package/.claude/commands/gaia-create-arch.md +0 -17
- package/.claude/commands/gaia-create-epics.md +0 -17
- package/.claude/commands/gaia-create-prd.md +0 -17
- package/.claude/commands/gaia-create-story.md +0 -23
- package/.claude/commands/gaia-create-ux.md +0 -17
- package/.claude/commands/gaia-creative-sprint.md +0 -17
- package/.claude/commands/gaia-deploy-checklist.md +0 -17
- package/.claude/commands/gaia-design-thinking.md +0 -17
- package/.claude/commands/gaia-dev-story.md +0 -23
- package/.claude/commands/gaia-document-project.md +0 -17
- package/.claude/commands/gaia-domain-research.md +0 -17
- package/.claude/commands/gaia-edge-cases.md +0 -15
- package/.claude/commands/gaia-edit-arch.md +0 -17
- package/.claude/commands/gaia-edit-prd.md +0 -17
- package/.claude/commands/gaia-edit-test-plan.md +0 -17
- package/.claude/commands/gaia-editorial-prose.md +0 -15
- package/.claude/commands/gaia-editorial-structure.md +0 -15
- package/.claude/commands/gaia-epic-status.md +0 -17
- package/.claude/commands/gaia-fix-story.md +0 -17
- package/.claude/commands/gaia-help.md +0 -15
- package/.claude/commands/gaia-index-docs.md +0 -15
- package/.claude/commands/gaia-infra-design.md +0 -17
- package/.claude/commands/gaia-innovation.md +0 -17
- package/.claude/commands/gaia-market-research.md +0 -17
- package/.claude/commands/gaia-memory-hygiene.md +0 -17
- package/.claude/commands/gaia-merge-docs.md +0 -16
- package/.claude/commands/gaia-mobile-testing.md +0 -17
- package/.claude/commands/gaia-nfr.md +0 -17
- package/.claude/commands/gaia-party.md +0 -17
- package/.claude/commands/gaia-perf-testing.md +0 -17
- package/.claude/commands/gaia-performance-review.md +0 -17
- package/.claude/commands/gaia-pitch-deck.md +0 -17
- package/.claude/commands/gaia-post-deploy.md +0 -17
- package/.claude/commands/gaia-problem-solving.md +0 -17
- package/.claude/commands/gaia-product-brief.md +0 -17
- package/.claude/commands/gaia-project-context.md +0 -17
- package/.claude/commands/gaia-qa-tests.md +0 -17
- package/.claude/commands/gaia-quick-dev.md +0 -17
- package/.claude/commands/gaia-quick-spec.md +0 -17
- package/.claude/commands/gaia-readiness-check.md +0 -17
- package/.claude/commands/gaia-refresh-ground-truth.md +0 -17
- package/.claude/commands/gaia-release-plan.md +0 -17
- package/.claude/commands/gaia-resume.md +0 -25
- package/.claude/commands/gaia-retro.md +0 -20
- package/.claude/commands/gaia-review-a11y.md +0 -16
- package/.claude/commands/gaia-review-api.md +0 -16
- package/.claude/commands/gaia-review-deps.md +0 -16
- package/.claude/commands/gaia-review-perf.md +0 -16
- package/.claude/commands/gaia-review-security.md +0 -16
- package/.claude/commands/gaia-rollback-plan.md +0 -17
- package/.claude/commands/gaia-run-all-reviews.md +0 -17
- package/.claude/commands/gaia-security-review.md +0 -17
- package/.claude/commands/gaia-shard-doc.md +0 -15
- package/.claude/commands/gaia-slide-deck.md +0 -17
- package/.claude/commands/gaia-sprint-plan.md +0 -17
- package/.claude/commands/gaia-sprint-status.md +0 -17
- package/.claude/commands/gaia-storytelling.md +0 -17
- package/.claude/commands/gaia-summarize.md +0 -16
- package/.claude/commands/gaia-teach-testing.md +0 -17
- package/.claude/commands/gaia-tech-debt-review.md +0 -20
- package/.claude/commands/gaia-tech-research.md +0 -17
- package/.claude/commands/gaia-test-automate.md +0 -17
- package/.claude/commands/gaia-test-design.md +0 -17
- package/.claude/commands/gaia-test-framework.md +0 -17
- package/.claude/commands/gaia-test-review.md +0 -17
- package/.claude/commands/gaia-threat-model.md +0 -17
- package/.claude/commands/gaia-trace.md +0 -17
- package/.claude/commands/gaia-triage-findings.md +0 -20
- package/.claude/commands/gaia-val-validate-plan.md +0 -17
- package/.claude/commands/gaia-val-validate.md +0 -17
- package/.claude/commands/gaia-validate-framework.md +0 -17
- package/.claude/commands/gaia-validate-prd.md +0 -17
- package/.claude/commands/gaia-validate-story.md +0 -22
- package/.claude/commands/gaia.md +0 -32
- package/CLAUDE.md +0 -165
- package/_gaia/_config/agent-manifest.csv +0 -29
- package/_gaia/_config/agents/CUSTOMIZATION-README.md +0 -117
- package/_gaia/_config/files-manifest.csv +0 -30
- package/_gaia/_config/gaia-help.csv +0 -82
- package/_gaia/_config/global.yaml +0 -45
- package/_gaia/_config/lifecycle-sequence.yaml +0 -593
- package/_gaia/_config/manifest.yaml +0 -24
- package/_gaia/_config/skill-manifest.csv +0 -12
- package/_gaia/_config/task-manifest.csv +0 -17
- package/_gaia/_config/workflow-manifest.csv +0 -73
- package/_gaia/_memory/tier2-results/.gitkeep +0 -0
- package/_gaia/_memory/tier2-results/checkpoint-resume-2026-03-24.yaml +0 -6
- package/_gaia/_memory/tier2-results/engine-scenarios-2026-03-22.yaml +0 -14
- package/_gaia/core/.resolved/.gitkeep +0 -0
- package/_gaia/core/agents/orchestrator.md +0 -303
- package/_gaia/core/config.yaml +0 -8
- package/_gaia/core/engine/error-recovery.xml +0 -28
- package/_gaia/core/engine/protocols/discover-inputs.xml +0 -31
- package/_gaia/core/engine/protocols/handoff.xml +0 -21
- package/_gaia/core/engine/protocols/preflight-check.xml +0 -31
- package/_gaia/core/engine/task-runner.xml +0 -63
- package/_gaia/core/engine/workflow.xml +0 -225
- package/_gaia/core/module-help.csv +0 -21
- package/_gaia/core/protocols/agent-specification-protocol.md +0 -103
- package/_gaia/core/protocols/review-gate-check.xml +0 -29
- package/_gaia/core/protocols/sprint-status-write-safety.xml +0 -35
- package/_gaia/core/protocols/status-sync.xml +0 -49
- package/_gaia/core/tasks/editorial-review-prose.xml +0 -42
- package/_gaia/core/tasks/editorial-review-structure.xml +0 -43
- package/_gaia/core/tasks/generate-changelog.xml +0 -35
- package/_gaia/core/tasks/help.md +0 -45
- package/_gaia/core/tasks/index-docs.xml +0 -46
- package/_gaia/core/tasks/merge-docs.xml +0 -34
- package/_gaia/core/tasks/review-accessibility.xml +0 -47
- package/_gaia/core/tasks/review-adversarial.xml +0 -55
- package/_gaia/core/tasks/review-api-design.xml +0 -38
- package/_gaia/core/tasks/review-dependency-audit.xml +0 -38
- package/_gaia/core/tasks/review-edge-case-hunter.xml +0 -52
- package/_gaia/core/tasks/review-performance.xml +0 -49
- package/_gaia/core/tasks/review-security.xml +0 -37
- package/_gaia/core/tasks/shard-doc.xml +0 -49
- package/_gaia/core/tasks/summarize-doc.xml +0 -33
- package/_gaia/core/tasks/validate-framework.xml +0 -66
- package/_gaia/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -7
- package/_gaia/core/workflows/brainstorming/steps/step-02-technique-selection.md +0 -20
- package/_gaia/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -11
- package/_gaia/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -14
- package/_gaia/core/workflows/brainstorming/template.md +0 -38
- package/_gaia/core/workflows/brainstorming/workflow.yaml +0 -26
- package/_gaia/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -11
- package/_gaia/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -16
- package/_gaia/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -10
- package/_gaia/core/workflows/party-mode/workflow.yaml +0 -23
- package/_gaia/creative/.resolved/.gitkeep +0 -0
- package/_gaia/creative/agents/brainstorming-coach.md +0 -93
- package/_gaia/creative/agents/design-thinking-coach.md +0 -91
- package/_gaia/creative/agents/innovation-strategist.md +0 -89
- package/_gaia/creative/agents/presentation-designer.md +0 -99
- package/_gaia/creative/agents/problem-solver.md +0 -90
- package/_gaia/creative/agents/storyteller.md +0 -90
- package/_gaia/creative/config.yaml +0 -8
- package/_gaia/creative/data/design-methods.csv +0 -28
- package/_gaia/creative/data/innovation-frameworks.csv +0 -15
- package/_gaia/creative/data/solving-methods.csv +0 -14
- package/_gaia/creative/data/story-types.csv +0 -12
- package/_gaia/creative/module-help.csv +0 -8
- package/_gaia/creative/teams/creative-squad.yaml +0 -10
- package/_gaia/creative/workflows/creative-sprint/checklist.md +0 -10
- package/_gaia/creative/workflows/creative-sprint/instructions.xml +0 -40
- package/_gaia/creative/workflows/creative-sprint/workflow.yaml +0 -11
- package/_gaia/creative/workflows/design-thinking/checklist.md +0 -25
- package/_gaia/creative/workflows/design-thinking/instructions.xml +0 -38
- package/_gaia/creative/workflows/design-thinking/workflow.yaml +0 -13
- package/_gaia/creative/workflows/innovation-strategy/checklist.md +0 -26
- package/_gaia/creative/workflows/innovation-strategy/instructions.xml +0 -34
- package/_gaia/creative/workflows/innovation-strategy/workflow.yaml +0 -13
- package/_gaia/creative/workflows/pitch-deck/checklist.md +0 -22
- package/_gaia/creative/workflows/pitch-deck/instructions.xml +0 -49
- package/_gaia/creative/workflows/pitch-deck/workflow.yaml +0 -15
- package/_gaia/creative/workflows/problem-solving/checklist.md +0 -26
- package/_gaia/creative/workflows/problem-solving/instructions.xml +0 -39
- package/_gaia/creative/workflows/problem-solving/workflow.yaml +0 -13
- package/_gaia/creative/workflows/slide-deck/checklist.md +0 -21
- package/_gaia/creative/workflows/slide-deck/instructions.xml +0 -39
- package/_gaia/creative/workflows/slide-deck/workflow.yaml +0 -15
- package/_gaia/creative/workflows/storytelling/checklist.md +0 -26
- package/_gaia/creative/workflows/storytelling/instructions.xml +0 -38
- package/_gaia/creative/workflows/storytelling/workflow.yaml +0 -13
- package/_gaia/dev/agents/_base-dev.md +0 -180
- package/_gaia/dev/agents/angular-dev.md +0 -70
- package/_gaia/dev/agents/flutter-dev.md +0 -70
- package/_gaia/dev/agents/go-dev.md +0 -72
- package/_gaia/dev/agents/java-dev.md +0 -70
- package/_gaia/dev/agents/mobile-dev.md +0 -70
- package/_gaia/dev/agents/python-dev.md +0 -70
- package/_gaia/dev/agents/typescript-dev.md +0 -70
- package/_gaia/dev/config.yaml +0 -11
- package/_gaia/dev/knowledge/_index.csv +0 -25
- package/_gaia/dev/knowledge/angular/angular-conventions.md +0 -119
- package/_gaia/dev/knowledge/angular/angular-patterns.md +0 -126
- package/_gaia/dev/knowledge/angular/ngrx-state.md +0 -124
- package/_gaia/dev/knowledge/angular/rxjs-patterns.md +0 -119
- package/_gaia/dev/knowledge/flutter/dart-conventions.md +0 -143
- package/_gaia/dev/knowledge/flutter/platform-channels.md +0 -144
- package/_gaia/dev/knowledge/flutter/state-management.md +0 -144
- package/_gaia/dev/knowledge/flutter/widget-patterns.md +0 -134
- package/_gaia/dev/knowledge/go/gin-fiber-patterns.md +0 -40
- package/_gaia/dev/knowledge/go/go-conventions.md +0 -54
- package/_gaia/dev/knowledge/go/go-stdlib-patterns.md +0 -39
- package/_gaia/dev/knowledge/go/go-testing-patterns.md +0 -39
- package/_gaia/dev/knowledge/java/jpa-patterns.md +0 -136
- package/_gaia/dev/knowledge/java/maven-gradle.md +0 -189
- package/_gaia/dev/knowledge/java/microservices.md +0 -159
- package/_gaia/dev/knowledge/java/spring-boot-patterns.md +0 -160
- package/_gaia/dev/knowledge/mobile/kotlin-patterns.md +0 -193
- package/_gaia/dev/knowledge/mobile/mobile-testing.md +0 -186
- package/_gaia/dev/knowledge/mobile/react-native-patterns.md +0 -162
- package/_gaia/dev/knowledge/mobile/swift-patterns.md +0 -190
- package/_gaia/dev/knowledge/python/data-pipelines.md +0 -169
- package/_gaia/dev/knowledge/python/django-patterns.md +0 -145
- package/_gaia/dev/knowledge/python/fastapi-patterns.md +0 -164
- package/_gaia/dev/knowledge/python/python-conventions.md +0 -170
- package/_gaia/dev/knowledge/typescript/express-patterns.md +0 -188
- package/_gaia/dev/knowledge/typescript/nextjs-patterns.md +0 -166
- package/_gaia/dev/knowledge/typescript/react-patterns.md +0 -176
- package/_gaia/dev/knowledge/typescript/ts-conventions.md +0 -133
- package/_gaia/dev/module-help.csv +0 -10
- package/_gaia/dev/skills/_skill-index.yaml +0 -55
- package/_gaia/dev/skills/api-design.md +0 -229
- package/_gaia/dev/skills/code-review-standards.md +0 -226
- package/_gaia/dev/skills/database-design.md +0 -172
- package/_gaia/dev/skills/docker-workflow.md +0 -222
- package/_gaia/dev/skills/documentation-standards.md +0 -256
- package/_gaia/dev/skills/git-workflow.md +0 -157
- package/_gaia/dev/skills/security-basics.md +0 -230
- package/_gaia/dev/skills/testing-patterns.md +0 -232
- package/_gaia/lifecycle/.resolved/.gitkeep +0 -0
- package/_gaia/lifecycle/agents/analyst.md +0 -104
- package/_gaia/lifecycle/agents/architect.md +0 -109
- package/_gaia/lifecycle/agents/data-engineer.md +0 -99
- package/_gaia/lifecycle/agents/devops.md +0 -110
- package/_gaia/lifecycle/agents/performance.md +0 -92
- package/_gaia/lifecycle/agents/pm.md +0 -112
- package/_gaia/lifecycle/agents/qa.md +0 -89
- package/_gaia/lifecycle/agents/security.md +0 -108
- package/_gaia/lifecycle/agents/sm.md +0 -119
- package/_gaia/lifecycle/agents/tech-writer.md +0 -94
- package/_gaia/lifecycle/agents/ux-designer.md +0 -94
- package/_gaia/lifecycle/agents/validator.md +0 -189
- package/_gaia/lifecycle/config.yaml +0 -14
- package/_gaia/lifecycle/module-help.csv +0 -39
- package/_gaia/lifecycle/skills/ground-truth-management.md +0 -252
- package/_gaia/lifecycle/skills/memory-management.md +0 -322
- package/_gaia/lifecycle/skills/validation-patterns.md +0 -230
- package/_gaia/lifecycle/teams/team-data-intensive.yaml +0 -12
- package/_gaia/lifecycle/teams/team-enterprise.yaml +0 -16
- package/_gaia/lifecycle/teams/team-full.yaml +0 -13
- package/_gaia/lifecycle/teams/team-implementation.yaml +0 -8
- package/_gaia/lifecycle/teams/team-planning.yaml +0 -9
- package/_gaia/lifecycle/teams/team-quick-ship.yaml +0 -6
- package/_gaia/lifecycle/teams/team-security-focused.yaml +0 -13
- package/_gaia/lifecycle/templates/api-documentation-template.md +0 -112
- package/_gaia/lifecycle/templates/architecture-template.md +0 -65
- package/_gaia/lifecycle/templates/brownfield-architecture-template.md +0 -198
- package/_gaia/lifecycle/templates/brownfield-assessment-template.md +0 -78
- package/_gaia/lifecycle/templates/brownfield-onboarding-template.md +0 -160
- package/_gaia/lifecycle/templates/dependency-map-template.md +0 -73
- package/_gaia/lifecycle/templates/deployment-template.md +0 -52
- package/_gaia/lifecycle/templates/epic-status-template.md +0 -64
- package/_gaia/lifecycle/templates/event-catalog-template.md +0 -78
- package/_gaia/lifecycle/templates/nfr-assessment-template.md +0 -96
- package/_gaia/lifecycle/templates/prd-template.md +0 -83
- package/_gaia/lifecycle/templates/product-brief-template.md +0 -48
- package/_gaia/lifecycle/templates/review-template.md +0 -47
- package/_gaia/lifecycle/templates/sprint-plan-template.md +0 -45
- package/_gaia/lifecycle/templates/story-template.md +0 -118
- package/_gaia/lifecycle/templates/tech-debt-dashboard-template.md +0 -71
- package/_gaia/lifecycle/templates/test-plan-template.md +0 -56
- package/_gaia/lifecycle/templates/ux-design-assessment-template.md +0 -122
- package/_gaia/lifecycle/workflows/1-analysis/advanced-elicitation/instructions.xml +0 -44
- package/_gaia/lifecycle/workflows/1-analysis/advanced-elicitation/methods.csv +0 -9
- package/_gaia/lifecycle/workflows/1-analysis/advanced-elicitation/workflow.yaml +0 -33
- package/_gaia/lifecycle/workflows/1-analysis/brainstorm-project/checklist.md +0 -24
- package/_gaia/lifecycle/workflows/1-analysis/brainstorm-project/instructions.xml +0 -39
- package/_gaia/lifecycle/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/1-analysis/create-product-brief/checklist.md +0 -27
- package/_gaia/lifecycle/workflows/1-analysis/create-product-brief/instructions.xml +0 -57
- package/_gaia/lifecycle/workflows/1-analysis/create-product-brief/workflow.yaml +0 -38
- package/_gaia/lifecycle/workflows/1-analysis/domain-research/checklist.md +0 -22
- package/_gaia/lifecycle/workflows/1-analysis/domain-research/instructions.xml +0 -34
- package/_gaia/lifecycle/workflows/1-analysis/domain-research/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/1-analysis/market-research/checklist.md +0 -28
- package/_gaia/lifecycle/workflows/1-analysis/market-research/instructions.xml +0 -42
- package/_gaia/lifecycle/workflows/1-analysis/market-research/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/1-analysis/technical-research/checklist.md +0 -22
- package/_gaia/lifecycle/workflows/1-analysis/technical-research/instructions.xml +0 -34
- package/_gaia/lifecycle/workflows/1-analysis/technical-research/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/2-planning/create-prd/checklist.md +0 -36
- package/_gaia/lifecycle/workflows/2-planning/create-prd/instructions.xml +0 -80
- package/_gaia/lifecycle/workflows/2-planning/create-prd/workflow.yaml +0 -23
- package/_gaia/lifecycle/workflows/2-planning/create-ux-design/checklist.md +0 -26
- package/_gaia/lifecycle/workflows/2-planning/create-ux-design/instructions.xml +0 -49
- package/_gaia/lifecycle/workflows/2-planning/create-ux-design/workflow.yaml +0 -23
- package/_gaia/lifecycle/workflows/2-planning/edit-prd/checklist.md +0 -17
- package/_gaia/lifecycle/workflows/2-planning/edit-prd/instructions.xml +0 -50
- package/_gaia/lifecycle/workflows/2-planning/edit-prd/workflow.yaml +0 -22
- package/_gaia/lifecycle/workflows/2-planning/validate-prd/checklist.md +0 -12
- package/_gaia/lifecycle/workflows/2-planning/validate-prd/instructions.xml +0 -52
- package/_gaia/lifecycle/workflows/2-planning/validate-prd/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/3-solutioning/create-architecture/checklist.md +0 -32
- package/_gaia/lifecycle/workflows/3-solutioning/create-architecture/instructions.xml +0 -100
- package/_gaia/lifecycle/workflows/3-solutioning/create-architecture/workflow.yaml +0 -41
- package/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories/checklist.md +0 -30
- package/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories/instructions.xml +0 -86
- package/_gaia/lifecycle/workflows/3-solutioning/create-epics-stories/workflow.yaml +0 -34
- package/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/checklist.md +0 -24
- package/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/instructions.xml +0 -91
- package/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/workflow.yaml +0 -32
- package/_gaia/lifecycle/workflows/3-solutioning/implementation-readiness/checklist.md +0 -66
- package/_gaia/lifecycle/workflows/3-solutioning/implementation-readiness/instructions.xml +0 -160
- package/_gaia/lifecycle/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -48
- package/_gaia/lifecycle/workflows/3-solutioning/infrastructure-design/checklist.md +0 -24
- package/_gaia/lifecycle/workflows/3-solutioning/infrastructure-design/instructions.xml +0 -44
- package/_gaia/lifecycle/workflows/3-solutioning/infrastructure-design/workflow.yaml +0 -23
- package/_gaia/lifecycle/workflows/3-solutioning/security-threat-model/checklist.md +0 -24
- package/_gaia/lifecycle/workflows/3-solutioning/security-threat-model/instructions.xml +0 -55
- package/_gaia/lifecycle/workflows/3-solutioning/security-threat-model/workflow.yaml +0 -23
- package/_gaia/lifecycle/workflows/4-implementation/action-items/instructions.xml +0 -131
- package/_gaia/lifecycle/workflows/4-implementation/action-items/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/4-implementation/add-stories/checklist.md +0 -27
- package/_gaia/lifecycle/workflows/4-implementation/add-stories/instructions.xml +0 -100
- package/_gaia/lifecycle/workflows/4-implementation/add-stories/workflow.yaml +0 -35
- package/_gaia/lifecycle/workflows/4-implementation/change-request/checklist.md +0 -25
- package/_gaia/lifecycle/workflows/4-implementation/change-request/instructions.xml +0 -123
- package/_gaia/lifecycle/workflows/4-implementation/change-request/workflow.yaml +0 -38
- package/_gaia/lifecycle/workflows/4-implementation/check-dod/checklist.md +0 -18
- package/_gaia/lifecycle/workflows/4-implementation/check-dod/instructions.xml +0 -54
- package/_gaia/lifecycle/workflows/4-implementation/check-dod/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/4-implementation/check-review-gate/checklist.md +0 -18
- package/_gaia/lifecycle/workflows/4-implementation/check-review-gate/instructions.xml +0 -53
- package/_gaia/lifecycle/workflows/4-implementation/check-review-gate/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/4-implementation/code-review/checklist.md +0 -18
- package/_gaia/lifecycle/workflows/4-implementation/code-review/instructions.xml +0 -50
- package/_gaia/lifecycle/workflows/4-implementation/code-review/workflow.yaml +0 -24
- package/_gaia/lifecycle/workflows/4-implementation/correct-course/checklist.md +0 -21
- package/_gaia/lifecycle/workflows/4-implementation/correct-course/instructions.xml +0 -63
- package/_gaia/lifecycle/workflows/4-implementation/correct-course/workflow.yaml +0 -25
- package/_gaia/lifecycle/workflows/4-implementation/create-story/checklist.md +0 -38
- package/_gaia/lifecycle/workflows/4-implementation/create-story/instructions.xml +0 -194
- package/_gaia/lifecycle/workflows/4-implementation/create-story/workflow.yaml +0 -26
- package/_gaia/lifecycle/workflows/4-implementation/dev-story/checklist.md +0 -26
- package/_gaia/lifecycle/workflows/4-implementation/dev-story/instructions.xml +0 -268
- package/_gaia/lifecycle/workflows/4-implementation/dev-story/workflow.yaml +0 -51
- package/_gaia/lifecycle/workflows/4-implementation/epic-status/checklist.md +0 -25
- package/_gaia/lifecycle/workflows/4-implementation/epic-status/instructions.xml +0 -62
- package/_gaia/lifecycle/workflows/4-implementation/epic-status/workflow.yaml +0 -24
- package/_gaia/lifecycle/workflows/4-implementation/fix-story/checklist.md +0 -12
- package/_gaia/lifecycle/workflows/4-implementation/fix-story/instructions.xml +0 -67
- package/_gaia/lifecycle/workflows/4-implementation/fix-story/workflow.yaml +0 -17
- package/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/checklist.md +0 -19
- package/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/instructions.xml +0 -52
- package/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/workflow.yaml +0 -20
- package/_gaia/lifecycle/workflows/4-implementation/retrospective/checklist.md +0 -15
- package/_gaia/lifecycle/workflows/4-implementation/retrospective/instructions.xml +0 -164
- package/_gaia/lifecycle/workflows/4-implementation/retrospective/workflow.yaml +0 -30
- package/_gaia/lifecycle/workflows/4-implementation/run-all-reviews/checklist.md +0 -14
- package/_gaia/lifecycle/workflows/4-implementation/run-all-reviews/instructions.xml +0 -78
- package/_gaia/lifecycle/workflows/4-implementation/run-all-reviews/workflow.yaml +0 -16
- package/_gaia/lifecycle/workflows/4-implementation/security-review/checklist.md +0 -29
- package/_gaia/lifecycle/workflows/4-implementation/security-review/instructions.xml +0 -80
- package/_gaia/lifecycle/workflows/4-implementation/security-review/workflow.yaml +0 -27
- package/_gaia/lifecycle/workflows/4-implementation/sprint-planning/checklist.md +0 -29
- package/_gaia/lifecycle/workflows/4-implementation/sprint-planning/instructions.xml +0 -140
- package/_gaia/lifecycle/workflows/4-implementation/sprint-planning/workflow.yaml +0 -33
- package/_gaia/lifecycle/workflows/4-implementation/sprint-status/checklist.md +0 -18
- package/_gaia/lifecycle/workflows/4-implementation/sprint-status/instructions.xml +0 -36
- package/_gaia/lifecycle/workflows/4-implementation/sprint-status/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/4-implementation/tech-debt-review/checklist.md +0 -30
- package/_gaia/lifecycle/workflows/4-implementation/tech-debt-review/instructions.xml +0 -147
- package/_gaia/lifecycle/workflows/4-implementation/tech-debt-review/workflow.yaml +0 -24
- package/_gaia/lifecycle/workflows/4-implementation/triage-findings/checklist.md +0 -17
- package/_gaia/lifecycle/workflows/4-implementation/triage-findings/instructions.xml +0 -124
- package/_gaia/lifecycle/workflows/4-implementation/triage-findings/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/checklist.md +0 -48
- package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/instructions.xml +0 -125
- package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/workflow.yaml +0 -31
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/checklist.md +0 -54
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/instructions.xml +0 -147
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/test-structure.sh +0 -116
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/workflow.yaml +0 -29
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-plan/checklist.md +0 -34
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-plan/instructions.xml +0 -162
- package/_gaia/lifecycle/workflows/4-implementation/val-validate-plan/workflow.yaml +0 -39
- package/_gaia/lifecycle/workflows/4-implementation/validate-story/checklist.md +0 -23
- package/_gaia/lifecycle/workflows/4-implementation/validate-story/instructions.xml +0 -146
- package/_gaia/lifecycle/workflows/4-implementation/validate-story/workflow.yaml +0 -25
- package/_gaia/lifecycle/workflows/5-deployment/deployment-checklist/checklist.md +0 -29
- package/_gaia/lifecycle/workflows/5-deployment/deployment-checklist/instructions.xml +0 -59
- package/_gaia/lifecycle/workflows/5-deployment/deployment-checklist/workflow.yaml +0 -39
- package/_gaia/lifecycle/workflows/5-deployment/post-deploy-verify/checklist.md +0 -19
- package/_gaia/lifecycle/workflows/5-deployment/post-deploy-verify/instructions.xml +0 -33
- package/_gaia/lifecycle/workflows/5-deployment/post-deploy-verify/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/5-deployment/release-plan/checklist.md +0 -20
- package/_gaia/lifecycle/workflows/5-deployment/release-plan/instructions.xml +0 -33
- package/_gaia/lifecycle/workflows/5-deployment/release-plan/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/5-deployment/rollback-plan/checklist.md +0 -20
- package/_gaia/lifecycle/workflows/5-deployment/rollback-plan/instructions.xml +0 -33
- package/_gaia/lifecycle/workflows/5-deployment/rollback-plan/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/checklist.md +0 -52
- package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/instructions.xml +0 -122
- package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/test-step7.sh +0 -149
- package/_gaia/lifecycle/workflows/anytime/brownfield-onboarding/workflow.yaml +0 -33
- package/_gaia/lifecycle/workflows/anytime/document-project/checklist.md +0 -11
- package/_gaia/lifecycle/workflows/anytime/document-project/instructions.xml +0 -26
- package/_gaia/lifecycle/workflows/anytime/document-project/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/anytime/generate-project-context/checklist.md +0 -11
- package/_gaia/lifecycle/workflows/anytime/generate-project-context/instructions.xml +0 -22
- package/_gaia/lifecycle/workflows/anytime/generate-project-context/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/anytime/memory-hygiene/checklist.md +0 -24
- package/_gaia/lifecycle/workflows/anytime/memory-hygiene/instructions.xml +0 -108
- package/_gaia/lifecycle/workflows/anytime/memory-hygiene/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/anytime/performance-review/checklist.md +0 -25
- package/_gaia/lifecycle/workflows/anytime/performance-review/instructions.xml +0 -62
- package/_gaia/lifecycle/workflows/anytime/performance-review/workflow.yaml +0 -15
- package/_gaia/lifecycle/workflows/cross-phase/add-feature/checklist.md +0 -30
- package/_gaia/lifecycle/workflows/cross-phase/add-feature/instructions.xml +0 -85
- package/_gaia/lifecycle/workflows/cross-phase/add-feature/workflow.yaml +0 -37
- package/_gaia/lifecycle/workflows/quick-flow/quick-dev/checklist.md +0 -11
- package/_gaia/lifecycle/workflows/quick-flow/quick-dev/instructions.xml +0 -26
- package/_gaia/lifecycle/workflows/quick-flow/quick-dev/workflow.yaml +0 -19
- package/_gaia/lifecycle/workflows/quick-flow/quick-spec/checklist.md +0 -13
- package/_gaia/lifecycle/workflows/quick-flow/quick-spec/instructions.xml +0 -27
- package/_gaia/lifecycle/workflows/quick-flow/quick-spec/workflow.yaml +0 -15
- package/_gaia/testing/.resolved/.gitkeep +0 -0
- package/_gaia/testing/agents/test-architect.md +0 -131
- package/_gaia/testing/config.yaml +0 -8
- package/_gaia/testing/knowledge/_index.csv +0 -22
- package/_gaia/testing/knowledge/accessibility/axe-core-patterns.md +0 -177
- package/_gaia/testing/knowledge/accessibility/wcag-checks.md +0 -191
- package/_gaia/testing/knowledge/core/deterministic-testing.md +0 -167
- package/_gaia/testing/knowledge/core/fixture-architecture.md +0 -131
- package/_gaia/testing/knowledge/core/test-isolation.md +0 -142
- package/_gaia/testing/knowledge/core/test-pyramid.md +0 -129
- package/_gaia/testing/knowledge/extended/api-testing-patterns.md +0 -196
- package/_gaia/testing/knowledge/extended/data-factories.md +0 -158
- package/_gaia/testing/knowledge/extended/risk-governance.md +0 -119
- package/_gaia/testing/knowledge/extended/selector-resilience.md +0 -109
- package/_gaia/testing/knowledge/mobile-testing/appium-patterns.md +0 -164
- package/_gaia/testing/knowledge/mobile-testing/react-native-testing.md +0 -193
- package/_gaia/testing/knowledge/mobile-testing/responsive-testing.md +0 -177
- package/_gaia/testing/knowledge/performance/k6-patterns.md +0 -200
- package/_gaia/testing/knowledge/performance/lighthouse-ci.md +0 -158
- package/_gaia/testing/knowledge/specialized/contract-testing.md +0 -173
- package/_gaia/testing/knowledge/specialized/test-healing.md +0 -129
- package/_gaia/testing/knowledge/specialized/visual-testing.md +0 -129
- package/_gaia/testing/knowledge/unit-testing/jest-vitest-patterns.md +0 -193
- package/_gaia/testing/knowledge/unit-testing/junit5-patterns.md +0 -200
- package/_gaia/testing/knowledge/unit-testing/pytest-patterns.md +0 -185
- package/_gaia/testing/module-help.csv +0 -13
- package/_gaia/testing/workflows/accessibility-testing/checklist.md +0 -12
- package/_gaia/testing/workflows/accessibility-testing/instructions.xml +0 -41
- package/_gaia/testing/workflows/accessibility-testing/workflow.yaml +0 -13
- package/_gaia/testing/workflows/atdd/checklist.md +0 -6
- package/_gaia/testing/workflows/atdd/instructions.xml +0 -36
- package/_gaia/testing/workflows/atdd/workflow.yaml +0 -22
- package/_gaia/testing/workflows/ci-setup/checklist.md +0 -9
- package/_gaia/testing/workflows/ci-setup/instructions.xml +0 -43
- package/_gaia/testing/workflows/ci-setup/workflow.yaml +0 -11
- package/_gaia/testing/workflows/edit-test-plan/checklist.md +0 -20
- package/_gaia/testing/workflows/edit-test-plan/instructions.xml +0 -65
- package/_gaia/testing/workflows/edit-test-plan/workflow.yaml +0 -35
- package/_gaia/testing/workflows/mobile-testing/checklist.md +0 -13
- package/_gaia/testing/workflows/mobile-testing/instructions.xml +0 -41
- package/_gaia/testing/workflows/mobile-testing/workflow.yaml +0 -11
- package/_gaia/testing/workflows/nfr-assessment/checklist.md +0 -7
- package/_gaia/testing/workflows/nfr-assessment/instructions.xml +0 -26
- package/_gaia/testing/workflows/nfr-assessment/workflow.yaml +0 -11
- package/_gaia/testing/workflows/performance-testing/checklist.md +0 -11
- package/_gaia/testing/workflows/performance-testing/instructions.xml +0 -41
- package/_gaia/testing/workflows/performance-testing/workflow.yaml +0 -11
- package/_gaia/testing/workflows/teach-me-testing/checklist.md +0 -6
- package/_gaia/testing/workflows/teach-me-testing/instructions.xml +0 -28
- package/_gaia/testing/workflows/teach-me-testing/workflow.yaml +0 -12
- package/_gaia/testing/workflows/test-automation/checklist.md +0 -6
- package/_gaia/testing/workflows/test-automation/instructions.xml +0 -49
- package/_gaia/testing/workflows/test-automation/workflow.yaml +0 -11
- package/_gaia/testing/workflows/test-design/checklist.md +0 -9
- package/_gaia/testing/workflows/test-design/instructions.xml +0 -47
- package/_gaia/testing/workflows/test-design/workflow.yaml +0 -11
- package/_gaia/testing/workflows/test-framework/checklist.md +0 -8
- package/_gaia/testing/workflows/test-framework/instructions.xml +0 -25
- package/_gaia/testing/workflows/test-framework/workflow.yaml +0 -11
- package/_gaia/testing/workflows/test-review/checklist.md +0 -9
- package/_gaia/testing/workflows/test-review/instructions.xml +0 -51
- package/_gaia/testing/workflows/test-review/workflow.yaml +0 -11
- package/_gaia/testing/workflows/traceability/checklist.md +0 -6
- package/_gaia/testing/workflows/traceability/instructions.xml +0 -49
- package/_gaia/testing/workflows/traceability/workflow.yaml +0 -21
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
name: qa-generate-tests
|
|
2
|
-
description: 'Generate automated E2E and API tests'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: qa
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/qa-generate-tests.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests"
|
|
8
|
-
instructions: "{installed_path}/instructions.xml"
|
|
9
|
-
validation: "{installed_path}/checklist.md"
|
|
10
|
-
quality_gates:
|
|
11
|
-
pre_start:
|
|
12
|
-
- check: "story_status == 'review'"
|
|
13
|
-
on_fail: "HALT: Story must be in review status before QA testing. Complete /gaia-dev-story first."
|
|
14
|
-
on_error:
|
|
15
|
-
missing_file: "ask_user"
|
|
16
|
-
unresolved_variable: "halt"
|
|
17
|
-
|
|
18
|
-
output:
|
|
19
|
-
primary: "{test_artifacts}/{story_key}-qa-tests.md"
|
|
20
|
-
secondary: "{implementation_artifacts}/{story_key}-*.md"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Retrospective Validation'
|
|
3
|
-
validation-target: 'Retrospective report'
|
|
4
|
-
---
|
|
5
|
-
## Content
|
|
6
|
-
- [ ] Sprint metrics included
|
|
7
|
-
- [ ] Positives documented
|
|
8
|
-
- [ ] Improvements identified
|
|
9
|
-
- [ ] Action items defined with ownership
|
|
10
|
-
## Tech Debt
|
|
11
|
-
- [ ] Debt trend reviewed (if dashboard exists)
|
|
12
|
-
- [ ] Debt impact on velocity discussed
|
|
13
|
-
- [ ] Debt-related action items captured
|
|
14
|
-
## Output Verification
|
|
15
|
-
- [ ] Retro file exists at {implementation_artifacts}/retro-{sprint_id}.md
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
<workflow name="retrospective">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Focus on actionable improvements, not blame</mandate>
|
|
4
|
-
<mandate>Always write velocity data to sm-sidecar — this enables sprint-over-sprint tracking</mandate>
|
|
5
|
-
<mandate>Check for recurring patterns across retros — systemic issues need escalation, not repetition</mandate>
|
|
6
|
-
<mandate>Steps 2-4 are DATA-DRIVEN — mine artifacts first, present findings with evidence, then let user confirm or add context. Do NOT ask open-ended questions without data backing.</mandate>
|
|
7
|
-
</critical>
|
|
8
|
-
<step n="1" title="Load Sprint Data">
|
|
9
|
-
<action>Read sprint-status.yaml for completed sprint — extract sprint_id, all story keys, planned points</action>
|
|
10
|
-
<action>Calculate: stories completed, stories invalid, stories carried over, velocity (points delivered vs planned)</action>
|
|
11
|
-
<action>Read ALL story files for this sprint (from sprint-status.yaml story list). For each story extract:
|
|
12
|
-
- Status (done, review, in-progress, invalid)
|
|
13
|
-
- Review Gate table results (which reviews PASSED/FAILED/PENDING)
|
|
14
|
-
- Findings table (count and types of findings)
|
|
15
|
-
- Definition of Done checklist results</action>
|
|
16
|
-
<action>Read {memory_path}/validator-sidecar/decision-log.md — extract all entries for this sprint's stories (validation attempts, findings counts, pass/fail results)</action>
|
|
17
|
-
<action>Read review reports if they exist: {story_key}-review.md, {story_key}-security-review.md, {story_key}-qa-tests.md, {story_key}-performance-review.md — extract verdicts and key issues found</action>
|
|
18
|
-
<action>Read {implementation_artifacts}/tech-debt-dashboard.md if it exists — extract summary metrics and trend</action>
|
|
19
|
-
<action>Build a sprint data summary:
|
|
20
|
-
- Completion rate: {completed}/{total} stories ({percentage}%)
|
|
21
|
-
- Velocity: {delivered}/{planned} points
|
|
22
|
-
- First-pass review rate: stories that passed all 6 reviews without going back to in-progress
|
|
23
|
-
- Val validation stats: average attempts per story, zero-finding rate
|
|
24
|
-
- Findings stats: total findings generated, triaged count, untriaged count
|
|
25
|
-
- Blocked stories: count and duration
|
|
26
|
-
- Carryover stories: list with reasons</action>
|
|
27
|
-
</step>
|
|
28
|
-
<step n="2" title="What Went Well (Data-Driven)">
|
|
29
|
-
<action>Analyze sprint artifacts to identify positive outcomes. Check for:
|
|
30
|
-
- Stories that passed all 6 reviews on first try → "Clean implementations: {list of story keys}"
|
|
31
|
-
- Velocity met or exceeded plan → "Strong execution: delivered {X}/{Y} points ({ratio}%)"
|
|
32
|
-
- Stories with zero Val findings → "High quality specs: {list} passed validation first try"
|
|
33
|
-
- Stories with no REQUEST_CHANGES in code review → "Clean code: {list} had no review rework"
|
|
34
|
-
- No blocked stories (or blocks resolved quickly) → "Good dependency management"
|
|
35
|
-
- Debt ratio decreased vs previous sprint (from tech-debt-dashboard) → "Debt under control: ratio dropped from {X}% to {Y}%"
|
|
36
|
-
- Any review that found zero issues across all stories → "{review_name} found no issues across the sprint"</action>
|
|
37
|
-
<action>Present: "## What Went Well (from sprint data)" with each finding and its evidence (story keys, numbers, sources)</action>
|
|
38
|
-
<action if="yolo_mode">In YOLO mode: auto-confirm the data-driven findings and proceed.</action>
|
|
39
|
-
<ask>These are the positive findings from sprint data. Confirm, or add anything the data doesn't capture. [confirm / add context]</ask>
|
|
40
|
-
</step>
|
|
41
|
-
<step n="3" title="What Could Improve (Data-Driven)">
|
|
42
|
-
<action>Analyze sprint artifacts to identify improvement areas. Check for:
|
|
43
|
-
- Stories that had review failures (went from review → in-progress) → "Review rework: {list} failed review and cycled back — check {review_name} reports for patterns"
|
|
44
|
-
- Stories that needed 2-3 Val validation attempts → "Story spec issues: {list} needed multiple validation passes"
|
|
45
|
-
- Untriaged findings still in story files → "Unresolved findings: {count} findings from {stories} not yet triaged"
|
|
46
|
-
- Blocked stories and their duration → "Blockers: {list} blocked for {N} days — dependency/planning issue"
|
|
47
|
-
- Carryover stories (not completed this sprint) → "Carryover: {list} not completed — estimation or scope issue"
|
|
48
|
-
- Review reports with REQUEST_CHANGES → "Code quality patterns: {summary of common review feedback across stories}"
|
|
49
|
-
- New debt items added this sprint (from tech-debt-dashboard) → "Debt growth: {N} new items added this sprint"
|
|
50
|
-
- Security review failures → "Security gaps: {list} failed security review — see reports"</action>
|
|
51
|
-
<action>Present: "## What Could Improve (from sprint data)" with each finding, evidence, and source references</action>
|
|
52
|
-
<action if="yolo_mode">In YOLO mode: auto-confirm the data-driven findings and proceed.</action>
|
|
53
|
-
<ask>These are the improvement areas from sprint data. Confirm, or add anything the data doesn't capture. [confirm / add context]</ask>
|
|
54
|
-
</step>
|
|
55
|
-
<step n="4" title="Tech Debt Reflection (Data-Driven)">
|
|
56
|
-
<action>If {implementation_artifacts}/tech-debt-dashboard.md exists, auto-analyze:
|
|
57
|
-
- Debt items added vs resolved this sprint
|
|
58
|
-
- FIX NOW items that were NOT addressed → "Missed priorities: {count} FIX NOW items still open"
|
|
59
|
-
- Auto-escalated items from aging → "Aging debt: {count} items auto-escalated due to age"
|
|
60
|
-
- Debt ratio trend (up/down/stable) compared to previous dashboard run
|
|
61
|
-
- If any FIX NOW + OVERDUE items exist → "Velocity risk: {count} overdue FIX NOW items may slow next sprint"
|
|
62
|
-
- Category breakdown: which category (DESIGN/CODE/TEST/INFRASTRUCTURE) grew most</action>
|
|
63
|
-
<action>If no tech-debt-dashboard.md exists: note "No tech debt dashboard available — run /gaia-tech-debt-review to generate one."</action>
|
|
64
|
-
<action>Present: "## Tech Debt Reflection" with analysis and data</action>
|
|
65
|
-
<action if="yolo_mode">In YOLO mode: auto-confirm the debt analysis and proceed.</action>
|
|
66
|
-
<ask>This is the debt analysis from the dashboard. Any additional context the data doesn't show? [confirm / add context]</ask>
|
|
67
|
-
</step>
|
|
68
|
-
<step n="5" title="Agent Memory Updates">
|
|
69
|
-
<action>For each improvement or lesson learned from Steps 2-4, identify which agent's domain it belongs to:
|
|
70
|
-
- Architecture/tech stack issues → {memory_path}/architect-sidecar/architecture-decisions.md
|
|
71
|
-
- Testing/quality issues → {memory_path}/test-architect-sidecar/test-decisions.md
|
|
72
|
-
- Security issues → {memory_path}/security-sidecar/threat-model-decisions.md
|
|
73
|
-
- Infrastructure/deployment issues → {memory_path}/devops-sidecar/infrastructure-decisions.md
|
|
74
|
-
- Process/velocity issues → {memory_path}/sm-sidecar/velocity-data.md
|
|
75
|
-
- Requirements/scope issues → {memory_path}/pm-sidecar/product-decisions.md</action>
|
|
76
|
-
<action>For each identified lesson, append to the relevant sidecar file:
|
|
77
|
-
Format: "- {date} [RETRO-{sprint_id}]: {lesson learned}. Context: {what happened}. Recommendation: {what to do differently}."</action>
|
|
78
|
-
<action>ALWAYS append sprint velocity data to {memory_path}/sm-sidecar/velocity-data.md:
|
|
79
|
-
### Sprint {sprint_id}
|
|
80
|
-
- Planned: {X} points ({N} stories)
|
|
81
|
-
- Completed: {Y} points ({M} stories)
|
|
82
|
-
- Velocity: {Y} pts
|
|
83
|
-
- Blocked days: {Z}
|
|
84
|
-
- Carryover: {list of incomplete stories}</action>
|
|
85
|
-
</step>
|
|
86
|
-
<step n="6" title="Skill Improvement Proposals">
|
|
87
|
-
<action>Review the "what could improve" findings from Step 3. For each finding, check if it relates to a shared skill:
|
|
88
|
-
- Code quality issues → code-review-standards.md
|
|
89
|
-
- Testing failures/flakiness → testing-patterns.md
|
|
90
|
-
- Git/branching problems → git-workflow.md
|
|
91
|
-
- API design issues → api-design.md
|
|
92
|
-
- Security gaps → security-basics.md
|
|
93
|
-
- Database problems → database-design.md
|
|
94
|
-
- Deployment issues → docker-workflow.md
|
|
95
|
-
- Documentation gaps → documentation-standards.md</action>
|
|
96
|
-
<action>For each related skill, propose a concrete addition or modification: what section should change, what content to add, and why (link back to the retro finding)</action>
|
|
97
|
-
<action if="yolo_mode">In YOLO mode: auto-approve all recommended skill improvements. Skip the user prompt below.</action>
|
|
98
|
-
<ask>Here are the proposed skill improvements based on this sprint's findings. Approve, modify, or skip each. [approve all / select / skip]</ask>
|
|
99
|
-
<action>If approved: append to the relevant skill file with comment: "<!-- Added from retro-{sprint_id}: {reason} -->"</action>
|
|
100
|
-
<action>If no skill improvements identified, state: "No skill improvements identified this sprint."</action>
|
|
101
|
-
</step>
|
|
102
|
-
<step n="7" title="Cross-Retro Pattern Detection">
|
|
103
|
-
<action>Scan {implementation_artifacts}/ for all previous retro-*.md files</action>
|
|
104
|
-
<action>If previous retros exist:
|
|
105
|
-
- Extract "what could improve" sections from each
|
|
106
|
-
- Identify recurring themes (same category of problem appearing in 2+ sprints)
|
|
107
|
-
- For each recurring pattern: flag it as a SYSTEMIC ISSUE with sprint history
|
|
108
|
-
- Present to user: "The following issues have appeared in multiple sprints:"
|
|
109
|
-
| Pattern | Sprints Affected | Times Reported | Status |</action>
|
|
110
|
-
<action if="yolo_mode">In YOLO mode: auto-escalate all systemic issues (appearing in 2+ sprints) to action items with higher priority. Skip the user prompt below.</action>
|
|
111
|
-
<ask>Would you like to escalate any systemic issues to action items with higher priority?</ask>
|
|
112
|
-
<action>If this is the first retro: skip pattern detection, note "First retrospective — pattern detection will begin after Sprint 2."</action>
|
|
113
|
-
</step>
|
|
114
|
-
<step n="8" title="Action Items">
|
|
115
|
-
<action>Define concrete improvements for next sprint</action>
|
|
116
|
-
<action>Include any escalated systemic issues from Step 7</action>
|
|
117
|
-
<action>Assign ownership for each action item</action>
|
|
118
|
-
<action>Write each action item to {implementation_artifacts}/action-items.yaml:
|
|
119
|
-
1. Read action-items.yaml (create with header if doesn't exist:
|
|
120
|
-
"# Action Items — centralized tracker\nlast_updated: {timestamp}\nitems: []")
|
|
121
|
-
2. For each action item, generate auto-incremented ID (A-{NNN}, increment from highest existing)
|
|
122
|
-
3. Classify type: clarification | implementation | process | automation
|
|
123
|
-
4. Set priority based on escalation count: items flagged in 2+ sprints = high, new items = medium by default
|
|
124
|
-
5. Write entry with: id, title, source_workflow: "retrospective", source_sprint: {sprint_id},
|
|
125
|
-
source_ref: "retro-{sprint_id}.md", created: {date}, type, priority, status: "open",
|
|
126
|
-
assignee (from ownership), target_sprint: next sprint, resolution: null,
|
|
127
|
-
resolved_date: null, related_stories: [], escalation_count: {count from cross-retro detection}
|
|
128
|
-
6. Update last_updated timestamp</action>
|
|
129
|
-
</step>
|
|
130
|
-
<step n="9" title="Generate Output">
|
|
131
|
-
<template-output file="{implementation_artifacts}/retro-{sprint_id}.md">
|
|
132
|
-
Generate retrospective report with: sprint metrics, what went well (data-driven), improvements (data-driven), tech debt reflection, agent memory updates made, skill improvement proposals (approved/skipped), cross-retro patterns detected, and action items with ownership.
|
|
133
|
-
</template-output>
|
|
134
|
-
</step>
|
|
135
|
-
<step n="10" title="Save to Val Memory">
|
|
136
|
-
<action>Auto-save retrospective summary to Val's memory sidecar (no user prompt required):
|
|
137
|
-
|
|
138
|
-
1. Append to {memory_path}/validator-sidecar/decision-log.md:
|
|
139
|
-
### [YYYY-MM-DD] Retrospective: {sprint_id}
|
|
140
|
-
|
|
141
|
-
- **Agent:** validator
|
|
142
|
-
- **Workflow:** retrospective
|
|
143
|
-
- **Sprint:** {sprint_id}
|
|
144
|
-
- **Status:** recorded
|
|
145
|
-
|
|
146
|
-
Sprint {sprint_id} retro complete.
|
|
147
|
-
Velocity: {planned} planned → {completed} completed ({ratio}%).
|
|
148
|
-
Went well: {count} items. Key: {top 2-3 findings}.
|
|
149
|
-
Improvements: {count} items. Key: {top 2-3 findings}.
|
|
150
|
-
Debt trend: {up/down/stable} ({ratio}%).
|
|
151
|
-
Systemic issues: {count} ({list if any}).
|
|
152
|
-
Skill updates: {count} approved.
|
|
153
|
-
Action items: {count} for next sprint.
|
|
154
|
-
Memory sidecars updated: {list of updated sidecars}.
|
|
155
|
-
|
|
156
|
-
2. Replace body of {memory_path}/validator-sidecar/conversation-context.md (preserve header above first ---):
|
|
157
|
-
Last session: Retrospective for {sprint_id}.
|
|
158
|
-
Date: {YYYY-MM-DD}. Velocity: {completed}/{planned} pts.
|
|
159
|
-
Went well: {count}. Improvements: {count}. Action items: {count}.
|
|
160
|
-
|
|
161
|
-
If _memory/validator-sidecar/ directory or files don't exist, create them with standard headers.
|
|
162
|
-
If writing fails, log warning and continue — memory save is non-blocking.</action>
|
|
163
|
-
</step>
|
|
164
|
-
</workflow>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: retrospective
|
|
2
|
-
description: 'Post-sprint retrospective with learning loop'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: sm
|
|
5
|
-
template_output_prompt: "auto"
|
|
6
|
-
config_resolved: "{installed_path}/.resolved/retrospective.yaml"
|
|
7
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
8
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/retrospective"
|
|
9
|
-
instructions: "{installed_path}/instructions.xml"
|
|
10
|
-
validation: "{installed_path}/checklist.md"
|
|
11
|
-
input_file_patterns:
|
|
12
|
-
status:
|
|
13
|
-
whole: "{implementation_artifacts}/sprint-status.yaml"
|
|
14
|
-
load_strategy: "FULL_LOAD"
|
|
15
|
-
previous_retros:
|
|
16
|
-
whole: "{implementation_artifacts}/retro-*.md"
|
|
17
|
-
load_strategy: "INDEX_GUIDED"
|
|
18
|
-
tech_debt:
|
|
19
|
-
whole: "{implementation_artifacts}/tech-debt-dashboard.md"
|
|
20
|
-
load_strategy: "FULL_LOAD"
|
|
21
|
-
on_error:
|
|
22
|
-
missing_file: "ask_user"
|
|
23
|
-
unresolved_variable: "halt"
|
|
24
|
-
|
|
25
|
-
output:
|
|
26
|
-
primary: "{implementation_artifacts}/retro-{sprint_id}.md"
|
|
27
|
-
sidecar_updates:
|
|
28
|
-
- "{memory_path}/*-sidecar/*.md"
|
|
29
|
-
skill_updates:
|
|
30
|
-
- "{project-root}/_gaia/dev/skills/*.md"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Run All Reviews Validation'
|
|
3
|
-
validation-target: 'Review orchestration'
|
|
4
|
-
---
|
|
5
|
-
## Pre-conditions
|
|
6
|
-
- [ ] Story identified and in 'review' status
|
|
7
|
-
- [ ] Review Gate table initialized with 6 rows
|
|
8
|
-
## Execution
|
|
9
|
-
- [ ] Each pending review dispatched to subagent
|
|
10
|
-
- [ ] Already-passed reviews skipped
|
|
11
|
-
- [ ] Story file re-read after each review completes
|
|
12
|
-
## Completion
|
|
13
|
-
- [ ] Review summary generated with all 6 verdicts
|
|
14
|
-
- [ ] Story status reflects gate outcome (done or still review)
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
<workflow name="run-all-reviews">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Run each review in a SEPARATE subagent context using the Agent tool</mandate>
|
|
4
|
-
<mandate>Run reviews SEQUENTIALLY — never in parallel (they write to the same story file)</mandate>
|
|
5
|
-
<mandate>Do NOT write to sprint-status.yaml — story file is authoritative</mandate>
|
|
6
|
-
<mandate>If any review returns FAILED, continue running remaining reviews — do NOT halt</mandate>
|
|
7
|
-
<mandate>Individual review subagents MUST NOT change story status — only this orchestrator manages status transitions after all reviews complete</mandate>
|
|
8
|
-
</critical>
|
|
9
|
-
|
|
10
|
-
<step n="1" title="Identify Story">
|
|
11
|
-
<action>Ask user which story to review (story key, e.g., STORY-001)</action>
|
|
12
|
-
<action>Read story file: search {implementation_artifacts}/ for {story_key}-*.md (if not found, try {story_key}.md). Use the resolved path for all subsequent updates.</action>
|
|
13
|
-
<action>Verify story status is 'review'. If not: HALT — story must be in review status</action>
|
|
14
|
-
<action>Read the Review Gate table — note which reviews are already PASSED (skip those)</action>
|
|
15
|
-
<action>Show user: "Running reviews for {story_key}. Already passed: {list}. Will run: {remaining_list}."</action>
|
|
16
|
-
</step>
|
|
17
|
-
|
|
18
|
-
<step n="2" title="Run Code Review">
|
|
19
|
-
<action>Skip if Code Review row already shows PASSED</action>
|
|
20
|
-
<action>Spawn a subagent using the Agent tool with this prompt:
|
|
21
|
-
"Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/4-implementation/code-review/workflow.yaml as workflow-config. The story key is {story_key}. Run in YOLO mode — auto-proceed past all template-outputs. Follow the workflow engine instructions EXACTLY."
|
|
22
|
-
</action>
|
|
23
|
-
<action>When subagent returns: read story file, check Code Review row status. Log result.</action>
|
|
24
|
-
</step>
|
|
25
|
-
|
|
26
|
-
<step n="3" title="Run Security Review">
|
|
27
|
-
<action>Skip if Security Review row already shows PASSED</action>
|
|
28
|
-
<action>Spawn a subagent using the Agent tool with this prompt:
|
|
29
|
-
"Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/4-implementation/security-review/workflow.yaml as workflow-config. The story key is {story_key}. Run in YOLO mode — auto-proceed past all template-outputs. Follow the workflow engine instructions EXACTLY."
|
|
30
|
-
</action>
|
|
31
|
-
<action>When subagent returns: read story file, check Security Review row status. Log result.</action>
|
|
32
|
-
</step>
|
|
33
|
-
|
|
34
|
-
<step n="4" title="Run QA Tests">
|
|
35
|
-
<action>Skip if QA Tests row already shows PASSED</action>
|
|
36
|
-
<action>Spawn a subagent using the Agent tool with this prompt:
|
|
37
|
-
"Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/4-implementation/qa-generate-tests/workflow.yaml as workflow-config. The story key is {story_key}. Run in YOLO mode — auto-proceed past all template-outputs. Follow the workflow engine instructions EXACTLY."
|
|
38
|
-
</action>
|
|
39
|
-
<action>When subagent returns: read story file, check QA Tests row status. Log result.</action>
|
|
40
|
-
</step>
|
|
41
|
-
|
|
42
|
-
<step n="5" title="Run Test Automation">
|
|
43
|
-
<action>Skip if Test Automation row already shows PASSED</action>
|
|
44
|
-
<action>Spawn a subagent using the Agent tool with this prompt:
|
|
45
|
-
"Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/testing/workflows/test-automation/workflow.yaml as workflow-config. The story key is {story_key}. Run in YOLO mode — auto-proceed past all template-outputs. Follow the workflow engine instructions EXACTLY."
|
|
46
|
-
</action>
|
|
47
|
-
<action>When subagent returns: read story file, check Test Automation row status. Log result.</action>
|
|
48
|
-
</step>
|
|
49
|
-
|
|
50
|
-
<step n="6" title="Run Test Review">
|
|
51
|
-
<action>Skip if Test Review row already shows PASSED</action>
|
|
52
|
-
<action>Spawn a subagent using the Agent tool with this prompt:
|
|
53
|
-
"Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/testing/workflows/test-review/workflow.yaml as workflow-config. The story key is {story_key}. Run in YOLO mode — auto-proceed past all template-outputs. Follow the workflow engine instructions EXACTLY."
|
|
54
|
-
</action>
|
|
55
|
-
<action>When subagent returns: read story file, check Test Review row status. Log result.</action>
|
|
56
|
-
</step>
|
|
57
|
-
|
|
58
|
-
<step n="7" title="Run Performance Review">
|
|
59
|
-
<action>Skip if Performance Review row already shows PASSED</action>
|
|
60
|
-
<action>Spawn a subagent using the Agent tool with this prompt:
|
|
61
|
-
"Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/anytime/performance-review/workflow.yaml as workflow-config. The story key is {story_key}. Run in YOLO mode — auto-proceed past all template-outputs. Follow the workflow engine instructions EXACTLY."
|
|
62
|
-
</action>
|
|
63
|
-
<action>When subagent returns: read story file, check Performance Review row status. Log result.</action>
|
|
64
|
-
</step>
|
|
65
|
-
|
|
66
|
-
<step n="8" title="Review Summary and Status Transition">
|
|
67
|
-
<action>Read story file — parse full Review Gate table</action>
|
|
68
|
-
<action>Generate summary table: review name | verdict | report link</action>
|
|
69
|
-
<action>If ALL 6 PASSED: invoke the review-gate-check protocol to evaluate DoD and transition story to 'done' if appropriate.</action>
|
|
70
|
-
<action>If any FAILED:
|
|
71
|
-
<invoke-protocol ref="status-sync" story_key="{story_key}" new_status="in-progress" source_workflow="run-all-reviews" />
|
|
72
|
-
List failed reviews with report links. Report: "Story {story_key} moved to in-progress — fix issues and re-run failed reviews."</action>
|
|
73
|
-
<invoke-protocol name="review-gate-check" file="{project-root}/_gaia/core/protocols/review-gate-check.xml" />
|
|
74
|
-
<template-output file="{implementation_artifacts}/{story_key}-review-summary.md">
|
|
75
|
-
Generate review summary: story key, date, all 6 review verdicts with report links, final story status, and next actions if any reviews failed.
|
|
76
|
-
</template-output>
|
|
77
|
-
</step>
|
|
78
|
-
</workflow>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Run All Reviews — Sequential Orchestrator
|
|
2
|
-
# Runs all 6 review workflows sequentially via subagents
|
|
3
|
-
|
|
4
|
-
name: run-all-reviews
|
|
5
|
-
display_name: "Run All Reviews — Sequential Orchestrator"
|
|
6
|
-
description: "Runs all 6 review workflows sequentially via subagents, each in a separate context window"
|
|
7
|
-
module: lifecycle
|
|
8
|
-
agent: orchestrator
|
|
9
|
-
|
|
10
|
-
instructions: "{installed_path}/lifecycle/workflows/4-implementation/run-all-reviews/instructions.xml"
|
|
11
|
-
validation: "{installed_path}/lifecycle/workflows/4-implementation/run-all-reviews/checklist.md"
|
|
12
|
-
|
|
13
|
-
config_source: "{installed_path}/lifecycle/config.yaml"
|
|
14
|
-
|
|
15
|
-
output:
|
|
16
|
-
primary: "{implementation_artifacts}/{story_key}-review-summary.md"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Security Review Validation'
|
|
3
|
-
validation-target: 'Security review report'
|
|
4
|
-
required-inputs:
|
|
5
|
-
- '{implementation_artifacts}/{{story_key}}-*.md'
|
|
6
|
-
---
|
|
7
|
-
## OWASP Coverage
|
|
8
|
-
- [ ] All 10 OWASP categories checked
|
|
9
|
-
- [ ] Findings are specific with code locations
|
|
10
|
-
## Secrets
|
|
11
|
-
- [ ] No hardcoded secrets detected
|
|
12
|
-
- [ ] Secrets management approach verified
|
|
13
|
-
## Authentication
|
|
14
|
-
- [ ] Auth flow reviewed
|
|
15
|
-
- [ ] Authorization checks at access points
|
|
16
|
-
- [ ] Session management validated
|
|
17
|
-
## Findings
|
|
18
|
-
- [ ] Each finding has severity level
|
|
19
|
-
- [ ] Each finding has remediation suggestion
|
|
20
|
-
- [ ] Overall risk assessment provided
|
|
21
|
-
## Verdict
|
|
22
|
-
- [ ] PASSED or FAILED verdict clearly stated in report
|
|
23
|
-
## Review Gate
|
|
24
|
-
- [ ] Review Gate table updated in story file
|
|
25
|
-
- [ ] If PASSED: Security Review row shows PASSED with report link
|
|
26
|
-
- [ ] If FAILED: Security Review row shows FAILED, story status set to in-progress
|
|
27
|
-
- [ ] Review gate check protocol invoked
|
|
28
|
-
## Output Verification
|
|
29
|
-
- [ ] Report generated with findings table
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
<workflow name="security-review">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Story must be in review status before security review</mandate>
|
|
4
|
-
<mandate>Check against all OWASP Top 10 categories</mandate>
|
|
5
|
-
<mandate>Flag hardcoded secrets, API keys, credentials</mandate>
|
|
6
|
-
<mandate>Verify authentication and authorization patterns</mandate>
|
|
7
|
-
<mandate>Produce findings with severity levels</mandate>
|
|
8
|
-
<mandate>Output must include machine-readable PASSED or FAILED verdict</mandate>
|
|
9
|
-
<mandate>When reading or running application source code, use {project-path} as the base directory — NOT {project-root}. {project-path} is resolved by the engine from global.yaml.</mandate>
|
|
10
|
-
</critical>
|
|
11
|
-
<step n="1" title="Load Context">
|
|
12
|
-
<action>Resolve story file: search for {story_key}-*.md in {implementation_artifacts}/ using glob pattern to match the full filename ({story_key}-{title_slug}.md)</action>
|
|
13
|
-
<action>Read the story file to understand what was built</action>
|
|
14
|
-
<action>Read {planning_artifacts}/threat-model.md if available — understand applicable threats</action>
|
|
15
|
-
<action>Identify code files changed or created by this story</action>
|
|
16
|
-
</step>
|
|
17
|
-
<step n="2" title="Status Gate">
|
|
18
|
-
<action>Verify story is in 'review' status</action>
|
|
19
|
-
<check if="status != review">HALT: Story must be in review status before security review</check>
|
|
20
|
-
</step>
|
|
21
|
-
<step n="3" title="OWASP Top 10 Scan">
|
|
22
|
-
<action>Check code changes against each OWASP category:</action>
|
|
23
|
-
<action>A01: Broken Access Control — authorization checks, RBAC, CORS</action>
|
|
24
|
-
<action>A02: Cryptographic Failures — encryption, hashing, key management</action>
|
|
25
|
-
<action>A03: Injection — SQL, XSS, command injection, input validation</action>
|
|
26
|
-
<action>A04: Insecure Design — missing security controls in design</action>
|
|
27
|
-
<action>A05: Security Misconfiguration — default configs, unnecessary features</action>
|
|
28
|
-
<action>A06: Vulnerable Components — outdated dependencies, known CVEs</action>
|
|
29
|
-
<action>A07: Auth Failures — password policies, session management, MFA</action>
|
|
30
|
-
<action>A08: Data Integrity Failures — deserialization, CI/CD integrity</action>
|
|
31
|
-
<action>A09: Logging Failures — insufficient logging, missing audit trail</action>
|
|
32
|
-
<action>A10: SSRF — server-side request forgery vectors</action>
|
|
33
|
-
</step>
|
|
34
|
-
<step n="4" title="Secrets Scan">
|
|
35
|
-
<action>Check for hardcoded secrets, API keys, credentials in code</action>
|
|
36
|
-
<action>Verify secrets are loaded from environment or secrets manager</action>
|
|
37
|
-
<action>Check .gitignore covers sensitive files (.env, credentials, keys)</action>
|
|
38
|
-
</step>
|
|
39
|
-
<step n="5" title="Auth Pattern Review">
|
|
40
|
-
<action>Verify authentication flow follows security best practices</action>
|
|
41
|
-
<action>Check authorization at every access point (not just UI)</action>
|
|
42
|
-
<action>Validate session management and token handling</action>
|
|
43
|
-
<action>Check for privilege escalation paths</action>
|
|
44
|
-
</step>
|
|
45
|
-
<step n="5b" title="Data Privacy and Compliance">
|
|
46
|
-
<action>Identify if the story handles PII (names, emails, addresses, phone numbers, payment data, health data, authentication tokens, user-generated content with metadata)</action>
|
|
47
|
-
<action>If PII is handled:
|
|
48
|
-
- GDPR applicability: check for consent mechanisms, right-to-delete support, data portability, lawful basis for processing
|
|
49
|
-
- Data encryption: verify PII is encrypted at rest (database-level or field-level) and in transit (TLS)
|
|
50
|
-
- Data retention: check if retention policies are defined — flag if no retention period or deletion mechanism exists
|
|
51
|
-
- Data minimization: flag collection of PII fields not required for the feature's purpose
|
|
52
|
-
- Cross-border transfer: flag if PII may be stored or processed in different jurisdictions without safeguards
|
|
53
|
-
</action>
|
|
54
|
-
<action>If no PII detected: record "No PII handling identified in this story" for auditability</action>
|
|
55
|
-
</step>
|
|
56
|
-
<step n="6" title="Generate Findings">
|
|
57
|
-
<action>Classify each finding by severity: critical, high, medium, low, info</action>
|
|
58
|
-
<action>Include: finding description, location, OWASP category, remediation suggestion</action>
|
|
59
|
-
<action>Provide overall security risk assessment</action>
|
|
60
|
-
</step>
|
|
61
|
-
<step n="7" title="Verdict">
|
|
62
|
-
<action>If NO critical or high severity findings: verdict is PASSED</action>
|
|
63
|
-
<action>If ANY critical or high severity finding exists: verdict is FAILED — list blocking findings</action>
|
|
64
|
-
</step>
|
|
65
|
-
<step n="8" title="Generate Output">
|
|
66
|
-
<template-output file="{implementation_artifacts}/{story_key}-security-review.md">
|
|
67
|
-
Generate security review report with: summary, OWASP findings table, secrets scan results, auth review results, data privacy and compliance assessment, overall risk assessment, and machine-readable verdict (PASSED/FAILED).
|
|
68
|
-
</template-output>
|
|
69
|
-
</step>
|
|
70
|
-
<step n="9" title="Update Review Gate and Transition">
|
|
71
|
-
<action>Read story file, locate Review Gate table</action>
|
|
72
|
-
<action>If PASSED: update Security Review row status to PASSED, link report file</action>
|
|
73
|
-
<action>If FAILED: update Security Review row status to FAILED, link report file. Do NOT change story status — the review-gate-check protocol or run-all-reviews orchestrator handles status transitions.</action>
|
|
74
|
-
<template-output file="{implementation_artifacts}/{story_key}-*.md">
|
|
75
|
-
Update story file Review Gate table with security review result and report link.
|
|
76
|
-
</template-output>
|
|
77
|
-
<action>Inform user: "Note: sprint-status.yaml may now be out of sync. Run /gaia-sprint-status to reconcile."</action>
|
|
78
|
-
<invoke-protocol name="review-gate-check" file="{project-root}/_gaia/core/protocols/review-gate-check.xml" />
|
|
79
|
-
</step>
|
|
80
|
-
</workflow>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: security-review
|
|
2
|
-
description: 'Pre-merge security review: OWASP, secrets, auth patterns'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: security
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/security-review.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/security-review"
|
|
8
|
-
instructions: "{installed_path}/instructions.xml"
|
|
9
|
-
validation: "{installed_path}/checklist.md"
|
|
10
|
-
quality_gates:
|
|
11
|
-
pre_start:
|
|
12
|
-
- check: "story_status == 'review'"
|
|
13
|
-
on_fail: "HALT: Story must be in review status before security review. Complete /gaia-dev-story first."
|
|
14
|
-
input_file_patterns:
|
|
15
|
-
story:
|
|
16
|
-
whole: "{implementation_artifacts}/{{story_key}}-*.md"
|
|
17
|
-
load_strategy: "FULL_LOAD"
|
|
18
|
-
threat_model:
|
|
19
|
-
whole: "{planning_artifacts}/threat-model.md"
|
|
20
|
-
load_strategy: "FULL_LOAD"
|
|
21
|
-
on_error:
|
|
22
|
-
missing_file: "ask_user"
|
|
23
|
-
unresolved_variable: "halt"
|
|
24
|
-
|
|
25
|
-
output:
|
|
26
|
-
primary: "{implementation_artifacts}/{story_key}-security-review.md"
|
|
27
|
-
secondary: "{implementation_artifacts}/{story_key}-*.md"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Sprint Planning Validation'
|
|
3
|
-
validation-target: 'Sprint plan and status files'
|
|
4
|
-
---
|
|
5
|
-
## Sprint Setup
|
|
6
|
-
- [ ] Sprint duration defined
|
|
7
|
-
- [ ] Velocity estimate set
|
|
8
|
-
- [ ] Sprint ID assigned
|
|
9
|
-
- [ ] Memory hygiene prompt shown to user (even when sidecars empty)
|
|
10
|
-
## Story Selection
|
|
11
|
-
- [ ] Only stories with status 'ready-for-dev' are selectable
|
|
12
|
-
- [ ] T-shirt-to-points mapping read from global.yaml sizing_map
|
|
13
|
-
- [ ] Stories selected within velocity
|
|
14
|
-
- [ ] Dependencies respected — stories with unresolved depends_on blocked
|
|
15
|
-
- [ ] P0 stories not selected are flagged with warning
|
|
16
|
-
- [ ] Priority ordering applied
|
|
17
|
-
- [ ] Selected story files updated with sprint_id
|
|
18
|
-
## Testing Readiness
|
|
19
|
-
- [ ] test-plan.md checked (warn if missing)
|
|
20
|
-
- [ ] High-risk stories identified from risk_level field
|
|
21
|
-
- [ ] ATDD file status noted for each high-risk story
|
|
22
|
-
- [ ] Sprint plan includes Testing Readiness section
|
|
23
|
-
## Status
|
|
24
|
-
- [ ] sprint-status.yaml generated
|
|
25
|
-
- [ ] All stories set to 'backlog'
|
|
26
|
-
- [ ] Sprint ID tracked
|
|
27
|
-
## Output Verification
|
|
28
|
-
- [ ] Sprint plan file exists
|
|
29
|
-
- [ ] sprint-status.yaml exists and valid
|