create-quiver 0.10.0 → 0.12.1
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/BACKLOG.md +16 -17
- package/CHANGELOG.md +78 -0
- package/README.md +208 -41
- package/README_FOR_AI.md +50 -24
- package/ROADMAP.md +34 -11
- package/docs/AI_CONTEXT.md.template +2 -0
- package/docs/AI_ONBOARDING_PROMPT.md.template +31 -18
- package/docs/COMMANDS.md.template +90 -16
- package/docs/CONTEXTO.md.template +2 -0
- package/docs/DECISIONS.md.template +1 -0
- package/docs/INDEX.md.template +20 -18
- package/docs/STATUS.md.template +6 -1
- package/docs/SUPPORT_MATRIX.md.template +2 -2
- package/docs/TROUBLESHOOTING.md.template +50 -0
- package/docs/WORKFLOW.md.template +27 -17
- package/package.json +27 -4
- package/package.template.json +13 -1
- package/scripts/init-docs.sh +11 -4
- package/scripts/package-quiver.sh +18 -2
- package/specs/quiver-v22-guided-ai-workflow/EVIDENCE_REPORT.md +58 -0
- package/specs/quiver-v22-guided-ai-workflow/EXECUTION_PLAN.md +88 -0
- package/specs/quiver-v22-guided-ai-workflow/SPEC.md +228 -0
- package/specs/quiver-v22-guided-ai-workflow/STATUS.md +42 -0
- package/specs/quiver-v22-guided-ai-workflow/pr.md +104 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/slice.json +51 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/CLOSURE_BRIEF.md +31 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/EXECUTION_BRIEF.md +58 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/slice.json +55 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/CLOSURE_BRIEF.md +30 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/EXECUTION_BRIEF.md +57 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/slice.json +57 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/slice.json +56 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/slice.json +58 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/slice.json +54 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/EXECUTION_BRIEF.md +58 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/slice.json +57 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/EXECUTION_BRIEF.md +58 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/slice.json +55 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/EXECUTION_BRIEF.md +58 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/slice.json +53 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/EXECUTION_BRIEF.md +59 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/slice.json +59 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +58 -0
- package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/slice.json +60 -0
- package/specs/quiver-v23-guided-flow-productization/EVIDENCE_REPORT.md +80 -0
- package/specs/quiver-v23-guided-flow-productization/EXECUTION_PLAN.md +80 -0
- package/specs/quiver-v23-guided-flow-productization/SPEC.md +203 -0
- package/specs/quiver-v23-guided-flow-productization/STATUS.md +39 -0
- package/specs/quiver-v23-guided-flow-productization/pr.md +119 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/slice.json +51 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/EXECUTION_BRIEF.md +35 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/slice.json +56 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/CLOSURE_BRIEF.md +31 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/EXECUTION_BRIEF.md +29 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/slice.json +55 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/EXECUTION_BRIEF.md +29 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/slice.json +54 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/EXECUTION_BRIEF.md +30 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/slice.json +59 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/CLOSURE_BRIEF.md +31 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/EXECUTION_BRIEF.md +29 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/slice.json +53 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/EXECUTION_BRIEF.md +30 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/slice.json +54 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/EXECUTION_BRIEF.md +30 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/slice.json +55 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/EXECUTION_BRIEF.md +30 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/slice.json +55 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/EXECUTION_BRIEF.md +34 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/slice.json +57 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +32 -0
- package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/slice.json +63 -0
- package/specs/quiver-v24-dx-onboarding-hardening/EVIDENCE_REPORT.md +55 -0
- package/specs/quiver-v24-dx-onboarding-hardening/EXECUTION_PLAN.md +43 -0
- package/specs/quiver-v24-dx-onboarding-hardening/SPEC.md +149 -0
- package/specs/quiver-v24-dx-onboarding-hardening/STATUS.md +31 -0
- package/specs/quiver-v24-dx-onboarding-hardening/pr.md +76 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +31 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/slice.json +51 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/CLOSURE_BRIEF.md +38 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/slice.json +55 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/EXECUTION_BRIEF.md +50 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/slice.json +52 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/EXECUTION_BRIEF.md +50 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/slice.json +53 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/EXECUTION_BRIEF.md +50 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/slice.json +70 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/CLOSURE_BRIEF.md +36 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/EXECUTION_BRIEF.md +49 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/slice.json +52 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/CLOSURE_BRIEF.md +43 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/slice.json +60 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/EXECUTION_BRIEF.md +50 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/slice.json +51 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/slice.json +54 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/EXECUTION_BRIEF.md +51 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/slice.json +59 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/slice.json +76 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EVIDENCE_REPORT.md +293 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EXECUTION_PLAN.md +58 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/SPEC.md +242 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md +35 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/pr.md +77 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/slice.json +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/CLOSURE_BRIEF.md +36 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/slice.json +56 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/CLOSURE_BRIEF.md +43 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/slice.json +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/slice.json +54 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/slice.json +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/slice.json +53 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/slice.json +55 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/slice.json +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/CLOSURE_BRIEF.md +39 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/slice.json +53 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/CLOSURE_BRIEF.md +38 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/EXECUTION_BRIEF.md +57 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/slice.json +52 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/CLOSURE_BRIEF.md +39 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/EXECUTION_BRIEF.md +55 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/slice.json +56 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/CLOSURE_BRIEF.md +36 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/slice.json +53 -0
- package/specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md +208 -0
- package/specs/quiver-v26-0121-smoke-hardening/EXECUTION_PLAN.md +57 -0
- package/specs/quiver-v26-0121-smoke-hardening/SPEC.md +137 -0
- package/specs/quiver-v26-0121-smoke-hardening/STATUS.md +32 -0
- package/specs/quiver-v26-0121-smoke-hardening/pr.md +96 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/EXECUTION_BRIEF.md +55 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/slice.json +73 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/CLOSURE_BRIEF.md +38 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/EXECUTION_BRIEF.md +51 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/slice.json +76 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/CLOSURE_BRIEF.md +37 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/slice.json +75 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/CLOSURE_BRIEF.md +37 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/slice.json +77 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/slice.json +77 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/CLOSURE_BRIEF.md +34 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/EXECUTION_BRIEF.md +54 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/slice.json +84 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/slice.json +82 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/EXECUTION_BRIEF.md +55 -0
- package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/slice.json +92 -0
- package/src/create-quiver/commands/ai.js +1060 -37
- package/src/create-quiver/commands/demo.js +22 -0
- package/src/create-quiver/commands/evidence.js +37 -0
- package/src/create-quiver/commands/flow.js +562 -0
- package/src/create-quiver/commands/graph.js +19 -4
- package/src/create-quiver/commands/next.js +28 -0
- package/src/create-quiver/commands/plan.js +9 -6
- package/src/create-quiver/commands/prepare.js +236 -0
- package/src/create-quiver/commands/spec.js +133 -0
- package/src/create-quiver/index.js +1010 -31
- package/src/create-quiver/lib/actionable-error.js +27 -0
- package/src/create-quiver/lib/agent-profiles.js +148 -0
- package/src/create-quiver/lib/ai/context-packs.js +16 -0
- package/src/create-quiver/lib/ai/execution-plan.js +377 -11
- package/src/create-quiver/lib/ai/executor.js +633 -24
- package/src/create-quiver/lib/ai/export-state.js +534 -0
- package/src/create-quiver/lib/ai/github.js +279 -0
- package/src/create-quiver/lib/ai/onboarding-template.js +578 -0
- package/src/create-quiver/lib/ai/plan-review.js +286 -0
- package/src/create-quiver/lib/ai/providers.js +5 -3
- package/src/create-quiver/lib/ai/run-state.js +414 -0
- package/src/create-quiver/lib/ai/safety.js +5 -0
- package/src/create-quiver/lib/ai/spec-generator.js +12 -0
- package/src/create-quiver/lib/ai/spec-templates.js +80 -11
- package/src/create-quiver/lib/approvals.js +369 -0
- package/src/create-quiver/lib/demo.js +832 -0
- package/src/create-quiver/lib/doctor.js +309 -0
- package/src/create-quiver/lib/evidence.js +115 -0
- package/src/create-quiver/lib/handoff.js +81 -12
- package/src/create-quiver/lib/init-docs.js +302 -17
- package/src/create-quiver/lib/init-layout.js +34 -1
- package/src/create-quiver/lib/json.js +53 -3
- package/src/create-quiver/lib/lifecycle.js +6 -0
- package/src/create-quiver/lib/package-safety.js +117 -0
- package/src/create-quiver/lib/readiness.js +103 -21
- package/src/create-quiver/lib/scope.js +50 -7
- package/src/create-quiver/lib/slice-graph.js +138 -37
- package/src/create-quiver/lib/slice.js +14 -9
- package/src/create-quiver/lib/spec-worktrees.js +363 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
const fs = require('node:fs');
|
|
2
|
+
const path = require('node:path');
|
|
3
|
+
|
|
4
|
+
const { readPhaseApproval, resolveApprovedPlannerInput } = require('../approvals');
|
|
5
|
+
const { quiverInternalPaths } = require('../init-layout');
|
|
6
|
+
|
|
7
|
+
const PLAN_REVIEW_PROMPT_SOURCE = 'packaged production-readiness plan review template';
|
|
8
|
+
|
|
9
|
+
function formatError(message) {
|
|
10
|
+
return `create-quiver: ${message}`;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function toRelativePosix(root, filePath) {
|
|
14
|
+
return path.relative(root, filePath).split(path.sep).join('/');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function planReviewRoot(projectRoot) {
|
|
18
|
+
return path.join(quiverInternalPaths(projectRoot).root, 'approvals', 'plan-review');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function planReviewPath(projectRoot) {
|
|
22
|
+
return path.join(planReviewRoot(projectRoot), 'review.md');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function planReviewMetaPath(projectRoot) {
|
|
26
|
+
return path.join(planReviewRoot(projectRoot), 'meta.json');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function readPlanReviewMeta(projectRoot) {
|
|
30
|
+
const filePath = planReviewMetaPath(projectRoot);
|
|
31
|
+
if (!fs.existsSync(filePath)) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
try {
|
|
35
|
+
return JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
|
36
|
+
} catch (error) {
|
|
37
|
+
throw new Error(formatError(`invalid plan-review metadata at ${toRelativePosix(projectRoot, filePath)}: ${error.message}`));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function normalizeDrafts(meta) {
|
|
42
|
+
return Array.isArray(meta?.drafts) ? meta.drafts.filter((item) => item && typeof item === 'object') : [];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function resolvePath(projectRoot, relativePath) {
|
|
46
|
+
return path.resolve(projectRoot, relativePath || '');
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function samePath(projectRoot, left, right) {
|
|
50
|
+
return Boolean(left && right && resolvePath(projectRoot, left) === resolvePath(projectRoot, right));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function latestTechnicalPlanDraft(approval) {
|
|
54
|
+
const version = Number(approval.meta?.draft?.version || 0);
|
|
55
|
+
if (!version) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return normalizeDrafts(approval.meta).find((item) => Number(item.version) === version) || null;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function reviewMatchesTarget(projectRoot, review, target) {
|
|
62
|
+
if (review.version && target.version) {
|
|
63
|
+
return review.version === target.version;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (!review.source) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return samePath(projectRoot, review.source, target.source)
|
|
71
|
+
|| samePath(projectRoot, review.source, target.artifact);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function resolveTechnicalPlanReviewInput(projectRoot, explicitInput) {
|
|
75
|
+
const approval = readPhaseApproval(projectRoot, 'technical-plan');
|
|
76
|
+
const latestDraft = latestTechnicalPlanDraft(approval);
|
|
77
|
+
const candidates = [];
|
|
78
|
+
|
|
79
|
+
if (latestDraft?.path) {
|
|
80
|
+
candidates.push({
|
|
81
|
+
kind: 'draft',
|
|
82
|
+
version: Number(latestDraft.version),
|
|
83
|
+
inputPath: latestDraft.path,
|
|
84
|
+
approval,
|
|
85
|
+
});
|
|
86
|
+
} else if (approval.draft?.path) {
|
|
87
|
+
candidates.push({
|
|
88
|
+
kind: 'draft',
|
|
89
|
+
version: Number(approval.meta?.draft?.version || 0) || null,
|
|
90
|
+
inputPath: approval.draft.path,
|
|
91
|
+
approval,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (approval.approved?.path) {
|
|
96
|
+
candidates.push({
|
|
97
|
+
kind: 'approved',
|
|
98
|
+
version: Number(approval.meta?.approved?.version || 0) || null,
|
|
99
|
+
inputPath: approval.approved.path,
|
|
100
|
+
approval,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (candidates.length === 0) {
|
|
105
|
+
throw new Error(formatError("ai review-plan requires a generated technical-plan draft. Run `npx create-quiver ai plan --phase technical-plan`."));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (!explicitInput) {
|
|
109
|
+
return candidates[0];
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const approvedSource = approval.meta?.approved?.source_file || '';
|
|
113
|
+
const draftSource = approval.meta?.draft?.source_file || '';
|
|
114
|
+
const matched = candidates.find((candidate) => samePath(projectRoot, explicitInput, candidate.inputPath))
|
|
115
|
+
|| candidates.find((candidate) => candidate.kind === 'approved' && samePath(projectRoot, explicitInput, approvedSource))
|
|
116
|
+
|| candidates.find((candidate) => candidate.kind === 'draft' && samePath(projectRoot, explicitInput, draftSource));
|
|
117
|
+
|
|
118
|
+
if (!matched) {
|
|
119
|
+
throw new Error(formatError(`ai review-plan input '${explicitInput}' must match the latest technical-plan draft or approved artifact.`));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return matched;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function readPlanReview(projectRoot) {
|
|
126
|
+
const reviewPath = planReviewPath(projectRoot);
|
|
127
|
+
const meta = readPlanReviewMeta(projectRoot);
|
|
128
|
+
if (!meta && !fs.existsSync(reviewPath)) {
|
|
129
|
+
return {
|
|
130
|
+
status: 'missing',
|
|
131
|
+
review: null,
|
|
132
|
+
meta: null,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const technicalPlan = readPhaseApproval(projectRoot, 'technical-plan');
|
|
137
|
+
const reviewedAt = meta?.reviewed_at ? new Date(meta.reviewed_at).getTime() : 0;
|
|
138
|
+
const approvedAt = technicalPlan.meta?.approved?.approved_at ? new Date(technicalPlan.meta.approved.approved_at).getTime() : 0;
|
|
139
|
+
const reviewedVersion = Number(meta?.source_version || 0) || null;
|
|
140
|
+
const approvedVersion = Number(technicalPlan.meta?.approved?.version || 0) || null;
|
|
141
|
+
const reviewedSource = meta?.source_file || '';
|
|
142
|
+
const approvedSource = technicalPlan.meta?.approved?.source_file || '';
|
|
143
|
+
const approvedArtifact = technicalPlan.approved?.path || '';
|
|
144
|
+
const reviewIdentity = {
|
|
145
|
+
source: reviewedSource,
|
|
146
|
+
version: reviewedVersion,
|
|
147
|
+
};
|
|
148
|
+
let status = 'unapproved';
|
|
149
|
+
|
|
150
|
+
if (technicalPlan.status === 'approved') {
|
|
151
|
+
const matchesApproved = reviewMatchesTarget(projectRoot, reviewIdentity, {
|
|
152
|
+
artifact: approvedArtifact,
|
|
153
|
+
source: approvedSource,
|
|
154
|
+
version: approvedVersion,
|
|
155
|
+
});
|
|
156
|
+
const staleByTime = !reviewedVersion && !matchesApproved && approvedAt > 0 && reviewedAt > 0 && approvedAt > reviewedAt;
|
|
157
|
+
status = matchesApproved && !staleByTime ? 'reviewed' : 'stale';
|
|
158
|
+
} else if (technicalPlan.status === 'draft' || technicalPlan.status === 'stale') {
|
|
159
|
+
const latestDraft = latestTechnicalPlanDraft(technicalPlan);
|
|
160
|
+
const matchesLatestDraft = reviewMatchesTarget(projectRoot, reviewIdentity, {
|
|
161
|
+
artifact: latestDraft?.path || technicalPlan.draft?.path || '',
|
|
162
|
+
source: technicalPlan.meta?.draft?.source_file || '',
|
|
163
|
+
version: Number(latestDraft?.version || technicalPlan.meta?.draft?.version || 0) || null,
|
|
164
|
+
});
|
|
165
|
+
status = matchesLatestDraft ? 'unapproved' : 'stale';
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
return {
|
|
169
|
+
status,
|
|
170
|
+
review: fs.existsSync(reviewPath)
|
|
171
|
+
? {
|
|
172
|
+
path: toRelativePosix(projectRoot, reviewPath),
|
|
173
|
+
contents: fs.readFileSync(reviewPath, 'utf8'),
|
|
174
|
+
}
|
|
175
|
+
: null,
|
|
176
|
+
meta,
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function savePlanReview(projectRoot, options = {}) {
|
|
181
|
+
const root = planReviewRoot(projectRoot);
|
|
182
|
+
fs.mkdirSync(root, { recursive: true });
|
|
183
|
+
const reviewPath = planReviewPath(projectRoot);
|
|
184
|
+
const now = new Date().toISOString();
|
|
185
|
+
const contents = String(options.contents || '');
|
|
186
|
+
const inputPath = options.inputPath || '';
|
|
187
|
+
|
|
188
|
+
fs.writeFileSync(reviewPath, contents);
|
|
189
|
+
const meta = {
|
|
190
|
+
phase: 'plan-review',
|
|
191
|
+
source_file: inputPath,
|
|
192
|
+
source_kind: options.inputKind || null,
|
|
193
|
+
source_version: options.inputVersion || null,
|
|
194
|
+
path: toRelativePosix(projectRoot, reviewPath),
|
|
195
|
+
reviewed_at: now,
|
|
196
|
+
};
|
|
197
|
+
fs.writeFileSync(planReviewMetaPath(projectRoot), `${JSON.stringify(meta, null, 2)}\n`);
|
|
198
|
+
|
|
199
|
+
return {
|
|
200
|
+
filePath: reviewPath,
|
|
201
|
+
metaPath: planReviewMetaPath(projectRoot),
|
|
202
|
+
reviewedAt: now,
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function assertPlanReviewed(projectRoot) {
|
|
207
|
+
const review = readPlanReview(projectRoot);
|
|
208
|
+
if (review.status !== 'reviewed') {
|
|
209
|
+
const nextCommand = review.status === 'unapproved'
|
|
210
|
+
? 'npx create-quiver ai approve --phase technical-plan --version <n>'
|
|
211
|
+
: 'npx create-quiver ai review-plan --dry-run';
|
|
212
|
+
const followUp = review.status === 'unapproved'
|
|
213
|
+
? ''
|
|
214
|
+
: ' Preview the review first, then run `npx create-quiver ai review-plan` to persist it.';
|
|
215
|
+
throw new Error(formatError(`ai plan phase 'spec' requires a reviewed and approved technical-plan input; current review status: ${review.status}. Run \`${nextCommand}\`.${followUp}`));
|
|
216
|
+
}
|
|
217
|
+
return review;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
function resolveReviewedTechnicalPlanInput(projectRoot, explicitInput) {
|
|
221
|
+
const resolved = resolveApprovedPlannerInput(projectRoot, 'spec', explicitInput);
|
|
222
|
+
const review = assertPlanReviewed(projectRoot);
|
|
223
|
+
return {
|
|
224
|
+
...resolved,
|
|
225
|
+
review,
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function buildPlanReviewPrompt({ pack, inputText, inputPath }) {
|
|
230
|
+
const sections = [
|
|
231
|
+
pack.prompt,
|
|
232
|
+
'Task: review the technical plan as if it will be implemented and tested in production.',
|
|
233
|
+
'Do not question the approved scope.',
|
|
234
|
+
'Do not implement code, create specs, or modify files.',
|
|
235
|
+
'Focus on avoiding partial fixes.',
|
|
236
|
+
'Report:',
|
|
237
|
+
'- fragile assumptions',
|
|
238
|
+
'- uncovered cases',
|
|
239
|
+
'- ambiguous criteria',
|
|
240
|
+
'- validation gaps',
|
|
241
|
+
'- operational risks',
|
|
242
|
+
'- recommended fixes to the plan',
|
|
243
|
+
'If ambiguity is not blocking, state the safest assumption and continue.',
|
|
244
|
+
];
|
|
245
|
+
|
|
246
|
+
if (inputPath) {
|
|
247
|
+
sections.push(`Input file: ${inputPath}`);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
if (inputText) {
|
|
251
|
+
sections.push('Technical plan:', inputText.trimEnd());
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
return {
|
|
255
|
+
promptSource: PLAN_REVIEW_PROMPT_SOURCE,
|
|
256
|
+
prompt: sections.join('\n\n'),
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
function summarizePlanReview(projectRoot) {
|
|
261
|
+
const review = readPlanReview(projectRoot);
|
|
262
|
+
const lines = [
|
|
263
|
+
'Phase: plan-review',
|
|
264
|
+
`Status: ${review.status}`,
|
|
265
|
+
];
|
|
266
|
+
if (review.review?.path) {
|
|
267
|
+
lines.push(`Review: ${review.review.path}`);
|
|
268
|
+
}
|
|
269
|
+
if (review.meta?.source_file) {
|
|
270
|
+
lines.push(`Source file: ${review.meta.source_file}`);
|
|
271
|
+
}
|
|
272
|
+
return `${lines.join('\n')}\n`;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
module.exports = {
|
|
276
|
+
PLAN_REVIEW_PROMPT_SOURCE,
|
|
277
|
+
assertPlanReviewed,
|
|
278
|
+
buildPlanReviewPrompt,
|
|
279
|
+
planReviewMetaPath,
|
|
280
|
+
planReviewPath,
|
|
281
|
+
readPlanReview,
|
|
282
|
+
resolveTechnicalPlanReviewInput,
|
|
283
|
+
resolveReviewedTechnicalPlanInput,
|
|
284
|
+
savePlanReview,
|
|
285
|
+
summarizePlanReview,
|
|
286
|
+
};
|
|
@@ -2,6 +2,7 @@ const fs = require('node:fs');
|
|
|
2
2
|
const { spawn } = require('node:child_process');
|
|
3
3
|
|
|
4
4
|
const { finalizePromptTransport, preparePromptTransport, describePromptTransport } = require('./prompt-transport');
|
|
5
|
+
const { redactSecrets } = require('../evidence');
|
|
5
6
|
|
|
6
7
|
const SUPPORTED_PROVIDERS = ['codex', 'claude', 'gemini'];
|
|
7
8
|
|
|
@@ -107,7 +108,7 @@ function serializeError(error, provider, invocation) {
|
|
|
107
108
|
|
|
108
109
|
return {
|
|
109
110
|
code: error.code || 'PROVIDER_ERROR',
|
|
110
|
-
message: error.message || String(error),
|
|
111
|
+
message: redactSecrets(error.message || String(error)),
|
|
111
112
|
provider,
|
|
112
113
|
command: invocation.command,
|
|
113
114
|
args: invocation.args.slice(),
|
|
@@ -178,8 +179,8 @@ function runSpawn(command, args, options = {}) {
|
|
|
178
179
|
ok: payload.exitCode === 0,
|
|
179
180
|
exitCode: payload.exitCode,
|
|
180
181
|
signal: payload.signal || null,
|
|
181
|
-
stdout,
|
|
182
|
-
stderr,
|
|
182
|
+
stdout: redactSecrets(stdout),
|
|
183
|
+
stderr: redactSecrets(stderr),
|
|
183
184
|
error: payload.error ? serializeError(payload.error, options.provider, options.invocation) : null,
|
|
184
185
|
});
|
|
185
186
|
};
|
|
@@ -309,6 +310,7 @@ module.exports = {
|
|
|
309
310
|
ProviderRunnerError,
|
|
310
311
|
assertSupportedProvider,
|
|
311
312
|
buildProviderInvocation,
|
|
313
|
+
formatProviderList,
|
|
312
314
|
getProviderDefinition,
|
|
313
315
|
runProvider,
|
|
314
316
|
};
|