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,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Val Refresh Ground Truth Validation'
|
|
3
|
-
validation-target: 'Ground truth refresh workflow'
|
|
4
|
-
---
|
|
5
|
-
## Pre-conditions
|
|
6
|
-
- [ ] Validator agent persona exists at _gaia/lifecycle/agents/validator.md
|
|
7
|
-
- [ ] Slash command registered at .claude/commands/gaia-refresh-ground-truth.md
|
|
8
|
-
- [ ] Ground-truth-management skill available for JIT loading
|
|
9
|
-
|
|
10
|
-
## Workflow Structure
|
|
11
|
-
- [ ] workflow.yaml created with agent: validator and --incremental parameter
|
|
12
|
-
- [ ] instructions.xml implements complete scan protocol
|
|
13
|
-
- [ ] checklist.md validates workflow completeness
|
|
14
|
-
|
|
15
|
-
## Scan Protocol
|
|
16
|
-
- [ ] All 11 inventory targets scanned
|
|
17
|
-
- [ ] Section-by-section progress shown during scan
|
|
18
|
-
- [ ] Metadata extracted from each scanned file
|
|
19
|
-
|
|
20
|
-
## Ground Truth Output
|
|
21
|
-
- [ ] ground-truth.md updated with verified counts and locations
|
|
22
|
-
- [ ] Last-refresh timestamp in header
|
|
23
|
-
- [ ] Entries organized by category
|
|
24
|
-
- [ ] REMOVED status for deleted files (not silently purged)
|
|
25
|
-
|
|
26
|
-
## Diff Report
|
|
27
|
-
- [ ] Added/removed/updated counts generated
|
|
28
|
-
- [ ] Total entry count included
|
|
29
|
-
- [ ] Report presented to user
|
|
30
|
-
- [ ] Report logged to decision-log.md with date
|
|
31
|
-
|
|
32
|
-
## Modes
|
|
33
|
-
- [ ] Full refresh scans all targets (default)
|
|
34
|
-
- [ ] Incremental refresh filters by last-refresh timestamp
|
|
35
|
-
- [ ] Incremental limitation documented (misses deletions)
|
|
36
|
-
|
|
37
|
-
## First-Run
|
|
38
|
-
- [ ] Creates _memory/validator-sidecar/ if missing
|
|
39
|
-
- [ ] Initializes ground-truth.md, decision-log.md, conversation-context.md
|
|
40
|
-
|
|
41
|
-
## Skill Loading
|
|
42
|
-
- [ ] ground-truth-management sections loaded JIT
|
|
43
|
-
- [ ] Sections: full-refresh, incremental-refresh, entry-structure, conflict-resolution, token-budget
|
|
44
|
-
|
|
45
|
-
## Integration
|
|
46
|
-
- [ ] Manifest entry exists in workflow-manifest.csv
|
|
47
|
-
- [ ] Works identically standalone or as sub-step
|
|
48
|
-
- [ ] No special-case logic for invocation context
|
package/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth/instructions.xml
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
<workflow name="val-refresh-ground-truth">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Ground truth accuracy is foundational — every other Val workflow depends on it</mandate>
|
|
4
|
-
<mandate>Never silently delete entries — mark removed files with REMOVED status</mandate>
|
|
5
|
-
<mandate>Load ground-truth-management skill sections JIT — never pre-load</mandate>
|
|
6
|
-
<mandate>Show section-by-section progress during scanning</mandate>
|
|
7
|
-
<mandate>Behavior must be identical whether called standalone or as sub-step from another workflow</mandate>
|
|
8
|
-
</critical>
|
|
9
|
-
|
|
10
|
-
<step n="1" title="Initialize Validator Sidecar">
|
|
11
|
-
<action>Check if {memory_path}/validator-sidecar/ directory exists</action>
|
|
12
|
-
<action if="directory missing">Create {memory_path}/validator-sidecar/ directory</action>
|
|
13
|
-
<action if="ground-truth.md missing">Create {memory_path}/validator-sidecar/ground-truth.md with empty header containing last-refresh timestamp set to "never"</action>
|
|
14
|
-
<action if="decision-log.md missing">Create {memory_path}/validator-sidecar/decision-log.md with header: "# Val Decision Log" and empty entries</action>
|
|
15
|
-
<action if="conversation-context.md missing">Create {memory_path}/validator-sidecar/conversation-context.md with header: "# Val Conversation Context" and empty rolling state</action>
|
|
16
|
-
</step>
|
|
17
|
-
|
|
18
|
-
<step n="2" title="Determine Refresh Mode">
|
|
19
|
-
<action>Check if --incremental flag was passed</action>
|
|
20
|
-
<action if="incremental">Set mode to incremental — only scan files modified since last-refresh timestamp from ground-truth.md header</action>
|
|
21
|
-
<action if="not incremental">Set mode to full — scan all targets completely. Full refresh catches deletions and renames that incremental would miss.</action>
|
|
22
|
-
</step>
|
|
23
|
-
|
|
24
|
-
<step n="3" title="Load Entry Structure">
|
|
25
|
-
<action>Load ground-truth-management skill section: entry-structure (JIT)</action>
|
|
26
|
-
<action>Use entry-structure format for all ground truth entries written in subsequent steps</action>
|
|
27
|
-
</step>
|
|
28
|
-
|
|
29
|
-
<step n="4" title="Parse Previous State">
|
|
30
|
-
<action>Read existing {memory_path}/validator-sidecar/ground-truth.md</action>
|
|
31
|
-
<action>Extract last-refresh timestamp from header</action>
|
|
32
|
-
<action>Parse all existing entries into a lookup map keyed by file path for diff comparison</action>
|
|
33
|
-
<action if="incremental mode">Filter scan targets to only files modified after last-refresh timestamp</action>
|
|
34
|
-
</step>
|
|
35
|
-
|
|
36
|
-
<step n="5" title="Scan Inventory Targets">
|
|
37
|
-
<action>Load ground-truth-management skill section based on mode: full-refresh or incremental-refresh (JIT)</action>
|
|
38
|
-
<action>Scan the following 6 inventory targets, showing section-by-section progress to the user after each target completes.</action>
|
|
39
|
-
|
|
40
|
-
<action title="Exclusion list">
|
|
41
|
-
ALWAYS exclude these directories and files from scanning — they are framework internals, not project code:
|
|
42
|
-
_gaia/, .claude/, bin/, _memory/, node_modules/, .git/, build/, dist/, .DS_Store, *.lock
|
|
43
|
-
</action>
|
|
44
|
-
|
|
45
|
-
<action title="Target 1: Project Source Files">
|
|
46
|
-
Scan {project-path}/**/* (excluding the exclusion list above)
|
|
47
|
-
Extract: file inventory, directory structure, languages used, entry points
|
|
48
|
-
Report progress: "Scanning project source files... found N files across N directories."
|
|
49
|
-
</action>
|
|
50
|
-
|
|
51
|
-
<action title="Target 2: Project Config Files">
|
|
52
|
-
Scan {project-path}/*.{json,yaml,yml,toml,xml,env.example} (root-level config files)
|
|
53
|
-
Extract: config keys, settings, dependency declarations
|
|
54
|
-
Report progress: "Scanning project config files... found N config files."
|
|
55
|
-
</action>
|
|
56
|
-
|
|
57
|
-
<action title="Target 3: Project Package Manifests">
|
|
58
|
-
Scan {project-path}/**/package.json, pubspec.yaml, pom.xml, build.gradle, requirements.txt, Cargo.toml, go.mod, Gemfile, *.csproj (whichever exist)
|
|
59
|
-
Extract: dependencies, versions, scripts, build targets
|
|
60
|
-
Report progress: "Scanning package manifests... found N manifests."
|
|
61
|
-
</action>
|
|
62
|
-
|
|
63
|
-
<action title="Target 4: Planning Artifacts">
|
|
64
|
-
Scan {project-root}/docs/planning-artifacts/*.md
|
|
65
|
-
Extract: artifact name, type, date
|
|
66
|
-
Report progress: "Scanning planning artifacts... found N artifacts."
|
|
67
|
-
</action>
|
|
68
|
-
|
|
69
|
-
<action title="Target 5: Implementation Artifacts">
|
|
70
|
-
Scan {project-root}/docs/implementation-artifacts/*.md
|
|
71
|
-
Extract: artifact name, type, story key if applicable
|
|
72
|
-
Report progress: "Scanning implementation artifacts... found N artifacts."
|
|
73
|
-
</action>
|
|
74
|
-
|
|
75
|
-
<action title="Target 6: Test Artifacts">
|
|
76
|
-
Scan {project-root}/docs/test-artifacts/*.md
|
|
77
|
-
Extract: artifact name, type, coverage area
|
|
78
|
-
Report progress: "Scanning test artifacts... found N artifacts."
|
|
79
|
-
</action>
|
|
80
|
-
</step>
|
|
81
|
-
|
|
82
|
-
<step n="6" title="Compare and Detect Changes">
|
|
83
|
-
<action>Compare scan results against previous state from Step 4</action>
|
|
84
|
-
<action>Classify each entry as: ADDED (new file not in previous state), UPDATED (file exists but metadata changed), UNCHANGED (no changes detected)</action>
|
|
85
|
-
<action if="full mode">For entries in previous state not found in scan results: mark as REMOVED with detection date (e.g., "REMOVED (file deleted, detected 2026-03-19)"). Do NOT silently delete entries.</action>
|
|
86
|
-
<action if="incremental mode">Skip deletion detection — incremental mode cannot detect deletions. This is a documented limitation.</action>
|
|
87
|
-
<action>Load ground-truth-management skill section: conflict-resolution (JIT) if any conflicts are detected between scan results and existing entries</action>
|
|
88
|
-
</step>
|
|
89
|
-
|
|
90
|
-
<step n="7" title="Write Ground Truth">
|
|
91
|
-
<action>Update {memory_path}/validator-sidecar/ground-truth.md with all scan results</action>
|
|
92
|
-
<action>Write header with last-refresh timestamp set to current date/time</action>
|
|
93
|
-
<action>Organize entries by category: Agents, Workflows, Skills, Commands, Manifests, Config, Artifacts</action>
|
|
94
|
-
<action>Include verified counts, locations, and structural patterns for each category</action>
|
|
95
|
-
<action>Preserve REMOVED entries with their detection dates — do not purge</action>
|
|
96
|
-
</step>
|
|
97
|
-
|
|
98
|
-
<step n="8" title="Generate Diff Report">
|
|
99
|
-
<action>Generate diff/delta report summarizing changes since last refresh</action>
|
|
100
|
-
<action>Include counts by category: added, removed, updated entries</action>
|
|
101
|
-
<action>Include total entry count across all categories</action>
|
|
102
|
-
<action>Format: "Added: N new workflows, N new agents. Removed: N deleted commands. Updated: N file paths changed. Total entries: N."</action>
|
|
103
|
-
<action>Present the full diff report to the user</action>
|
|
104
|
-
</step>
|
|
105
|
-
|
|
106
|
-
<step n="9" title="Log to Decision Log">
|
|
107
|
-
<action>Append the diff/delta report to {memory_path}/validator-sidecar/decision-log.md</action>
|
|
108
|
-
<action>Include date, refresh mode (full or incremental), and summary</action>
|
|
109
|
-
<action>Format: "## Refresh — {date} ({mode})\n{summary}"</action>
|
|
110
|
-
</step>
|
|
111
|
-
|
|
112
|
-
<step n="10" title="Check Token Budget">
|
|
113
|
-
<action>Load ground-truth-management skill section: token-budget (JIT)</action>
|
|
114
|
-
<action>Estimate token count of ground-truth.md</action>
|
|
115
|
-
<action>If token count exceeds budget threshold: trigger archival of oldest REMOVED entries per token-budget skill guidance</action>
|
|
116
|
-
<action>Report token usage to user</action>
|
|
117
|
-
</step>
|
|
118
|
-
|
|
119
|
-
<step n="11" title="Present Results">
|
|
120
|
-
<template-output file="{memory_path}/validator-sidecar/ground-truth.md">
|
|
121
|
-
Ground truth refreshed with verified inventory of all framework components.
|
|
122
|
-
Includes last-refresh timestamp, categorized entries, and REMOVED markers for deleted files.
|
|
123
|
-
</template-output>
|
|
124
|
-
</step>
|
|
125
|
-
</workflow>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
name: val-refresh-ground-truth
|
|
2
|
-
description: 'Rescan filesystem and update verified facts in ground-truth.md'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: validator
|
|
5
|
-
execution_mode: normal
|
|
6
|
-
config_resolved: "{installed_path}/.resolved/val-refresh-ground-truth.yaml"
|
|
7
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
8
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/val-refresh-ground-truth"
|
|
9
|
-
instructions: "{installed_path}/instructions.xml"
|
|
10
|
-
validation: "{installed_path}/checklist.md"
|
|
11
|
-
parameters:
|
|
12
|
-
incremental:
|
|
13
|
-
flag: "--incremental"
|
|
14
|
-
description: "Only scan files modified since last refresh timestamp. Full refresh is default."
|
|
15
|
-
default: false
|
|
16
|
-
required_skill_sections:
|
|
17
|
-
- "ground-truth-management:full-refresh"
|
|
18
|
-
- "ground-truth-management:incremental-refresh"
|
|
19
|
-
- "ground-truth-management:entry-structure"
|
|
20
|
-
- "ground-truth-management:conflict-resolution"
|
|
21
|
-
- "ground-truth-management:token-budget"
|
|
22
|
-
input_file_patterns:
|
|
23
|
-
ground_truth:
|
|
24
|
-
whole: "{memory_path}/validator-sidecar/ground-truth.md"
|
|
25
|
-
load_strategy: "FULL_LOAD"
|
|
26
|
-
on_error:
|
|
27
|
-
missing_file: "ask_user"
|
|
28
|
-
unresolved_variable: "halt"
|
|
29
|
-
|
|
30
|
-
output:
|
|
31
|
-
primary: "{memory_path}/validator-sidecar/ground-truth.md"
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# val-validate-artifact — Workflow Checklist
|
|
2
|
-
|
|
3
|
-
## File Structure
|
|
4
|
-
- [ ] `workflow.yaml` exists in `val-validate-artifact/`
|
|
5
|
-
- [ ] `instructions.xml` exists in `val-validate-artifact/`
|
|
6
|
-
- [ ] `checklist.md` exists in `val-validate-artifact/`
|
|
7
|
-
|
|
8
|
-
## workflow.yaml Verification
|
|
9
|
-
- [ ] `name: val-validate-artifact`
|
|
10
|
-
- [ ] `module: lifecycle`
|
|
11
|
-
- [ ] `agent: validator`
|
|
12
|
-
- [ ] `model_override: opus` — mandatory, not configurable (ADR-012)
|
|
13
|
-
- [ ] `installed_path` correctly set
|
|
14
|
-
- [ ] `instructions` references `{installed_path}/instructions.xml`
|
|
15
|
-
- [ ] `validation` references `{installed_path}/checklist.md`
|
|
16
|
-
- [ ] `input_file_patterns` includes target artifact and ground-truth paths
|
|
17
|
-
- [ ] `on_error` handles missing ground truth gracefully (continue without cross-reference)
|
|
18
|
-
- [ ] `on_error` halts on missing artifact
|
|
19
|
-
- [ ] `output.primary` references the target artifact itself
|
|
20
|
-
|
|
21
|
-
## instructions.xml Verification
|
|
22
|
-
- [ ] Exactly 8 steps present
|
|
23
|
-
- [ ] Step 1: Parse Artifact — heading structure, section map, chunking strategy
|
|
24
|
-
- [ ] Step 2: Extract Claims — JIT loads `claim-extraction` section, handles no-claims edge case
|
|
25
|
-
- [ ] Step 3: Filesystem Verify — JIT loads `filesystem-verification` section
|
|
26
|
-
- [ ] Step 4: Cross-Reference Ground Truth — JIT loads `cross-reference` section, handles missing/empty ground truth
|
|
27
|
-
- [ ] Step 5: Classify Findings — JIT loads `severity-classification` section, three severity levels (CRITICAL/WARNING/INFO)
|
|
28
|
-
- [ ] Step 6: Discussion Loop — `template-output` checkpoint, user confirmation enforced
|
|
29
|
-
- [ ] Step 7: Write Approved Findings — JIT loads `findings-formatting` section, replaces existing findings section
|
|
30
|
-
- [ ] Step 8: Save to Val Memory — auto-saves decision-log + conversation-context (no user prompt)
|
|
31
|
-
|
|
32
|
-
## Skill Section References
|
|
33
|
-
- [ ] `claim-extraction` referenced in Step 2
|
|
34
|
-
- [ ] `filesystem-verification` referenced in Step 3
|
|
35
|
-
- [ ] `cross-reference` referenced in Step 4
|
|
36
|
-
- [ ] `severity-classification` referenced in Step 5
|
|
37
|
-
- [ ] `findings-formatting` referenced in Step 7
|
|
38
|
-
|
|
39
|
-
## Edge Cases
|
|
40
|
-
- [ ] No-claims artifact: graceful completion with "No factual claims identified" message
|
|
41
|
-
- [ ] Missing ground truth: filesystem verification runs, note included in findings
|
|
42
|
-
- [ ] Empty ground truth: same behavior as missing
|
|
43
|
-
- [ ] All findings disputed: no findings written, graceful completion
|
|
44
|
-
- [ ] Existing `## Validation Findings` section: replaced entirely (not appended)
|
|
45
|
-
|
|
46
|
-
## Quality Checks
|
|
47
|
-
- [ ] Diplomatic framing enforced (Val proposes, user decides)
|
|
48
|
-
- [ ] User confirmation mandatory before writing findings (template-output in Step 6)
|
|
49
|
-
- [ ] `model_override: opus` enforced — workflow fails clearly if opus unavailable
|
|
50
|
-
- [ ] Findings include timestamp and workflow version
|
|
51
|
-
- [ ] `<next-step>` block references `/gaia-val-validate` (no /gaia-val-save — auto-save is built-in)
|
|
52
|
-
|
|
53
|
-
## Integration
|
|
54
|
-
- [ ] `workflow-manifest.csv` has `val-validate-artifact` entry with correct fields
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
<workflow name="val-validate-artifact">
|
|
2
|
-
<critical>
|
|
3
|
-
<mandate>Val NEVER writes findings to an artifact without explicit user confirmation. The discussion loop (Step 6) is a MANDATORY interaction point.</mandate>
|
|
4
|
-
<mandate>model_override: opus is architecturally mandated (ADR-012). If the current model is not opus, HALT with a clear error — do NOT silently degrade validation quality.</mandate>
|
|
5
|
-
<mandate>Findings must be framed diplomatically — Val proposes, the user decides. Use neutral language: "appears to be", "may be outdated", "could not verify" rather than accusatory phrasing.</mandate>
|
|
6
|
-
<mandate>Each skill section is loaded JIT and released before the next step. Never pre-load skill sections.</mandate>
|
|
7
|
-
<mandate>For large artifacts, validate section-by-section using the heading map from Step 1. Never load the entire artifact at once for validation.</mandate>
|
|
8
|
-
</critical>
|
|
9
|
-
|
|
10
|
-
<step n="1" title="Parse Artifact">
|
|
11
|
-
<action>Read the target artifact at {artifact_path}</action>
|
|
12
|
-
<action>Parse the heading structure (##, ###, ####) into a section map: for each section, record heading level, title, and line range</action>
|
|
13
|
-
<action>Determine chunking strategy based on artifact size:
|
|
14
|
-
— Small artifact (under 200 lines): treat as single chunk, validate all at once
|
|
15
|
-
— Medium artifact (200–600 lines): chunk by top-level sections (## headings)
|
|
16
|
-
— Large artifact (over 600 lines): chunk by second-level sections (### headings) for finer granularity</action>
|
|
17
|
-
<action>If the artifact has no headings (e.g., flat content): treat the entire artifact as a single chunk</action>
|
|
18
|
-
<action>Present the section map to confirm scope: "{N} sections identified, {M} chunks for validation"</action>
|
|
19
|
-
</step>
|
|
20
|
-
|
|
21
|
-
<step n="2" title="Extract Claims">
|
|
22
|
-
<!-- SKILL-REF: validation-patterns.md SECTION: claim-extraction -->
|
|
23
|
-
<action>Load the "claim-extraction" section from the validation-patterns skill (JIT)</action>
|
|
24
|
-
<action>For each chunk from Step 1, extract all verifiable factual claims:
|
|
25
|
-
— File paths: any reference to a file or directory (e.g., "_gaia/dev/agents/", "docs/planning-artifacts/prd.md")
|
|
26
|
-
— Component counts: numerical assertions about how many agents, workflows, skills, etc. exist
|
|
27
|
-
— Agent/workflow/skill references: named references to framework components
|
|
28
|
-
— FR/ADR cross-references: requirement IDs (FR-*) and architectural decision references (ADR-*)
|
|
29
|
-
— Version numbers: framework version, module versions, dependency versions
|
|
30
|
-
— Structural assertions: claims about directory structure, file contents, or configuration values</action>
|
|
31
|
-
<action>For each claim, record: claim text, source section, source line (approximate), claim type</action>
|
|
32
|
-
<action>If no verifiable factual claims are found in the entire artifact: produce a report stating "No factual claims identified for verification" and skip to workflow completion — do NOT write an empty findings section</action>
|
|
33
|
-
<action>Release the "claim-extraction" skill section from context</action>
|
|
34
|
-
</step>
|
|
35
|
-
|
|
36
|
-
<step n="3" title="Filesystem Verify">
|
|
37
|
-
<!-- SKILL-REF: validation-patterns.md SECTION: filesystem-verification -->
|
|
38
|
-
<action>Load the "filesystem-verification" section from the validation-patterns skill (JIT)</action>
|
|
39
|
-
<action>For each extracted claim, verify against the actual filesystem:
|
|
40
|
-
— File path claims: check if the file/directory exists at the stated path using glob or direct read
|
|
41
|
-
— Count claims: enumerate actual items and compare against the stated count
|
|
42
|
-
— Content assertions: read the referenced file and verify the stated content matches
|
|
43
|
-
— Structural claims: verify directory structures match the described layout</action>
|
|
44
|
-
<action>For each claim, record verification result: VERIFIED (claim matches reality) or FAILED (claim does not match) with evidence</action>
|
|
45
|
-
<action>Release the "filesystem-verification" skill section from context</action>
|
|
46
|
-
</step>
|
|
47
|
-
|
|
48
|
-
<step n="4" title="Cross-Reference Ground Truth">
|
|
49
|
-
<!-- SKILL-REF: validation-patterns.md SECTION: cross-reference -->
|
|
50
|
-
<action>Check if {memory_path}/validator-sidecar/ground-truth.md exists and is non-empty</action>
|
|
51
|
-
<action>If ground-truth.md is missing or empty: skip cross-reference checks. Record a note: "Ground truth not available — cross-reference checks skipped." Proceed to Step 5. Filesystem verification results from Step 3 are still valid.</action>
|
|
52
|
-
<action>If ground-truth.md exists and is non-empty:
|
|
53
|
-
— Load the "cross-reference" section from the validation-patterns skill (JIT)
|
|
54
|
-
— For each claim that was VERIFIED in Step 3, cross-reference against ground truth:
|
|
55
|
-
— Check if ground truth contains a contradicting fact
|
|
56
|
-
— Check if ground truth has a more recent or more precise version of the same fact
|
|
57
|
-
— Flag any discrepancies between the artifact claim and ground truth
|
|
58
|
-
— Release the "cross-reference" skill section from context</action>
|
|
59
|
-
</step>
|
|
60
|
-
|
|
61
|
-
<step n="5" title="Classify Findings">
|
|
62
|
-
<!-- SKILL-REF: validation-patterns.md SECTION: severity-classification -->
|
|
63
|
-
<action>Load the "severity-classification" section from the validation-patterns skill (JIT)</action>
|
|
64
|
-
<action>Compile all findings from Steps 3 and 4 — only FAILED verifications and ground-truth discrepancies</action>
|
|
65
|
-
<action>Classify each finding into exactly one severity level:
|
|
66
|
-
— **CRITICAL**: Wrong file path (file does not exist), incorrect count (stated N but actual is M), broken reference (FR/ADR/component does not exist), contradicts ground truth on a verified fact
|
|
67
|
-
— **WARNING**: Outdated reference (file exists but content has changed), stale data (version number is behind), ground truth has newer information
|
|
68
|
-
— **INFO**: Style suggestion (naming inconsistency), minor inconsistency (non-breaking), cosmetic discrepancy</action>
|
|
69
|
-
<action>If no findings were produced (all claims verified, no discrepancies): report "All {N} claims verified — no findings." Skip Steps 6 and 7 — proceed to workflow completion.</action>
|
|
70
|
-
<action>Release the "severity-classification" skill section from context</action>
|
|
71
|
-
</step>
|
|
72
|
-
|
|
73
|
-
<step n="6" title="Discussion Loop">
|
|
74
|
-
<action>Present all classified findings to the user in a structured table:
|
|
75
|
-
|
|
76
|
-
| # | Severity | Section | Claim | Finding | Evidence |
|
|
77
|
-
|---|----------|---------|-------|---------|----------|
|
|
78
|
-
(one row per finding)
|
|
79
|
-
|
|
80
|
-
Summary: {total} findings — {critical_count} CRITICAL, {warning_count} WARNING, {info_count} INFO</action>
|
|
81
|
-
|
|
82
|
-
<template-output file="{memory_path}/validator-sidecar/val-findings-draft.md">
|
|
83
|
-
Draft findings table with all classified findings, severity counts, and evidence for each.
|
|
84
|
-
This is a DRAFT — only user-approved findings will be written to the artifact.
|
|
85
|
-
</template-output>
|
|
86
|
-
|
|
87
|
-
<action>For each finding, ask the user to confirm or dispute:
|
|
88
|
-
— APPROVE: finding is correct, include in written output
|
|
89
|
-
— DISPUTE: finding is incorrect or not applicable, exclude from written output
|
|
90
|
-
— EDIT: modify the finding description before approving</action>
|
|
91
|
-
<action>Only findings explicitly approved by the user proceed to Step 7</action>
|
|
92
|
-
<action>If the user disputes ALL findings: report "All findings disputed — no changes written to artifact." Complete the workflow gracefully.</action>
|
|
93
|
-
</step>
|
|
94
|
-
|
|
95
|
-
<step n="7" title="Write Approved Findings">
|
|
96
|
-
<!-- SKILL-REF: validation-patterns.md SECTION: findings-formatting -->
|
|
97
|
-
<action>Load the "findings-formatting" section from the validation-patterns skill (JIT)</action>
|
|
98
|
-
<action>Check if the target artifact already contains a "## Validation Findings" section</action>
|
|
99
|
-
<action>If an existing "## Validation Findings" section is found: replace it entirely with the new findings. Do NOT append — each validation run is a fresh assessment. Prior findings are preserved in git history.</action>
|
|
100
|
-
<action>Write the approved findings to the target artifact under a new "## Validation Findings" section:
|
|
101
|
-
|
|
102
|
-
## Validation Findings
|
|
103
|
-
|
|
104
|
-
> Validated: {date} | Workflow: val-validate-artifact v{framework_version} | Model: opus
|
|
105
|
-
|
|
106
|
-
| # | Severity | Finding | Reference |
|
|
107
|
-
|---|----------|---------|-----------|
|
|
108
|
-
(one row per approved finding — severity tag, one-line summary, what was checked)
|
|
109
|
-
|
|
110
|
-
Summary: {approved_count} finding(s) from {total_checked} claims verified.
|
|
111
|
-
</action>
|
|
112
|
-
<action>Release the "findings-formatting" skill section from context</action>
|
|
113
|
-
</step>
|
|
114
|
-
|
|
115
|
-
<step n="8" title="Save to Val Memory">
|
|
116
|
-
<action>Auto-save all validation results to Val's memory sidecar (no user prompt required):
|
|
117
|
-
|
|
118
|
-
1. Append to {memory_path}/validator-sidecar/decision-log.md using standardized format:
|
|
119
|
-
### [YYYY-MM-DD] Artifact Validation: {artifact_name}
|
|
120
|
-
|
|
121
|
-
- **Agent:** validator
|
|
122
|
-
- **Workflow:** val-validate-artifact
|
|
123
|
-
- **Sprint:** {sprint_id or "N/A"}
|
|
124
|
-
- **Status:** recorded
|
|
125
|
-
- **Related:** {artifact_path}
|
|
126
|
-
|
|
127
|
-
Validated artifact: {artifact_path}.
|
|
128
|
-
Claims checked: {total_claims}. Findings: {total_findings} ({critical_count} critical, {warning_count} warning, {info_count} info).
|
|
129
|
-
Approved: {approved_count}. Disputed: {disputed_count}.
|
|
130
|
-
{Brief summary of key findings}
|
|
131
|
-
|
|
132
|
-
2. Replace body of {memory_path}/validator-sidecar/conversation-context.md (preserve header above first ---):
|
|
133
|
-
Last session: Artifact validation of {artifact_name}.
|
|
134
|
-
Date: {YYYY-MM-DD}. Claims: {total_claims}. Findings: {total_findings}.
|
|
135
|
-
Approved: {approved_count}. Disputed: {disputed_count}.
|
|
136
|
-
|
|
137
|
-
If _memory/validator-sidecar/ directory or files don't exist, create them with standard headers:
|
|
138
|
-
decision-log.md: "# Val Validator — Decision Log\n\n> Chronological record of validation decisions.\n\n---"
|
|
139
|
-
conversation-context.md: "# Val Validator — Conversation Context\n\n> Rolling summary of the most recent validation session.\n\n---\n\nNo sessions recorded yet."
|
|
140
|
-
If writing fails, log warning and continue — memory save is non-blocking.</action>
|
|
141
|
-
</step>
|
|
142
|
-
<next-step>
|
|
143
|
-
Suggested next steps:
|
|
144
|
-
- /gaia-val-validate — run validation again on a different artifact
|
|
145
|
-
</next-step>
|
|
146
|
-
|
|
147
|
-
</workflow>
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# Structural validation tests for E8-S6: val-validate-artifact workflow
|
|
3
|
-
# These tests verify all acceptance criteria are met.
|
|
4
|
-
|
|
5
|
-
WORKFLOW_DIR="_gaia/lifecycle/workflows/4-implementation/val-validate-artifact"
|
|
6
|
-
MANIFEST="_gaia/_config/workflow-manifest.csv"
|
|
7
|
-
ROOT=$(cd "$(dirname "$0")/../../../../.." && pwd)
|
|
8
|
-
PASS=0
|
|
9
|
-
FAIL=0
|
|
10
|
-
|
|
11
|
-
pass() { echo " ✓ $1"; PASS=$((PASS + 1)); }
|
|
12
|
-
fail() { echo " ✗ $1"; FAIL=$((FAIL + 1)); }
|
|
13
|
-
|
|
14
|
-
cd "$ROOT"
|
|
15
|
-
|
|
16
|
-
echo "=== E8-S6 Structural Tests ==="
|
|
17
|
-
echo ""
|
|
18
|
-
|
|
19
|
-
# AC1: Directory contains three files
|
|
20
|
-
echo "AC1: Workflow directory structure"
|
|
21
|
-
[ -f "$WORKFLOW_DIR/workflow.yaml" ] && pass "workflow.yaml exists" || fail "workflow.yaml missing"
|
|
22
|
-
[ -f "$WORKFLOW_DIR/instructions.xml" ] && pass "instructions.xml exists" || fail "instructions.xml missing"
|
|
23
|
-
[ -f "$WORKFLOW_DIR/checklist.md" ] && pass "checklist.md exists" || fail "checklist.md missing"
|
|
24
|
-
|
|
25
|
-
# AC2: workflow.yaml fields
|
|
26
|
-
echo ""
|
|
27
|
-
echo "AC2: workflow.yaml required fields"
|
|
28
|
-
if [ -f "$WORKFLOW_DIR/workflow.yaml" ]; then
|
|
29
|
-
grep -q "^name: val-validate-artifact" "$WORKFLOW_DIR/workflow.yaml" && pass "name field correct" || fail "name field incorrect"
|
|
30
|
-
grep -q "^module: lifecycle" "$WORKFLOW_DIR/workflow.yaml" && pass "module field correct" || fail "module field incorrect"
|
|
31
|
-
grep -q "^agent: validator" "$WORKFLOW_DIR/workflow.yaml" && pass "agent field correct" || fail "agent field incorrect"
|
|
32
|
-
grep -q "model_override: opus" "$WORKFLOW_DIR/workflow.yaml" && pass "model_override: opus present" || fail "model_override: opus missing (AC15)"
|
|
33
|
-
grep -q "installed_path:" "$WORKFLOW_DIR/workflow.yaml" && pass "installed_path present" || fail "installed_path missing"
|
|
34
|
-
grep -q "instructions:" "$WORKFLOW_DIR/workflow.yaml" && pass "instructions present" || fail "instructions missing"
|
|
35
|
-
grep -q "validation:" "$WORKFLOW_DIR/workflow.yaml" && pass "validation present" || fail "validation missing"
|
|
36
|
-
grep -q "input_file_patterns:" "$WORKFLOW_DIR/workflow.yaml" && pass "input_file_patterns present" || fail "input_file_patterns missing"
|
|
37
|
-
else
|
|
38
|
-
fail "workflow.yaml not found — skipping field checks"
|
|
39
|
-
fi
|
|
40
|
-
|
|
41
|
-
# AC3: instructions.xml has exactly 7 steps
|
|
42
|
-
echo ""
|
|
43
|
-
echo "AC3: instructions.xml step structure"
|
|
44
|
-
if [ -f "$WORKFLOW_DIR/instructions.xml" ]; then
|
|
45
|
-
STEP_COUNT=$(grep -c '<step n=' "$WORKFLOW_DIR/instructions.xml")
|
|
46
|
-
[ "$STEP_COUNT" -eq 7 ] && pass "Exactly 7 steps found" || fail "Expected 7 steps, found $STEP_COUNT"
|
|
47
|
-
|
|
48
|
-
# Verify step titles in order
|
|
49
|
-
grep -q 'n="1".*Parse Artifact' "$WORKFLOW_DIR/instructions.xml" && pass "Step 1: Parse Artifact" || fail "Step 1 title mismatch"
|
|
50
|
-
grep -q 'n="2".*Extract Claims' "$WORKFLOW_DIR/instructions.xml" && pass "Step 2: Extract Claims" || fail "Step 2 title mismatch"
|
|
51
|
-
grep -q 'n="3".*Filesystem Verify' "$WORKFLOW_DIR/instructions.xml" && pass "Step 3: Filesystem Verify" || fail "Step 3 title mismatch"
|
|
52
|
-
grep -q 'n="4".*Cross-Reference Ground Truth' "$WORKFLOW_DIR/instructions.xml" && pass "Step 4: Cross-Reference Ground Truth" || fail "Step 4 title mismatch"
|
|
53
|
-
grep -q 'n="5".*Classify Findings' "$WORKFLOW_DIR/instructions.xml" && pass "Step 5: Classify Findings" || fail "Step 5 title mismatch"
|
|
54
|
-
grep -q 'n="6".*Discussion Loop' "$WORKFLOW_DIR/instructions.xml" && pass "Step 6: Discussion Loop" || fail "Step 6 title mismatch"
|
|
55
|
-
grep -q 'n="7".*Write Approved Findings' "$WORKFLOW_DIR/instructions.xml" && pass "Step 7: Write Approved Findings" || fail "Step 7 title mismatch"
|
|
56
|
-
else
|
|
57
|
-
fail "instructions.xml not found — skipping step checks"
|
|
58
|
-
fi
|
|
59
|
-
|
|
60
|
-
# AC5-9: Skill section references (must match validation-patterns.md section names exactly)
|
|
61
|
-
echo ""
|
|
62
|
-
echo "AC5-9: Skill section references"
|
|
63
|
-
if [ -f "$WORKFLOW_DIR/instructions.xml" ]; then
|
|
64
|
-
grep -q "claim-extraction" "$WORKFLOW_DIR/instructions.xml" && pass "claim-extraction section referenced" || fail "claim-extraction section NOT referenced"
|
|
65
|
-
grep -q "filesystem-verification" "$WORKFLOW_DIR/instructions.xml" && pass "filesystem-verification section referenced" || fail "filesystem-verification section NOT referenced"
|
|
66
|
-
grep -q "cross-reference" "$WORKFLOW_DIR/instructions.xml" && pass "cross-reference section referenced" || fail "cross-reference section NOT referenced"
|
|
67
|
-
grep -q "severity-classification" "$WORKFLOW_DIR/instructions.xml" && pass "severity-classification section referenced" || fail "severity-classification section NOT referenced"
|
|
68
|
-
grep -q "findings-formatting" "$WORKFLOW_DIR/instructions.xml" && pass "findings-formatting section referenced" || fail "findings-formatting section NOT referenced"
|
|
69
|
-
else
|
|
70
|
-
fail "instructions.xml not found — skipping skill section checks"
|
|
71
|
-
fi
|
|
72
|
-
|
|
73
|
-
# AC8: Ground truth missing/empty handling
|
|
74
|
-
echo ""
|
|
75
|
-
echo "AC8: Ground truth graceful handling"
|
|
76
|
-
if [ -f "$WORKFLOW_DIR/instructions.xml" ]; then
|
|
77
|
-
grep -q "Ground truth not available" "$WORKFLOW_DIR/instructions.xml" && pass "Missing ground truth message present" || fail "Missing ground truth message NOT found"
|
|
78
|
-
else
|
|
79
|
-
fail "instructions.xml not found"
|
|
80
|
-
fi
|
|
81
|
-
|
|
82
|
-
# AC10: No-claims edge case
|
|
83
|
-
echo ""
|
|
84
|
-
echo "AC10: No-claims edge case"
|
|
85
|
-
if [ -f "$WORKFLOW_DIR/instructions.xml" ]; then
|
|
86
|
-
grep -q "No factual claims" "$WORKFLOW_DIR/instructions.xml" && pass "No-claims message present" || fail "No-claims message NOT found"
|
|
87
|
-
else
|
|
88
|
-
fail "instructions.xml not found"
|
|
89
|
-
fi
|
|
90
|
-
|
|
91
|
-
# AC11: Discussion loop has template-output
|
|
92
|
-
echo ""
|
|
93
|
-
echo "AC11: Discussion loop template-output"
|
|
94
|
-
if [ -f "$WORKFLOW_DIR/instructions.xml" ]; then
|
|
95
|
-
grep -q "template-output" "$WORKFLOW_DIR/instructions.xml" && pass "template-output tag present" || fail "template-output tag NOT found"
|
|
96
|
-
else
|
|
97
|
-
fail "instructions.xml not found"
|
|
98
|
-
fi
|
|
99
|
-
|
|
100
|
-
# AC14: workflow-manifest.csv entry
|
|
101
|
-
echo ""
|
|
102
|
-
echo "AC14: workflow-manifest.csv entry"
|
|
103
|
-
if [ -f "$MANIFEST" ]; then
|
|
104
|
-
grep -q "val-validate-artifact" "$MANIFEST" && pass "val-validate-artifact in manifest" || fail "val-validate-artifact NOT in manifest"
|
|
105
|
-
else
|
|
106
|
-
fail "workflow-manifest.csv not found"
|
|
107
|
-
fi
|
|
108
|
-
|
|
109
|
-
# AC15: model_override opus
|
|
110
|
-
echo ""
|
|
111
|
-
echo "AC15: model_override opus (covered in AC2)"
|
|
112
|
-
|
|
113
|
-
# Summary
|
|
114
|
-
echo ""
|
|
115
|
-
echo "=== Results: $PASS passed, $FAIL failed ==="
|
|
116
|
-
exit $FAIL
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: val-validate-artifact
|
|
2
|
-
description: 'Validate artifact against codebase and ground truth — parse, extract claims, verify, classify, discuss, write findings'
|
|
3
|
-
module: lifecycle
|
|
4
|
-
agent: validator
|
|
5
|
-
model_override: opus
|
|
6
|
-
config_resolved: "{installed_path}/.resolved/val-validate-artifact.yaml"
|
|
7
|
-
config_source: "{project-root}/_gaia/lifecycle/config.yaml"
|
|
8
|
-
installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/val-validate-artifact"
|
|
9
|
-
instructions: "{installed_path}/instructions.xml"
|
|
10
|
-
validation: "{installed_path}/checklist.md"
|
|
11
|
-
input_file_patterns:
|
|
12
|
-
artifact:
|
|
13
|
-
whole: "{artifact_path}"
|
|
14
|
-
load_strategy: "INDEX_GUIDED"
|
|
15
|
-
ground_truth:
|
|
16
|
-
whole: "{memory_path}/validator-sidecar/ground-truth.md"
|
|
17
|
-
load_strategy: "FULL_LOAD"
|
|
18
|
-
quality_gates:
|
|
19
|
-
pre_start:
|
|
20
|
-
- check: "artifact_path is provided and file exists"
|
|
21
|
-
on_fail: "HALT: Target artifact path is required. Usage: /gaia-val-validate <path-to-artifact>"
|
|
22
|
-
- check: "model_override == opus"
|
|
23
|
-
on_fail: "HALT: Val requires opus model per ADR-012. Set model_override to opus in /gaia-val-validate workflow.yaml."
|
|
24
|
-
on_error:
|
|
25
|
-
missing_file: "skip_and_note"
|
|
26
|
-
unresolved_variable: "halt"
|
|
27
|
-
|
|
28
|
-
output:
|
|
29
|
-
primary: "{artifact_path}"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: val-validate-plan Validation Checklist
|
|
3
|
-
validation-target: val-validate-plan workflow
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# val-validate-plan — Validation Checklist
|
|
7
|
-
|
|
8
|
-
## Structure
|
|
9
|
-
- [ ] workflow.yaml exists with correct fields (name, module, agent, model_override, instructions, validation)
|
|
10
|
-
- [ ] instructions.xml exists with numbered steps in correct order
|
|
11
|
-
- [ ] checklist.md exists with validation items
|
|
12
|
-
- [ ] model_override set to opus in workflow.yaml
|
|
13
|
-
|
|
14
|
-
## Protocol Completeness
|
|
15
|
-
- [ ] Step 1: Plan parsing extracts file targets, version bumps, and ADR references
|
|
16
|
-
- [ ] Step 2: File target verification classifies by action verb (Create vs Modify vs Delete)
|
|
17
|
-
- [ ] Step 3: Version bump verification compares plan vs codebase semver values
|
|
18
|
-
- [ ] Step 4: Completeness verification checks for related manifest/config/command files
|
|
19
|
-
- [ ] Step 5: Architecture cross-reference checks ADR alignment (with ground truth fallback)
|
|
20
|
-
- [ ] Step 6: Findings classified by severity (CRITICAL/WARNING/INFO) with discussion loop
|
|
21
|
-
- [ ] Step 7: Approved findings written to plan artifact under Plan Validation Findings section
|
|
22
|
-
- [ ] Step 8: Save to Val Memory — auto-saves decision-log + conversation-context (no user prompt)
|
|
23
|
-
|
|
24
|
-
## Quality
|
|
25
|
-
- [ ] Val is read-only on plan content (append-only for findings section)
|
|
26
|
-
- [ ] Findings use concise one-line-per-finding table format
|
|
27
|
-
- [ ] Discussion loop allows user to approve, dismiss, or edit individual findings
|
|
28
|
-
- [ ] Ground truth fallback produces INFO finding when not seeded (not a hard error)
|
|
29
|
-
- [ ] Skill sections loaded JIT (claim-extraction, filesystem-verification, severity-classification, findings-formatting)
|
|
30
|
-
|
|
31
|
-
## Integration
|
|
32
|
-
- [ ] workflow-manifest.csv contains val-validate-plan entry
|
|
33
|
-
- [ ] Slash command file exists at .claude/commands/gaia-val-validate-plan.md
|
|
34
|
-
- [ ] Agent field set to validator
|