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,140 +0,0 @@
|
|
|
1
|
-
<workflow name="sprint-planning">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Use sprint state machine: backlog, validating, ready-for-dev, in-progress, invalid, review, done</mandate>
|
|
4
|
-
<mandate>Support multi-sprint via sprint_id tracking</mandate>
|
|
5
|
-
<mandate>Only stories with status 'ready-for-dev' are selectable for a sprint</mandate>
|
|
6
|
-
</critical>
|
|
7
|
-
<step n="1" title="Load Epics, Stories, Action Items, and Previous Retro">
|
|
8
|
-
<action>Read {implementation_artifacts}/action-items.yaml if it exists. Check for HIGH priority items open for 2+ sprints (escalation_count >= 2 AND priority == "high" AND status == "open").
|
|
9
|
-
If any found: HALT — "Cannot start sprint planning. {count} HIGH priority action item(s) have been open for {escalation_count}+ sprints:
|
|
10
|
-
{for each: A-{NNN}: {title} (open since {source_sprint}) → Run: /gaia-action-items A-{NNN}}
|
|
11
|
-
Resolve each item using the command shown above before re-running sprint planning."
|
|
12
|
-
For MEDIUM/LOW open items: display warning but do NOT halt: "Note: {count} action items still open (non-blocking)."</action>
|
|
13
|
-
<action>Read {planning_artifacts}/epics-and-stories.md</action>
|
|
14
|
-
<action>Parse all stories with their priorities, sizes, dependencies</action>
|
|
15
|
-
<action>Scan {implementation_artifacts}/ for individual story files matching {story_key}-*.md. For each file found, read its frontmatter Status field.</action>
|
|
16
|
-
<action>Classify stories into selectable and non-selectable:
|
|
17
|
-
- SELECTABLE: stories with individual files AND status = 'ready-for-dev'
|
|
18
|
-
- NOT SELECTABLE: stories without individual files → "Story {key} has no individual file — run /gaia-create-story {key} first."
|
|
19
|
-
- NOT SELECTABLE: stories with files but status ≠ 'ready-for-dev' → "Story {key} is in '{status}' status — must be 'ready-for-dev' to be selectable. Run /gaia-validate-story {key} first."
|
|
20
|
-
</action>
|
|
21
|
-
<action>Display the classification to the user: selectable stories table (Key | Title | Priority | Size | Risk | Status) and non-selectable stories with reasons.</action>
|
|
22
|
-
<action>Load most recent retro-{sprint_id}.md from {implementation_artifacts}/ if available</action>
|
|
23
|
-
<action>If retro found: extract open action items — carry forward as sprint constraints or tasks. Present to user: "Previous retro action items to carry forward:" with status of each.</action>
|
|
24
|
-
</step>
|
|
25
|
-
<step n="2" title="Optional: Memory Hygiene Check" optional="true">
|
|
26
|
-
<action>Check if any sidecar directories under {memory_path}/*-sidecar/ contain content beyond their template header</action>
|
|
27
|
-
<check if="any sidecars have content">
|
|
28
|
-
<ask>Agent memory sidecars contain decisions from previous sessions. Would you like to run memory hygiene? This spawns a subagent in a separate context. Recommended if architecture or requirement changes occurred since last sprint. (yes / skip)</ask>
|
|
29
|
-
<action>If yes: spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/anytime/memory-hygiene/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY."</action>
|
|
30
|
-
<action>If skip: memory hygiene can be run anytime with /gaia-memory-hygiene</action>
|
|
31
|
-
</check>
|
|
32
|
-
<check if="no sidecars have content">
|
|
33
|
-
<ask>No agent memory sidecar data found. Would you like to run memory hygiene anyway? This is typically skipped for first sprints. (yes / skip)</ask>
|
|
34
|
-
<action>If yes: spawn subagent as above</action>
|
|
35
|
-
<action>If skip: continue to next step</action>
|
|
36
|
-
</check>
|
|
37
|
-
</step>
|
|
38
|
-
<step n="3" title="Sprint Scoping">
|
|
39
|
-
<ask>Sprint duration (1 week / 2 weeks / custom)?</ask>
|
|
40
|
-
<ask>Team velocity estimate (story points)?</ask>
|
|
41
|
-
<ask>Sprint number (for multi-sprint tracking)?</ask>
|
|
42
|
-
</step>
|
|
43
|
-
<step n="4" title="Story Selection">
|
|
44
|
-
<action>Read sizing_map from {project-root}/_gaia/_config/global.yaml. Use these canonical point values for T-shirt sizes (S/M/L/XL → points). Display the mapping to the user before selection.</action>
|
|
45
|
-
<action>Select stories for this sprint based on priority and dependencies — only from stories classified as SELECTABLE in Step 1 (status = 'ready-for-dev').</action>
|
|
46
|
-
<action>Ensure total size fits within velocity estimate using the sizing_map point values</action>
|
|
47
|
-
<action>Dependency blocking: for each candidate story, check its depends_on list. If any dependency story is NOT in 'done' status, the story CANNOT be included in this sprint. Display: "BLOCKED: Story {key} depends on {dep_key} (status: {dep_status}) — cannot be included until {dep_key} is done."</action>
|
|
48
|
-
<action>Priority surfacing: after story selection, check for P0 stories that are 'ready-for-dev' but were NOT selected. If any found, display: "WARNING: The following P0/critical stories are ready but not selected for this sprint:" followed by the list with their sizes. Ask user to confirm they intentionally excluded these high-priority stories.</action>
|
|
49
|
-
<action>If {test_artifacts}/test-plan.md exists: apply risk levels to story selection — buffer 20% for high-risk stories in velocity estimate</action>
|
|
50
|
-
<action>ATDD check (high-risk ONLY): for each story with risk = high, check if {test_artifacts}/atdd-{story_key}.md exists. If missing, add a sprint risk note: "HIGH-RISK story {key} has no ATDD file — run /gaia-atdd {key} before development." Do NOT flag medium or low risk stories — ATDD is required only for high-risk stories.</action>
|
|
51
|
-
</step>
|
|
52
|
-
<step n="5" title="Update Story Files">
|
|
53
|
-
<action>For each selected story that has an individual file in {implementation_artifacts}/: update the sprint_id field to "sprint-{N}"</action>
|
|
54
|
-
<action>For each selected story: invoke status-sync protocol to assign the sprint — keep status as 'ready-for-dev' (do NOT change to backlog). Stories remain ready-for-dev until /gaia-dev-story transitions them to in-progress.
|
|
55
|
-
<invoke-protocol ref="status-sync" story_key="{story_key}" new_status="ready-for-dev" sprint_id="sprint-{N}" source_workflow="sprint-planning" />
|
|
56
|
-
Note: sprint-status.yaml may not exist yet at this point (created in Step 8) — the protocol will skip the sprint-status.yaml update if the file doesn't exist.</action>
|
|
57
|
-
<action>Include all modified story files in the checkpoint files_touched with sha256 checksums</action>
|
|
58
|
-
</step>
|
|
59
|
-
<step n="6" title="Optional: Mobile Testing">
|
|
60
|
-
<ask>Would you like to create a mobile test plan? This spawns a subagent in a separate context. Recommended for mobile or responsive applications. (yes / skip)</ask>
|
|
61
|
-
<action>If yes: spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/testing/workflows/mobile-testing/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY."</action>
|
|
62
|
-
<action>If skip: mobile testing can be set up anytime later with /gaia-mobile-testing</action>
|
|
63
|
-
</step>
|
|
64
|
-
<step n="7" title="Sprint Plan Generation">
|
|
65
|
-
<action>Create sprint plan with story assignments and execution order</action>
|
|
66
|
-
<action>Order by dependency resolution + priority</action>
|
|
67
|
-
<action>Generate a Sprint Burndown Estimate table showing projected points remaining per day based on wave/story completion schedule. Format: Day | Points Remaining | Stories Completing. This helps the team track expected progress and identify deviations early.</action>
|
|
68
|
-
</step>
|
|
69
|
-
<step n="8" title="Status Initialization">
|
|
70
|
-
<action>All selected stories remain in 'ready-for-dev' status (assigned to sprint but not yet started)</action>
|
|
71
|
-
<action>Generate sprint-status.yaml with standardized schema:
|
|
72
|
-
sprint_id: "sprint-{N}"
|
|
73
|
-
duration: "{1 week / 2 weeks / custom}"
|
|
74
|
-
velocity_capacity: {velocity estimate from Step 3}
|
|
75
|
-
team_size: {number of developers}
|
|
76
|
-
total_points: {sum of all selected story points}
|
|
77
|
-
capacity_utilization: "{total_points / velocity_capacity * 100}%"
|
|
78
|
-
started: "{date}"
|
|
79
|
-
end_date: "{date}"
|
|
80
|
-
stories:
|
|
81
|
-
- key: "{story-key}"
|
|
82
|
-
title: "{story title}"
|
|
83
|
-
status: "ready-for-dev"
|
|
84
|
-
points: {story points from sizing_map}
|
|
85
|
-
risk_level: "{high/medium/low}"
|
|
86
|
-
assignee: null
|
|
87
|
-
blocked_by: null
|
|
88
|
-
updated: "{date}"
|
|
89
|
-
</action>
|
|
90
|
-
</step>
|
|
91
|
-
<step n="9" title="Generate Output">
|
|
92
|
-
<template-output file="{implementation_artifacts}/{sprint_id}-plan.md">
|
|
93
|
-
Generate sprint plan document with: sprint goals, selected stories (ordered), velocity target, risk assessment, Sprint Burndown Estimate (points remaining per day), and a Testing Readiness section listing ONLY high-risk stories with their ATDD file status. Medium and low risk stories do NOT require ATDD and should NOT appear in the ATDD readiness checks.
|
|
94
|
-
</template-output>
|
|
95
|
-
<action>Write sprint-status.yaml to {implementation_artifacts}/sprint-status.yaml</action>
|
|
96
|
-
</step>
|
|
97
|
-
<step n="10" title="Val Validation">
|
|
98
|
-
<action>Invoke Val to validate the sprint plan. Val verifies:
|
|
99
|
-
(a) All selected story keys exist as story files with status 'ready-for-dev'
|
|
100
|
-
(b) Dependency ordering is correct — no story selected before its blocking dependency is 'done'
|
|
101
|
-
(c) Points math is correct — total selected points ≤ velocity capacity
|
|
102
|
-
(d) No duplicate story keys in the selection
|
|
103
|
-
(e) Sprint-status.yaml entries match the sprint plan document
|
|
104
|
-
If findings: SM auto-fixes (e.g., remove invalid stories, fix ordering), re-validates.
|
|
105
|
-
If Val fails or crashes: log warning and continue — validation is non-blocking for sprint planning.</action>
|
|
106
|
-
<invoke-workflow
|
|
107
|
-
target="{project-root}/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact/workflow.yaml"
|
|
108
|
-
input_artifact="{implementation_artifacts}/{sprint_id}-plan.md"
|
|
109
|
-
on_error="warn_and_continue"
|
|
110
|
-
model_override="opus" />
|
|
111
|
-
</step>
|
|
112
|
-
<step n="11" title="Save to Val Memory">
|
|
113
|
-
<action>Auto-save sprint planning decisions to Val's memory sidecar (no user prompt required):
|
|
114
|
-
|
|
115
|
-
1. Append to {memory_path}/validator-sidecar/decision-log.md:
|
|
116
|
-
### [YYYY-MM-DD] Sprint Planning: {sprint_id}
|
|
117
|
-
|
|
118
|
-
- **Agent:** validator
|
|
119
|
-
- **Workflow:** sprint-planning
|
|
120
|
-
- **Sprint:** {sprint_id}
|
|
121
|
-
- **Status:** recorded
|
|
122
|
-
|
|
123
|
-
Sprint {sprint_id} planned. Duration: {duration}. Velocity: {velocity_capacity} pts.
|
|
124
|
-
Stories selected: {count} ({total_points} pts, {utilization}% capacity).
|
|
125
|
-
Story keys: {comma-separated list}.
|
|
126
|
-
High-risk stories: {count} (ATDD: {verified/missing}).
|
|
127
|
-
Retro action items carried forward: {count or "none"}.
|
|
128
|
-
|
|
129
|
-
2. Replace body of {memory_path}/validator-sidecar/conversation-context.md (preserve header above first ---):
|
|
130
|
-
Last session: Sprint planning for {sprint_id}.
|
|
131
|
-
Date: {YYYY-MM-DD}. Stories: {count} ({total_points} pts). Velocity: {velocity_capacity}.
|
|
132
|
-
|
|
133
|
-
If {memory_path}/validator-sidecar/ directory or files don't exist, create them with standard headers.
|
|
134
|
-
If writing fails, log warning and continue — memory save is non-blocking.</action>
|
|
135
|
-
</step>
|
|
136
|
-
<next-step source="lifecycle-sequence.yaml">
|
|
137
|
-
<primary command="/gaia-dev-story">Start implementing the first story from the sprint</primary>
|
|
138
|
-
<alternative command="/gaia-sprint-status" context="To review current sprint state"/>
|
|
139
|
-
</next-step>
|
|
140
|
-
</workflow>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: sprint-planning
|
|
2
|
-
description: 'Generate sprint plan from epics and stories'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: sm
|
|
5
|
-
template_output_prompt: "auto"
|
|
6
|
-
config_resolved: "{installed_path}/.resolved/sprint-planning.yaml"
|
|
7
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
8
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/sprint-planning"
|
|
9
|
-
instructions: "{installed_path}/instructions.xml"
|
|
10
|
-
validation: "{installed_path}/checklist.md"
|
|
11
|
-
input_file_patterns:
|
|
12
|
-
epics:
|
|
13
|
-
whole: "{planning_artifacts}/epics-and-stories.md"
|
|
14
|
-
load_strategy: "FULL_LOAD"
|
|
15
|
-
previous_retro:
|
|
16
|
-
whole: "{implementation_artifacts}/retro-*.md"
|
|
17
|
-
load_strategy: "INDEX_GUIDED"
|
|
18
|
-
story_files:
|
|
19
|
-
whole: "{implementation_artifacts}/{story_key}-*.md"
|
|
20
|
-
load_strategy: "INDEX_GUIDED"
|
|
21
|
-
quality_gates:
|
|
22
|
-
pre_start:
|
|
23
|
-
- check: "test_plan_exists"
|
|
24
|
-
on_fail: "WARN: Test plan not found at {test_artifacts}/test-plan.md. Sprint risk assessment will be incomplete. Consider running /gaia-test-design."
|
|
25
|
-
tracking_system: "file-system"
|
|
26
|
-
status_file: "{implementation_artifacts}/sprint-status.yaml"
|
|
27
|
-
story_statuses: [backlog, validating, ready-for-dev, in-progress, invalid, review, done]
|
|
28
|
-
on_error:
|
|
29
|
-
missing_file: "ask_user"
|
|
30
|
-
unresolved_variable: "halt"
|
|
31
|
-
|
|
32
|
-
output:
|
|
33
|
-
primary: "{implementation_artifacts}/{sprint_id}-plan.md"
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Sprint Status Validation'
|
|
3
|
-
validation-target: 'Sprint status display'
|
|
4
|
-
---
|
|
5
|
-
## Reconciliation
|
|
6
|
-
- [ ] Each story's sprint-status.yaml entry compared with story file frontmatter
|
|
7
|
-
- [ ] Divergent statuses corrected (story file wins)
|
|
8
|
-
- [ ] Reconciliation changes logged
|
|
9
|
-
- [ ] Reconciliation changes displayed to user before status display
|
|
10
|
-
## Display
|
|
11
|
-
- [ ] All stories shown with current status
|
|
12
|
-
- [ ] Blocked stories highlighted
|
|
13
|
-
- [ ] Progress percentage shown
|
|
14
|
-
## Tech Debt
|
|
15
|
-
- [ ] Tech debt summary shown (if dashboard exists)
|
|
16
|
-
## Risks
|
|
17
|
-
- [ ] At-risk stories identified
|
|
18
|
-
- [ ] Mitigation suggestions provided
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<workflow name="sprint-status">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Highlight blocked stories prominently with reason</mandate>
|
|
4
|
-
<mandate>Reconcile sprint-status.yaml with story file frontmatter before displaying — story files are the source of truth for story status</mandate>
|
|
5
|
-
</critical>
|
|
6
|
-
<step n="1" title="Load Sprint Status">
|
|
7
|
-
<action>Read {implementation_artifacts}/sprint-status.yaml</action>
|
|
8
|
-
<action>Parse all story entries with their statuses</action>
|
|
9
|
-
</step>
|
|
10
|
-
<step n="2" title="Reconcile With Story Files">
|
|
11
|
-
<action>For each story in sprint-status.yaml: read the story file matching {story_key}*.md in {implementation_artifacts}/. Read ONLY the YAML frontmatter (stop at closing ---) and the Review Gate table. The story file frontmatter is ALWAYS the source of truth — never rely solely on story-index.yaml which may be incomplete.</action>
|
|
12
|
-
<action>Compare the Status field in the story file frontmatter with the status in sprint-status.yaml</action>
|
|
13
|
-
<action>If they differ: the story file frontmatter is authoritative — update sprint-status.yaml to match</action>
|
|
14
|
-
<action>If a story file has all 6 Review Gate rows PASSED and status 'done' but sprint-status.yaml still shows 'review': update sprint-status.yaml to 'done'</action>
|
|
15
|
-
<action>Log any reconciliation changes: "Reconciled {story_key}: {old_status} → {new_status} (synced from story file)"</action>
|
|
16
|
-
<action>If any discrepancies were found and reconciled: write a reconciliation report to {implementation_artifacts}/sprint-reconciliation-{date}.md containing: reconciliation timestamp, total stories checked, each discrepancy (story key, old status, new status, source: "story file frontmatter"), and a summary line. If no discrepancies were found, skip writing — no report needed when everything is in sync.</action>
|
|
17
|
-
<action>After reconciliation: display a change summary to the user before proceeding — for each reconciled story show "{story_key}: {old_status} → {new_status}". If no changes were made, display "All statuses in sync — no reconciliation needed."</action>
|
|
18
|
-
</step>
|
|
19
|
-
<step n="3" title="Display Status">
|
|
20
|
-
<action>Format output with standard header: "## Sprint Status — {sprint_id} | {date}" followed by summary line: "Progress: {done}/{total} stories ({pct}%) | {points_done}/{total_points} points | Blocked: {blocked_count}"</action>
|
|
21
|
-
<action>Show stories grouped by status in a table</action>
|
|
22
|
-
<action>Highlight blocked stories with blocking reason</action>
|
|
23
|
-
<action>Show progress: done/total, percentage complete</action>
|
|
24
|
-
<action>If {implementation_artifacts}/tech-debt-dashboard.md exists: read summary metrics section only</action>
|
|
25
|
-
<action>Show debt summary line: "Tech Debt: {count} items ({fix_now} FIX NOW, {overdue} overdue)"</action>
|
|
26
|
-
<action>If any FIX NOW items are overdue: include in Step 4 risk flags</action>
|
|
27
|
-
</step>
|
|
28
|
-
<step n="4" title="Surface Risks">
|
|
29
|
-
<action>Identify at-risk stories: blocked, dependencies not met</action>
|
|
30
|
-
<action>Flag stories that may miss sprint deadline</action>
|
|
31
|
-
<action>Suggest mitigation actions</action>
|
|
32
|
-
<template-output file="{implementation_artifacts}/sprint-status.yaml">
|
|
33
|
-
Save reconciled sprint status with current story states, progress metrics, and risk flags.
|
|
34
|
-
</template-output>
|
|
35
|
-
</step>
|
|
36
|
-
</workflow>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
name: sprint-status
|
|
2
|
-
description: 'Show current sprint status and surface risks'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: sm
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/sprint-status.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/sprint-status"
|
|
8
|
-
instructions: "{installed_path}/instructions.xml"
|
|
9
|
-
validation: "{installed_path}/checklist.md"
|
|
10
|
-
input_file_patterns:
|
|
11
|
-
status:
|
|
12
|
-
whole: "{implementation_artifacts}/sprint-status.yaml"
|
|
13
|
-
load_strategy: "FULL_LOAD"
|
|
14
|
-
on_error:
|
|
15
|
-
missing_file: "ask_user"
|
|
16
|
-
unresolved_variable: "halt"
|
|
17
|
-
|
|
18
|
-
output:
|
|
19
|
-
primary: "{implementation_artifacts}/sprint-status.yaml"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Tech Debt Review Validation'
|
|
3
|
-
validation-target: 'Tech debt dashboard'
|
|
4
|
-
---
|
|
5
|
-
## Scan
|
|
6
|
-
- [ ] All story files scanned for tech-debt findings
|
|
7
|
-
- [ ] Sprint-status.yaml parsed for backlog debt stories
|
|
8
|
-
- [ ] Previous dashboard loaded for trend comparison (if exists)
|
|
9
|
-
## Classification
|
|
10
|
-
- [ ] Every debt item assigned exactly one category (design/code/test/infrastructure)
|
|
11
|
-
- [ ] Every debt item tagged with source (finding/triage/manual)
|
|
12
|
-
## Scoring
|
|
13
|
-
- [ ] Impact, effort, and risk-of-inaction scores assigned (1-5 each)
|
|
14
|
-
- [ ] Debt Score computed: (Impact + Risk) - Effort
|
|
15
|
-
- [ ] Priority mapped: FIX NOW (>=7) / PLAN NEXT (4-6) / TRACK (1-3)
|
|
16
|
-
- [ ] Top 5 scores confirmed with user
|
|
17
|
-
## Aging
|
|
18
|
-
- [ ] Age calculated in sprints for every item
|
|
19
|
-
- [ ] SLA thresholds applied (OVERDUE / escalated / review relevance)
|
|
20
|
-
## Dashboard
|
|
21
|
-
- [ ] Summary metrics table complete
|
|
22
|
-
- [ ] Category breakdown table complete
|
|
23
|
-
- [ ] Top 10 debt items listed with scores and actions
|
|
24
|
-
- [ ] Overdue alerts shown for SLA-breaching items
|
|
25
|
-
- [ ] Trend data included (or "First review" noted)
|
|
26
|
-
## Recommendations
|
|
27
|
-
- [ ] Actionable next steps provided with specific /gaia-* commands
|
|
28
|
-
- [ ] Debt ratio assessed with sprint allocation recommendation
|
|
29
|
-
## Output Verification
|
|
30
|
-
- [ ] Dashboard file exists at {implementation_artifacts}/tech-debt-dashboard.md
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
<workflow name="tech-debt-review">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Read ONLY frontmatter + Findings section from story files — never load full content (token budget protection)</mandate>
|
|
4
|
-
<mandate>Every debt item must be classified, scored, and aged — none may be left unprocessed</mandate>
|
|
5
|
-
<mandate>Dashboard is a living document — overwrite on each run, preserve trend data from previous version</mandate>
|
|
6
|
-
<mandate>Each debt item gets a stable ID (TD-1, TD-2, ...) assigned in Step 2. This ID MUST be preserved across ALL subsequent steps — never renumber items when sorting or filtering.</mandate>
|
|
7
|
-
<mandate>For each triaged item, validate the target story status. Flag items where the target is done (STALE TARGET) or missing (UNASSIGNED).</mandate>
|
|
8
|
-
</critical>
|
|
9
|
-
<step n="1" title="Scan Debt Sources">
|
|
10
|
-
<action>If {implementation_artifacts}/tech-debt-dashboard.md exists: load it for trend comparison (previous totals, previous items list)</action>
|
|
11
|
-
<action>Read {implementation_artifacts}/sprint-status.yaml — identify current sprint_id and all stories with status 'backlog'</action>
|
|
12
|
-
<action>Scan story files in {implementation_artifacts}/ — for each .md file:</action>
|
|
13
|
-
<action> 1. Read YAML frontmatter (stop at closing ---) to get story key, status, sprint_id, type</action>
|
|
14
|
-
<action> 2. Scan for ## Findings section — collect rows where Type = 'tech-debt'</action>
|
|
15
|
-
<action> 3. Also collect findings of Type = 'bug' with Severity = 'medium' or 'low' that are NOT marked [TRIAGED] or [DISMISSED]</action>
|
|
16
|
-
<action>For each finding marked [TRIAGED → {target_key}], validate the target story:
|
|
17
|
-
1. Check if {implementation_artifacts}/{target_key}-*.md exists
|
|
18
|
-
2. If exists: read its frontmatter status field
|
|
19
|
-
3. Determine resolution status:
|
|
20
|
-
- Target status = 'backlog' or 'validating' or 'ready-for-dev' → QUEUED
|
|
21
|
-
- Target status = 'in-progress' → IN PROGRESS
|
|
22
|
-
- Target status = 'review' → IN REVIEW
|
|
23
|
-
- Target status = 'done' → STALE TARGET (story completed but debt still exists — finding was likely added after implementation)
|
|
24
|
-
4. If target file doesn't exist → UNASSIGNED
|
|
25
|
-
5. If target is not a valid story key (e.g., "cleanup", "later", free text) → UNASSIGNED</action>
|
|
26
|
-
<action>For each STALE TARGET item: verify whether the debt was actually resolved by the target story.
|
|
27
|
-
1. Read the finding description — identify what specific file, config, or pattern the debt refers to
|
|
28
|
-
2. Check the filesystem: does the issue still exist? (e.g., if finding says "duplicate file X", check if both copies still exist; if finding says "missing skill Y", check if it was created)
|
|
29
|
-
3. If the issue is RESOLVED (no longer exists in filesystem): mark as RESOLVED and exclude from classification/scoring
|
|
30
|
-
4. If the issue PERSISTS despite target story being done: keep as active debt with status STALE TARGET
|
|
31
|
-
5. Report: "{N} STALE TARGET items verified: {resolved_count} resolved (excluded), {persists_count} still active"</action>
|
|
32
|
-
<action>Separate items into two pools: (a) untriaged findings still in story files, (b) triaged debt stories already in backlog</action>
|
|
33
|
-
<action>If untriaged findings exist: include them in the analysis with Resolution Status = UNASSIGNED. Do NOT recommend running /gaia-triage-findings here — triage may have already run and these items fell through its filters. Flag them for Step 6 recommendations instead.</action>
|
|
34
|
-
<action>If no debt items found at all: inform user "No technical debt detected" and stop</action>
|
|
35
|
-
</step>
|
|
36
|
-
<step n="2" title="Classify Debt">
|
|
37
|
-
<action>Before assigning IDs, detect and merge duplicate findings that describe the same root cause:
|
|
38
|
-
1. Compare all items — two items are duplicates if they describe the same root cause:
|
|
39
|
-
- Same file/config/pattern referenced
|
|
40
|
-
- Same type of issue (e.g., "dual directories" from different source stories)
|
|
41
|
-
- One finding is a subset of another
|
|
42
|
-
2. For each group of duplicates: merge into a single item
|
|
43
|
-
- Use the most descriptive title
|
|
44
|
-
- Combine all source stories (e.g., "E8-S2, E8-S4")
|
|
45
|
-
- Keep the same target story
|
|
46
|
-
- Mark as "(merged from {count} findings)" in the Item column
|
|
47
|
-
3. Report: "Merged {N} duplicate findings into {M} items"</action>
|
|
48
|
-
<action>Assign each MERGED debt item a stable ID: TD-1, TD-2, TD-3, etc. IDs are assigned AFTER merging so they reflect the final deduplicated list. This ID stays with the item through ALL subsequent steps — never renumber.</action>
|
|
49
|
-
<action>Categorize each debt item into exactly one category:</action>
|
|
50
|
-
<action> DESIGN — architectural shortcuts, missing abstractions, tight coupling, violation of design patterns</action>
|
|
51
|
-
<action> CODE — code smells, duplication, excessive complexity, naming inconsistencies, SOLID violations</action>
|
|
52
|
-
<action> TEST — missing tests, flaky tests, low coverage areas, manual-only testing</action>
|
|
53
|
-
<action> INFRASTRUCTURE — CI/CD gaps, missing monitoring, manual deployment steps, environment drift</action>
|
|
54
|
-
<action>Tag each item with its source: 'finding' (from dev-story), 'triage' (backlog story from triage-findings), 'manual' (user-reported)</action>
|
|
55
|
-
<action>If any items have resolution status STALE TARGET or UNASSIGNED, present a warning block BEFORE the classification table:
|
|
56
|
-
⚠ Target Validation Issues:
|
|
57
|
-
- TD-{N}: Target {key} is DONE — finding was likely added after implementation. Needs re-triage: create a new story or dismiss.
|
|
58
|
-
- TD-{N}: Target "{text}" — no valid story assigned. Needs triage.
|
|
59
|
-
Recommend: run /gaia-triage-findings to reassign these items.</action>
|
|
60
|
-
<action>Present classification table with ALL columns:
|
|
61
|
-
| ID | Item | Category | Source | Target Story | Resolution Status |
|
|
62
|
-
Resolution Status values: QUEUED, IN PROGRESS, IN REVIEW, STALE TARGET, UNASSIGNED</action>
|
|
63
|
-
<action>Present category summary table grouped by category with counts</action>
|
|
64
|
-
</step>
|
|
65
|
-
<step n="3" title="Score and Prioritize">
|
|
66
|
-
<action>For each debt item, assess three dimensions (1-5 scale):</action>
|
|
67
|
-
<action> Impact — How much does this affect development velocity, reliability, or user experience? (1=minimal, 5=severe)</action>
|
|
68
|
-
<action> Effort — How much work to resolve? (1=trivial fix, 2=few hours, 3=1 story, 4=multi-story, 5=epic-sized)</action>
|
|
69
|
-
<action> Risk of Inaction — What happens if ignored for 3 more sprints? (1=nothing, 3=slows team, 5=production incident)</action>
|
|
70
|
-
<action>Calculate Debt Score = (Impact + Risk of Inaction) - Effort</action>
|
|
71
|
-
<action>Map to priority: Score >= 7 = FIX NOW, 4-6 = PLAN NEXT, 1-3 = TRACK</action>
|
|
72
|
-
<action>Sort all items by Debt Score descending. Add a Rank column for sorted position, but KEEP the original TD-{N} ID from Step 2.</action>
|
|
73
|
-
<action>Present the FULL scored table with all columns preserved:
|
|
74
|
-
| Rank | ID | Item | Category | Source | Target | Resolution | Impact | Effort | Risk | Score | Priority |</action>
|
|
75
|
-
<action if="yolo_mode">In YOLO mode: auto-confirm the recommended scores for all items — skip the user review prompt below.</action>
|
|
76
|
-
<ask>Review the top 5 scored items — confirm or adjust the scores</ask>
|
|
77
|
-
</step>
|
|
78
|
-
<step n="4" title="Calculate Aging">
|
|
79
|
-
<action>For each debt item, calculate age in sprints:</action>
|
|
80
|
-
<action> - Triaged backlog stories: compare story creation sprint to current sprint_id</action>
|
|
81
|
-
<action> - Untriaged findings: compare source story sprint_id to current sprint_id</action>
|
|
82
|
-
<action> - If sprint_id not available: use file modification date as fallback</action>
|
|
83
|
-
<action>Apply SLA thresholds and escalate where needed:</action>
|
|
84
|
-
<action> FIX NOW items older than 1 sprint → flag as OVERDUE</action>
|
|
85
|
-
<action> PLAN NEXT items older than 3 sprints → auto-escalate to FIX NOW</action>
|
|
86
|
-
<action> TRACK items older than 5 sprints → flag for relevance review (may be obsolete)</action>
|
|
87
|
-
<action>Build aging distribution: count items per age bucket (current sprint, 1-2 sprints, 3-4 sprints, 5+ sprints)</action>
|
|
88
|
-
</step>
|
|
89
|
-
<step n="5" title="Generate Dashboard">
|
|
90
|
-
<action>Load template from {project-root}/_gaia/lifecycle/templates/tech-debt-dashboard-template.md</action>
|
|
91
|
-
<action>Fill summary metrics: total count, FIX NOW / PLAN NEXT / TRACK counts, overdue count, debt ratio, STALE TARGET count, UNASSIGNED count</action>
|
|
92
|
-
<action>Fill category table: count and oldest item age per category</action>
|
|
93
|
-
<action>Fill aging histogram: ASCII bar chart showing items per age bucket</action>
|
|
94
|
-
<action>Fill top 10 table with ALL columns: ID, item description, category, source, target, resolution status, impact, effort, risk, score, age, priority, recommended action</action>
|
|
95
|
-
<action>Fill overdue alerts: list all OVERDUE and auto-escalated items with source and age</action>
|
|
96
|
-
<action>Fill target issues section: list all STALE TARGET and UNASSIGNED items with recommendation to re-triage</action>
|
|
97
|
-
<action>Fill trend section: compare current totals to previous dashboard (if exists), compute deltas</action>
|
|
98
|
-
<action> If no previous dashboard: show "First review — no prior data" in trend section</action>
|
|
99
|
-
<template-output file="{implementation_artifacts}/tech-debt-dashboard.md">
|
|
100
|
-
Generate tech debt dashboard from template with all metrics, rankings, aging alerts, target validation issues, and trend data.
|
|
101
|
-
</template-output>
|
|
102
|
-
</step>
|
|
103
|
-
<step n="6" title="Recommend Actions">
|
|
104
|
-
<action>Based on dashboard findings, recommend specific next steps:</action>
|
|
105
|
-
<action> If any STALE TARGET or UNASSIGNED items exist: "Run /gaia-triage-findings to reassign {count} items with invalid targets"</action>
|
|
106
|
-
<action> If any FIX NOW + OVERDUE items exist: "Run /gaia-correct-course to inject these into the current sprint"</action>
|
|
107
|
-
<action> If debt ratio > 30%: "Consider dedicating 20% of next sprint capacity to debt reduction"</action>
|
|
108
|
-
<action> If TEST debt dominates: "Run /gaia-test-automate to address test coverage gaps"</action>
|
|
109
|
-
<action> If DESIGN debt dominates: "Consider /gaia-change-request for architectural refactoring"</action>
|
|
110
|
-
<action> If INFRASTRUCTURE debt dominates: "Run /gaia-ci-setup to close CI/CD gaps"</action>
|
|
111
|
-
<action> If items were auto-escalated: "Review escalated items — aging has upgraded their priority"</action>
|
|
112
|
-
<action>Present the specific /gaia-* command chain for each top-priority item</action>
|
|
113
|
-
<action>For FIX NOW + OVERDUE items: write each to {implementation_artifacts}/action-items.yaml as an action item (if not already tracked):
|
|
114
|
-
type: "implementation", priority: "high", status: "open",
|
|
115
|
-
source_workflow: "tech-debt-review", source_sprint: {sprint_id},
|
|
116
|
-
title: "{debt item description}", related_stories: [{target story if exists}]
|
|
117
|
-
Check existing action items by title similarity to avoid duplicates.</action>
|
|
118
|
-
</step>
|
|
119
|
-
<step n="7" title="Save to Val Memory">
|
|
120
|
-
<action>Auto-save tech debt review decisions to Val's memory sidecar (no user prompt required):
|
|
121
|
-
|
|
122
|
-
1. Append to {memory_path}/validator-sidecar/decision-log.md:
|
|
123
|
-
### [YYYY-MM-DD] Tech Debt Review: {total_count} items
|
|
124
|
-
|
|
125
|
-
- **Agent:** validator
|
|
126
|
-
- **Workflow:** tech-debt-review
|
|
127
|
-
- **Sprint:** {sprint_id}
|
|
128
|
-
- **Status:** recorded
|
|
129
|
-
|
|
130
|
-
Dashboard: {total_count} items. FIX NOW: {fix_now_count}. PLAN NEXT: {plan_next_count}. TRACK: {track_count}.
|
|
131
|
-
Overdue: {overdue_count}. Auto-escalated: {escalated_count}.
|
|
132
|
-
Stale targets: {stale_count}. Unassigned: {unassigned_count}.
|
|
133
|
-
Debt ratio: {ratio}%. Trend: {delta vs previous} ({up/down/stable}).
|
|
134
|
-
Top category: {dominant_category} ({count} items).
|
|
135
|
-
Top 3 FIX NOW items: {brief list with scores}.
|
|
136
|
-
Recommendations: {list of recommended /gaia-* commands}.
|
|
137
|
-
|
|
138
|
-
2. Replace body of {memory_path}/validator-sidecar/conversation-context.md (preserve header above first ---):
|
|
139
|
-
Last session: Tech debt review for {sprint_id}.
|
|
140
|
-
Date: {YYYY-MM-DD}. Items: {total_count}. FIX NOW: {fix_now_count}. Overdue: {overdue_count}.
|
|
141
|
-
Stale targets: {stale_count}. Unassigned: {unassigned_count}.
|
|
142
|
-
Debt ratio: {ratio}%. Trend: {up/down/stable}.
|
|
143
|
-
|
|
144
|
-
If _memory/validator-sidecar/ directory or files don't exist, create them with standard headers.
|
|
145
|
-
If writing fails, log warning and continue — memory save is non-blocking.</action>
|
|
146
|
-
</step>
|
|
147
|
-
</workflow>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: tech-debt-review
|
|
2
|
-
description: 'Aggregate, classify, and prioritize technical debt'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: sm
|
|
5
|
-
template_output_prompt: "auto"
|
|
6
|
-
config_resolved: "{installed_path}/.resolved/tech-debt-review.yaml"
|
|
7
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
8
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/tech-debt-review"
|
|
9
|
-
instructions: "{installed_path}/instructions.xml"
|
|
10
|
-
validation: "{installed_path}/checklist.md"
|
|
11
|
-
template: "{project-root}/_gaia/lifecycle/templates/tech-debt-dashboard-template.md"
|
|
12
|
-
input_file_patterns:
|
|
13
|
-
status:
|
|
14
|
-
whole: "{implementation_artifacts}/sprint-status.yaml"
|
|
15
|
-
load_strategy: "FULL_LOAD"
|
|
16
|
-
stories:
|
|
17
|
-
pattern: "{implementation_artifacts}/*.md"
|
|
18
|
-
load_strategy: "FRONTMATTER_ONLY"
|
|
19
|
-
on_error:
|
|
20
|
-
missing_file: "ask_user"
|
|
21
|
-
unresolved_variable: "halt"
|
|
22
|
-
|
|
23
|
-
output:
|
|
24
|
-
primary: "{implementation_artifacts}/tech-debt-dashboard.md"
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Triage Findings Validation'
|
|
3
|
-
validation-target: 'Triaged development findings'
|
|
4
|
-
---
|
|
5
|
-
## Scan
|
|
6
|
-
- [ ] All story files scanned for non-empty Findings tables
|
|
7
|
-
- [ ] Only untriaged findings collected
|
|
8
|
-
## Triage
|
|
9
|
-
- [ ] Every finding has a triage decision (create story, add to existing, or dismiss)
|
|
10
|
-
- [ ] Critical/high severity findings prioritized
|
|
11
|
-
## Stories Created
|
|
12
|
-
- [ ] New backlog stories follow story template format
|
|
13
|
-
- [ ] New stories reference source story in Dependencies
|
|
14
|
-
- [ ] sprint-status.yaml updated with new backlog entries
|
|
15
|
-
## Marking
|
|
16
|
-
- [ ] All processed findings marked as [TRIAGED → {key}] or [DISMISSED] in source story
|
|
17
|
-
- [ ] No untriaged findings remain
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
<workflow name="triage-findings">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Every finding must be triaged — none may be left unprocessed</mandate>
|
|
4
|
-
<mandate>New stories created from findings must have status 'backlog'</mandate>
|
|
5
|
-
<mandate>Source story findings must be marked as triaged with the target story key or dismissed</mandate>
|
|
6
|
-
<mandate>New stories MUST be appended to epics-and-stories.md under the correct epic — the master planning artifact must stay in sync with story files</mandate>
|
|
7
|
-
<mandate>New story keys MUST use the next sequential number in the epic — scan existing stories to determine the last key. NEVER reuse an existing key.</mandate>
|
|
8
|
-
<mandate>New triaged stories MUST NOT be added to sprint-status.yaml — they are backlog items that get assigned to sprints via /gaia-sprint-plan or injected via /gaia-correct-course</mandate>
|
|
9
|
-
</critical>
|
|
10
|
-
<step n="1" title="Scan for Findings">
|
|
11
|
-
<action>Scan story files in {implementation_artifacts}/ for non-empty Findings tables</action>
|
|
12
|
-
<action>Collect all findings from ALL story files regardless of status — scan every .md file that has a non-empty Findings table. This ensures triage catches findings from stories in any status (backlog, validating, ready-for-dev, in-progress, invalid, review, done) so nothing is invisible to tech-debt-review later.</action>
|
|
13
|
-
<action>Skip findings already marked as [TRIAGED] or [DISMISSED]</action>
|
|
14
|
-
<action>If no untriaged findings found: inform user "No findings to triage" and stop</action>
|
|
15
|
-
</step>
|
|
16
|
-
<step n="2" title="Present Findings">
|
|
17
|
-
<action>Group findings by severity (critical first, then high, medium, low)</action>
|
|
18
|
-
<action>For each finding, show: source story key, type, severity, description, suggested action</action>
|
|
19
|
-
<action>Present to user for triage decisions</action>
|
|
20
|
-
</step>
|
|
21
|
-
<step n="3" title="Triage Each Finding">
|
|
22
|
-
<action>For each finding, generate a triage recommendation based on:
|
|
23
|
-
- **Severity:** CRITICAL or HIGH findings → recommend CREATE STORY (standalone fix needed)
|
|
24
|
-
- **Type:** 'tech-debt' and 'bug' findings → recommend CREATE STORY; 'improvement' findings → consider ADD TO EXISTING
|
|
25
|
-
- **Scope:** If the finding is closely related to an existing backlog story → recommend ADD TO EXISTING and list candidate backlog stories for the user to pick from
|
|
26
|
-
- **Relevance:** If the finding describes a temporary workaround that has since been resolved or the issue no longer applies → recommend DISMISS
|
|
27
|
-
Present the recommendation with reasoning for each finding.</action>
|
|
28
|
-
<action>For each CREATE STORY recommendation, also recommend a timing/urgency:
|
|
29
|
-
- **CRITICAL** severity (production bug, security vulnerability, data loss risk) → recommend **NOW**: "Inject into current sprint via /gaia-correct-course after triage completes"
|
|
30
|
-
- **HIGH** severity (blocking debt, significant bug) → recommend **NEXT SPRINT**: flag as priority P0 so /gaia-sprint-plan picks it up first
|
|
31
|
-
- **MEDIUM** severity → recommend **BACKLOG**: standard priority P1, pick up when capacity allows
|
|
32
|
-
- **LOW** severity → recommend **BACKLOG**: standard priority P2, no urgency
|
|
33
|
-
Present the timing recommendation alongside the triage decision.</action>
|
|
34
|
-
<action if="yolo_mode">In YOLO mode: auto-apply both the triage recommendation and the timing recommendation for each finding without prompting the user. Log each decision, reasoning, and timing.</action>
|
|
35
|
-
<action if="not yolo_mode">Present the recommendation, then let the user confirm or override for each finding:</action>
|
|
36
|
-
<action> a. CREATE STORY — generate a new story file with status 'backlog', referencing the source story and finding. Use when: the finding represents a standalone piece of work (bug fix, tech debt cleanup, missing feature) that needs its own acceptance criteria and testing.
|
|
37
|
-
After choosing CREATE STORY, confirm timing: [n] Now (inject into sprint) | [s] Next sprint (P0) | [b] Backlog (standard priority)</action>
|
|
38
|
-
<action> b. ADD TO EXISTING — append finding to an existing story's tasks. Use when: the finding is closely related to an existing backlog story and can be addressed as part of that work.
|
|
39
|
-
When presenting candidate stories: only show stories with status 'backlog', 'validating', 'ready-for-dev', or 'in-progress'.
|
|
40
|
-
EXCLUDE stories with status 'done' or 'review' — adding a finding to a completed story won't be worked on.
|
|
41
|
-
If user tries to pick a done story: warn "Story {key} is already done. Adding a finding to a completed story won't be worked on. Choose a different story or use CREATE STORY instead."</action>
|
|
42
|
-
<action> c. DISMISS — finding is not actionable or already resolved. Use when: the finding was about a temporary state that no longer exists, the issue has been fixed by a subsequent change, or the risk is accepted.</action>
|
|
43
|
-
</step>
|
|
44
|
-
<step n="4" title="Create Backlog Stories">
|
|
45
|
-
<action>For each CREATE STORY decision, determine the correct story key:
|
|
46
|
-
1. Identify which epic the finding belongs to — use the source story's epic_key (e.g., if source is E1-S3, the epic is E1)
|
|
47
|
-
2. Scan {planning_artifacts}/epics-and-stories.md AND {implementation_artifacts}/ for ALL existing stories in that epic
|
|
48
|
-
3. Find the highest story number in that epic (e.g., if E1-S1 through E1-S7 exist, the highest is S7)
|
|
49
|
-
4. Assign the next sequential key: E1-S8
|
|
50
|
-
5. NEVER reuse an existing key — always increment from the highest found across both sources
|
|
51
|
-
6. Determine: title (from finding's suggested action), priority (NOW→P0, NEXT SPRINT→P0, BACKLOG→P1/P2), size estimate, risk level (CRITICAL/HIGH→high, MEDIUM→medium, LOW→low)</action>
|
|
52
|
-
<action>Update {planning_artifacts}/epics-and-stories.md BEFORE spawning create-story (create-story reads this file in its Step 1):
|
|
53
|
-
1. Read the file and find the epic section for the new story's epic (e.g., ## Epic 1: ...)
|
|
54
|
-
2. Append the new story entry at the END of that epic's story list — after the last existing story in that epic
|
|
55
|
-
3. Include: story key, title, priority, size estimate, risk level, and a note "(from triage: {source_story_key})"
|
|
56
|
-
4. Do NOT insert at the beginning or middle of the list — always append at the end
|
|
57
|
-
5. If the epic section has a stories table: add a new row at the bottom
|
|
58
|
-
6. If the epic section has a stories list: add a new item at the bottom</action>
|
|
59
|
-
<action>Spawn /gaia-create-story as a subagent for full story elaboration and Val validation.
|
|
60
|
-
Use the Agent tool to invoke the create-story workflow with the following prompt:
|
|
61
|
-
|
|
62
|
-
"Run /gaia-create-story {story_key} yolo
|
|
63
|
-
|
|
64
|
-
This story was created from a triage finding. Use this context for elaboration:
|
|
65
|
-
- **Source story:** {source_story_key} ({source_story_title})
|
|
66
|
-
- **Finding type:** {finding_type}
|
|
67
|
-
- **Finding severity:** {finding_severity}
|
|
68
|
-
- **Finding description:** {finding_description}
|
|
69
|
-
- **Suggested action:** {finding_suggested_action}
|
|
70
|
-
- **Priority:** {priority}
|
|
71
|
-
- **Risk level:** {risk_level}
|
|
72
|
-
|
|
73
|
-
The story entry has already been added to epics-and-stories.md. Proceed with story creation."
|
|
74
|
-
|
|
75
|
-
create-story will: load epics context, spawn Derek (PM) and Theo (Architect) for elaboration,
|
|
76
|
-
generate the full story file with all sections, run Val validation, and transition to ready-for-dev if validation passes.</action>
|
|
77
|
-
<action>After the create-story subagent returns:
|
|
78
|
-
- Verify the story file was created at {implementation_artifacts}/{story_key}-*.md
|
|
79
|
-
- If the subagent failed or the file does not exist: fall back to generating a minimal story file directly (same as the previous behavior) and warn "create-story subagent failed for {story_key} — created minimal story file. Run /gaia-create-story {story_key} manually to fully elaborate."
|
|
80
|
-
- Record the result (success with final status, or fallback) for the Step 6 summary</action>
|
|
81
|
-
</step>
|
|
82
|
-
<step n="5" title="Mark Findings as Triaged">
|
|
83
|
-
<action>In each source story's Findings table, update the processed findings:</action>
|
|
84
|
-
<action> - CREATE STORY: append "[TRIAGED → {new_story_key}]" to the Finding column</action>
|
|
85
|
-
<action> - ADD TO EXISTING: append "[TRIAGED → {existing_story_key}]" to the Finding column</action>
|
|
86
|
-
<action> - DISMISS: append "[DISMISSED]" to the Finding column</action>
|
|
87
|
-
</step>
|
|
88
|
-
<step n="6" title="Summary and Recommendations">
|
|
89
|
-
<action>Present triage summary: total findings processed, stories created (with keys and priorities), items added to existing stories, dismissed</action>
|
|
90
|
-
<action>Confirm: "epics-and-stories.md updated with {N} new stories under their respective epics."</action>
|
|
91
|
-
<action>If any stories were marked as NOW (inject into current sprint):
|
|
92
|
-
Present: "⚠ {count} story(ies) recommended for immediate sprint injection: {list of story keys with titles}. Run /gaia-correct-course to inject them into the current sprint."
|
|
93
|
-
Write each NOW story to {implementation_artifacts}/action-items.yaml as an action item:
|
|
94
|
-
type: "implementation", priority: "high", status: "open", assignee: null,
|
|
95
|
-
source_workflow: "triage-findings", related_stories: [{story_key}]</action>
|
|
96
|
-
<action>If any stories were marked as NEXT SPRINT (P0):
|
|
97
|
-
Present: "{count} story(ies) flagged as P0 for next sprint planning: {list of story keys}. They will be prioritized in /gaia-sprint-plan."</action>
|
|
98
|
-
</step>
|
|
99
|
-
<step n="7" title="Save to Val Memory">
|
|
100
|
-
<action>Auto-save triage decisions to Val's memory sidecar (no user prompt required):
|
|
101
|
-
|
|
102
|
-
1. Append to {memory_path}/validator-sidecar/decision-log.md:
|
|
103
|
-
### [YYYY-MM-DD] Triage: {N} findings processed
|
|
104
|
-
|
|
105
|
-
- **Agent:** validator
|
|
106
|
-
- **Workflow:** triage-findings
|
|
107
|
-
- **Status:** recorded
|
|
108
|
-
- **Related:** {comma-separated list of source story keys}
|
|
109
|
-
|
|
110
|
-
Triaged {N} findings. Created {X} new stories: {list of new_key (title)}.
|
|
111
|
-
Added {Y} to existing stories: {list of existing_key}.
|
|
112
|
-
Dismissed {Z}.
|
|
113
|
-
Timing: {count} NOW (inject), {count} NEXT SPRINT (P0), {count} BACKLOG.
|
|
114
|
-
Mapping: {new_key → source_key for each created story}
|
|
115
|
-
|
|
116
|
-
2. Replace body of {memory_path}/validator-sidecar/conversation-context.md (preserve header above first ---):
|
|
117
|
-
Last session: Triage of {N} findings from {source_count} stories.
|
|
118
|
-
Date: {YYYY-MM-DD}. Created: {X} stories. Added: {Y}. Dismissed: {Z}.
|
|
119
|
-
Urgent: {count} stories flagged for immediate sprint injection.
|
|
120
|
-
|
|
121
|
-
If _memory/validator-sidecar/ directory or files don't exist, create them with standard headers.
|
|
122
|
-
If writing fails, log warning and continue — memory save is non-blocking.</action>
|
|
123
|
-
</step>
|
|
124
|
-
</workflow>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
name: triage-findings
|
|
2
|
-
description: 'Triage development findings into backlog stories'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: sm
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/triage-findings.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/triage-findings"
|
|
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}/sprint-status.yaml"
|