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,108 +0,0 @@
|
|
|
1
|
-
<workflow name="memory-hygiene">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>User-initiated cross-sidecar reads are explicitly allowed per agent-specification-protocol</mandate>
|
|
4
|
-
<mandate>Never modify a sidecar file without explicit user confirmation for each entry</mandate>
|
|
5
|
-
<mandate>Preserve the sidecar file header and marker comment in all modifications</mandate>
|
|
6
|
-
<mandate>Process sidecars one at a time — release previous sidecar content before loading next (JIT)</mandate>
|
|
7
|
-
</critical>
|
|
8
|
-
|
|
9
|
-
<step n="1" title="Scan Sidecars">
|
|
10
|
-
<action>Read {memory_path}/config.yaml to get sidecar_root path</action>
|
|
11
|
-
<action>Enumerate all 9 *-sidecar/ directories under {memory_path}/</action>
|
|
12
|
-
<action>For each directory, read the .md file(s) inside</action>
|
|
13
|
-
<action>Determine if content exists beyond the template header — look for text after the
|
|
14
|
-
<!-- Decisions will be appended below this line --> marker or similar comment markers</action>
|
|
15
|
-
<action>Build two lists:
|
|
16
|
-
- Sidecars with content (candidates for hygiene review)
|
|
17
|
-
- Sidecars without content (empty — will be skipped)</action>
|
|
18
|
-
<check if="zero sidecars have content">Report "All sidecars are empty — nothing to review" and complete the workflow</check>
|
|
19
|
-
<action>Report to user: "{N} sidecars with content found, {M} empty. Proceeding with review."</action>
|
|
20
|
-
</step>
|
|
21
|
-
|
|
22
|
-
<step n="2" title="Load Reference Artifacts">
|
|
23
|
-
<action>Attempt to read each reference artifact (record which exist and which are missing):
|
|
24
|
-
- {planning_artifacts}/architecture.md — for architect, devops, security sidecar validation
|
|
25
|
-
- {planning_artifacts}/prd.md — for pm sidecar validation
|
|
26
|
-
- {planning_artifacts}/infrastructure-design.md — for devops sidecar validation
|
|
27
|
-
- {test_artifacts}/test-plan.md — for test-architect sidecar validation
|
|
28
|
-
- {implementation_artifacts}/sprint-status.yaml — for sm sidecar validation</action>
|
|
29
|
-
<action>For each artifact that exists: retain its key sections and structure for comparison</action>
|
|
30
|
-
<check if="no reference artifacts exist">Warn user: "No reference artifacts found. Hygiene will be limited to structural checks (orphaned references to nonexistent components). Create architecture.md or prd.md for full cross-referencing."</check>
|
|
31
|
-
</step>
|
|
32
|
-
|
|
33
|
-
<step n="3" title="Cross-Reference Entries">
|
|
34
|
-
<action>Process each sidecar with content one at a time (JIT — release previous before loading next)</action>
|
|
35
|
-
<action>Identify individual entries within the sidecar by:
|
|
36
|
-
- ### headings (ADR-style entries)
|
|
37
|
-
- Date-prefixed list items (e.g., "- 2026-03-01: Decided to...")
|
|
38
|
-
- If format is unstructured: treat entire post-header content as a single entry</action>
|
|
39
|
-
<action>For each sidecar, apply its specific validation rules:
|
|
40
|
-
- architect-sidecar: Compare each entry against architecture.md ADR section. Check if the
|
|
41
|
-
technology, component, or pattern referenced still exists in current architecture.
|
|
42
|
-
- devops-sidecar: Compare against architecture.md deployment section and infrastructure-design.md.
|
|
43
|
-
Check for changed hosting, container, or IaC choices.
|
|
44
|
-
- security-sidecar: Compare against architecture.md security section. Check if referenced
|
|
45
|
-
components still exist and threat mitigations match current security posture.
|
|
46
|
-
- pm-sidecar: Compare against prd.md requirements and scope. Check if deprioritized or
|
|
47
|
-
descoped features still have active product decisions.
|
|
48
|
-
- sm-sidecar: Compare sprint references against sprint-status.yaml. Check for velocity data
|
|
49
|
-
referencing completed or nonexistent sprints.
|
|
50
|
-
- test-architect-sidecar: Compare against test-plan.md strategy and framework choices.
|
|
51
|
-
- tech-writer-sidecar: Validate referenced conventions against project file patterns.
|
|
52
|
-
- orchestrator-sidecar: SKIP — session log only, no decisions to validate.
|
|
53
|
-
- storyteller-sidecar: SKIP — creative log, no decisions to validate.</action>
|
|
54
|
-
<action>If a sidecar's reference artifact is missing: flag all its entries as "UNVERIFIABLE —
|
|
55
|
-
reference artifact not found" and note which artifact would be needed</action>
|
|
56
|
-
<action>For all sidecars: scan each entry for references to specific component names, service names, or artifact filenames. Cross-reference against current artifact content. If a referenced name does not appear in any current artifact, flag as potential ORPHANED or RENAMED. For RENAMED candidates: search for semantically similar names in current artifacts and suggest the likely rename (e.g., "auth-service → identity-service?").</action>
|
|
57
|
-
</step>
|
|
58
|
-
|
|
59
|
-
<step n="4" title="Classify Entries">
|
|
60
|
-
<action>Assign each sidecar entry one of four statuses:
|
|
61
|
-
- ACTIVE: Entry is consistent with current reference artifacts — no action needed
|
|
62
|
-
- STALE: The referenced artifact has changed since this entry was recorded (e.g.,
|
|
63
|
-
architecture.md has a newer ADR on the same topic with a different decision)
|
|
64
|
-
- CONTRADICTED: Current artifact explicitly states the opposite of what this entry records
|
|
65
|
-
(e.g., sidecar says "Use PostgreSQL", architecture.md says "Use MongoDB" for the same component)
|
|
66
|
-
- ORPHANED: The component, service, or feature referenced in this entry no longer exists
|
|
67
|
-
in any current artifact</action>
|
|
68
|
-
<action>Record evidence for each classification: which artifact section confirms or contradicts,
|
|
69
|
-
what changed, or what is missing</action>
|
|
70
|
-
</step>
|
|
71
|
-
|
|
72
|
-
<step n="5" title="Present Findings">
|
|
73
|
-
<action>Generate a findings report with:
|
|
74
|
-
- Summary: total entries scanned, counts by status (ACTIVE, STALE, CONTRADICTED, ORPHANED)
|
|
75
|
-
- Detailed table grouped by sidecar, sorted by severity (CONTRADICTED first, then STALE,
|
|
76
|
-
then ORPHANED, then ACTIVE):
|
|
77
|
-
|
|
78
|
-
| Sidecar | Entry | Status | Evidence | Reference Artifact |
|
|
79
|
-
|---------|-------|--------|----------|--------------------|
|
|
80
|
-
|
|
81
|
-
- Skipped sidecars listed separately (empty or session/creative logs)</action>
|
|
82
|
-
<template-output file="{implementation_artifacts}/memory-hygiene-report-{date}.md">
|
|
83
|
-
Memory hygiene report with summary counts, detailed findings table, and skipped sidecars list.
|
|
84
|
-
</template-output>
|
|
85
|
-
</step>
|
|
86
|
-
|
|
87
|
-
<step n="6" title="User Action on Flagged Items">
|
|
88
|
-
<action>For each entry with status other than ACTIVE, ask the user to choose one action:
|
|
89
|
-
- Keep: Add a [Reviewed: {date}] annotation to the entry — confirms user saw and accepted it
|
|
90
|
-
- Archive: Move the entry to a ## Archived Decisions section at the bottom of the sidecar file,
|
|
91
|
-
prefixed with [Archived: {date} — Reason: {status}]. Create the section if it does not exist.
|
|
92
|
-
- Delete: Remove the entry from the sidecar file entirely</action>
|
|
93
|
-
<action>When modifying sidecar files:
|
|
94
|
-
- ALWAYS preserve the file header (title, description, marker comment)
|
|
95
|
-
- ALWAYS keep the <!-- Decisions will be appended below this line --> marker intact
|
|
96
|
-
- Place the ## Archived Decisions section after all active entries but before end of file
|
|
97
|
-
- Active entries remain between the marker comment and the ## Archived Decisions section</action>
|
|
98
|
-
<action>After all user actions are processed: report summary of changes made to each sidecar file</action>
|
|
99
|
-
</step>
|
|
100
|
-
|
|
101
|
-
<step n="7" title="Optional: Prune Completed Checkpoints" optional="true">
|
|
102
|
-
<ask>Would you like to prune old completed checkpoints? (yes / skip)</ask>
|
|
103
|
-
<action if="yes">Read {checkpoint_path}/completed/ and list all .yaml files with dates</action>
|
|
104
|
-
<ask if="yes">How many sprints of checkpoints to retain? (default: 2)</ask>
|
|
105
|
-
<action if="yes">Delete checkpoint files older than the retention window</action>
|
|
106
|
-
<action if="yes">Report: "Pruned {N} completed checkpoint(s). Retained {M} within the {retention} sprint window."</action>
|
|
107
|
-
</step>
|
|
108
|
-
</workflow>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
name: memory-hygiene
|
|
2
|
-
description: 'Detect stale, contradicted, or superseded decisions in agent memory sidecars'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: orchestrator
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/memory-hygiene.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/anytime/memory-hygiene"
|
|
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}/memory-hygiene-report-{date}.md"
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Performance Review Validation'
|
|
3
|
-
validation-target: 'Performance review report'
|
|
4
|
-
required-inputs: []
|
|
5
|
-
---
|
|
6
|
-
## Scope
|
|
7
|
-
- [ ] Performance scope defined (endpoints, flows, system)
|
|
8
|
-
- [ ] Frontend vs backend scope clarified
|
|
9
|
-
## Baseline
|
|
10
|
-
- [ ] Current metrics documented or baseline plan established
|
|
11
|
-
- [ ] SLOs identified
|
|
12
|
-
## Load Testing
|
|
13
|
-
- [ ] Test scenarios match real user behavior
|
|
14
|
-
- [ ] Traffic patterns defined
|
|
15
|
-
- [ ] Tooling recommended
|
|
16
|
-
## Bottlenecks
|
|
17
|
-
- [ ] Database access patterns reviewed
|
|
18
|
-
- [ ] Blocking operations identified
|
|
19
|
-
- [ ] Caching strategy evaluated
|
|
20
|
-
## Recommendations
|
|
21
|
-
- [ ] Improvements are specific and prioritized
|
|
22
|
-
- [ ] Each has estimated impact
|
|
23
|
-
- [ ] Categorized by effort level
|
|
24
|
-
## Output Verification
|
|
25
|
-
- [ ] Report file generated at {test_artifacts}/
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<workflow name="performance-review">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Story must be in review status before performance review</mandate>
|
|
4
|
-
<mandate>Auto-pass if no performance-relevant code changes detected</mandate>
|
|
5
|
-
<mandate>Always measure before recommending optimizations</mandate>
|
|
6
|
-
<mandate>Report in percentiles (P50, P95, P99), not averages</mandate>
|
|
7
|
-
<mandate>Output must include machine-readable PASSED or FAILED verdict</mandate>
|
|
8
|
-
<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>
|
|
9
|
-
</critical>
|
|
10
|
-
<step n="1" title="Load Story">
|
|
11
|
-
<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>
|
|
12
|
-
<action>Read story file, identify files changed</action>
|
|
13
|
-
<action>Extract the list of files changed from the story file</action>
|
|
14
|
-
</step>
|
|
15
|
-
<step n="2" title="Status Gate">
|
|
16
|
-
<action>Verify story is in 'review' status</action>
|
|
17
|
-
<check if="status != review">HALT: Story must be in review status before performance review</check>
|
|
18
|
-
</step>
|
|
19
|
-
<step n="3" title="Auto-Pass Classification">
|
|
20
|
-
<action>Classify each changed file as performance-relevant or not:</action>
|
|
21
|
-
<action>Performance-relevant: files containing DB queries, API endpoints, data processing, rendering logic, loops/algorithms, middleware, caching, network calls</action>
|
|
22
|
-
<action>Not relevant: markdown (.md), config/yaml/json, test files, static assets, CSS-only, copy/translations, .gitignore, lock files</action>
|
|
23
|
-
<check if="zero performance-relevant files">
|
|
24
|
-
Verdict is PASSED with note "No performance-relevant code changes — auto-passed". Skip to step 8 (Generate Output) with this verdict.
|
|
25
|
-
</check>
|
|
26
|
-
<action>If ANY performance-relevant files exist: proceed to full review (step 4)</action>
|
|
27
|
-
</step>
|
|
28
|
-
<step n="4" title="N+1 and Database Analysis">
|
|
29
|
-
<action>Analyze for N+1 queries and inefficient database access patterns</action>
|
|
30
|
-
<action>Check for missing indexes on queried columns</action>
|
|
31
|
-
<action>Identify unbounded queries (missing LIMIT, pagination)</action>
|
|
32
|
-
</step>
|
|
33
|
-
<step n="5" title="Memory and Bundle Analysis">
|
|
34
|
-
<action>Identify memory leaks, large payloads, unoptimized loops</action>
|
|
35
|
-
<action>Check frontend: bundle size impact, render blocking, unnecessary re-renders</action>
|
|
36
|
-
<action>Review image optimization and lazy loading</action>
|
|
37
|
-
</step>
|
|
38
|
-
<step n="6" title="Caching and Complexity Review">
|
|
39
|
-
<action>Review caching strategy: what's cached, what should be, cache invalidation</action>
|
|
40
|
-
<action>Check for blocking operations and synchronous bottlenecks</action>
|
|
41
|
-
<action>Analyze algorithm complexity — flag O(n^2) or worse in hot paths</action>
|
|
42
|
-
</step>
|
|
43
|
-
<step n="7" title="Verdict">
|
|
44
|
-
<action>If NO critical or high severity performance issues: verdict is PASSED</action>
|
|
45
|
-
<action>If ANY critical or high severity issue found: verdict is FAILED — list blocking findings</action>
|
|
46
|
-
</step>
|
|
47
|
-
<step n="8" title="Generate Output">
|
|
48
|
-
<template-output file="{implementation_artifacts}/{story_key}-performance-review.md">
|
|
49
|
-
Generate performance review report with: auto-pass classification result (if applicable), N+1 analysis, memory/bundle findings, caching review, algorithm complexity, and machine-readable verdict (PASSED/FAILED).
|
|
50
|
-
</template-output>
|
|
51
|
-
</step>
|
|
52
|
-
<step n="9" title="Update Review Gate and Transition">
|
|
53
|
-
<action>Read story file, locate Review Gate table</action>
|
|
54
|
-
<action>If PASSED: update Performance Review row status to PASSED, link report file</action>
|
|
55
|
-
<action>If FAILED: update Performance 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>
|
|
56
|
-
<template-output file="{implementation_artifacts}/{story_key}-*.md">
|
|
57
|
-
Update story file Review Gate table with performance review result and report link.
|
|
58
|
-
</template-output>
|
|
59
|
-
<action>Inform user: "Note: sprint-status.yaml may now be out of sync. Run /gaia-sprint-status to reconcile."</action>
|
|
60
|
-
<invoke-protocol name="review-gate-check" file="{project-root}/_gaia/core/protocols/review-gate-check.xml" />
|
|
61
|
-
</step>
|
|
62
|
-
</workflow>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
name: performance-review
|
|
2
|
-
description: 'Analyze performance bottlenecks and recommend optimizations'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: performance
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/performance-review.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/anytime/performance-review"
|
|
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: "{test_artifacts}/performance-review-{date}.md"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Add Feature Validation'
|
|
3
|
-
validation-target: 'Feature Addition Cascade'
|
|
4
|
-
---
|
|
5
|
-
## Orchestration
|
|
6
|
-
- [ ] Feature scope captured and confirmed by user
|
|
7
|
-
- [ ] Context flows forward between steps (prd_diff → arch_diff → test_diff → stories)
|
|
8
|
-
- [ ] Steps intelligently skipped when not needed
|
|
9
|
-
## PRD Update
|
|
10
|
-
- [ ] PRD edited with new requirements
|
|
11
|
-
- [ ] New FR/NFR IDs captured for downstream steps
|
|
12
|
-
- [ ] Cascade to architecture classified (NONE/MINOR/SIGNIFICANT)
|
|
13
|
-
## Architecture Update (if applicable)
|
|
14
|
-
- [ ] Architecture edited with changes supporting new requirements
|
|
15
|
-
- [ ] New ADRs recorded
|
|
16
|
-
- [ ] Skipped with justification if cascade_to_arch == NONE
|
|
17
|
-
## Test Plan Update (if applicable)
|
|
18
|
-
- [ ] Test plan edited with new test cases
|
|
19
|
-
- [ ] New test cases map to new FR/NFR IDs
|
|
20
|
-
- [ ] Skipped with justification if no test-plan.md or no new testable behavior
|
|
21
|
-
## Story Creation
|
|
22
|
-
- [ ] New stories created with correct format
|
|
23
|
-
- [ ] Epic assignment confirmed (new or existing)
|
|
24
|
-
- [ ] Story protection enforced (no modification of locked stories)
|
|
25
|
-
## Traceability
|
|
26
|
-
- [ ] Traceability matrix regenerated
|
|
27
|
-
- [ ] New requirements → test cases → stories linked
|
|
28
|
-
## Summary
|
|
29
|
-
- [ ] Final summary presented to user with all artifact statuses
|
|
30
|
-
- [ ] Next steps communicated
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<workflow name="add-feature">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>This is an orchestrator — delegate to sub-workflows via subagents, do not perform edits directly</mandate>
|
|
4
|
-
<mandate>Context flows forward: PRD diff feeds arch edit, which feeds test plan edit, which feeds story creation</mandate>
|
|
5
|
-
<mandate>Intelligently skip steps when not needed — do not force all sub-workflows on every feature</mandate>
|
|
6
|
-
</critical>
|
|
7
|
-
|
|
8
|
-
<step n="1" title="Capture Feature Scope">
|
|
9
|
-
<ask>Describe the new feature you want to add.</ask>
|
|
10
|
-
<ask>What is the business driver? (customer request / market opportunity / technical improvement / regulatory)</ask>
|
|
11
|
-
<ask>Is this linked to a change request? If so, provide the CR ID.</ask>
|
|
12
|
-
<action>If CR exists: read {planning_artifacts}/change-request-{cr_id}.md for context (impact analysis, approval status)</action>
|
|
13
|
-
<action>Classify initial scope: how many artifacts will likely need changes?</action>
|
|
14
|
-
<action>Present scope summary to user for confirmation before proceeding:
|
|
15
|
-
- Feature: {feature_description}
|
|
16
|
-
- Driver: {driver}
|
|
17
|
-
- CR: {cr_id or "none"}
|
|
18
|
-
- Expected cascade: PRD (always) → Architecture ({likely/unlikely}) → Test Plan ({if exists}) → Stories (always) → Traceability (always)</action>
|
|
19
|
-
</step>
|
|
20
|
-
|
|
21
|
-
<step n="2" title="Edit PRD">
|
|
22
|
-
<action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/2-planning/edit-prd/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY. Context: Adding new feature: {feature_description}. Driver: {driver}. CR ID: {cr_id}. Add new functional and non-functional requirements for this feature. Use CR ID {cr_id} when prompted."</action>
|
|
23
|
-
<action>When subagent returns: capture the PRD diff — identify NEW requirement IDs (FR-*, NFR-*) added</action>
|
|
24
|
-
<action>Capture the cascade classification from edit-prd Step 7 (architecture impact: NONE/MINOR/SIGNIFICANT)</action>
|
|
25
|
-
<action>Store: prd_diff = {new FR/NFR IDs and descriptions}, cascade_to_arch = {NONE/MINOR/SIGNIFICANT}</action>
|
|
26
|
-
</step>
|
|
27
|
-
|
|
28
|
-
<step n="3" title="Adversarial Review on PRD" optional="true" condition="edit_prd_offered_adversarial">
|
|
29
|
-
<action>If edit-prd Step 5 ran adversarial review: the subagent already handled it — capture any refined requirements</action>
|
|
30
|
-
<action>If adversarial findings were incorporated: update prd_diff with refined requirement IDs</action>
|
|
31
|
-
<action>If adversarial was skipped: proceed to Step 4</action>
|
|
32
|
-
</step>
|
|
33
|
-
|
|
34
|
-
<step n="4" title="Edit Architecture" optional="true" condition="cascade_to_arch != NONE">
|
|
35
|
-
<check if="cascade_to_arch == NONE">
|
|
36
|
-
<action>Inform user: "No architecture changes needed for this feature — PRD changes are requirements-only." Skip to Step 5.</action>
|
|
37
|
-
</check>
|
|
38
|
-
<action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/3-solutioning/edit-architecture/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY. Context: PRD updated with new feature: {feature_description}. New requirements: {prd_diff}. Update architecture to support these requirements. CR ID: {cr_id}."</action>
|
|
39
|
-
<action>When subagent returns: capture the architecture diff — new ADRs, changed sections, version note</action>
|
|
40
|
-
<action>Store: arch_diff = {architecture changes made}</action>
|
|
41
|
-
</step>
|
|
42
|
-
|
|
43
|
-
<step n="5" title="Edit Test Plan" optional="true" condition="test_plan_exists">
|
|
44
|
-
<check if="test_plan_not_found">
|
|
45
|
-
<action>Inform user: "No test-plan.md exists. Recommend running /gaia-test-design to create an initial test plan." Skip to Step 6.</action>
|
|
46
|
-
</check>
|
|
47
|
-
<ask>Does this feature add new testable behavior? (yes / skip)</ask>
|
|
48
|
-
<action>If skip: proceed to Step 6.</action>
|
|
49
|
-
<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/edit-test-plan/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY. Context: New feature: {feature_description}. New PRD requirements: {prd_diff}. Architecture changes: {arch_diff}. Add test cases for the new feature."</action>
|
|
50
|
-
<action>When subagent returns: capture test plan additions (new test case IDs)</action>
|
|
51
|
-
<action>Store: test_diff = {new test cases added}</action>
|
|
52
|
-
</step>
|
|
53
|
-
|
|
54
|
-
<step n="6" title="Add Feature Stories">
|
|
55
|
-
<action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/lifecycle/workflows/4-implementation/add-stories/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY. Context: New feature: {feature_description}. New PRD requirements: {prd_diff}. Architecture changes: {arch_diff}. Create stories for this feature. Determine if a new epic is needed or if stories belong to an existing epic. CR ID: {cr_id}."</action>
|
|
56
|
-
<action>When subagent returns: capture new story keys and epic assignments</action>
|
|
57
|
-
<action>Store: new_stories = {list of new story keys created}</action>
|
|
58
|
-
</step>
|
|
59
|
-
|
|
60
|
-
<step n="7" title="Update Traceability">
|
|
61
|
-
<action>Spawn a subagent using the Agent tool: "Load {project-root}/_gaia/core/engine/workflow.xml, then process {project-root}/_gaia/testing/workflows/traceability/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY. Regenerate traceability matrix to include new requirements, test cases, and stories."</action>
|
|
62
|
-
<action>When subagent returns: verify new FR/NFR IDs → test cases → stories are linked</action>
|
|
63
|
-
</step>
|
|
64
|
-
|
|
65
|
-
<step n="8" title="Readiness Re-check and Summary">
|
|
66
|
-
<ask>Run readiness check to validate consistency? (yes / skip — recommended for significant features)</ask>
|
|
67
|
-
<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/3-solutioning/implementation-readiness/workflow.yaml as workflow-config. Run in YOLO mode. Follow the workflow engine instructions EXACTLY."</action>
|
|
68
|
-
<action>Present final summary:
|
|
69
|
-
**Feature Addition Complete: {feature_description}**
|
|
70
|
-
|
|
71
|
-
| Artifact | Status | Details |
|
|
72
|
-
|----------|--------|---------|
|
|
73
|
-
| PRD | Updated | {new FR/NFR IDs added} |
|
|
74
|
-
| Architecture | {Updated/Skipped} | {new ADRs or "No changes needed"} |
|
|
75
|
-
| Test Plan | {Updated/Skipped/Not found} | {new test case IDs or reason} |
|
|
76
|
-
| Stories | Created | {new story keys} in {epic assignment} |
|
|
77
|
-
| Traceability | Regenerated | {linkage verified} |
|
|
78
|
-
| Readiness | {Passed/Skipped} | {status} |
|
|
79
|
-
|
|
80
|
-
**Next steps:**
|
|
81
|
-
- For each new story: run /gaia-create-story {story_key} to elaborate
|
|
82
|
-
- To start development: run /gaia-sprint-plan or /gaia-correct-course
|
|
83
|
-
</action>
|
|
84
|
-
</step>
|
|
85
|
-
</workflow>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
name: add-feature
|
|
2
|
-
description: 'Guided orchestrator for adding a new feature — cascades through PRD, architecture, test plan, stories, traceability, and readiness'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: orchestrator
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/add-feature.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/cross-phase/add-feature"
|
|
8
|
-
instructions: "{installed_path}/instructions.xml"
|
|
9
|
-
validation: "{installed_path}/checklist.md"
|
|
10
|
-
input_file_patterns:
|
|
11
|
-
prd:
|
|
12
|
-
whole: "{planning_artifacts}/prd.md"
|
|
13
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
14
|
-
architecture:
|
|
15
|
-
whole: "{planning_artifacts}/architecture.md"
|
|
16
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
17
|
-
test_plan:
|
|
18
|
-
whole: "{test_artifacts}/test-plan.md"
|
|
19
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
20
|
-
epics:
|
|
21
|
-
whole: "{planning_artifacts}/epics-and-stories.md"
|
|
22
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
23
|
-
sprint_status:
|
|
24
|
-
whole: "{implementation_artifacts}/sprint-status.yaml"
|
|
25
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
26
|
-
quality_gates:
|
|
27
|
-
pre_start:
|
|
28
|
-
- check: "prd_exists"
|
|
29
|
-
on_fail: "HALT: prd.md does not exist. Run /gaia-create-prd first."
|
|
30
|
-
- check: "epics_exists"
|
|
31
|
-
on_fail: "HALT: epics-and-stories.md does not exist. Run /gaia-create-epics first."
|
|
32
|
-
on_error:
|
|
33
|
-
missing_file: "ask_user"
|
|
34
|
-
unresolved_variable: "halt"
|
|
35
|
-
|
|
36
|
-
output:
|
|
37
|
-
primary: "{planning_artifacts}/epics-and-stories.md"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Quick Dev Validation'
|
|
3
|
-
validation-target: 'Quick dev implementation'
|
|
4
|
-
---
|
|
5
|
-
## Implementation
|
|
6
|
-
- [ ] Spec followed
|
|
7
|
-
- [ ] Tests pass
|
|
8
|
-
- [ ] Acceptance criteria met
|
|
9
|
-
## Checkpoint
|
|
10
|
-
- [ ] WIP checkpoint checked on start
|
|
11
|
-
- [ ] Checkpoint archived on completion
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<workflow name="quick-dev">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Check for WIP checkpoint before starting</mandate>
|
|
4
|
-
</critical>
|
|
5
|
-
<step n="1" title="Load Spec">
|
|
6
|
-
<action>Read quick spec file</action>
|
|
7
|
-
<action>Check for WIP checkpoint at _memory/checkpoints/quick-dev-{spec_name}.yaml</action>
|
|
8
|
-
</step>
|
|
9
|
-
<step n="2" title="Check WIP">
|
|
10
|
-
<check if="checkpoint_exists and has files_touched">Validate checksums (shasum -a 256) for each entry in files_touched — flag DELETED or MODIFIED files, offer Proceed / Start fresh / Review before resuming</check>
|
|
11
|
-
<check if="checkpoint_exists">Offer to resume from last checkpoint or start fresh</check>
|
|
12
|
-
</step>
|
|
13
|
-
<step n="3" title="Implement">
|
|
14
|
-
<action>Follow spec implementation steps</action>
|
|
15
|
-
<action>Apply TDD where practical</action>
|
|
16
|
-
<action>Write checkpoint after each step — include files_touched with path, checksum (shasum -a 256), last_modified (ISO 8601) for all files created/modified</action>
|
|
17
|
-
</step>
|
|
18
|
-
<step n="4" title="Verify">
|
|
19
|
-
<action>Run tests</action>
|
|
20
|
-
<action>Validate against spec acceptance criteria</action>
|
|
21
|
-
</step>
|
|
22
|
-
<step n="5" title="Complete">
|
|
23
|
-
<action>Archive checkpoint to completed/</action>
|
|
24
|
-
<action>Report implementation complete with files changed</action>
|
|
25
|
-
</step>
|
|
26
|
-
</workflow>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
name: quick-dev
|
|
2
|
-
description: 'Implement a quick spec'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: dev-*
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/quick-dev.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/quick-flow/quick-dev"
|
|
8
|
-
instructions: "{installed_path}/instructions.xml"
|
|
9
|
-
validation: "{installed_path}/checklist.md"
|
|
10
|
-
input_file_patterns:
|
|
11
|
-
spec:
|
|
12
|
-
whole: "{implementation_artifacts}/quick-spec-{{spec_name}}.md"
|
|
13
|
-
load_strategy: "FULL_LOAD"
|
|
14
|
-
on_error:
|
|
15
|
-
missing_file: "ask_user"
|
|
16
|
-
unresolved_variable: "halt"
|
|
17
|
-
|
|
18
|
-
output:
|
|
19
|
-
primary: "source_code"
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Quick Spec Validation'
|
|
3
|
-
validation-target: 'Quick spec document'
|
|
4
|
-
---
|
|
5
|
-
## Scope
|
|
6
|
-
- [ ] Change clearly described
|
|
7
|
-
- [ ] Files identified
|
|
8
|
-
- [ ] Escape hatch offered if scope is large
|
|
9
|
-
## Spec Quality
|
|
10
|
-
- [ ] Implementation steps defined
|
|
11
|
-
- [ ] Acceptance criteria included
|
|
12
|
-
## Output Verification
|
|
13
|
-
- [ ] Quick spec exists at {implementation_artifacts}/quick-spec-{spec_name}.md
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<workflow name="quick-spec">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>If scope exceeds quick threshold (more than 5 files or 1 day), offer escalation to full lifecycle</mandate>
|
|
4
|
-
</critical>
|
|
5
|
-
<step n="1" title="Scope">
|
|
6
|
-
<ask>What small change or feature do you want to spec?</ask>
|
|
7
|
-
<ask>Which files are likely affected?</ask>
|
|
8
|
-
</step>
|
|
9
|
-
<step n="2" title="Quick Analysis">
|
|
10
|
-
<action>Identify affected files and dependencies</action>
|
|
11
|
-
<action>Estimate scope: files changed, complexity</action>
|
|
12
|
-
</step>
|
|
13
|
-
<step n="3" title="Escape Hatch Check">
|
|
14
|
-
<check if="scope_exceeds_quick_threshold">This looks bigger than a quick spec. Would you like to escalate to the full lifecycle? (create-prd → create-architecture → create-epics-stories)</check>
|
|
15
|
-
<action>If user confirms escalation: suggest /gaia-create-prd</action>
|
|
16
|
-
<action>If user declines: continue with quick spec</action>
|
|
17
|
-
</step>
|
|
18
|
-
<step n="4" title="Generate Quick Spec">
|
|
19
|
-
<action>Create lightweight implementation plan</action>
|
|
20
|
-
<action>Include: what to change, files affected, acceptance criteria, risks</action>
|
|
21
|
-
</step>
|
|
22
|
-
<step n="5" title="Generate Output">
|
|
23
|
-
<template-output file="{implementation_artifacts}/quick-spec-{spec_name}.md">
|
|
24
|
-
Generate quick spec with: summary, files to change, implementation steps, acceptance criteria, risks.
|
|
25
|
-
</template-output>
|
|
26
|
-
</step>
|
|
27
|
-
</workflow>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
name: quick-spec
|
|
2
|
-
description: 'Create a quick implementation spec for small changes'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: dev-*
|
|
5
|
-
config_resolved: "{installed_path}/.resolved/quick-spec.yaml"
|
|
6
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
7
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/quick-flow/quick-spec"
|
|
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}/quick-spec-{spec_name}.md"
|
|
File without changes
|