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,77 @@
|
|
|
1
|
+
## Title
|
|
2
|
+
Quiver v25 - AI-First Lifecycle Orchestrator
|
|
3
|
+
|
|
4
|
+
## Summary
|
|
5
|
+
|
|
6
|
+
- Implements the Quiver v25 AI-first lifecycle orchestrator across CLI, state, planner approval gates, generated artifacts, controlled execution, worktrees/PRs, validation hardening, export, and migration dry-runs.
|
|
7
|
+
- Adds durable `.quiver/` run state, agent profiles, prompt-only/provider adapter flows, phase-gated planning, reviewed technical-plan approval, generated specs/slices/handoffs/PR body, and one-slice execution closure.
|
|
8
|
+
- Adds dashboard/agent-friendly lifecycle inspection and export commands for specs, slices, runs, agents, dependencies, blockers, progress, and migration state.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
- Product implementation for all v25 slices from `slice-01` through `slice-11`.
|
|
13
|
+
- Documentation, templates, tests, smoke coverage, CLI help, generated npm scripts, and spec evidence.
|
|
14
|
+
- No package release is included.
|
|
15
|
+
|
|
16
|
+
## Files
|
|
17
|
+
|
|
18
|
+
- `README.md`
|
|
19
|
+
- `README_FOR_AI.md`
|
|
20
|
+
- `docs/**`
|
|
21
|
+
- `package.json`
|
|
22
|
+
- `scripts/ci/**`
|
|
23
|
+
- `src/create-quiver/**`
|
|
24
|
+
- `specs/quiver-v25-ai-first-lifecycle-orchestrator/**`
|
|
25
|
+
- `tests/**`
|
|
26
|
+
|
|
27
|
+
## How to Test (DETAILED - REQUIRED)
|
|
28
|
+
|
|
29
|
+
### Required Environment
|
|
30
|
+
|
|
31
|
+
- Node.js and npm available.
|
|
32
|
+
- Git checkout with the v25 branch.
|
|
33
|
+
- No provider CLI credentials are required for dry-run/prompt-only validations.
|
|
34
|
+
|
|
35
|
+
### Worktree Access
|
|
36
|
+
|
|
37
|
+
- Run commands from the repository root.
|
|
38
|
+
- This PR does not require a running app server.
|
|
39
|
+
|
|
40
|
+
### Run the Project
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
node --test tests/**/*.test.js
|
|
44
|
+
npm run smoke:create-quiver
|
|
45
|
+
npm run smoke:guided-workflow
|
|
46
|
+
npm run smoke:doctor-fixtures
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Use Cases
|
|
50
|
+
|
|
51
|
+
- Create and inspect AI lifecycle runs with `ai run create`, `ai status`, and `ai resume`.
|
|
52
|
+
- Prepare docs-only context with `ai prepare-context --dry-run`.
|
|
53
|
+
- Generate planner drafts, revise them, approve concrete versions, and create specs only after reviewed approval.
|
|
54
|
+
- Execute or print slice prompts with `ai prompt-slice`, `ai execute-slice`, and `ai execute-plan`.
|
|
55
|
+
- Inspect/export lifecycle state with `ai inspect`, `ai export`, `ai specs list`, `ai slices list`, and `ai trace report`.
|
|
56
|
+
|
|
57
|
+
### Technical Verification
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
git diff --check
|
|
61
|
+
node -e "JSON.parse(require('fs').readFileSync('package.json','utf8')); JSON.parse(require('fs').readFileSync('specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/slice.json','utf8'));"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Evidence
|
|
65
|
+
|
|
66
|
+
- See `specs/quiver-v25-ai-first-lifecycle-orchestrator/EVIDENCE_REPORT.md`.
|
|
67
|
+
|
|
68
|
+
## Rollback
|
|
69
|
+
|
|
70
|
+
- Revert the v25 slice commits in reverse order.
|
|
71
|
+
- No migration or PR command writes unless invoked explicitly; dry-runs remain available for recovery.
|
|
72
|
+
|
|
73
|
+
## Risks / Notes
|
|
74
|
+
|
|
75
|
+
- Source-of-truth docs should not claim npm publication unless publication has been verified.
|
|
76
|
+
- `CHANGELOG.md`/`ROADMAP.md` still need release-version sync before npm publishing.
|
|
77
|
+
- The lifecycle export JSON is `schema_version: 1`; dashboard consumers should pin expectations.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# CLOSURE BRIEF - slice-00: Spec foundation and source-of-truth sync
|
|
2
|
+
|
|
3
|
+
## Summary of Work
|
|
4
|
+
|
|
5
|
+
- Created the v25 planning package.
|
|
6
|
+
- Added spec, status, evidence report, execution plan, PR body, slice definitions, and handoffs.
|
|
7
|
+
- Synced source-of-truth planning docs with v25 as planned work.
|
|
8
|
+
|
|
9
|
+
## Validation Against Acceptance Criteria
|
|
10
|
+
|
|
11
|
+
- [x] Spec folder created.
|
|
12
|
+
- [x] `slice-00` created.
|
|
13
|
+
- [x] Every slice has `slice.json`, `EXECUTION_BRIEF.md`, and `CLOSURE_BRIEF.md`.
|
|
14
|
+
- [x] JSON validation captured.
|
|
15
|
+
- [x] `git diff --check` captured.
|
|
16
|
+
- [x] No product code modified.
|
|
17
|
+
|
|
18
|
+
## Relevant Changes
|
|
19
|
+
|
|
20
|
+
- New folder: `specs/quiver-v25-ai-first-lifecycle-orchestrator/`.
|
|
21
|
+
- Source-of-truth planning docs updated.
|
|
22
|
+
|
|
23
|
+
## Pending
|
|
24
|
+
|
|
25
|
+
- Execute implementation slices from `slice-01` onward.
|
|
26
|
+
- Implement `slice-01` onward.
|
|
27
|
+
|
|
28
|
+
## Remaining Risks
|
|
29
|
+
|
|
30
|
+
- Release status wording for v24/v0.11-v0.12 should be verified before claiming npm publication in source docs.
|
|
31
|
+
|
|
32
|
+
## Future Recommendations
|
|
33
|
+
|
|
34
|
+
- Execute slices according to `EXECUTION_PLAN.md`.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# EXECUTION BRIEF - slice-00: Spec foundation and source-of-truth sync
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
This slice publishes the v25 planning package generated from approved acceptance criteria and a production-readiness review.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Create the durable spec foundation for Quiver v25 without changing product behavior.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- Create `SPEC.md`, `STATUS.md`, `EVIDENCE_REPORT.md`, `EXECUTION_PLAN.md`, and `pr.md`.
|
|
14
|
+
- Create every slice folder with `slice.json`, `EXECUTION_BRIEF.md`, and `CLOSURE_BRIEF.md`.
|
|
15
|
+
- Update `README_FOR_AI.md` and `ROADMAP.md` so source-of-truth docs mention v25 as planned work.
|
|
16
|
+
|
|
17
|
+
## Acceptance Criteria
|
|
18
|
+
|
|
19
|
+
- Spec folder exists.
|
|
20
|
+
- Mandatory `slice-00` exists.
|
|
21
|
+
- Every slice has required handoff files.
|
|
22
|
+
- Every `slice.json` parses.
|
|
23
|
+
- No product code is modified.
|
|
24
|
+
|
|
25
|
+
## Technical Plan Summary
|
|
26
|
+
|
|
27
|
+
Write documentation only, following the existing `specs/quiver-v24-dx-onboarding-hardening/` structure.
|
|
28
|
+
|
|
29
|
+
## Suggested Execution Steps
|
|
30
|
+
|
|
31
|
+
1. Create the spec folder and top-level spec files.
|
|
32
|
+
2. Create all slice folders and handoffs.
|
|
33
|
+
3. Sync source-of-truth planning docs.
|
|
34
|
+
4. Validate JSON and whitespace.
|
|
35
|
+
|
|
36
|
+
## Restrictions
|
|
37
|
+
|
|
38
|
+
- Do not edit CLI source.
|
|
39
|
+
- Do not modify tests.
|
|
40
|
+
- Do not publish or open a PR from this slice.
|
|
41
|
+
|
|
42
|
+
## Risks
|
|
43
|
+
|
|
44
|
+
- Source-of-truth docs could accidentally imply v25 is implemented. Keep wording as planned only.
|
|
45
|
+
|
|
46
|
+
## Completion Checklist
|
|
47
|
+
|
|
48
|
+
- [x] Spec files created.
|
|
49
|
+
- [x] Slice handoffs created.
|
|
50
|
+
- [x] Source-of-truth docs synced.
|
|
51
|
+
- [x] JSON parse validation captured.
|
|
52
|
+
- [x] `git diff --check` captured.
|
package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/slice.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-00-spec-foundation",
|
|
3
|
+
"ticket": "QUIVER-25-00",
|
|
4
|
+
"type": "docs",
|
|
5
|
+
"title": "Spec foundation and source-of-truth sync",
|
|
6
|
+
"objective": "Create the documentation foundation for the AI-first lifecycle orchestrator spec before product implementation starts.",
|
|
7
|
+
"description": "Publish the v25 spec, status, evidence report, execution plan, PR body, slice definitions, handoffs, and source-of-truth planning references.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "ai-first-lifecycle-orchestrator-spec-foundation",
|
|
12
|
+
"branch_name": "feature/QUIVER-25-00-ai-first-lifecycle-orchestrator-spec-foundation"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"README_FOR_AI.md",
|
|
16
|
+
"ROADMAP.md",
|
|
17
|
+
"specs/quiver-v25-ai-first-lifecycle-orchestrator/**"
|
|
18
|
+
],
|
|
19
|
+
"depends_on": [],
|
|
20
|
+
"parallel_safe": "no",
|
|
21
|
+
"parallel_safe_reason": "slice-00 must land before every implementation slice.",
|
|
22
|
+
"must": [
|
|
23
|
+
"Create SPEC.md, STATUS.md, EVIDENCE_REPORT.md, EXECUTION_PLAN.md, and pr.md.",
|
|
24
|
+
"Create slice.json, EXECUTION_BRIEF.md, and CLOSURE_BRIEF.md for every slice.",
|
|
25
|
+
"Sync README_FOR_AI.md and ROADMAP.md with v25 as planned work only.",
|
|
26
|
+
"Avoid product code changes."
|
|
27
|
+
],
|
|
28
|
+
"not_included": [
|
|
29
|
+
"Implementing CLI behavior.",
|
|
30
|
+
"Changing package behavior.",
|
|
31
|
+
"Running AI providers.",
|
|
32
|
+
"Publishing a package.",
|
|
33
|
+
"Opening a PR."
|
|
34
|
+
],
|
|
35
|
+
"acceptance": [
|
|
36
|
+
"Spec folder exists under specs/quiver-v25-ai-first-lifecycle-orchestrator.",
|
|
37
|
+
"Mandatory slice-00 exists.",
|
|
38
|
+
"Every slice has slice.json, EXECUTION_BRIEF.md, and CLOSURE_BRIEF.md.",
|
|
39
|
+
"Every slice.json parses successfully.",
|
|
40
|
+
"README_FOR_AI.md and ROADMAP.md mention v25 as planned, not implemented.",
|
|
41
|
+
"No product code is modified."
|
|
42
|
+
],
|
|
43
|
+
"tests": [
|
|
44
|
+
"git diff --check",
|
|
45
|
+
"find specs/quiver-v25-ai-first-lifecycle-orchestrator -name \"slice.json\" -print -exec node -e \"JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))\" {} \\;"
|
|
46
|
+
],
|
|
47
|
+
"estimated_hours": 2,
|
|
48
|
+
"status": "completed",
|
|
49
|
+
"blocked_reason": null,
|
|
50
|
+
"actual_hours": 2,
|
|
51
|
+
"completed_at": "2026-05-22T00:00:00-0300"
|
|
52
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# CLOSURE BRIEF - slice-01: CLI contract and compatibility
|
|
2
|
+
|
|
3
|
+
## Summary of Work
|
|
4
|
+
|
|
5
|
+
- Added top-level CLI version support for `--version` and `-V`.
|
|
6
|
+
- Preserved `ai approve --version <n>` as the planner draft-version option.
|
|
7
|
+
- Added CLI contract tests for version output and unsupported command guidance.
|
|
8
|
+
- Documented `npx create-quiver --version` in the README command table and generated commands template.
|
|
9
|
+
|
|
10
|
+
## Validation Against Acceptance Criteria
|
|
11
|
+
|
|
12
|
+
- [x] Version commands verified.
|
|
13
|
+
- [x] Alias behavior verified through shared binary entrypoint and package bin contract.
|
|
14
|
+
- [x] Unknown command behavior verified.
|
|
15
|
+
- [x] Docs updated.
|
|
16
|
+
- [x] Tests run.
|
|
17
|
+
|
|
18
|
+
## Relevant Changes
|
|
19
|
+
|
|
20
|
+
- `src/create-quiver/index.js`
|
|
21
|
+
- `tests/commands/cli-contract.test.js`
|
|
22
|
+
- `README.md`
|
|
23
|
+
- `docs/COMMANDS.md.template`
|
|
24
|
+
- `specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/slice.json`
|
|
25
|
+
|
|
26
|
+
## Pending
|
|
27
|
+
|
|
28
|
+
- None.
|
|
29
|
+
|
|
30
|
+
## Remaining Risks
|
|
31
|
+
|
|
32
|
+
- The `quiver` alias itself is covered through package bin metadata and shared entrypoint behavior, not by installing a real local package binary during the test.
|
|
33
|
+
|
|
34
|
+
## Future Recommendations
|
|
35
|
+
|
|
36
|
+
- Keep top-level `--version` limited to the commandless case so `ai approve --version <n>` remains unambiguous.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# EXECUTION BRIEF - slice-01: CLI contract and compatibility
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
Every later AI lifecycle feature depends on a clear command surface. This slice stabilizes command naming before state, approvals, agents, and execution are added.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Make `create-quiver`, local `quiver`, generated `quiver:*` scripts, version reporting, and unknown-command errors consistent.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- CLI routing and binary alias behavior.
|
|
14
|
+
- `--version` support.
|
|
15
|
+
- Documentation for canonical bootstrap vs local shortcut.
|
|
16
|
+
- Tests for command compatibility and ambiguity.
|
|
17
|
+
|
|
18
|
+
## Acceptance Criteria
|
|
19
|
+
|
|
20
|
+
- `npx create-quiver --version` works.
|
|
21
|
+
- Local `quiver --version` works when installed.
|
|
22
|
+
- Unknown commands fail clearly.
|
|
23
|
+
- Docs do not contradict `README_FOR_AI.md`.
|
|
24
|
+
- Generated scripts target supported commands.
|
|
25
|
+
|
|
26
|
+
## Technical Plan Summary
|
|
27
|
+
|
|
28
|
+
Audit CLI entrypoints, normalize version handling, harden unknown command routing, and update docs/tests.
|
|
29
|
+
|
|
30
|
+
## Suggested Execution Steps
|
|
31
|
+
|
|
32
|
+
1. Read current CLI entrypoint and command router.
|
|
33
|
+
2. Add/adjust version handling.
|
|
34
|
+
3. Verify alias behavior.
|
|
35
|
+
4. Update docs.
|
|
36
|
+
5. Add focused tests.
|
|
37
|
+
|
|
38
|
+
## Restrictions
|
|
39
|
+
|
|
40
|
+
- Do not add new AI workflow behavior in this slice.
|
|
41
|
+
- Do not change spec/slice generation behavior.
|
|
42
|
+
|
|
43
|
+
## Risks
|
|
44
|
+
|
|
45
|
+
- Changing routing may break legacy `npx create-quiver --name` usage.
|
|
46
|
+
|
|
47
|
+
## Completion Checklist
|
|
48
|
+
|
|
49
|
+
- [ ] Tests added or updated.
|
|
50
|
+
- [ ] Docs updated.
|
|
51
|
+
- [ ] Existing init behavior preserved.
|
|
52
|
+
- [ ] Evidence appended.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-01-cli-contract-compatibility",
|
|
3
|
+
"ticket": "QUIVER-25-01",
|
|
4
|
+
"type": "feature",
|
|
5
|
+
"title": "CLI contract and compatibility",
|
|
6
|
+
"objective": "Make command naming, aliases, version reporting, and generated script behavior explicit and consistent.",
|
|
7
|
+
"description": "Define and implement the contract between canonical `npx create-quiver`, local `quiver`, and generated `quiver:*` scripts before adding more AI lifecycle commands.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "cli-contract-compatibility",
|
|
12
|
+
"branch_name": "feature/QUIVER-25-01-cli-contract-compatibility"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"bin/**",
|
|
16
|
+
"package.json",
|
|
17
|
+
"src/create-quiver/**",
|
|
18
|
+
"docs/**",
|
|
19
|
+
"README.md",
|
|
20
|
+
"README_FOR_AI.md",
|
|
21
|
+
"tests/**"
|
|
22
|
+
],
|
|
23
|
+
"depends_on": [
|
|
24
|
+
"slice-00-spec-foundation"
|
|
25
|
+
],
|
|
26
|
+
"parallel_safe": "no",
|
|
27
|
+
"parallel_safe_reason": "Establishes shared CLI routing and naming contracts used by all later slices.",
|
|
28
|
+
"must": [
|
|
29
|
+
"Preserve `npx create-quiver` as the canonical bootstrap path.",
|
|
30
|
+
"Keep `quiver` as local alias behavior where installed.",
|
|
31
|
+
"Make `--version` work for both command surfaces.",
|
|
32
|
+
"Document whether `ia` is supported or intentionally not supported.",
|
|
33
|
+
"Ensure unknown commands fail with actionable guidance."
|
|
34
|
+
],
|
|
35
|
+
"not_included": [
|
|
36
|
+
"Run state persistence.",
|
|
37
|
+
"Agent execution.",
|
|
38
|
+
"Spec generation."
|
|
39
|
+
],
|
|
40
|
+
"acceptance": [
|
|
41
|
+
"`npx create-quiver --version` prints the installed version without error.",
|
|
42
|
+
"Local `quiver --version` prints the installed version when the binary alias is available.",
|
|
43
|
+
"Docs explain bootstrap vs local alias without contradiction.",
|
|
44
|
+
"Unknown commands are not treated as project names.",
|
|
45
|
+
"Generated scripts target supported command names."
|
|
46
|
+
],
|
|
47
|
+
"tests": [
|
|
48
|
+
"node --test tests/**/*.test.js",
|
|
49
|
+
"git diff --check"
|
|
50
|
+
],
|
|
51
|
+
"estimated_hours": 4,
|
|
52
|
+
"status": "completed",
|
|
53
|
+
"blocked_reason": null,
|
|
54
|
+
"actual_hours": 1,
|
|
55
|
+
"completed_at": "2026-05-22T00:00:00-0300"
|
|
56
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# CLOSURE BRIEF - slice-02: Run state, phase gates, and locks
|
|
2
|
+
|
|
3
|
+
## Summary of Work
|
|
4
|
+
|
|
5
|
+
- Added persistent AI lifecycle run state under `.quiver/runs/<run-id>/`.
|
|
6
|
+
- Added `ai run create`, `ai status`, and `ai resume` command behavior.
|
|
7
|
+
- Added approvals metadata for lifecycle runs.
|
|
8
|
+
- Added run/slice lock helpers with stale-lock metadata in `.quiver/locks/`.
|
|
9
|
+
- Connected `ai plan` and `ai approve` to lifecycle phase updates.
|
|
10
|
+
- Added phase guard helpers for blocking future-phase work with next-command guidance.
|
|
11
|
+
|
|
12
|
+
## Validation Against Acceptance Criteria
|
|
13
|
+
|
|
14
|
+
- [x] Run creation inspected.
|
|
15
|
+
- [x] Resume verified.
|
|
16
|
+
- [x] Invalid phase blocked.
|
|
17
|
+
- [x] Locks verified.
|
|
18
|
+
- [x] Tests run.
|
|
19
|
+
|
|
20
|
+
## Relevant Changes
|
|
21
|
+
|
|
22
|
+
- `src/create-quiver/lib/ai/run-state.js`
|
|
23
|
+
- `src/create-quiver/commands/ai.js`
|
|
24
|
+
- `src/create-quiver/index.js`
|
|
25
|
+
- `src/create-quiver/lib/init-layout.js`
|
|
26
|
+
- `tests/lib/ai-run-state.test.js`
|
|
27
|
+
- `tests/commands/ai-run-state.test.js`
|
|
28
|
+
- `tests/lib/init-layout.test.js`
|
|
29
|
+
- `README.md`
|
|
30
|
+
- `README_FOR_AI.md`
|
|
31
|
+
- `docs/COMMANDS.md.template`
|
|
32
|
+
|
|
33
|
+
## Pending
|
|
34
|
+
|
|
35
|
+
- None.
|
|
36
|
+
|
|
37
|
+
## Remaining Risks
|
|
38
|
+
|
|
39
|
+
- Locks are implemented as file locks with owner metadata. Process liveness cleanup is intentionally manual for now to avoid unsafe deletion.
|
|
40
|
+
|
|
41
|
+
## Future Recommendations
|
|
42
|
+
|
|
43
|
+
- Later slices should wire `assertAiRunPhaseAllows` into spec generation, execution planning, slice execution, and PR creation.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# EXECUTION BRIEF - slice-02: Run state, phase gates, and locks
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
The lifecycle must survive interruptions, multiple agents, and multiple terminal sessions. Chat memory is not a safe state store.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Add persistent run state, phase validation, approvals metadata, status/resume, and locks.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- `.quiver/runs/<run-id>/state.json`.
|
|
14
|
+
- `.quiver/runs/<run-id>/approvals.json`.
|
|
15
|
+
- Run status and resume commands or command paths.
|
|
16
|
+
- Phase transition validation.
|
|
17
|
+
- Run/slice locks and stale-lock recovery.
|
|
18
|
+
|
|
19
|
+
## Acceptance Criteria
|
|
20
|
+
|
|
21
|
+
- Run state persists and can be resumed.
|
|
22
|
+
- Future-phase commands are blocked.
|
|
23
|
+
- Locks prevent concurrent mutation.
|
|
24
|
+
- Stale locks are recoverable with metadata.
|
|
25
|
+
|
|
26
|
+
## Technical Plan Summary
|
|
27
|
+
|
|
28
|
+
Create state helpers and phase transition guards before adding higher-level planner or executor flows.
|
|
29
|
+
|
|
30
|
+
## Suggested Execution Steps
|
|
31
|
+
|
|
32
|
+
1. Define state schema and phase enum.
|
|
33
|
+
2. Add read/write helpers.
|
|
34
|
+
3. Add phase guard utility.
|
|
35
|
+
4. Add lock helpers.
|
|
36
|
+
5. Wire status/resume commands.
|
|
37
|
+
6. Test phase and lock behavior with temp fixtures.
|
|
38
|
+
|
|
39
|
+
## Restrictions
|
|
40
|
+
|
|
41
|
+
- Do not execute provider CLIs.
|
|
42
|
+
- Do not generate specs in this slice.
|
|
43
|
+
|
|
44
|
+
## Risks
|
|
45
|
+
|
|
46
|
+
- State schema drift can break future runs. Keep it versioned or migration-ready.
|
|
47
|
+
|
|
48
|
+
## Completion Checklist
|
|
49
|
+
|
|
50
|
+
- [ ] State helpers implemented.
|
|
51
|
+
- [ ] Phase guards implemented.
|
|
52
|
+
- [ ] Locks implemented.
|
|
53
|
+
- [ ] Tests passing.
|
|
54
|
+
- [ ] Evidence appended.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-02-run-state-phase-locks",
|
|
3
|
+
"ticket": "QUIVER-25-02",
|
|
4
|
+
"type": "feature",
|
|
5
|
+
"title": "Run state, phase gates, and locks",
|
|
6
|
+
"objective": "Persist AI lifecycle state and prevent invalid phase transitions or concurrent run corruption.",
|
|
7
|
+
"description": "Introduce `.quiver/runs/<run-id>/` state, approvals metadata, status/resume behavior, phase validation, and locks for runs and slices.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "run-state-phase-locks",
|
|
12
|
+
"branch_name": "feature/QUIVER-25-02-run-state-phase-locks"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"src/create-quiver/**",
|
|
16
|
+
"docs/**",
|
|
17
|
+
"tests/**"
|
|
18
|
+
],
|
|
19
|
+
"depends_on": [
|
|
20
|
+
"slice-01-cli-contract-compatibility"
|
|
21
|
+
],
|
|
22
|
+
"parallel_safe": "no",
|
|
23
|
+
"parallel_safe_reason": "Creates shared state machinery required by later slices.",
|
|
24
|
+
"must": [
|
|
25
|
+
"Create and load `.quiver/runs/<run-id>/state.json`.",
|
|
26
|
+
"Persist approvals metadata.",
|
|
27
|
+
"Add status and resume behavior.",
|
|
28
|
+
"Block commands that do not match the current phase.",
|
|
29
|
+
"Add run and slice locks with stale-lock metadata."
|
|
30
|
+
],
|
|
31
|
+
"not_included": [
|
|
32
|
+
"Provider execution.",
|
|
33
|
+
"Generating specs from planner output.",
|
|
34
|
+
"Git worktree lifecycle."
|
|
35
|
+
],
|
|
36
|
+
"acceptance": [
|
|
37
|
+
"A run can be created, inspected, and resumed.",
|
|
38
|
+
"Invalid future-phase commands are blocked with next-command guidance.",
|
|
39
|
+
"Run and slice locks prevent concurrent mutation.",
|
|
40
|
+
"Stale lock recovery shows metadata before removal.",
|
|
41
|
+
"State can be read without chat memory."
|
|
42
|
+
],
|
|
43
|
+
"tests": [
|
|
44
|
+
"node --test tests/**/*.test.js",
|
|
45
|
+
"git diff --check"
|
|
46
|
+
],
|
|
47
|
+
"estimated_hours": 6,
|
|
48
|
+
"status": "completed",
|
|
49
|
+
"blocked_reason": null,
|
|
50
|
+
"actual_hours": 3,
|
|
51
|
+
"completed_at": "2026-05-22T00:00:00-0300"
|
|
52
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# CLOSURE BRIEF - slice-03: Safe AI onboarding documentation
|
|
2
|
+
|
|
3
|
+
## Summary of Work
|
|
4
|
+
|
|
5
|
+
Implemented safe docs-only AI context preparation for new and existing projects.
|
|
6
|
+
|
|
7
|
+
## Validation Against Acceptance Criteria
|
|
8
|
+
|
|
9
|
+
- [x] New project fixture validated.
|
|
10
|
+
- [x] Existing project fixture validated.
|
|
11
|
+
- [x] Dry-run validated.
|
|
12
|
+
- [x] Snapshot validated.
|
|
13
|
+
- [x] Conflict reporting validated.
|
|
14
|
+
|
|
15
|
+
## Relevant Changes
|
|
16
|
+
|
|
17
|
+
- `ai prepare-context --dry-run` now reports proposed doc actions, compact diffs, assumptions, risks, contradictions, omitted paths, and uncertainty markers without writing.
|
|
18
|
+
- Write mode snapshots touched docs under `.quiver/runs/<run-id>/snapshots/` before updating docs.
|
|
19
|
+
- Existing human-authored docs are preserved; Quiver appends or refreshes a managed context-prep block instead of replacing the full file.
|
|
20
|
+
- Context prep now targets `INDEX`, `PROJECT_MAP`, `AI_CONTEXT`, `AI_ONBOARDING_PROMPT`, `CONTEXTO`, `WORKFLOW`, `ARCHITECTURE`, `STATUS`, and `DECISIONS`.
|
|
21
|
+
- Context prep advances the lifecycle run to `onboarding-ready` after successful docs writes.
|
|
22
|
+
- README and command docs describe diff preview, snapshots, and contradiction reporting.
|
|
23
|
+
|
|
24
|
+
## Pending
|
|
25
|
+
|
|
26
|
+
No pending implementation for this slice.
|
|
27
|
+
|
|
28
|
+
## Remaining Risks
|
|
29
|
+
|
|
30
|
+
- Diff snippets are previews; full review should still use `git diff`.
|
|
31
|
+
- Contradiction detection is conservative and should expand with more real project signals in future hardening.
|
|
32
|
+
|
|
33
|
+
## Future Recommendations
|
|
34
|
+
|
|
35
|
+
- Dogfood this slice on Quiver itself and on a small generated project.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# EXECUTION BRIEF - slice-03: Safe AI onboarding documentation
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
Quiver should reduce manual onboarding work by letting AI complete project context docs, but this must be safe in existing projects.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Generate and update onboarding documentation with dry-run, snapshots, assumptions, and conflict reporting.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- Docs-only onboarding generation.
|
|
14
|
+
- New project and existing project behavior.
|
|
15
|
+
- Dry-run previews and snapshots.
|
|
16
|
+
- Uncertainty markers and contradiction reports.
|
|
17
|
+
|
|
18
|
+
## Acceptance Criteria
|
|
19
|
+
|
|
20
|
+
- New projects get generated onboarding docs.
|
|
21
|
+
- Existing docs are preserved unless explicitly updated.
|
|
22
|
+
- `--dry-run` writes nothing.
|
|
23
|
+
- Snapshots are saved before writes.
|
|
24
|
+
- Unknowns and contradictions are visible.
|
|
25
|
+
|
|
26
|
+
## Technical Plan Summary
|
|
27
|
+
|
|
28
|
+
Extend analyzer/context preparation into a safe doc writer that separates inferred facts from assumptions and uses the run state created in slice-02.
|
|
29
|
+
|
|
30
|
+
## Suggested Execution Steps
|
|
31
|
+
|
|
32
|
+
1. Define allowed docs and write policy.
|
|
33
|
+
2. Add dry-run diff output.
|
|
34
|
+
3. Add snapshot creation.
|
|
35
|
+
4. Add uncertainty/conflict reporting.
|
|
36
|
+
5. Cover project-new, project-existing, and old-Quiver fixtures.
|
|
37
|
+
|
|
38
|
+
## Restrictions
|
|
39
|
+
|
|
40
|
+
- Do not modify product code in target projects.
|
|
41
|
+
- Do not read or log secret values from `.env` files.
|
|
42
|
+
|
|
43
|
+
## Risks
|
|
44
|
+
|
|
45
|
+
- AI text may sound more certain than evidence supports. Force uncertainty labels.
|
|
46
|
+
|
|
47
|
+
## Completion Checklist
|
|
48
|
+
|
|
49
|
+
- [ ] Dry-run implemented.
|
|
50
|
+
- [ ] Snapshot behavior implemented.
|
|
51
|
+
- [ ] Existing docs preservation tested.
|
|
52
|
+
- [ ] Conflict reporting tested.
|
|
53
|
+
- [ ] Evidence appended.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-03-safe-ai-onboarding-docs",
|
|
3
|
+
"ticket": "QUIVER-25-03",
|
|
4
|
+
"type": "feature",
|
|
5
|
+
"title": "Safe AI onboarding documentation",
|
|
6
|
+
"objective": "Let Quiver use AI to generate and update project onboarding docs safely for new, existing, and older Quiver projects.",
|
|
7
|
+
"description": "Implement docs-only onboarding generation with dry-run, diffs, snapshots, assumptions, risks, and conflict reporting.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "safe-ai-onboarding-docs",
|
|
12
|
+
"branch_name": "feature/QUIVER-25-03-safe-ai-onboarding-docs"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"src/create-quiver/**",
|
|
16
|
+
"docs/**",
|
|
17
|
+
"templates/**",
|
|
18
|
+
"tests/**"
|
|
19
|
+
],
|
|
20
|
+
"depends_on": [
|
|
21
|
+
"slice-02-run-state-phase-locks"
|
|
22
|
+
],
|
|
23
|
+
"parallel_safe": "yes",
|
|
24
|
+
"parallel_safe_reason": "Can run beside agent adapter work if command/state files do not overlap.",
|
|
25
|
+
"must": [
|
|
26
|
+
"Support onboarding generation with `--dry-run`.",
|
|
27
|
+
"Generate or update docs such as CONTEXTO, WORKFLOW, ARCHITECTURE, STATUS, INDEX, AI_CONTEXT, and PROJECT_MAP where applicable.",
|
|
28
|
+
"Mark uncertain content as TODO, Assumption, or Pending confirmation.",
|
|
29
|
+
"Preserve human-authored content and show diffs before writing.",
|
|
30
|
+
"Snapshot touched docs before writing.",
|
|
31
|
+
"Report contradictions instead of silently resolving them."
|
|
32
|
+
],
|
|
33
|
+
"not_included": [
|
|
34
|
+
"Provider adapter implementation unless needed for prompt-only output.",
|
|
35
|
+
"Spec generation from approved plans.",
|
|
36
|
+
"Product code modification in target projects."
|
|
37
|
+
],
|
|
38
|
+
"acceptance": [
|
|
39
|
+
"New projects receive useful onboarding docs from inferred stack/scripts/structure.",
|
|
40
|
+
"Existing projects update only approved docs without deleting useful content.",
|
|
41
|
+
"`--dry-run` writes nothing and reports proposed changes.",
|
|
42
|
+
"Snapshots are stored before writes.",
|
|
43
|
+
"Contradictions and unknowns are reported clearly.",
|
|
44
|
+
"No product code files are modified by onboarding generation."
|
|
45
|
+
],
|
|
46
|
+
"tests": [
|
|
47
|
+
"node --test tests/**/*.test.js",
|
|
48
|
+
"git diff --check"
|
|
49
|
+
],
|
|
50
|
+
"estimated_hours": 8,
|
|
51
|
+
"status": "completed",
|
|
52
|
+
"completed_at": "2026-05-22T16:31:18-0300",
|
|
53
|
+
"blocked_reason": null
|
|
54
|
+
}
|