@zigrivers/scaffold 2.28.1 → 2.38.0
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 +309 -136
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/build.js +94 -14
- package/dist/cli/commands/build.js.map +1 -1
- package/dist/cli/commands/build.test.js +30 -5
- package/dist/cli/commands/build.test.js.map +1 -1
- package/dist/cli/commands/check.d.ts +12 -0
- package/dist/cli/commands/check.d.ts.map +1 -0
- package/dist/cli/commands/check.js +311 -0
- package/dist/cli/commands/check.js.map +1 -0
- package/dist/cli/commands/check.test.d.ts +2 -0
- package/dist/cli/commands/check.test.d.ts.map +1 -0
- package/dist/cli/commands/check.test.js +412 -0
- package/dist/cli/commands/check.test.js.map +1 -0
- package/dist/cli/commands/complete.d.ts +12 -0
- package/dist/cli/commands/complete.d.ts.map +1 -0
- package/dist/cli/commands/complete.js +101 -0
- package/dist/cli/commands/complete.js.map +1 -0
- package/dist/cli/commands/complete.test.d.ts +2 -0
- package/dist/cli/commands/complete.test.d.ts.map +1 -0
- package/dist/cli/commands/complete.test.js +133 -0
- package/dist/cli/commands/complete.test.js.map +1 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -1
- package/dist/cli/commands/dashboard.js +12 -8
- package/dist/cli/commands/dashboard.js.map +1 -1
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/info.js +4 -0
- package/dist/cli/commands/info.js.map +1 -1
- package/dist/cli/commands/knowledge.d.ts.map +1 -1
- package/dist/cli/commands/knowledge.js +6 -2
- package/dist/cli/commands/knowledge.js.map +1 -1
- package/dist/cli/commands/knowledge.test.js +16 -11
- package/dist/cli/commands/knowledge.test.js.map +1 -1
- package/dist/cli/commands/next.d.ts.map +1 -1
- package/dist/cli/commands/next.js +41 -13
- package/dist/cli/commands/next.js.map +1 -1
- package/dist/cli/commands/next.test.js +3 -0
- package/dist/cli/commands/next.test.js.map +1 -1
- package/dist/cli/commands/reset.d.ts +1 -0
- package/dist/cli/commands/reset.d.ts.map +1 -1
- package/dist/cli/commands/reset.js +179 -67
- package/dist/cli/commands/reset.js.map +1 -1
- package/dist/cli/commands/reset.test.js +360 -0
- package/dist/cli/commands/reset.test.js.map +1 -1
- package/dist/cli/commands/rework.d.ts +20 -0
- package/dist/cli/commands/rework.d.ts.map +1 -0
- package/dist/cli/commands/rework.js +332 -0
- package/dist/cli/commands/rework.js.map +1 -0
- package/dist/cli/commands/rework.test.d.ts +2 -0
- package/dist/cli/commands/rework.test.d.ts.map +1 -0
- package/dist/cli/commands/rework.test.js +297 -0
- package/dist/cli/commands/rework.test.js.map +1 -0
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +59 -31
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/run.test.js +288 -6
- package/dist/cli/commands/run.test.js.map +1 -1
- package/dist/cli/commands/skill.d.ts +12 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +123 -0
- package/dist/cli/commands/skill.js.map +1 -0
- package/dist/cli/commands/skill.test.d.ts +2 -0
- package/dist/cli/commands/skill.test.d.ts.map +1 -0
- package/dist/cli/commands/skill.test.js +297 -0
- package/dist/cli/commands/skill.test.js.map +1 -0
- package/dist/cli/commands/skip.d.ts +1 -1
- package/dist/cli/commands/skip.d.ts.map +1 -1
- package/dist/cli/commands/skip.js +123 -57
- package/dist/cli/commands/skip.js.map +1 -1
- package/dist/cli/commands/skip.test.js +91 -0
- package/dist/cli/commands/skip.test.js.map +1 -1
- package/dist/cli/commands/status.d.ts +1 -0
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +57 -10
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/commands/status.test.js +81 -0
- package/dist/cli/commands/status.test.js.map +1 -1
- package/dist/cli/commands/update.test.js +252 -0
- package/dist/cli/commands/update.test.js.map +1 -1
- package/dist/cli/commands/version.test.js +171 -1
- package/dist/cli/commands/version.test.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +8 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/core/adapters/adapter.d.ts +14 -0
- package/dist/core/adapters/adapter.d.ts.map +1 -1
- package/dist/core/adapters/adapter.js.map +1 -1
- package/dist/core/adapters/adapter.test.js +10 -0
- package/dist/core/adapters/adapter.test.js.map +1 -1
- package/dist/core/adapters/claude-code.d.ts.map +1 -1
- package/dist/core/adapters/claude-code.js +47 -10
- package/dist/core/adapters/claude-code.js.map +1 -1
- package/dist/core/adapters/claude-code.test.js +41 -20
- package/dist/core/adapters/claude-code.test.js.map +1 -1
- package/dist/core/adapters/codex.d.ts.map +1 -1
- package/dist/core/adapters/codex.js +5 -1
- package/dist/core/adapters/codex.js.map +1 -1
- package/dist/core/adapters/codex.test.js +5 -0
- package/dist/core/adapters/codex.test.js.map +1 -1
- package/dist/core/adapters/universal.d.ts.map +1 -1
- package/dist/core/adapters/universal.js +0 -1
- package/dist/core/adapters/universal.js.map +1 -1
- package/dist/core/adapters/universal.test.js +5 -0
- package/dist/core/adapters/universal.test.js.map +1 -1
- package/dist/core/assembly/context-gatherer.d.ts.map +1 -1
- package/dist/core/assembly/context-gatherer.js +5 -2
- package/dist/core/assembly/context-gatherer.js.map +1 -1
- package/dist/core/assembly/engine.d.ts.map +1 -1
- package/dist/core/assembly/engine.js +10 -2
- package/dist/core/assembly/engine.js.map +1 -1
- package/dist/core/assembly/engine.test.js +19 -0
- package/dist/core/assembly/engine.test.js.map +1 -1
- package/dist/core/assembly/knowledge-loader.d.ts +25 -0
- package/dist/core/assembly/knowledge-loader.d.ts.map +1 -1
- package/dist/core/assembly/knowledge-loader.js +75 -2
- package/dist/core/assembly/knowledge-loader.js.map +1 -1
- package/dist/core/assembly/knowledge-loader.test.js +388 -1
- package/dist/core/assembly/knowledge-loader.test.js.map +1 -1
- package/dist/core/assembly/meta-prompt-loader.d.ts +6 -0
- package/dist/core/assembly/meta-prompt-loader.d.ts.map +1 -1
- package/dist/core/assembly/meta-prompt-loader.js +41 -25
- package/dist/core/assembly/meta-prompt-loader.js.map +1 -1
- package/dist/core/assembly/preset-loader.d.ts +10 -0
- package/dist/core/assembly/preset-loader.d.ts.map +1 -1
- package/dist/core/assembly/preset-loader.js +26 -1
- package/dist/core/assembly/preset-loader.js.map +1 -1
- package/dist/core/assembly/preset-loader.test.js +65 -1
- package/dist/core/assembly/preset-loader.test.js.map +1 -1
- package/dist/core/assembly/update-mode.d.ts.map +1 -1
- package/dist/core/assembly/update-mode.js +10 -4
- package/dist/core/assembly/update-mode.js.map +1 -1
- package/dist/core/assembly/update-mode.test.js +47 -0
- package/dist/core/assembly/update-mode.test.js.map +1 -1
- package/dist/core/dependency/dependency.d.ts.map +1 -1
- package/dist/core/dependency/dependency.js +3 -2
- package/dist/core/dependency/dependency.js.map +1 -1
- package/dist/core/dependency/dependency.test.js +2 -0
- package/dist/core/dependency/dependency.test.js.map +1 -1
- package/dist/core/dependency/eligibility.js +3 -3
- package/dist/core/dependency/eligibility.js.map +1 -1
- package/dist/core/dependency/eligibility.test.js +2 -0
- package/dist/core/dependency/eligibility.test.js.map +1 -1
- package/dist/core/dependency/graph.d.ts.map +1 -1
- package/dist/core/dependency/graph.js +4 -0
- package/dist/core/dependency/graph.js.map +1 -1
- package/dist/core/dependency/graph.test.d.ts +2 -0
- package/dist/core/dependency/graph.test.d.ts.map +1 -0
- package/dist/core/dependency/graph.test.js +262 -0
- package/dist/core/dependency/graph.test.js.map +1 -0
- package/dist/core/rework/phase-selector.d.ts +24 -0
- package/dist/core/rework/phase-selector.d.ts.map +1 -0
- package/dist/core/rework/phase-selector.js +98 -0
- package/dist/core/rework/phase-selector.js.map +1 -0
- package/dist/core/rework/phase-selector.test.d.ts +2 -0
- package/dist/core/rework/phase-selector.test.d.ts.map +1 -0
- package/dist/core/rework/phase-selector.test.js +138 -0
- package/dist/core/rework/phase-selector.test.js.map +1 -0
- package/dist/dashboard/generator.d.ts +48 -17
- package/dist/dashboard/generator.d.ts.map +1 -1
- package/dist/dashboard/generator.js +75 -5
- package/dist/dashboard/generator.js.map +1 -1
- package/dist/dashboard/generator.test.js +213 -5
- package/dist/dashboard/generator.test.js.map +1 -1
- package/dist/dashboard/template.d.ts +1 -1
- package/dist/dashboard/template.d.ts.map +1 -1
- package/dist/dashboard/template.js +755 -114
- package/dist/dashboard/template.js.map +1 -1
- package/dist/e2e/knowledge.test.js +4 -3
- package/dist/e2e/knowledge.test.js.map +1 -1
- package/dist/e2e/pipeline.test.js +2 -0
- package/dist/e2e/pipeline.test.js.map +1 -1
- package/dist/e2e/rework.test.d.ts +6 -0
- package/dist/e2e/rework.test.d.ts.map +1 -0
- package/dist/e2e/rework.test.js +226 -0
- package/dist/e2e/rework.test.js.map +1 -0
- package/dist/index.js +0 -0
- package/dist/project/adopt.test.js +2 -0
- package/dist/project/adopt.test.js.map +1 -1
- package/dist/project/claude-md.js +2 -2
- package/dist/project/claude-md.js.map +1 -1
- package/dist/project/claude-md.test.js +4 -4
- package/dist/project/claude-md.test.js.map +1 -1
- package/dist/project/detector.d.ts.map +1 -1
- package/dist/project/detector.js +4 -1
- package/dist/project/detector.js.map +1 -1
- package/dist/project/frontmatter.d.ts.map +1 -1
- package/dist/project/frontmatter.js +54 -15
- package/dist/project/frontmatter.js.map +1 -1
- package/dist/project/frontmatter.test.js +2 -2
- package/dist/project/frontmatter.test.js.map +1 -1
- package/dist/state/rework-manager.d.ts +16 -0
- package/dist/state/rework-manager.d.ts.map +1 -0
- package/dist/state/rework-manager.js +126 -0
- package/dist/state/rework-manager.js.map +1 -0
- package/dist/state/rework-manager.test.d.ts +2 -0
- package/dist/state/rework-manager.test.d.ts.map +1 -0
- package/dist/state/rework-manager.test.js +191 -0
- package/dist/state/rework-manager.test.js.map +1 -0
- package/dist/state/state-manager.d.ts +13 -0
- package/dist/state/state-manager.d.ts.map +1 -1
- package/dist/state/state-manager.js +39 -2
- package/dist/state/state-manager.js.map +1 -1
- package/dist/state/state-manager.test.js +74 -1
- package/dist/state/state-manager.test.js.map +1 -1
- package/dist/state/state-migration.d.ts +23 -0
- package/dist/state/state-migration.d.ts.map +1 -0
- package/dist/state/state-migration.js +144 -0
- package/dist/state/state-migration.js.map +1 -0
- package/dist/state/state-migration.test.d.ts +2 -0
- package/dist/state/state-migration.test.d.ts.map +1 -0
- package/dist/state/state-migration.test.js +451 -0
- package/dist/state/state-migration.test.js.map +1 -0
- package/dist/types/assembly.d.ts +2 -0
- package/dist/types/assembly.d.ts.map +1 -1
- package/dist/types/dependency.d.ts +2 -2
- package/dist/types/dependency.d.ts.map +1 -1
- package/dist/types/frontmatter.d.ts +100 -7
- package/dist/types/frontmatter.d.ts.map +1 -1
- package/dist/types/frontmatter.js +89 -1
- package/dist/types/frontmatter.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/lock.d.ts +1 -1
- package/dist/types/lock.d.ts.map +1 -1
- package/dist/types/rework.d.ts +36 -0
- package/dist/types/rework.d.ts.map +1 -0
- package/dist/types/rework.js +2 -0
- package/dist/types/rework.js.map +1 -0
- package/dist/utils/errors.d.ts +1 -0
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +8 -0
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/fs.d.ts +6 -0
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +13 -0
- package/dist/utils/fs.js.map +1 -1
- package/dist/validation/config-validator.test.d.ts +2 -0
- package/dist/validation/config-validator.test.d.ts.map +1 -0
- package/dist/validation/config-validator.test.js +210 -0
- package/dist/validation/config-validator.test.js.map +1 -0
- package/dist/validation/dependency-validator.test.d.ts +2 -0
- package/dist/validation/dependency-validator.test.d.ts.map +1 -0
- package/dist/validation/dependency-validator.test.js +215 -0
- package/dist/validation/dependency-validator.test.js.map +1 -0
- package/dist/validation/frontmatter-validator.test.d.ts +2 -0
- package/dist/validation/frontmatter-validator.test.d.ts.map +1 -0
- package/dist/validation/frontmatter-validator.test.js +371 -0
- package/dist/validation/frontmatter-validator.test.js.map +1 -0
- package/dist/validation/state-validator.test.d.ts +2 -0
- package/dist/validation/state-validator.test.d.ts.map +1 -0
- package/dist/validation/state-validator.test.js +325 -0
- package/dist/validation/state-validator.test.js.map +1 -0
- package/dist/wizard/suggestion.test.d.ts +2 -0
- package/dist/wizard/suggestion.test.d.ts.map +1 -0
- package/dist/wizard/suggestion.test.js +115 -0
- package/dist/wizard/suggestion.test.js.map +1 -0
- package/dist/wizard/wizard.d.ts.map +1 -1
- package/dist/wizard/wizard.js +34 -1
- package/dist/wizard/wizard.js.map +1 -1
- package/knowledge/core/adr-craft.md +4 -0
- package/knowledge/core/api-design.md +4 -0
- package/knowledge/core/automated-review-tooling.md +203 -0
- package/knowledge/core/coding-conventions.md +1 -1
- package/knowledge/core/database-design.md +4 -0
- package/knowledge/core/design-system-tokens.md +4 -0
- package/knowledge/core/domain-modeling.md +4 -0
- package/knowledge/core/git-workflow-patterns.md +200 -0
- package/knowledge/core/operations-runbook.md +5 -1
- package/knowledge/core/security-best-practices.md +4 -0
- package/knowledge/core/system-architecture.md +5 -1
- package/knowledge/core/task-decomposition.md +118 -3
- package/knowledge/core/user-story-innovation.md +13 -0
- package/knowledge/core/ux-specification.md +13 -0
- package/knowledge/execution/enhancement-workflow.md +201 -0
- package/knowledge/execution/task-claiming-strategy.md +130 -0
- package/knowledge/execution/tdd-execution-loop.md +172 -0
- package/knowledge/execution/worktree-management.md +205 -0
- package/knowledge/finalization/apply-fixes-and-freeze.md +12 -0
- package/knowledge/finalization/developer-onboarding.md +4 -0
- package/knowledge/finalization/implementation-playbook.md +83 -5
- package/knowledge/product/gap-analysis.md +5 -1
- package/knowledge/product/prd-innovation.md +12 -0
- package/knowledge/product/vision-craft.md +213 -0
- package/knowledge/review/review-adr.md +12 -0
- package/knowledge/review/review-api-design.md +13 -0
- package/knowledge/review/review-database-design.md +13 -0
- package/knowledge/review/review-domain-modeling.md +5 -1
- package/knowledge/review/review-implementation-tasks.md +58 -1
- package/knowledge/review/review-methodology.md +11 -0
- package/knowledge/review/review-operations.md +12 -0
- package/knowledge/review/review-prd.md +13 -0
- package/knowledge/review/review-security.md +12 -0
- package/knowledge/review/review-system-architecture.md +4 -2
- package/knowledge/review/review-testing-strategy.md +11 -0
- package/knowledge/review/review-user-stories.md +11 -0
- package/knowledge/review/review-ux-specification.md +13 -1
- package/knowledge/review/review-vision.md +255 -0
- package/knowledge/tools/release-management.md +222 -0
- package/knowledge/tools/session-analysis.md +215 -0
- package/knowledge/tools/version-strategy.md +200 -0
- package/knowledge/validation/critical-path-analysis.md +1 -1
- package/knowledge/validation/cross-phase-consistency.md +12 -0
- package/knowledge/validation/decision-completeness.md +13 -1
- package/knowledge/validation/dependency-validation.md +12 -0
- package/knowledge/validation/scope-management.md +12 -0
- package/knowledge/validation/traceability.md +12 -0
- package/methodology/README.md +37 -0
- package/methodology/custom-defaults.yml +12 -1
- package/methodology/deep.yml +11 -0
- package/methodology/mvp.yml +11 -0
- package/package.json +3 -3
- package/pipeline/architecture/review-architecture.md +18 -7
- package/pipeline/architecture/system-architecture.md +11 -8
- package/pipeline/build/multi-agent-resume.md +245 -0
- package/pipeline/build/multi-agent-start.md +236 -0
- package/pipeline/build/new-enhancement.md +456 -0
- package/pipeline/build/quick-task.md +381 -0
- package/pipeline/build/single-agent-resume.md +210 -0
- package/pipeline/build/single-agent-start.md +207 -0
- package/pipeline/consolidation/claude-md-optimization.md +11 -8
- package/pipeline/consolidation/workflow-audit.md +15 -11
- package/pipeline/decisions/adrs.md +7 -5
- package/pipeline/decisions/review-adrs.md +14 -6
- package/pipeline/environment/ai-memory-setup.md +18 -12
- package/pipeline/environment/automated-pr-review.md +10 -4
- package/pipeline/environment/design-system.md +9 -7
- package/pipeline/environment/dev-env-setup.md +8 -5
- package/pipeline/environment/git-workflow.md +3 -1
- package/pipeline/finalization/apply-fixes-and-freeze.md +16 -5
- package/pipeline/finalization/developer-onboarding-guide.md +22 -8
- package/pipeline/finalization/implementation-playbook.md +40 -11
- package/pipeline/foundation/beads.md +10 -7
- package/pipeline/foundation/coding-standards.md +6 -3
- package/pipeline/foundation/project-structure.md +5 -1
- package/pipeline/foundation/tdd.md +10 -6
- package/pipeline/foundation/tech-stack.md +9 -9
- package/pipeline/integration/add-e2e-testing.md +21 -6
- package/pipeline/modeling/domain-modeling.md +10 -7
- package/pipeline/modeling/review-domain-modeling.md +17 -6
- package/pipeline/parity/platform-parity-review.md +31 -11
- package/pipeline/planning/implementation-plan-review.md +21 -10
- package/pipeline/planning/implementation-plan.md +52 -19
- package/pipeline/pre/create-prd.md +22 -7
- package/pipeline/pre/innovate-prd.md +10 -8
- package/pipeline/pre/innovate-user-stories.md +9 -7
- package/pipeline/pre/review-prd.md +11 -2
- package/pipeline/pre/review-user-stories.md +12 -3
- package/pipeline/pre/user-stories.md +12 -7
- package/pipeline/quality/create-evals.md +10 -6
- package/pipeline/quality/operations.md +16 -12
- package/pipeline/quality/review-operations.md +19 -10
- package/pipeline/quality/review-security.md +21 -11
- package/pipeline/quality/review-testing.md +23 -12
- package/pipeline/quality/security.md +17 -13
- package/pipeline/quality/story-tests.md +6 -4
- package/pipeline/specification/api-contracts.md +11 -6
- package/pipeline/specification/database-schema.md +12 -6
- package/pipeline/specification/review-api.md +18 -9
- package/pipeline/specification/review-database.md +18 -9
- package/pipeline/specification/review-ux.md +20 -10
- package/pipeline/specification/ux-spec.md +8 -5
- package/pipeline/validation/critical-path-walkthrough.md +14 -7
- package/pipeline/validation/cross-phase-consistency.md +14 -7
- package/pipeline/validation/decision-completeness.md +14 -7
- package/pipeline/validation/dependency-graph-validation.md +15 -7
- package/pipeline/validation/implementability-dry-run.md +15 -7
- package/pipeline/validation/scope-creep-check.md +15 -7
- package/pipeline/validation/traceability-matrix.md +20 -7
- package/pipeline/vision/create-vision.md +267 -0
- package/pipeline/vision/innovate-vision.md +157 -0
- package/pipeline/vision/review-vision.md +149 -0
- package/skills/scaffold-pipeline/SKILL.md +33 -18
- package/skills/scaffold-runner/SKILL.md +172 -18
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-testing
|
|
3
3
|
description: Review testing strategy for coverage gaps and feasibility
|
|
4
|
+
summary: "Audits the testing strategy for coverage gaps by layer, verifies edge cases from domain invariants are tested, and checks that test environment assumptions match actual config."
|
|
4
5
|
phase: "quality"
|
|
5
6
|
order: 910
|
|
6
|
-
dependencies: [tdd]
|
|
7
|
+
dependencies: [tdd, system-architecture]
|
|
7
8
|
outputs: [docs/reviews/review-testing.md, docs/reviews/testing/review-summary.md, docs/reviews/testing/codex-review.json, docs/reviews/testing/gemini-review.json]
|
|
9
|
+
reads: [domain-modeling, system-architecture]
|
|
8
10
|
conditional: null
|
|
9
|
-
knowledge-base: [review-methodology, review-testing-strategy]
|
|
11
|
+
knowledge-base: [review-methodology, review-testing-strategy, multi-model-review-dispatch, review-step-template]
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
## Purpose
|
|
@@ -30,11 +32,14 @@ independent review validation.
|
|
|
30
32
|
- docs/reviews/testing/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
33
|
|
|
32
34
|
## Quality Criteria
|
|
33
|
-
- Coverage gaps by layer
|
|
34
|
-
- Domain invariant test cases verified
|
|
35
|
-
-
|
|
36
|
-
- Performance test coverage assessed against NFRs
|
|
37
|
-
- Integration boundaries have integration tests defined
|
|
35
|
+
- (mvp) Coverage gaps by layer documented with severity
|
|
36
|
+
- (deep) Domain invariant test cases verified
|
|
37
|
+
- (deep) Each test environment assumption verified against actual environment config or flagged as unverifiable
|
|
38
|
+
- (deep) Performance test coverage assessed against NFRs
|
|
39
|
+
- (deep) Integration boundaries have integration tests defined
|
|
40
|
+
- Every finding categorized P0-P3 with specific test layer, gap, and issue
|
|
41
|
+
- Fix plan documented for all P0/P1 findings; fixes applied to tdd-standards.md and re-validated
|
|
42
|
+
- Downstream readiness confirmed — no unresolved P0 or P1 findings remain before operations step proceeds
|
|
38
43
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
39
44
|
|
|
40
45
|
## Methodology Scaling
|
|
@@ -42,10 +47,16 @@ independent review validation.
|
|
|
42
47
|
review dispatched to Codex and Gemini if available, with graceful fallback
|
|
43
48
|
to Claude-only enhanced review.
|
|
44
49
|
- **mvp**: Coverage gap check only.
|
|
45
|
-
- **custom:depth(1-5)**: Depth 1
|
|
46
|
-
review + one external model (if CLI available). Depth 5: full review +
|
|
47
|
-
multi-model with reconciliation.
|
|
50
|
+
- **custom:depth(1-5)**: Depth 1: test coverage and pyramid balance pass only. Depth 2: add test quality and naming convention passes. Depth 3: add edge case coverage and CI integration passes. Depth 4: add external model review. Depth 5: multi-model review with reconciliation.
|
|
48
51
|
|
|
49
52
|
## Mode Detection
|
|
50
|
-
Re-review mode if
|
|
51
|
-
|
|
53
|
+
Re-review mode if docs/reviews/review-testing.md or docs/reviews/testing/
|
|
54
|
+
directory exists. If multi-model review artifacts exist under
|
|
55
|
+
docs/reviews/testing/, preserve prior findings still valid.
|
|
56
|
+
|
|
57
|
+
## Update Mode Specifics
|
|
58
|
+
|
|
59
|
+
- **Detect**: `docs/reviews/review-testing.md` exists with tracking comment
|
|
60
|
+
- **Preserve**: Prior findings still valid, resolution decisions, multi-model review artifacts
|
|
61
|
+
- **Triggers**: Upstream artifact changed since last review (compare tracking comment dates)
|
|
62
|
+
- **Conflict resolution**: Previously resolved findings reappearing = regression; flag and re-evaluate
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: security
|
|
3
3
|
description: Security review and documentation
|
|
4
|
+
summary: "Conducts a security review of your entire system — OWASP Top 10 coverage, input validation rules for every user-facing field, data classification, secrets management, CORS policy, rate limiting, and a threat model covering all trust boundaries."
|
|
4
5
|
phase: "quality"
|
|
5
6
|
order: 950
|
|
6
7
|
dependencies: [review-operations]
|
|
7
8
|
outputs: [docs/security-review.md]
|
|
9
|
+
reads: [system-architecture, api-contracts, database-schema]
|
|
8
10
|
conditional: null
|
|
9
11
|
knowledge-base: [security-best-practices]
|
|
10
12
|
---
|
|
@@ -12,7 +14,9 @@ knowledge-base: [security-best-practices]
|
|
|
12
14
|
## Purpose
|
|
13
15
|
Conduct a security review of the entire system design. Document security
|
|
14
16
|
controls, threat model, auth/authz approach, data protection, secrets
|
|
15
|
-
management, and dependency audit strategy.
|
|
17
|
+
management, and dependency audit strategy. The review covers OWASP Top 10
|
|
18
|
+
analysis specific to this project's stack and architecture, plus STRIDE
|
|
19
|
+
threat modeling across all trust boundaries.
|
|
16
20
|
|
|
17
21
|
## Inputs
|
|
18
22
|
- docs/system-architecture.md (required) — attack surface
|
|
@@ -24,18 +28,18 @@ management, and dependency audit strategy.
|
|
|
24
28
|
- docs/security-review.md — security review and controls document
|
|
25
29
|
|
|
26
30
|
## Quality Criteria
|
|
27
|
-
- OWASP top 10 addressed for this specific project
|
|
28
|
-
- Every API endpoint has authentication and authorization requirements specified
|
|
29
|
-
- Auth/authz boundaries defined and consistent with API contracts
|
|
30
|
-
- Input validation rules defined for each user-facing field
|
|
31
|
-
- Data classified by sensitivity with handling requirements
|
|
32
|
-
- Secrets management
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
- Dependency audit
|
|
38
|
-
-
|
|
31
|
+
- (mvp) OWASP top 10 addressed for this specific project
|
|
32
|
+
- (mvp) Every API endpoint has authentication and authorization requirements specified
|
|
33
|
+
- (mvp) Auth/authz boundaries defined and consistent with API contracts
|
|
34
|
+
- (mvp) Input validation rules defined for each user-facing field: data type, maximum length, regex pattern (where applicable), and rejection error message
|
|
35
|
+
- (deep) Data classified by sensitivity with handling requirements
|
|
36
|
+
- (mvp) Secrets management strategy documented with rotation policy (no hardcoded secrets in code)
|
|
37
|
+
- (deep) CORS policy explicitly configured per origin (not wildcard in production)
|
|
38
|
+
- (deep) Rate limiting defined for public-facing endpoints with specific thresholds
|
|
39
|
+
- (deep) Threat model covers all trust boundaries
|
|
40
|
+
- (deep) Dependency audit strategy documented (automated scanning, update cadence)
|
|
41
|
+
- (deep) Dependency audit integrated into CI
|
|
42
|
+
- (deep) Secret rotation testing documented (how to rotate each secret type without downtime)
|
|
39
43
|
|
|
40
44
|
## Methodology Scaling
|
|
41
45
|
- **deep**: Full threat model (STRIDE). OWASP analysis per component.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: story-tests
|
|
3
3
|
description: Generate test skeletons from user story acceptance criteria
|
|
4
|
+
summary: "Generates a test skeleton file for each user story — one pending test case per acceptance criterion, tagged with story and criterion IDs — giving agents a TDD starting point for every feature."
|
|
4
5
|
phase: "quality"
|
|
5
6
|
order: 915
|
|
6
7
|
dependencies: [tdd, review-user-stories, review-architecture]
|
|
7
8
|
outputs: [tests/acceptance/, docs/story-tests-map.md]
|
|
8
|
-
reads: [tech-stack, coding-standards, project-structure]
|
|
9
|
+
reads: [tech-stack, coding-standards, project-structure, api-contracts, database-schema, ux-spec]
|
|
9
10
|
conditional: null
|
|
10
11
|
knowledge-base: [testing-strategy, user-stories]
|
|
11
12
|
---
|
|
@@ -35,14 +36,15 @@ pending/skipped — developers implement them during TDD execution.
|
|
|
35
36
|
ACs → test cases, and layer assignments (unit/integration/e2e)
|
|
36
37
|
|
|
37
38
|
## Quality Criteria
|
|
38
|
-
- Every user story in docs/user-stories.md has a corresponding test file
|
|
39
|
-
- Every acceptance criterion has at least one tagged test case
|
|
39
|
+
- (mvp) Every user story in docs/user-stories.md has a corresponding test file
|
|
40
|
+
- (mvp) Every acceptance criterion has at least one tagged test case
|
|
40
41
|
- Test cases are tagged with story ID and AC ID for traceability
|
|
41
|
-
- Test layer
|
|
42
|
+
- (deep) Test layer assignment: single-function ACs → unit; cross-component ACs → integration; full user journey ACs → e2e
|
|
42
43
|
- Test files use the project's test framework from docs/tech-stack.md
|
|
43
44
|
- All test cases are created as pending/skipped (not implemented)
|
|
44
45
|
- docs/story-tests-map.md shows 100% AC-to-test-case coverage
|
|
45
46
|
- Test file location follows conventions from docs/project-structure.md
|
|
47
|
+
- (deep) Test data fixtures and dependencies documented for each test file
|
|
46
48
|
|
|
47
49
|
## Methodology Scaling
|
|
48
50
|
- **deep**: All stories get test files. Negative test cases for every happy path
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: api-contracts
|
|
3
3
|
description: Specify API contracts for all system interfaces
|
|
4
|
+
summary: "Specifies every API endpoint — request/response shapes, error codes with human-readable messages, auth requirements, pagination, and example payloads — so frontend and backend can be built in parallel."
|
|
4
5
|
phase: "specification"
|
|
5
6
|
order: 830
|
|
6
7
|
dependencies: [review-architecture]
|
|
@@ -13,6 +14,8 @@ knowledge-base: [api-design]
|
|
|
13
14
|
Define API contracts for all system interfaces — REST endpoints, GraphQL schema,
|
|
14
15
|
WebSocket events, or inter-service communication. Each endpoint specifies request/
|
|
15
16
|
response shapes, error codes, authentication requirements, and rate limits.
|
|
17
|
+
Contracts serve as the definitive agreement between frontend and backend agents,
|
|
18
|
+
enabling parallel development with confidence.
|
|
16
19
|
|
|
17
20
|
## Inputs
|
|
18
21
|
- docs/system-architecture.md (required) — component interfaces to specify
|
|
@@ -24,12 +27,14 @@ response shapes, error codes, authentication requirements, and rate limits.
|
|
|
24
27
|
shapes, error contracts, auth requirements
|
|
25
28
|
|
|
26
29
|
## Quality Criteria
|
|
27
|
-
- Every domain operation that crosses a component boundary has an API endpoint
|
|
28
|
-
-
|
|
29
|
-
- Authentication and authorization requirements per endpoint
|
|
30
|
-
- Versioning strategy documented (if applicable)
|
|
31
|
-
- Pagination, filtering, and sorting for list endpoints
|
|
32
|
-
- Idempotency documented for mutating operations
|
|
30
|
+
- (mvp) Every domain operation that crosses a component boundary has an API endpoint
|
|
31
|
+
- (mvp) Every endpoint documents: success response code, error response codes, error response body schema, and at least 2 domain-specific error codes per endpoint with human-readable reason phrases (e.g., 400 `invalid_email`, 409 `user_already_exists`)
|
|
32
|
+
- (mvp) Authentication and authorization requirements per endpoint
|
|
33
|
+
- (deep) Versioning strategy documented (if applicable)
|
|
34
|
+
- (deep) Pagination, filtering, and sorting for list endpoints
|
|
35
|
+
- (deep) Idempotency documented for mutating operations
|
|
36
|
+
- (deep) Pagination schema documented for all list endpoints (cursor or offset, page size limits, total count)
|
|
37
|
+
- (mvp) Example request and response payloads included for each endpoint
|
|
33
38
|
|
|
34
39
|
## Methodology Scaling
|
|
35
40
|
- **deep**: OpenAPI-style specification. Full request/response schemas with
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: database-schema
|
|
3
3
|
description: Design database schema from domain models
|
|
4
|
+
summary: "Translates your domain model into database tables with constraints that enforce business rules, indexes optimized for your API query patterns, and a reversible migration strategy."
|
|
4
5
|
phase: "specification"
|
|
5
6
|
order: 810
|
|
6
7
|
dependencies: [review-architecture]
|
|
7
8
|
outputs: [docs/database-schema.md]
|
|
9
|
+
reads: [domain-modeling, system-architecture, adrs]
|
|
8
10
|
conditional: "if-needed"
|
|
9
11
|
knowledge-base: [database-design]
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
## Purpose
|
|
13
15
|
Translate domain models into a concrete database schema. Define tables/collections,
|
|
14
|
-
relationships, indexes, constraints, and migration strategy.
|
|
16
|
+
relationships, indexes, constraints, and migration strategy. Every domain entity
|
|
17
|
+
maps to a table with appropriate normalization, and every domain invariant is
|
|
18
|
+
enforced at the database level through constraints. Indexing strategy is derived
|
|
19
|
+
from the application's query patterns.
|
|
15
20
|
|
|
16
21
|
## Inputs
|
|
17
22
|
- docs/domain-models/ (required) — entities and relationships to model
|
|
@@ -23,11 +28,12 @@ relationships, indexes, constraints, and migration strategy.
|
|
|
23
28
|
constraints, and migration strategy
|
|
24
29
|
|
|
25
30
|
## Quality Criteria
|
|
26
|
-
- Every domain entity maps to a table/collection (or justified denormalization)
|
|
27
|
-
- Relationships match domain model relationships
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
+
- (mvp) Every domain entity maps to a table/collection (or justified denormalization)
|
|
32
|
+
- (mvp) Relationships match domain model relationships
|
|
33
|
+
- (mvp) Constraints enforce domain invariants at the database level
|
|
34
|
+
- (deep) Migration strategy specifies: migration tool, forward migration approach, rollback approach, and data preservation policy
|
|
35
|
+
- (deep) Every migration is reversible (rollback script or equivalent exists)
|
|
36
|
+
- (mvp) Indexes cover all query patterns referenced in docs/api-contracts.md (if it exists)
|
|
31
37
|
|
|
32
38
|
## Methodology Scaling
|
|
33
39
|
- **deep**: Full schema specification. CREATE TABLE statements or equivalent.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-api
|
|
3
3
|
description: Review API contracts for completeness and consistency
|
|
4
|
+
summary: "Checks that every domain operation has an endpoint, error responses include domain-specific codes, and auth requirements are specified for every route."
|
|
4
5
|
phase: "specification"
|
|
5
6
|
order: 840
|
|
6
7
|
dependencies: [api-contracts]
|
|
7
8
|
outputs: [docs/reviews/review-api.md, docs/reviews/api/review-summary.md, docs/reviews/api/codex-review.json, docs/reviews/api/gemini-review.json]
|
|
8
9
|
conditional: "if-needed"
|
|
9
|
-
knowledge-base: [review-methodology, review-api-design]
|
|
10
|
+
knowledge-base: [review-methodology, review-api-design, multi-model-review-dispatch, review-step-template]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -31,11 +32,14 @@ independent review validation.
|
|
|
31
32
|
- docs/reviews/api/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
32
33
|
|
|
33
34
|
## Quality Criteria
|
|
34
|
-
- Operation coverage against domain model verified
|
|
35
|
-
- Error contracts complete and consistent
|
|
36
|
-
- Auth requirements specified for every endpoint
|
|
37
|
-
- Versioning strategy consistent with ADRs
|
|
38
|
-
- Idempotency documented for all mutating operations
|
|
35
|
+
- (mvp) Operation coverage against domain model verified
|
|
36
|
+
- (deep) Error contracts complete and consistent
|
|
37
|
+
- (deep) Auth requirements specified for every endpoint
|
|
38
|
+
- (deep) Versioning strategy consistent with ADRs
|
|
39
|
+
- (deep) Idempotency documented for all mutating operations
|
|
40
|
+
- (mvp) Every finding categorized P0-P3 with specific endpoint, field, and issue
|
|
41
|
+
- (mvp) Fix plan documented for all P0/P1 findings; fixes applied to api-contracts.md and re-validated
|
|
42
|
+
- (mvp) Downstream readiness confirmed — no unresolved P0 or P1 findings remain before UX spec proceeds
|
|
39
43
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
40
44
|
|
|
41
45
|
## Methodology Scaling
|
|
@@ -43,10 +47,15 @@ independent review validation.
|
|
|
43
47
|
review dispatched to Codex and Gemini if available, with graceful fallback
|
|
44
48
|
to Claude-only enhanced review.
|
|
45
49
|
- **mvp**: Operation coverage check only.
|
|
46
|
-
- **custom:depth(1-5)**: Depth 1
|
|
47
|
-
review + one external model (if CLI available). Depth 5: full review +
|
|
48
|
-
multi-model with reconciliation.
|
|
50
|
+
- **custom:depth(1-5)**: Depth 1: endpoint coverage and response format pass only. Depth 2: add error handling and auth requirement passes. Depth 3: add idempotency, pagination, and versioning passes. Depth 4: add external model API review. Depth 5: multi-model review with reconciliation.
|
|
49
51
|
|
|
50
52
|
## Mode Detection
|
|
51
53
|
Re-review mode if previous review exists. If multi-model review artifacts exist
|
|
52
54
|
under docs/reviews/api/, preserve prior findings still valid.
|
|
55
|
+
|
|
56
|
+
## Update Mode Specifics
|
|
57
|
+
|
|
58
|
+
- **Detect**: `docs/reviews/review-api.md` exists with tracking comment
|
|
59
|
+
- **Preserve**: Prior findings still valid, resolution decisions, multi-model review artifacts
|
|
60
|
+
- **Triggers**: Upstream artifact changed since last review (compare tracking comment dates)
|
|
61
|
+
- **Conflict resolution**: Previously resolved findings reappearing = regression; flag and re-evaluate
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-database
|
|
3
3
|
description: Review database schema for correctness and completeness
|
|
4
|
+
summary: "Verifies every domain entity has a table, constraints enforce business rules at the database level, and indexes cover all query patterns from the API contracts."
|
|
4
5
|
phase: "specification"
|
|
5
6
|
order: 820
|
|
6
7
|
dependencies: [database-schema]
|
|
7
8
|
outputs: [docs/reviews/review-database.md, docs/reviews/database/review-summary.md, docs/reviews/database/codex-review.json, docs/reviews/database/gemini-review.json]
|
|
8
9
|
conditional: "if-needed"
|
|
9
|
-
knowledge-base: [review-methodology, review-database-design]
|
|
10
|
+
knowledge-base: [review-methodology, review-database-design, multi-model-review-dispatch, review-step-template]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -30,11 +31,14 @@ independent review validation.
|
|
|
30
31
|
- docs/reviews/database/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
32
|
|
|
32
33
|
## Quality Criteria
|
|
33
|
-
-
|
|
34
|
-
- Normalization decisions justified
|
|
35
|
-
- Index coverage for known query patterns verified
|
|
36
|
-
- Migration safety assessed
|
|
37
|
-
- Referential integrity matches domain invariants
|
|
34
|
+
- (mvp) Every domain entity has a corresponding table/collection or documented denormalization rationale
|
|
35
|
+
- (mvp) Normalization decisions justified
|
|
36
|
+
- (deep) Index coverage for known query patterns verified
|
|
37
|
+
- (deep) Migration safety assessed
|
|
38
|
+
- (mvp) Referential integrity matches domain invariants
|
|
39
|
+
- (mvp) Every finding categorized P0-P3 with specific table, column, and issue
|
|
40
|
+
- (mvp) Fix plan documented for all P0/P1 findings; fixes applied to database-schema.md and re-validated
|
|
41
|
+
- (mvp) Downstream readiness confirmed — no unresolved P0 or P1 findings remain before API contracts proceed
|
|
38
42
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
39
43
|
|
|
40
44
|
## Methodology Scaling
|
|
@@ -42,10 +46,15 @@ independent review validation.
|
|
|
42
46
|
review dispatched to Codex and Gemini if available, with graceful fallback
|
|
43
47
|
to Claude-only enhanced review.
|
|
44
48
|
- **mvp**: Entity coverage check only.
|
|
45
|
-
- **custom:depth(1-5)**: Depth 1
|
|
46
|
-
review + one external model (if CLI available). Depth 5: full review +
|
|
47
|
-
multi-model with reconciliation.
|
|
49
|
+
- **custom:depth(1-5)**: Depth 1: entity coverage and normalization pass only. Depth 2: add index strategy and migration safety passes. Depth 3: add query performance and data integrity passes. Depth 4: add external model review. Depth 5: multi-model review with reconciliation.
|
|
48
50
|
|
|
49
51
|
## Mode Detection
|
|
50
52
|
Re-review mode if previous review exists. If multi-model review artifacts exist
|
|
51
53
|
under docs/reviews/database/, preserve prior findings still valid.
|
|
54
|
+
|
|
55
|
+
## Update Mode Specifics
|
|
56
|
+
|
|
57
|
+
- **Detect**: `docs/reviews/review-database.md` exists with tracking comment
|
|
58
|
+
- **Preserve**: Prior findings still valid, resolution decisions, multi-model review artifacts
|
|
59
|
+
- **Triggers**: Upstream artifact changed since last review (compare tracking comment dates)
|
|
60
|
+
- **Conflict resolution**: Previously resolved findings reappearing = regression; flag and re-evaluate
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-ux
|
|
3
3
|
description: Review UX specification for completeness and usability
|
|
4
|
+
summary: "Verifies every user story has a flow, accessibility requirements are met, all error states are documented, and the design system is used consistently."
|
|
4
5
|
phase: "specification"
|
|
5
6
|
order: 860
|
|
6
7
|
dependencies: [ux-spec]
|
|
7
8
|
outputs: [docs/reviews/review-ux.md, docs/reviews/ux/review-summary.md, docs/reviews/ux/codex-review.json, docs/reviews/ux/gemini-review.json]
|
|
8
9
|
conditional: "if-needed"
|
|
9
|
-
|
|
10
|
+
reads: [api-contracts]
|
|
11
|
+
knowledge-base: [review-methodology, review-ux-specification, multi-model-review-dispatch, review-step-template]
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
## Purpose
|
|
@@ -30,21 +32,29 @@ independent review validation.
|
|
|
30
32
|
- docs/reviews/ux/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
33
|
|
|
32
34
|
## Quality Criteria
|
|
33
|
-
- User journey coverage verified against PRD
|
|
34
|
-
- Accessibility
|
|
35
|
-
-
|
|
36
|
-
- Design system consistency verified
|
|
37
|
-
- Error states present for all failure-capable actions
|
|
35
|
+
- (mvp) User journey coverage verified against PRD
|
|
36
|
+
- (mvp) Accessibility verified against WCAG level specified in ux-spec
|
|
37
|
+
- (deep) Every user action has at minimum: loading, success, and error states documented
|
|
38
|
+
- (deep) Design system consistency verified
|
|
39
|
+
- (deep) Error states present for all failure-capable actions
|
|
40
|
+
- (mvp) Every finding categorized P0-P3 with specific flow, screen, and issue
|
|
41
|
+
- (mvp) Fix plan documented for all P0/P1 findings; fixes applied to ux-spec.md and re-validated
|
|
42
|
+
- (mvp) Downstream readiness confirmed — no unresolved P0 or P1 findings remain before quality phase proceeds
|
|
38
43
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
39
44
|
|
|
40
45
|
## Methodology Scaling
|
|
41
46
|
- **deep**: Full multi-pass review. Multi-model review dispatched to Codex and
|
|
42
47
|
Gemini if available, with graceful fallback to Claude-only enhanced review.
|
|
43
|
-
|
|
44
|
-
- **custom:depth(1-5)**: Depth 1
|
|
45
|
-
review + one external model (if CLI available). Depth 5: full review +
|
|
46
|
-
multi-model with reconciliation.
|
|
48
|
+
- **mvp**: Journey coverage only.
|
|
49
|
+
- **custom:depth(1-5)**: Depth 1: flow completeness and accessibility pass only. Depth 2: add responsive design and error state passes. Depth 3: add interaction patterns and platform consistency passes. Depth 4: add external model UX review. Depth 5: multi-model review with reconciliation.
|
|
47
50
|
|
|
48
51
|
## Mode Detection
|
|
49
52
|
Re-review mode if previous review exists. If multi-model review artifacts exist
|
|
50
53
|
under docs/reviews/ux/, preserve prior findings still valid.
|
|
54
|
+
|
|
55
|
+
## Update Mode Specifics
|
|
56
|
+
|
|
57
|
+
- **Detect**: `docs/reviews/review-ux.md` exists with tracking comment
|
|
58
|
+
- **Preserve**: Prior findings still valid, resolution decisions, multi-model review artifacts
|
|
59
|
+
- **Triggers**: Upstream artifact changed since last review (compare tracking comment dates)
|
|
60
|
+
- **Conflict resolution**: Previously resolved findings reappearing = regression; flag and re-evaluate
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ux-spec
|
|
3
3
|
description: Specify user flows, interaction states, component architecture, accessibility, and responsive behavior
|
|
4
|
+
summary: "Maps out every user flow with all interaction states (loading, error, empty, populated), defines accessibility requirements (WCAG level, keyboard nav), and specifies responsive behavior at each breakpoint."
|
|
4
5
|
phase: "specification"
|
|
5
6
|
order: 850
|
|
6
7
|
dependencies: [review-architecture]
|
|
7
8
|
outputs: [docs/ux-spec.md]
|
|
8
9
|
conditional: "if-needed"
|
|
10
|
+
reads: [api-contracts, design-system]
|
|
9
11
|
knowledge-base: [ux-specification]
|
|
10
12
|
---
|
|
11
13
|
|
|
@@ -27,12 +29,13 @@ step consumes those tokens, it does not redefine them.
|
|
|
27
29
|
- docs/ux-spec.md — UX specification with flows, components, design system
|
|
28
30
|
|
|
29
31
|
## Quality Criteria
|
|
30
|
-
- Every PRD user journey has a corresponding flow with all states documented
|
|
31
|
-
- Component hierarchy covers all UI states (loading, error, empty, populated)
|
|
32
|
+
- (mvp) Every PRD user journey has a corresponding flow with all states documented
|
|
33
|
+
- (mvp) Component hierarchy covers all UI states (loading, error, empty, populated)
|
|
32
34
|
- References design tokens from docs/design-system.md (does not redefine them)
|
|
33
|
-
- Accessibility requirements documented (WCAG level, keyboard nav, screen readers)
|
|
34
|
-
- Responsive breakpoints defined with layout behavior per breakpoint
|
|
35
|
-
- Error states documented for every user action that can fail
|
|
35
|
+
- (deep) Accessibility requirements documented (WCAG level, keyboard nav, screen readers)
|
|
36
|
+
- (deep) Responsive breakpoints defined with layout behavior per breakpoint
|
|
37
|
+
- (mvp) Error states documented for every user action that can fail
|
|
38
|
+
- (deep) All documented user flows verified at responsive breakpoints (mobile, tablet, desktop) with behavior differences noted
|
|
36
39
|
|
|
37
40
|
## Methodology Scaling
|
|
38
41
|
- **deep**: Full UX specification. Detailed wireframes described in prose.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: critical-path-walkthrough
|
|
3
3
|
description: Walk critical user journeys end-to-end across all specs
|
|
4
|
+
summary: "Walks the most important user journeys end-to-end across every spec layer — PRD to stories to UX to API to database to tasks — and flags any broken handoffs or missing layers."
|
|
4
5
|
phase: "validation"
|
|
5
6
|
order: 1340
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
8
|
outputs: [docs/validation/critical-path-walkthrough.md, docs/validation/critical-path-walkthrough/review-summary.md, docs/validation/critical-path-walkthrough/codex-review.json, docs/validation/critical-path-walkthrough/gemini-review.json]
|
|
8
9
|
conditional: null
|
|
9
|
-
knowledge-base: [critical-path-analysis]
|
|
10
|
+
knowledge-base: [critical-path-analysis, multi-model-review-dispatch]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -31,9 +32,11 @@ spec gaps along the critical path.
|
|
|
31
32
|
- docs/validation/critical-path-walkthrough/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
32
33
|
|
|
33
34
|
## Quality Criteria
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
35
|
+
- (mvp) Top critical user journeys (all Must-have epics, minimum 3) traced end-to-end
|
|
36
|
+
- (deep) Every journey verified at each layer: PRD → Story → UX → API → Architecture → DB → Task
|
|
37
|
+
- (deep) Each critical path verified against story acceptance criteria for behavioral correctness
|
|
38
|
+
- Missing layers or broken handoffs documented with specific gap description
|
|
39
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
37
40
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
38
41
|
|
|
39
42
|
## Finding Disposition
|
|
@@ -54,11 +57,15 @@ proceeding without acknowledgment.
|
|
|
54
57
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
55
58
|
Claude-only enhanced validation.
|
|
56
59
|
- **mvp**: High-level scan for blocking issues only.
|
|
57
|
-
- **custom:depth(1-5)**: Depth 1
|
|
58
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
59
|
-
analysis + multi-model with reconciliation.
|
|
60
|
+
- **custom:depth(1-5)**: Depth 1: identify critical path and verify task ordering. Depth 2: add dependency bottleneck analysis. Depth 3: full walkthrough simulating agent execution of critical path tasks. Depth 4: add external model simulation. Depth 5: multi-model walkthrough with divergence analysis.
|
|
60
61
|
|
|
61
62
|
## Mode Detection
|
|
62
63
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
63
64
|
multi-model artifacts exist under docs/validation/critical-path-walkthrough/,
|
|
64
65
|
they are regenerated each run.
|
|
66
|
+
|
|
67
|
+
## Update Mode Specifics
|
|
68
|
+
- **Detect**: `docs/validation/critical-path-walkthrough/` directory exists with prior multi-model artifacts
|
|
69
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
70
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
71
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cross-phase-consistency
|
|
3
3
|
description: Audit naming, assumptions, data flows, interface contracts across all phases
|
|
4
|
+
summary: "Traces every named concept (entities, fields, API endpoints) across all documents and flags any naming drift, terminology mismatches, or data shape inconsistencies."
|
|
4
5
|
phase: "validation"
|
|
5
6
|
order: 1310
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
8
|
outputs: [docs/validation/cross-phase-consistency.md, docs/validation/cross-phase-consistency/review-summary.md, docs/validation/cross-phase-consistency/codex-review.json, docs/validation/cross-phase-consistency/gemini-review.json]
|
|
8
9
|
conditional: null
|
|
9
|
-
knowledge-base: [cross-phase-consistency]
|
|
10
|
+
knowledge-base: [cross-phase-consistency, multi-model-review-dispatch]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -29,9 +30,11 @@ drift patterns.
|
|
|
29
30
|
- docs/validation/cross-phase-consistency/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
30
31
|
|
|
31
32
|
## Quality Criteria
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
33
|
+
- (mvp) Entity names are consistent across domain models, database schema, and API contracts (zero mismatches)
|
|
34
|
+
- (mvp) Technology references match `docs/tech-stack.md` in all documents
|
|
35
|
+
- (deep) Data flow descriptions in architecture match API endpoint definitions
|
|
36
|
+
- (deep) Terminology is consistent (same concept never uses two different names)
|
|
37
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
35
38
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
36
39
|
|
|
37
40
|
## Finding Disposition
|
|
@@ -52,11 +55,15 @@ proceeding without acknowledgment.
|
|
|
52
55
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
53
56
|
Claude-only enhanced validation.
|
|
54
57
|
- **mvp**: High-level scan for blocking issues only.
|
|
55
|
-
- **custom:depth(1-5)**: Depth 1
|
|
56
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
57
|
-
analysis + multi-model with reconciliation.
|
|
58
|
+
- **custom:depth(1-5)**: Depth 1: entity name check across PRD, user stories, and domain models. Depth 2: add tech stack reference consistency. Depth 3: full terminology audit across all documents with naming collision detection. Depth 4: add external model cross-check. Depth 5: multi-model reconciliation of consistency findings.
|
|
58
59
|
|
|
59
60
|
## Mode Detection
|
|
60
61
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
61
62
|
multi-model artifacts exist under docs/validation/cross-phase-consistency/,
|
|
62
63
|
they are regenerated each run.
|
|
64
|
+
|
|
65
|
+
## Update Mode Specifics
|
|
66
|
+
- **Detect**: `docs/validation/cross-phase-consistency/` directory exists with prior multi-model artifacts
|
|
67
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
68
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
69
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: decision-completeness
|
|
3
3
|
description: Verify all decisions are recorded, justified, non-contradictory
|
|
4
|
+
summary: "Checks that every technology choice and architectural pattern has a recorded decision with rationale, and that no two decisions contradict each other."
|
|
4
5
|
phase: "validation"
|
|
5
6
|
order: 1330
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
8
|
outputs: [docs/validation/decision-completeness.md, docs/validation/decision-completeness/review-summary.md, docs/validation/decision-completeness/codex-review.json, docs/validation/decision-completeness/gemini-review.json]
|
|
8
9
|
conditional: null
|
|
9
|
-
knowledge-base: [decision-completeness]
|
|
10
|
+
knowledge-base: [decision-completeness, multi-model-review-dispatch]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -30,9 +31,11 @@ decisions.
|
|
|
30
31
|
- docs/validation/decision-completeness/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
32
|
|
|
32
33
|
## Quality Criteria
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
34
|
+
- (mvp) Every technology choice in `docs/tech-stack.md` has a corresponding ADR
|
|
35
|
+
- (mvp) No two ADRs contradict each other
|
|
36
|
+
- (deep) Every ADR has alternatives-considered section with pros/cons
|
|
37
|
+
- (deep) Every ADR referenced in `docs/system-architecture.md` exists in `docs/adrs/`
|
|
38
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
36
39
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
37
40
|
|
|
38
41
|
## Finding Disposition
|
|
@@ -53,11 +56,15 @@ proceeding without acknowledgment.
|
|
|
53
56
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
54
57
|
Claude-only enhanced validation.
|
|
55
58
|
- **mvp**: High-level scan for blocking issues only.
|
|
56
|
-
- **custom:depth(1-5)**: Depth 1-3:
|
|
57
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
58
|
-
analysis + multi-model with reconciliation.
|
|
59
|
+
- **custom:depth(1-5)**: Depth 1: verify each major tech choice has an ADR. Depth 2: add alternatives-considered check. Depth 3: full ADR completeness audit (rationale, consequences, status). Depth 4: add external model review of decision quality. Depth 5: multi-model reconciliation of decision coverage.
|
|
59
60
|
|
|
60
61
|
## Mode Detection
|
|
61
62
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
62
63
|
multi-model artifacts exist under docs/validation/decision-completeness/,
|
|
63
64
|
they are regenerated each run.
|
|
65
|
+
|
|
66
|
+
## Update Mode Specifics
|
|
67
|
+
- **Detect**: `docs/validation/decision-completeness/` directory exists with prior multi-model artifacts
|
|
68
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
69
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
70
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dependency-graph-validation
|
|
3
3
|
description: Verify task dependency graphs are acyclic, complete, correctly ordered
|
|
4
|
+
summary: "Verifies the task dependency graph has no cycles (which would deadlock agents), no orphaned tasks, and no chains deeper than three sequential dependencies."
|
|
4
5
|
phase: "validation"
|
|
5
6
|
order: 1360
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
8
|
outputs: [docs/validation/dependency-graph-validation.md, docs/validation/dependency-graph-validation/review-summary.md, docs/validation/dependency-graph-validation/codex-review.json, docs/validation/dependency-graph-validation/gemini-review.json]
|
|
8
9
|
conditional: null
|
|
9
|
-
knowledge-base: [dependency-validation]
|
|
10
|
+
knowledge-base: [dependency-validation, multi-model-review-dispatch]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -30,9 +31,12 @@ and completeness issues.
|
|
|
30
31
|
- docs/validation/dependency-graph-validation/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
32
|
|
|
32
33
|
## Quality Criteria
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
34
|
+
- (mvp) Task dependency graph verified as acyclic (no circular dependencies)
|
|
35
|
+
- (mvp) Every task with dependencies has all dependencies present in the graph
|
|
36
|
+
- (deep) Critical path identified and total estimated duration documented
|
|
37
|
+
- (deep) No task is blocked by more than 3 sequential dependencies (flag deep chains)
|
|
38
|
+
- (deep) Wave assignments are consistent with dependency ordering
|
|
39
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
36
40
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
37
41
|
|
|
38
42
|
## Finding Disposition
|
|
@@ -53,11 +57,15 @@ proceeding without acknowledgment.
|
|
|
53
57
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
54
58
|
Claude-only enhanced validation.
|
|
55
59
|
- **mvp**: High-level scan for blocking issues only.
|
|
56
|
-
- **custom:depth(1-5)**: Depth 1
|
|
57
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
58
|
-
analysis + multi-model with reconciliation.
|
|
60
|
+
- **custom:depth(1-5)**: Depth 1: cycle detection and basic ordering check. Depth 2: add transitive dependency completeness. Depth 3: full DAG validation with critical path identification and parallelization opportunities. Depth 4: add external model review. Depth 5: multi-model validation with optimization recommendations.
|
|
59
61
|
|
|
60
62
|
## Mode Detection
|
|
61
63
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
62
64
|
multi-model artifacts exist under docs/validation/dependency-graph-validation/,
|
|
63
65
|
they are regenerated each run.
|
|
66
|
+
|
|
67
|
+
## Update Mode Specifics
|
|
68
|
+
- **Detect**: `docs/validation/dependency-graph-validation/` directory exists with prior multi-model artifacts
|
|
69
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
70
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
71
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|