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,322 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: memory-management
|
|
3
|
-
version: '1.0'
|
|
4
|
-
applicable_agents: [all]
|
|
5
|
-
description: 'Session load/save, decision formatting, stale detection, deduplication, context summarization'
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- SECTION: decision-formatting -->
|
|
9
|
-
## Decision Entry Format (ADR-016)
|
|
10
|
-
|
|
11
|
-
All decision-log entries use this standardized format:
|
|
12
|
-
|
|
13
|
-
```markdown
|
|
14
|
-
### [YYYY-MM-DD] Decision Title
|
|
15
|
-
|
|
16
|
-
- **Agent:** {agent ID}
|
|
17
|
-
- **Workflow:** {workflow name}
|
|
18
|
-
- **Sprint:** {sprint ID}
|
|
19
|
-
- **Type:** architectural | implementation | validation | process
|
|
20
|
-
- **Status:** active | superseded | archived
|
|
21
|
-
- **Related:** {artifact paths, story keys}
|
|
22
|
-
|
|
23
|
-
{Decision body — free-form markdown with no structural constraints}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
**Required vs optional fields:**
|
|
27
|
-
- **Required:** Agent, Status — a warning should be logged if these are absent
|
|
28
|
-
- **Optional:** Workflow, Sprint, Type, Related — these default gracefully (empty/null) when missing; the entry remains parseable
|
|
29
|
-
|
|
30
|
-
**Decision types:**
|
|
31
|
-
- `architectural` — system structure, technology choices, ADR-level decisions
|
|
32
|
-
- `implementation` — coding patterns, library usage, algorithm choices
|
|
33
|
-
- `validation` — test strategies, quality thresholds, coverage decisions
|
|
34
|
-
- `process` — workflow changes, ceremony adjustments, team agreements
|
|
35
|
-
|
|
36
|
-
**Status values:**
|
|
37
|
-
- `active` — current, in effect
|
|
38
|
-
- `superseded` — replaced by a newer decision (link to replacement)
|
|
39
|
-
- `archived` — no longer applies, retained for history
|
|
40
|
-
|
|
41
|
-
**Field constraints:**
|
|
42
|
-
- Date: ISO 8601 strict (YYYY-MM-DD). Malformed dates (e.g., `[2026-3-5]`) should trigger a warning and best-effort parsing rather than silently dropping the entry. Entries with unrecoverable dates use `[YYYY-MM-DD-UNKNOWN]` as placeholder.
|
|
43
|
-
- Agent: must match an agent ID from the agent manifest
|
|
44
|
-
- Sprint: sprint ID from sprint-status.yaml, or "pre-sprint" if decided outside a sprint
|
|
45
|
-
- Related: comma-separated list of artifact paths or story keys (e.g., `docs/planning-artifacts/architecture.md, E3-S1`)
|
|
46
|
-
<!-- END SECTION -->
|
|
47
|
-
|
|
48
|
-
<!-- SECTION: session-load -->
|
|
49
|
-
## Session Load
|
|
50
|
-
|
|
51
|
-
Load agent memory from a sidecar directory. Agent-agnostic — takes sidecar path and tier config as inputs.
|
|
52
|
-
|
|
53
|
-
**Parameters:**
|
|
54
|
-
- `sidecar_path` — absolute path to the agent's sidecar directory
|
|
55
|
-
- `tier_budget` — session token budget (Tier 1: 300K, Tier 2: 100K, Tier 3: no explicit budget)
|
|
56
|
-
- `recent_n` — number of recent decision entries to load (default: 20)
|
|
57
|
-
|
|
58
|
-
**Procedure:**
|
|
59
|
-
1. Check if `sidecar_path` directory exists
|
|
60
|
-
2. If directory does not exist: return empty data structures (empty decision log, empty conversation context, empty third file) without errors and do not create any files or directories
|
|
61
|
-
3. If directory exists, read up to 3 files:
|
|
62
|
-
- `decision-log.md` — parse entries using the ADR-016 standard format (date, agent ID, workflow, sprint, type, status, related, body). Load the most recent `recent_n` entries that fit within the tier token budget
|
|
63
|
-
- `conversation-context.md` — load full content (Tier 1 and Tier 2 only)
|
|
64
|
-
- Third file (agent-specific, e.g., `ground-truth.md`) — load if present, treat as opaque content
|
|
65
|
-
4. If any file is missing or empty: return an empty data structure for that file — no error, no file creation
|
|
66
|
-
5. Calculate total loaded tokens (approximate: character count / 4). If total exceeds `tier_budget`, trim oldest decision entries first
|
|
67
|
-
|
|
68
|
-
**Empty-state guarantees:**
|
|
69
|
-
- Missing directory → empty structures, no errors, no file creation
|
|
70
|
-
- Missing files → empty structures per file, no errors
|
|
71
|
-
- Empty files (0 bytes) → empty structures, graceful handling
|
|
72
|
-
<!-- END SECTION -->
|
|
73
|
-
|
|
74
|
-
<!-- SECTION: session-save -->
|
|
75
|
-
## Session Save
|
|
76
|
-
|
|
77
|
-
Persist agent session data to sidecar files. Agent-agnostic — takes sidecar path and tier config as inputs.
|
|
78
|
-
|
|
79
|
-
**Parameters:**
|
|
80
|
-
- `sidecar_path` — absolute path to the agent's sidecar directory
|
|
81
|
-
- `tier_budget` — session token budget for this agent's tier
|
|
82
|
-
- `new_entries` — list of decision entries to append (using ADR-016 standard format: date, agent ID, workflow, sprint, type, status, related, body)
|
|
83
|
-
- `context_summary` — compressed session summary for conversation-context.md
|
|
84
|
-
- `third_file_content` — updated content for agent-specific third file (optional)
|
|
85
|
-
|
|
86
|
-
**Procedure:**
|
|
87
|
-
1. Ensure `sidecar_path` directory exists (create if needed via `mkdir -p`)
|
|
88
|
-
2. **decision-log.md** — append new entries:
|
|
89
|
-
- Read the entire file into memory (full-file read)
|
|
90
|
-
- Append `new_entries` in memory
|
|
91
|
-
- Write the entire file back (full-file write). Last writer wins for concurrent access
|
|
92
|
-
- Never use partial writes or stream appends
|
|
93
|
-
3. **conversation-context.md** — replace (rolling summary, not append):
|
|
94
|
-
- Write `context_summary` as the full file content (overwrites previous)
|
|
95
|
-
4. **Third file** — update if `third_file_content` provided:
|
|
96
|
-
- Read entire file, replace in memory, write entire file back
|
|
97
|
-
|
|
98
|
-
**Token budget enforcement (before write):**
|
|
99
|
-
- Calculate projected file size after append (current size + new entries size)
|
|
100
|
-
- Approximate tokens: character count / 4
|
|
101
|
-
- If projected size exceeds `tier_budget`: warn with current/max budget and offer options:
|
|
102
|
-
- **Archive oldest entries** — move oldest N entries to `archive/` subdirectory to make room
|
|
103
|
-
- **Force save** — save anyway, exceeding the budget
|
|
104
|
-
- Never silently truncate or block a save operation
|
|
105
|
-
- Warn at 80% of budget ("approaching limit"), warn at 90% ("near limit"), trigger archival prompt at 100%
|
|
106
|
-
<!-- END SECTION -->
|
|
107
|
-
|
|
108
|
-
<!-- SECTION: context-summarization -->
|
|
109
|
-
## Context Summarization
|
|
110
|
-
|
|
111
|
-
Compress a full session into a concise summary for `conversation-context.md`. Runs at session save time.
|
|
112
|
-
|
|
113
|
-
**Output structure (2K token limit):**
|
|
114
|
-
|
|
115
|
-
```markdown
|
|
116
|
-
## Session Summary — [YYYY-MM-DD]
|
|
117
|
-
|
|
118
|
-
### What Was Discussed
|
|
119
|
-
- {bullet list of topics discussed during the session}
|
|
120
|
-
|
|
121
|
-
### Decisions Made
|
|
122
|
-
- {bullet list of decisions, each with brief rationale}
|
|
123
|
-
|
|
124
|
-
### Artifacts Modified
|
|
125
|
-
- {bullet list of files created, modified, or deleted with change summary}
|
|
126
|
-
|
|
127
|
-
### Pending / Next Steps
|
|
128
|
-
- {bullet list of unresolved items, open questions, follow-up work}
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
**Constraints:**
|
|
132
|
-
- Total summary must not exceed 2K tokens (~8,000 characters)
|
|
133
|
-
- Prioritize decisions and pending items over discussion topics when space is tight
|
|
134
|
-
- Each bullet should be one concise sentence
|
|
135
|
-
- Artifacts list includes file paths for traceability
|
|
136
|
-
- If the session had no decisions, omit that section rather than writing "None"
|
|
137
|
-
<!-- END SECTION -->
|
|
138
|
-
|
|
139
|
-
<!-- SECTION: stale-detection -->
|
|
140
|
-
## Stale Detection
|
|
141
|
-
|
|
142
|
-
Scan a decision log to identify entries that are stale, contradicted, or orphaned.
|
|
143
|
-
|
|
144
|
-
**Detection categories:**
|
|
145
|
-
|
|
146
|
-
1. **Stale entries** — decision references an artifact path that no longer exists on the filesystem
|
|
147
|
-
- Check each path in the `Related` field against the filesystem
|
|
148
|
-
- If the artifact is not found: flag as stale
|
|
149
|
-
- Reason: "Referenced artifact not found: {path}"
|
|
150
|
-
- Suggested action: `review` (may need update or removal)
|
|
151
|
-
|
|
152
|
-
2. **Contradicted entries** — two active decisions in the same sidecar that conflict
|
|
153
|
-
- Compare active entries that reference the same artifact or topic
|
|
154
|
-
- If decisions conflict (e.g., "use PostgreSQL" vs. "use MongoDB" for the same component): flag both
|
|
155
|
-
- Reason: "Contradicts entry [{date}] {title}"
|
|
156
|
-
- Suggested action: `review` (resolve which decision is current)
|
|
157
|
-
|
|
158
|
-
3. **Orphaned entries** — decision references a story or epic that has been removed from epics-and-stories.md
|
|
159
|
-
- Extract story/epic keys from `Related` field
|
|
160
|
-
- Check each key against `docs/planning-artifacts/epics-and-stories.md`
|
|
161
|
-
- If the key is not found: flag as orphaned
|
|
162
|
-
- Reason: "Referenced story/epic {key} not found in epics-and-stories.md"
|
|
163
|
-
- Suggested action: `archive` (decision is likely outdated)
|
|
164
|
-
|
|
165
|
-
**Output format:**
|
|
166
|
-
|
|
167
|
-
| # | Entry | Category | Reason | Suggested Action |
|
|
168
|
-
|---|-------|----------|--------|-----------------|
|
|
169
|
-
| 1 | [2026-03-01] Use PostgreSQL | stale | Referenced artifact not found: docs/old-schema.md | review |
|
|
170
|
-
| 2 | [2026-03-05] Use MongoDB | contradicted | Contradicts entry [2026-03-01] Use PostgreSQL | review |
|
|
171
|
-
| 3 | [2026-02-15] E99-S1 auth flow | orphaned | Referenced story/epic E99-S1 not found in epics-and-stories.md | archive |
|
|
172
|
-
<!-- END SECTION -->
|
|
173
|
-
|
|
174
|
-
<!-- SECTION: deduplication -->
|
|
175
|
-
## Deduplication
|
|
176
|
-
|
|
177
|
-
Detect and merge duplicate decision entries within a decision log.
|
|
178
|
-
|
|
179
|
-
**Duplicate detection:**
|
|
180
|
-
|
|
181
|
-
1. **Exact duplicates** — entries with the same artifact and same topic that address the same decision
|
|
182
|
-
- Match on: same artifact path in `Related` + same topic keywords in title
|
|
183
|
-
- If both are `active`: the newer entry supersedes the older
|
|
184
|
-
|
|
185
|
-
2. **Near-duplicates** — entries with different wording but identical decision substance
|
|
186
|
-
- Match on: same artifact path + overlapping topic (>70% keyword overlap in title and body)
|
|
187
|
-
- Near-duplicates require confirmation before merging — flag for review
|
|
188
|
-
|
|
189
|
-
**Merge protocol:**
|
|
190
|
-
- Newer entry is kept with status `active`
|
|
191
|
-
- Older entry is archived: set status to `superseded`, add note "Superseded by [{date}] {title}"
|
|
192
|
-
- Move archived entry to the `archive/` subdirectory if one exists
|
|
193
|
-
- If supersession is ambiguous (e.g., entries are from the same date, or address subtly different aspects): flag both for manual review rather than auto-merging
|
|
194
|
-
|
|
195
|
-
**Output:** List of duplicate pairs with recommended action (auto-archive or review).
|
|
196
|
-
<!-- END SECTION -->
|
|
197
|
-
|
|
198
|
-
<!-- SECTION: cross-ref-loading -->
|
|
199
|
-
## Cross-Reference Loading (ADR-015)
|
|
200
|
-
|
|
201
|
-
Load another agent's sidecar files as read-only cross-references. All cross-ref loading is JIT (just-in-time) — never preloaded at session start.
|
|
202
|
-
|
|
203
|
-
### Schema: `<memory-reads>` Tag
|
|
204
|
-
|
|
205
|
-
Agent persona files declare cross-references using this XML schema inside the `<agent>` block:
|
|
206
|
-
|
|
207
|
-
```xml
|
|
208
|
-
<memory-reads>
|
|
209
|
-
<cross-ref agent="{agent-id}" file="{file-name}" mode="{recent|full|summary}" required="{true|false}" />
|
|
210
|
-
<!-- Additional cross-ref entries -->
|
|
211
|
-
</memory-reads>
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
**Attributes:**
|
|
215
|
-
- `agent` (required) — the agent ID whose sidecar to read (e.g., "architect", "validator")
|
|
216
|
-
- `file` (required) — the sidecar file to read (e.g., "decision-log", "ground-truth", "conversation-context")
|
|
217
|
-
- `mode` (required) — loading mode: `recent`, `full`, or `summary`
|
|
218
|
-
- `required` (optional, default: "true") — if "false", skip gracefully when the sidecar is absent
|
|
219
|
-
|
|
220
|
-
### Read-Only Access: `load_cross_ref()`
|
|
221
|
-
|
|
222
|
-
Cross-references are loaded through `load_cross_ref()`, which is a **read-only** path — separate from `load_own()` (the agent's own sidecar, which supports read/write).
|
|
223
|
-
|
|
224
|
-
**Parameters:**
|
|
225
|
-
- `sidecar_path` — absolute path to the **target** agent's sidecar directory (e.g., `_memory/architect-sidecar/`)
|
|
226
|
-
- `file_name` — which file to read (e.g., "decision-log.md", "ground-truth.md")
|
|
227
|
-
- `mode` — loading mode: `recent`, `full`, or `summary`
|
|
228
|
-
- `budget_remaining` — remaining token budget for cross-references
|
|
229
|
-
|
|
230
|
-
**Write-Guard:**
|
|
231
|
-
Any attempt to write to a sidecar that is not the current agent's own sidecar MUST raise a **hard error** (not a warning). The write-guard blocks all write operations through `load_cross_ref()`. Only `load_own()` permits writes, and only to the agent's own sidecar directory.
|
|
232
|
-
|
|
233
|
-
**Procedure:**
|
|
234
|
-
1. Validate the target sidecar path is NOT the current agent's own sidecar (self-reference guard — see Validation section below)
|
|
235
|
-
2. Check budget_remaining BEFORE loading — if insufficient, apply progressive downgrade
|
|
236
|
-
3. Read the target file from disk (read-only — no file creation, no modification)
|
|
237
|
-
4. Apply mode filtering (see Loading Modes below)
|
|
238
|
-
5. Return filtered content as read-only data
|
|
239
|
-
|
|
240
|
-
### Loading Modes
|
|
241
|
-
|
|
242
|
-
**`recent` mode** — Load entries from the last 2 sprints only:
|
|
243
|
-
- Parse decision-log entries using ADR-016 format
|
|
244
|
-
- Filter by Sprint field: keep entries where sprint matches current sprint or previous sprint
|
|
245
|
-
- If sprint metadata is absent from entries, fall back to date-based filtering (last 30 days)
|
|
246
|
-
- Approximate token cost: character count / 4
|
|
247
|
-
|
|
248
|
-
**`full` mode** — Load the entire file content:
|
|
249
|
-
- Read full file, respect budget cap
|
|
250
|
-
- If file exceeds budget_remaining: truncate oldest entries first (keep most recent)
|
|
251
|
-
- Approximate token cost: character count / 4
|
|
252
|
-
|
|
253
|
-
**`summary` mode** — Load section headers only:
|
|
254
|
-
- Parse the file for markdown headers (lines starting with `#`, `##`, `###`)
|
|
255
|
-
- Stop at section boundaries — do not load body content
|
|
256
|
-
- Minimal token cost
|
|
257
|
-
|
|
258
|
-
### JIT Loading
|
|
259
|
-
|
|
260
|
-
Cross-references are loaded **just-in-time** during workflow step execution — NOT at agent activation or session start. Loading is triggered only when a workflow step explicitly requires cross-agent context.
|
|
261
|
-
|
|
262
|
-
**Trigger:** The workflow engine checks `<memory-reads>` declarations and loads cross-references only when the current step's execution context requires cross-agent data. No cross-references are preloaded eagerly.
|
|
263
|
-
|
|
264
|
-
### Budget Enforcement
|
|
265
|
-
|
|
266
|
-
**Pre-load budget check:** Before each cross-reference load, calculate:
|
|
267
|
-
- Tokens already consumed by own sidecar
|
|
268
|
-
- Tokens already consumed by previously loaded cross-references
|
|
269
|
-
- Estimated tokens for the next cross-reference (based on mode and file size)
|
|
270
|
-
|
|
271
|
-
**Progressive downgrade chain:** When budget is insufficient for the requested mode:
|
|
272
|
-
1. `full` → downgrade to `recent`
|
|
273
|
-
2. `recent` → downgrade to `summary`
|
|
274
|
-
3. `summary` → downgrade to `skip` (do not load, log warning)
|
|
275
|
-
|
|
276
|
-
Log every downgrade as a warning in the session checkpoint:
|
|
277
|
-
`"Cross-ref downgraded: {agent}/{file} from {original_mode} to {new_mode} — budget {used}/{total}"`
|
|
278
|
-
|
|
279
|
-
**Val's 50% cross-ref budget cap:**
|
|
280
|
-
Val (validator) has a `cross_ref_budget_cap` of 0.5 in `_memory/config.yaml`, meaning cross-references may consume at most 50% of Val's 300K session budget (= 150K tokens max for cross-refs). Val's load priority order: architect → pm → sm. If the 150K cap is hit mid-load, remaining cross-references are downgraded progressively.
|
|
281
|
-
|
|
282
|
-
**Tier budget ceilings:**
|
|
283
|
-
- Tier 1 agents: 300K session budget (own sidecar + cross-refs combined)
|
|
284
|
-
- Tier 2 agents: 100K session budget (own sidecar + cross-refs combined)
|
|
285
|
-
- Tier 3 agents: no explicit budget enforcement
|
|
286
|
-
|
|
287
|
-
### Graceful Error Handling
|
|
288
|
-
|
|
289
|
-
**Missing sidecar directory or file:**
|
|
290
|
-
- If the target sidecar directory does not exist: log a warning ("Cross-ref skipped: {agent} sidecar directory not found"), skip this cross-reference, and continue workflow execution
|
|
291
|
-
- If the target file within the sidecar does not exist: log a warning ("Cross-ref skipped: {agent}/{file} not found"), skip, continue
|
|
292
|
-
|
|
293
|
-
**Malformed or corrupt sidecar files:**
|
|
294
|
-
- If the target file exists but cannot be parsed (malformed markdown, corrupt content, unparseable entries): log a warning ("Cross-ref skipped: {agent}/{file} is malformed"), skip this cross-reference, and continue
|
|
295
|
-
- Never halt the workflow due to a cross-reference loading failure
|
|
296
|
-
|
|
297
|
-
**Absent optional cross-references:**
|
|
298
|
-
- If `<cross-ref required="false">` and the target is absent: skip silently (no warning)
|
|
299
|
-
- If `<cross-ref required="true">` (default) and the target is absent: log warning but still continue
|
|
300
|
-
|
|
301
|
-
### Consistency Validation
|
|
302
|
-
|
|
303
|
-
At session start, validate that agent persona `<memory-reads>` declarations are consistent with `_memory/config.yaml` cross_references matrix:
|
|
304
|
-
|
|
305
|
-
1. Parse the agent's `<memory-reads>` block from the persona file
|
|
306
|
-
2. Load the agent's entry from `_memory/config.yaml` → `cross_references.{agent_id}.reads_from`
|
|
307
|
-
3. Compare: every entry in config.yaml should have a matching `<cross-ref>` in the persona file
|
|
308
|
-
4. If mismatch found: produce a **warning** (not an error) — `_memory/config.yaml` is the authoritative source. The persona file declaration should mirror it.
|
|
309
|
-
|
|
310
|
-
**Self-reference guard:**
|
|
311
|
-
If an agent's `<memory-reads>` declares a `<cross-ref>` where the `agent` attribute matches the current agent's own ID, reject it with a validation error at session start. An agent must not reference its own sidecar as a cross-reference — own-sidecar access is through `load_own()`.
|
|
312
|
-
|
|
313
|
-
### Checkpoint Provenance
|
|
314
|
-
|
|
315
|
-
After loading cross-references, record in the session checkpoint:
|
|
316
|
-
- Which cross-references were loaded (agent, file, mode)
|
|
317
|
-
- File checksums (`shasum -a 256`) of each loaded cross-reference file
|
|
318
|
-
- Any downgrades or skips that occurred
|
|
319
|
-
- Total tokens consumed by cross-references
|
|
320
|
-
|
|
321
|
-
This enables `/gaia-resume` to detect stale cross-references when resuming a session.
|
|
322
|
-
<!-- END SECTION -->
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: validation-patterns
|
|
3
|
-
version: '1.0'
|
|
4
|
-
applicable_agents: [validator]
|
|
5
|
-
description: 'Reusable validation patterns for claim extraction, filesystem verification, cross-referencing, severity classification, and findings formatting.'
|
|
6
|
-
sections: [claim-extraction, filesystem-verification, cross-reference, severity-classification, findings-formatting]
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
<!-- SECTION: claim-extraction -->
|
|
10
|
-
## Claim Extraction
|
|
11
|
-
|
|
12
|
-
### What Constitutes a Factual Claim
|
|
13
|
-
|
|
14
|
-
A factual claim is any statement in an artifact that can be verified against the filesystem or other artifacts:
|
|
15
|
-
|
|
16
|
-
- **File references** — paths to files or directories (e.g., `_gaia/core/engine/workflow.xml`)
|
|
17
|
-
- **Version numbers** — framework, dependency, or API versions (e.g., `v1.29.0`)
|
|
18
|
-
- **Configuration values** — settings declared in YAML, JSON, or env files
|
|
19
|
-
- **Component names** — agent IDs, workflow names, skill names referenced by identifier
|
|
20
|
-
- **Counts** — numeric quantities (e.g., "25 agents", "62 workflows", "8 shared skills")
|
|
21
|
-
- **Endpoint paths** — API routes, URL patterns
|
|
22
|
-
- **Dependency names** — package names, module references
|
|
23
|
-
- **Architectural decisions** — ADR references citing specific patterns or statuses
|
|
24
|
-
|
|
25
|
-
### What Is NOT a Factual Claim
|
|
26
|
-
|
|
27
|
-
- Opinions or subjective assessments ("the system is well-designed")
|
|
28
|
-
- Goals or aspirational statements ("the system should be scalable")
|
|
29
|
-
- Future intentions ("we will add support for X")
|
|
30
|
-
- Descriptions of behavior without verifiable specifics
|
|
31
|
-
- Relative comparisons without concrete values ("faster than before")
|
|
32
|
-
|
|
33
|
-
### Extraction Method
|
|
34
|
-
|
|
35
|
-
1. Parse markdown headings, tables, code blocks, inline references, and YAML frontmatter
|
|
36
|
-
2. Identify tokens matching claim type patterns (file paths contain `/`, versions match semver, counts are digits followed by nouns)
|
|
37
|
-
3. Record source location: artifact file path + section heading or line range
|
|
38
|
-
4. Skip content inside `<!-- comments -->` and fenced code blocks marked as `pseudo` or `example`
|
|
39
|
-
|
|
40
|
-
### Output Format
|
|
41
|
-
|
|
42
|
-
For each extracted claim, produce:
|
|
43
|
-
|
|
44
|
-
| Field | Description |
|
|
45
|
-
|-------|-------------|
|
|
46
|
-
| `claim_text` | The literal text of the claim |
|
|
47
|
-
| `source` | Artifact file path + section or line reference |
|
|
48
|
-
| `type` | One of: `file-reference`, `version`, `config-value`, `component-name`, `count`, `path`, `dependency`, `adr-reference` |
|
|
49
|
-
| `verifiable` | `true` if claim can be checked against filesystem or artifacts; `false` if requires external validation |
|
|
50
|
-
<!-- END SECTION -->
|
|
51
|
-
|
|
52
|
-
<!-- SECTION: filesystem-verification -->
|
|
53
|
-
## Filesystem Verification
|
|
54
|
-
|
|
55
|
-
### Verification Strategy by Claim Type
|
|
56
|
-
|
|
57
|
-
| Claim Type | Verification Method |
|
|
58
|
-
|------------|-------------------|
|
|
59
|
-
| `file-reference` | `existsSync(path)` — check file or directory exists |
|
|
60
|
-
| `version` | Read target file, extract version field, compare |
|
|
61
|
-
| `config-value` | Parse config file (YAML/JSON), compare field value |
|
|
62
|
-
| `component-name` | Check manifests (`workflow-manifest.csv`, `skill-manifest.csv`, agent dirs) |
|
|
63
|
-
| `count` | Run filesystem query (glob/find), compare actual count to claimed count |
|
|
64
|
-
| `path` | Resolve path variables (`{project-root}`, `{project-path}`), then `existsSync` |
|
|
65
|
-
| `dependency` | Check `package.json`, `pubspec.yaml`, `pom.xml`, or equivalent |
|
|
66
|
-
|
|
67
|
-
### Path Variable Resolution
|
|
68
|
-
|
|
69
|
-
Before verifying, resolve GAIA path variables:
|
|
70
|
-
- `{project-root}` → absolute path to repo root (where `_gaia/` lives)
|
|
71
|
-
- `{project-path}` → application source directory (from `global.yaml`)
|
|
72
|
-
- `{installed_path}` → workflow directory path
|
|
73
|
-
|
|
74
|
-
### Symlink Handling
|
|
75
|
-
|
|
76
|
-
- Follow symlinks and verify the **target** exists
|
|
77
|
-
- If the symlink target is missing, report as `unverified` with evidence noting broken symlink
|
|
78
|
-
- Record both the symlink path and resolved target in evidence
|
|
79
|
-
|
|
80
|
-
### Binary File Handling
|
|
81
|
-
|
|
82
|
-
- For binary files (images, compiled assets, fonts, archives): verify **existence only**
|
|
83
|
-
- Do NOT attempt content parsing — report as `verified` if file exists, `unverified` if missing
|
|
84
|
-
- Recognized binary extensions: `.png`, `.jpg`, `.jpeg`, `.gif`, `.ico`, `.webp`, `.svg`, `.pdf`, `.woff`, `.woff2`, `.ttf`, `.zip`, `.tar`, `.gz`
|
|
85
|
-
|
|
86
|
-
### Out-of-Boundary Handling
|
|
87
|
-
|
|
88
|
-
- Files referenced outside `{project-root}` are **skipped** with severity `INFO`
|
|
89
|
-
- Val only verifies within the project boundary — external paths are not its responsibility
|
|
90
|
-
- Log: "Out-of-boundary reference skipped: {path} is outside {project-root}"
|
|
91
|
-
|
|
92
|
-
### Output Format Per Claim
|
|
93
|
-
|
|
94
|
-
| Field | Description |
|
|
95
|
-
|-------|-------------|
|
|
96
|
-
| `status` | `verified` / `unverified` / `not-applicable` |
|
|
97
|
-
| `evidence` | What was checked and what was found (or not found) |
|
|
98
|
-
| `path_checked` | Resolved absolute path that was verified |
|
|
99
|
-
<!-- END SECTION -->
|
|
100
|
-
|
|
101
|
-
<!-- SECTION: cross-reference -->
|
|
102
|
-
## Cross-Reference Verification
|
|
103
|
-
|
|
104
|
-
### Ground Truth Cross-Reference
|
|
105
|
-
|
|
106
|
-
Compare extracted claims against entries in `ground-truth.md`:
|
|
107
|
-
- File path inventories — verify claimed paths match ground truth file lists
|
|
108
|
-
- Component counts — verify claimed counts match ground truth tallies
|
|
109
|
-
- Version numbers — verify claimed versions match ground truth records
|
|
110
|
-
- Structural patterns — verify claimed directory structures match ground truth maps
|
|
111
|
-
|
|
112
|
-
If a claim matches a ground truth entry: mark as `verified` with ground truth as evidence.
|
|
113
|
-
If a claim contradicts a ground truth entry: mark as `unverified` with both values noted.
|
|
114
|
-
|
|
115
|
-
### Inter-Artifact Cross-Reference
|
|
116
|
-
|
|
117
|
-
Verify consistency between related artifacts:
|
|
118
|
-
- Architecture references PRD requirements → check requirement IDs exist in PRD
|
|
119
|
-
- Stories reference epics → check epic key exists in epics-and-stories.md
|
|
120
|
-
- Test plans reference stories → check story keys exist in implementation-artifacts
|
|
121
|
-
- Stories reference ADRs → check ADR exists in architecture.md
|
|
122
|
-
- Traceability matrix entries → check both source and target exist
|
|
123
|
-
|
|
124
|
-
### Missing Ground Truth Entries
|
|
125
|
-
|
|
126
|
-
When a claim cannot be found in `ground-truth.md`:
|
|
127
|
-
- Do NOT classify as `unverified` — ground truth may be incomplete
|
|
128
|
-
- Flag as `WARNING` with message: "No ground truth entry for: {claim}. Ground truth may need refresh."
|
|
129
|
-
- Suggest running `/gaia-refresh-ground-truth` if multiple missing entries are detected (threshold: 3+)
|
|
130
|
-
- Still attempt filesystem verification independently of ground truth
|
|
131
|
-
<!-- END SECTION -->
|
|
132
|
-
|
|
133
|
-
<!-- SECTION: severity-classification -->
|
|
134
|
-
## Severity Classification
|
|
135
|
-
|
|
136
|
-
### CRITICAL
|
|
137
|
-
|
|
138
|
-
A factual error that would cause a workflow to fail or produce wrong output:
|
|
139
|
-
- File path that does not exist and is used as input by a workflow step
|
|
140
|
-
- Nonexistent agent, workflow, or skill name referenced in a config or instruction
|
|
141
|
-
- Incorrect count that affects downstream logic (e.g., "8 skills" when actually 9, causing a loop to miss one)
|
|
142
|
-
- Wrong version number in a dependency declaration that would cause install failure
|
|
143
|
-
- Configuration value that would cause runtime errors
|
|
144
|
-
|
|
145
|
-
### WARNING
|
|
146
|
-
|
|
147
|
-
An inconsistency that will not break execution but indicates drift:
|
|
148
|
-
- Version mismatch by patch version only (e.g., `1.29.0` vs `1.29.1`)
|
|
149
|
-
- Stale reference to a renamed or moved file that still exists at old path
|
|
150
|
-
- Incomplete section that is referenced but contains placeholder content
|
|
151
|
-
- Missing ground truth entry for a verifiable claim
|
|
152
|
-
- Count off by one where the difference does not affect logic
|
|
153
|
-
|
|
154
|
-
### INFO
|
|
155
|
-
|
|
156
|
-
A minor observation that might be intentional:
|
|
157
|
-
- Naming convention deviation (e.g., underscore vs hyphen in a file name)
|
|
158
|
-
- Unused reference that is declared but never consumed
|
|
159
|
-
- Formatting inconsistency (e.g., inconsistent heading levels)
|
|
160
|
-
- Out-of-boundary reference that was skipped during verification
|
|
161
|
-
- Aspirational or future-tense statement in a factual section
|
|
162
|
-
|
|
163
|
-
### Decision Tree
|
|
164
|
-
|
|
165
|
-
```
|
|
166
|
-
Is the claim verifiable?
|
|
167
|
-
├─ NO → skip (not a factual claim)
|
|
168
|
-
└─ YES → Does the referenced resource exist?
|
|
169
|
-
├─ NO → Is it used as workflow input or config?
|
|
170
|
-
│ ├─ YES → CRITICAL
|
|
171
|
-
│ └─ NO → WARNING
|
|
172
|
-
└─ YES → Does the value match exactly?
|
|
173
|
-
├─ YES → verified (no finding)
|
|
174
|
-
├─ PARTIAL (minor diff) → WARNING
|
|
175
|
-
└─ NO (major diff) → Is the diff logic-affecting?
|
|
176
|
-
├─ YES → CRITICAL
|
|
177
|
-
└─ NO → WARNING
|
|
178
|
-
Not in ground truth? → WARNING
|
|
179
|
-
Out of boundary? → INFO
|
|
180
|
-
Style/convention only? → INFO
|
|
181
|
-
```
|
|
182
|
-
<!-- END SECTION -->
|
|
183
|
-
|
|
184
|
-
<!-- SECTION: findings-formatting -->
|
|
185
|
-
## Findings Formatting
|
|
186
|
-
|
|
187
|
-
### Per-Finding Format
|
|
188
|
-
|
|
189
|
-
Each finding must include:
|
|
190
|
-
|
|
191
|
-
```
|
|
192
|
-
**[{SEVERITY}]** {one-line summary}
|
|
193
|
-
- **Source:** {artifact file} § {section or line range}
|
|
194
|
-
- **Claim:** "{exact text of the claim}"
|
|
195
|
-
- **Evidence:** {what was checked} → {what was found}
|
|
196
|
-
- **Resolution:** {suggested fix}
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
Severity tag format: `[CRITICAL]`, `[WARNING]`, or `[INFO]` — always uppercase, always bracketed.
|
|
200
|
-
|
|
201
|
-
### Report Structure
|
|
202
|
-
|
|
203
|
-
```markdown
|
|
204
|
-
## Validation Findings
|
|
205
|
-
|
|
206
|
-
**Summary:** {total} findings — {n} critical, {n} warning, {n} info
|
|
207
|
-
**Artifact:** {artifact file path}
|
|
208
|
-
**Validated:** {date}
|
|
209
|
-
|
|
210
|
-
### Critical Findings
|
|
211
|
-
{findings with [CRITICAL] tag, ordered by source location}
|
|
212
|
-
|
|
213
|
-
### Warnings
|
|
214
|
-
{findings with [WARNING] tag, ordered by source location}
|
|
215
|
-
|
|
216
|
-
### Info
|
|
217
|
-
{findings with [INFO] tag, ordered by source location}
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
If a severity group has zero findings, include the heading with "None." underneath.
|
|
221
|
-
|
|
222
|
-
### Consistency Rules
|
|
223
|
-
|
|
224
|
-
- Same format for both `val-validate-artifact` and `val-validate-plan` workflows
|
|
225
|
-
- Always include the summary line, even when zero findings
|
|
226
|
-
- Group by severity: CRITICAL first, then WARNING, then INFO
|
|
227
|
-
- Within each group, order by source location (file path, then line/section)
|
|
228
|
-
- Evidence must state both what was expected and what was actually found
|
|
229
|
-
- Resolution must be actionable — never "fix this" without specifics
|
|
230
|
-
<!-- END SECTION -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
name: "Data-Intensive Team"
|
|
2
|
-
description: "Data pipeline and analytics projects"
|
|
3
|
-
agents:
|
|
4
|
-
- architect
|
|
5
|
-
- data-engineer
|
|
6
|
-
- dev-*
|
|
7
|
-
- qa
|
|
8
|
-
use_case: "Data pipeline and analytics projects"
|
|
9
|
-
phases: [2-planning, 3-solutioning, 4-implementation]
|
|
10
|
-
workflows:
|
|
11
|
-
required: [create-architecture]
|
|
12
|
-
optional: [performance-review]
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
name: "Enterprise Team"
|
|
2
|
-
description: "Full lifecycle with security and deployment"
|
|
3
|
-
agents:
|
|
4
|
-
- analyst
|
|
5
|
-
- pm
|
|
6
|
-
- architect
|
|
7
|
-
- ux-designer
|
|
8
|
-
- sm
|
|
9
|
-
- dev-*
|
|
10
|
-
- qa
|
|
11
|
-
- tech-writer
|
|
12
|
-
- devops
|
|
13
|
-
- security
|
|
14
|
-
use_case: "Full lifecycle with security and deployment (Phase 3+)"
|
|
15
|
-
phases: [1-analysis, 2-planning, 3-solutioning, 4-implementation, 5-deployment]
|
|
16
|
-
note: "devops and security agents built in Phase 3"
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
name: "Full Team"
|
|
2
|
-
description: "Complete product lifecycle"
|
|
3
|
-
agents:
|
|
4
|
-
- analyst
|
|
5
|
-
- pm
|
|
6
|
-
- architect
|
|
7
|
-
- ux-designer
|
|
8
|
-
- sm
|
|
9
|
-
- dev-*
|
|
10
|
-
- qa
|
|
11
|
-
- tech-writer
|
|
12
|
-
use_case: "Complete product lifecycle"
|
|
13
|
-
phases: [1-analysis, 2-planning, 3-solutioning, 4-implementation]
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
name: "Security-Focused Team"
|
|
2
|
-
description: "Security-critical applications requiring threat modeling and security review"
|
|
3
|
-
agents:
|
|
4
|
-
- architect
|
|
5
|
-
- security
|
|
6
|
-
- dev-*
|
|
7
|
-
- qa
|
|
8
|
-
- devops
|
|
9
|
-
use_case: "Security-critical applications requiring threat modeling and security review"
|
|
10
|
-
phases: [2-planning, 3-solutioning, 4-implementation, 5-deployment]
|
|
11
|
-
workflows:
|
|
12
|
-
required: [security-threat-model, security-review]
|
|
13
|
-
optional: [deployment-checklist]
|