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.
Files changed (242) hide show
  1. package/BACKLOG.md +16 -17
  2. package/CHANGELOG.md +78 -0
  3. package/README.md +208 -41
  4. package/README_FOR_AI.md +50 -24
  5. package/ROADMAP.md +34 -11
  6. package/docs/AI_CONTEXT.md.template +2 -0
  7. package/docs/AI_ONBOARDING_PROMPT.md.template +31 -18
  8. package/docs/COMMANDS.md.template +90 -16
  9. package/docs/CONTEXTO.md.template +2 -0
  10. package/docs/DECISIONS.md.template +1 -0
  11. package/docs/INDEX.md.template +20 -18
  12. package/docs/STATUS.md.template +6 -1
  13. package/docs/SUPPORT_MATRIX.md.template +2 -2
  14. package/docs/TROUBLESHOOTING.md.template +50 -0
  15. package/docs/WORKFLOW.md.template +27 -17
  16. package/package.json +27 -4
  17. package/package.template.json +13 -1
  18. package/scripts/init-docs.sh +11 -4
  19. package/scripts/package-quiver.sh +18 -2
  20. package/specs/quiver-v22-guided-ai-workflow/EVIDENCE_REPORT.md +58 -0
  21. package/specs/quiver-v22-guided-ai-workflow/EXECUTION_PLAN.md +88 -0
  22. package/specs/quiver-v22-guided-ai-workflow/SPEC.md +228 -0
  23. package/specs/quiver-v22-guided-ai-workflow/STATUS.md +42 -0
  24. package/specs/quiver-v22-guided-ai-workflow/pr.md +104 -0
  25. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +35 -0
  26. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  27. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/slice.json +51 -0
  28. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/CLOSURE_BRIEF.md +31 -0
  29. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/EXECUTION_BRIEF.md +58 -0
  30. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/slice.json +55 -0
  31. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/CLOSURE_BRIEF.md +30 -0
  32. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/EXECUTION_BRIEF.md +57 -0
  33. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/slice.json +57 -0
  34. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/CLOSURE_BRIEF.md +32 -0
  35. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/EXECUTION_BRIEF.md +56 -0
  36. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/slice.json +56 -0
  37. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/CLOSURE_BRIEF.md +33 -0
  38. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/EXECUTION_BRIEF.md +56 -0
  39. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/slice.json +58 -0
  40. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/CLOSURE_BRIEF.md +32 -0
  41. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/EXECUTION_BRIEF.md +56 -0
  42. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/slice.json +54 -0
  43. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/CLOSURE_BRIEF.md +32 -0
  44. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/EXECUTION_BRIEF.md +58 -0
  45. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/slice.json +57 -0
  46. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/CLOSURE_BRIEF.md +32 -0
  47. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/EXECUTION_BRIEF.md +58 -0
  48. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/slice.json +55 -0
  49. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/CLOSURE_BRIEF.md +32 -0
  50. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/EXECUTION_BRIEF.md +58 -0
  51. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/slice.json +53 -0
  52. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/CLOSURE_BRIEF.md +33 -0
  53. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/EXECUTION_BRIEF.md +59 -0
  54. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/slice.json +59 -0
  55. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +34 -0
  56. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +58 -0
  57. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/slice.json +60 -0
  58. package/specs/quiver-v23-guided-flow-productization/EVIDENCE_REPORT.md +80 -0
  59. package/specs/quiver-v23-guided-flow-productization/EXECUTION_PLAN.md +80 -0
  60. package/specs/quiver-v23-guided-flow-productization/SPEC.md +203 -0
  61. package/specs/quiver-v23-guided-flow-productization/STATUS.md +39 -0
  62. package/specs/quiver-v23-guided-flow-productization/pr.md +119 -0
  63. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
  64. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  65. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/slice.json +51 -0
  66. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/CLOSURE_BRIEF.md +33 -0
  67. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/EXECUTION_BRIEF.md +35 -0
  68. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/slice.json +56 -0
  69. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/CLOSURE_BRIEF.md +31 -0
  70. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/EXECUTION_BRIEF.md +29 -0
  71. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/slice.json +55 -0
  72. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/CLOSURE_BRIEF.md +33 -0
  73. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/EXECUTION_BRIEF.md +29 -0
  74. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/slice.json +54 -0
  75. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/CLOSURE_BRIEF.md +32 -0
  76. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/EXECUTION_BRIEF.md +30 -0
  77. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/slice.json +59 -0
  78. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/CLOSURE_BRIEF.md +31 -0
  79. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/EXECUTION_BRIEF.md +29 -0
  80. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/slice.json +53 -0
  81. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/CLOSURE_BRIEF.md +33 -0
  82. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/EXECUTION_BRIEF.md +30 -0
  83. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/slice.json +54 -0
  84. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/CLOSURE_BRIEF.md +33 -0
  85. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/EXECUTION_BRIEF.md +30 -0
  86. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/slice.json +55 -0
  87. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/CLOSURE_BRIEF.md +32 -0
  88. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/EXECUTION_BRIEF.md +30 -0
  89. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/slice.json +55 -0
  90. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/CLOSURE_BRIEF.md +33 -0
  91. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/EXECUTION_BRIEF.md +34 -0
  92. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/slice.json +57 -0
  93. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
  94. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +32 -0
  95. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/slice.json +63 -0
  96. package/specs/quiver-v24-dx-onboarding-hardening/EVIDENCE_REPORT.md +55 -0
  97. package/specs/quiver-v24-dx-onboarding-hardening/EXECUTION_PLAN.md +43 -0
  98. package/specs/quiver-v24-dx-onboarding-hardening/SPEC.md +149 -0
  99. package/specs/quiver-v24-dx-onboarding-hardening/STATUS.md +31 -0
  100. package/specs/quiver-v24-dx-onboarding-hardening/pr.md +76 -0
  101. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +31 -0
  102. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
  103. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/slice.json +51 -0
  104. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/CLOSURE_BRIEF.md +38 -0
  105. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/EXECUTION_BRIEF.md +53 -0
  106. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/slice.json +55 -0
  107. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/CLOSURE_BRIEF.md +33 -0
  108. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/EXECUTION_BRIEF.md +50 -0
  109. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/slice.json +52 -0
  110. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/CLOSURE_BRIEF.md +33 -0
  111. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/EXECUTION_BRIEF.md +50 -0
  112. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/slice.json +53 -0
  113. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/CLOSURE_BRIEF.md +33 -0
  114. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/EXECUTION_BRIEF.md +50 -0
  115. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/slice.json +70 -0
  116. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/CLOSURE_BRIEF.md +36 -0
  117. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/EXECUTION_BRIEF.md +49 -0
  118. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/slice.json +52 -0
  119. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/CLOSURE_BRIEF.md +43 -0
  120. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/EXECUTION_BRIEF.md +53 -0
  121. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/slice.json +60 -0
  122. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/CLOSURE_BRIEF.md +32 -0
  123. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/EXECUTION_BRIEF.md +50 -0
  124. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/slice.json +51 -0
  125. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/CLOSURE_BRIEF.md +34 -0
  126. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/EXECUTION_BRIEF.md +52 -0
  127. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/slice.json +54 -0
  128. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/CLOSURE_BRIEF.md +34 -0
  129. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/EXECUTION_BRIEF.md +51 -0
  130. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/slice.json +59 -0
  131. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
  132. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +54 -0
  133. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/slice.json +76 -0
  134. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EVIDENCE_REPORT.md +293 -0
  135. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EXECUTION_PLAN.md +58 -0
  136. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/SPEC.md +242 -0
  137. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md +35 -0
  138. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/pr.md +77 -0
  139. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +34 -0
  140. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
  141. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/slice.json +52 -0
  142. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/CLOSURE_BRIEF.md +36 -0
  143. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/EXECUTION_BRIEF.md +52 -0
  144. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/slice.json +56 -0
  145. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/CLOSURE_BRIEF.md +43 -0
  146. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/EXECUTION_BRIEF.md +54 -0
  147. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/slice.json +52 -0
  148. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/CLOSURE_BRIEF.md +35 -0
  149. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/EXECUTION_BRIEF.md +53 -0
  150. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/slice.json +54 -0
  151. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/CLOSURE_BRIEF.md +34 -0
  152. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/EXECUTION_BRIEF.md +54 -0
  153. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/slice.json +52 -0
  154. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/CLOSURE_BRIEF.md +34 -0
  155. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/EXECUTION_BRIEF.md +54 -0
  156. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/slice.json +53 -0
  157. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/CLOSURE_BRIEF.md +33 -0
  158. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/EXECUTION_BRIEF.md +56 -0
  159. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/slice.json +55 -0
  160. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/CLOSURE_BRIEF.md +33 -0
  161. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/EXECUTION_BRIEF.md +54 -0
  162. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/slice.json +52 -0
  163. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/CLOSURE_BRIEF.md +39 -0
  164. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/EXECUTION_BRIEF.md +56 -0
  165. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/slice.json +53 -0
  166. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/CLOSURE_BRIEF.md +38 -0
  167. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/EXECUTION_BRIEF.md +57 -0
  168. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/slice.json +52 -0
  169. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/CLOSURE_BRIEF.md +39 -0
  170. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/EXECUTION_BRIEF.md +55 -0
  171. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/slice.json +56 -0
  172. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/CLOSURE_BRIEF.md +36 -0
  173. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/EXECUTION_BRIEF.md +54 -0
  174. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/slice.json +53 -0
  175. package/specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md +208 -0
  176. package/specs/quiver-v26-0121-smoke-hardening/EXECUTION_PLAN.md +57 -0
  177. package/specs/quiver-v26-0121-smoke-hardening/SPEC.md +137 -0
  178. package/specs/quiver-v26-0121-smoke-hardening/STATUS.md +32 -0
  179. package/specs/quiver-v26-0121-smoke-hardening/pr.md +96 -0
  180. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/CLOSURE_BRIEF.md +35 -0
  181. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/EXECUTION_BRIEF.md +55 -0
  182. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/slice.json +73 -0
  183. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/CLOSURE_BRIEF.md +38 -0
  184. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/EXECUTION_BRIEF.md +51 -0
  185. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/slice.json +76 -0
  186. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/CLOSURE_BRIEF.md +37 -0
  187. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/EXECUTION_BRIEF.md +52 -0
  188. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/slice.json +75 -0
  189. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/CLOSURE_BRIEF.md +37 -0
  190. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/EXECUTION_BRIEF.md +53 -0
  191. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/slice.json +77 -0
  192. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/CLOSURE_BRIEF.md +35 -0
  193. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/EXECUTION_BRIEF.md +52 -0
  194. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/slice.json +77 -0
  195. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/CLOSURE_BRIEF.md +34 -0
  196. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/EXECUTION_BRIEF.md +54 -0
  197. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/slice.json +84 -0
  198. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/CLOSURE_BRIEF.md +35 -0
  199. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/EXECUTION_BRIEF.md +53 -0
  200. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/slice.json +82 -0
  201. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/CLOSURE_BRIEF.md +35 -0
  202. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/EXECUTION_BRIEF.md +55 -0
  203. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/slice.json +92 -0
  204. package/src/create-quiver/commands/ai.js +1060 -37
  205. package/src/create-quiver/commands/demo.js +22 -0
  206. package/src/create-quiver/commands/evidence.js +37 -0
  207. package/src/create-quiver/commands/flow.js +562 -0
  208. package/src/create-quiver/commands/graph.js +19 -4
  209. package/src/create-quiver/commands/next.js +28 -0
  210. package/src/create-quiver/commands/plan.js +9 -6
  211. package/src/create-quiver/commands/prepare.js +236 -0
  212. package/src/create-quiver/commands/spec.js +133 -0
  213. package/src/create-quiver/index.js +1010 -31
  214. package/src/create-quiver/lib/actionable-error.js +27 -0
  215. package/src/create-quiver/lib/agent-profiles.js +148 -0
  216. package/src/create-quiver/lib/ai/context-packs.js +16 -0
  217. package/src/create-quiver/lib/ai/execution-plan.js +377 -11
  218. package/src/create-quiver/lib/ai/executor.js +633 -24
  219. package/src/create-quiver/lib/ai/export-state.js +534 -0
  220. package/src/create-quiver/lib/ai/github.js +279 -0
  221. package/src/create-quiver/lib/ai/onboarding-template.js +578 -0
  222. package/src/create-quiver/lib/ai/plan-review.js +286 -0
  223. package/src/create-quiver/lib/ai/providers.js +5 -3
  224. package/src/create-quiver/lib/ai/run-state.js +414 -0
  225. package/src/create-quiver/lib/ai/safety.js +5 -0
  226. package/src/create-quiver/lib/ai/spec-generator.js +12 -0
  227. package/src/create-quiver/lib/ai/spec-templates.js +80 -11
  228. package/src/create-quiver/lib/approvals.js +369 -0
  229. package/src/create-quiver/lib/demo.js +832 -0
  230. package/src/create-quiver/lib/doctor.js +309 -0
  231. package/src/create-quiver/lib/evidence.js +115 -0
  232. package/src/create-quiver/lib/handoff.js +81 -12
  233. package/src/create-quiver/lib/init-docs.js +302 -17
  234. package/src/create-quiver/lib/init-layout.js +34 -1
  235. package/src/create-quiver/lib/json.js +53 -3
  236. package/src/create-quiver/lib/lifecycle.js +6 -0
  237. package/src/create-quiver/lib/package-safety.js +117 -0
  238. package/src/create-quiver/lib/readiness.js +103 -21
  239. package/src/create-quiver/lib/scope.js +50 -7
  240. package/src/create-quiver/lib/slice-graph.js +138 -37
  241. package/src/create-quiver/lib/slice.js +14 -9
  242. package/src/create-quiver/lib/spec-worktrees.js +363 -0
@@ -0,0 +1,80 @@
1
+ # Evidence Report - Quiver v23 Guided Flow Productization
2
+
3
+ ## Status
4
+
5
+ Spec foundation is created. `slice-00` through `slice-10` are completed.
6
+
7
+ ## Slice Evidence
8
+
9
+ | Slice | Evidence |
10
+ |-------|----------|
11
+ | slice-00 | Spec foundation files created. All `slice.json` files parse successfully and `git diff --check` passed. |
12
+ | slice-01 | Added `quiver` as a package binary alias, added read-only `flow` command, generated `quiver:flow` script, docs, and command tests. |
13
+ | slice-02 | Expanded `flow` into a status wizard that reports uninitialized, context-needed, criteria approval, technical-plan approval, spec generation, slice execution, blocked slice graph, and PR-ready states. |
14
+ | slice-03 | Added `.quiver/agents/profiles.json`, `ai agent set/list/show`, provider validation, free-form model labels, profile-backed provider defaults, docs, and tests. |
15
+ | slice-04 | Added a packaged planner onboarding template, shared context plan, prepare report selected docs/debt/omissions, index-first generated prompt, and tests. |
16
+ | slice-05 | Added versioned drafts under `.quiver/approvals/<phase>/drafts/`, `ai approve --version`, status history output, and approval blocking against stale versions. |
17
+ | slice-06 | Added `ai review-plan`, review prompt metadata, persisted `.quiver/approvals/plan-review/` artifacts, flow guidance before technical-plan approval, and a spec-generation gate that requires the reviewed technical-plan version to be approved. |
18
+ | slice-07 | Added `npx create-quiver spec create`, generated `quiver:spec:create` scripts, dry-run preview, collision checks, next safe commands, and docs/tests for creating specs from reviewed approved technical plans. |
19
+ | slice-08 | Added `npx create-quiver ai prompt-slice`, generated `quiver:ai:prompt-slice` scripts, minimal SPEC excerpts, required closure brief handling, final report format, docs/templates, and tests for manual executor prompts. |
20
+ | slice-09 | Added `--mode manual` and `--mode delegated` for `ai execute-plan`, dry-run prompt/execute commands, delegated temporary worktrees for parallel-ready waves, sequential fallback for unsafe scopes, one-commit integration, recovery guidance, docs, and tests. |
21
+ | slice-10 | Updated README, README_FOR_AI, CHANGELOG, ROADMAP, BACKLOG, generated docs/templates, smoke coverage, release readiness checklist, final status/evidence, and confirmed no npm publish was performed. |
22
+
23
+ ## Validation Log
24
+
25
+ - 2026-05-21: `find specs/quiver-v23-guided-flow-productization -name "slice.json" -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;`
26
+ - 2026-05-21: `git diff --check`
27
+ - 2026-05-21: `node --test tests/commands/flow.test.js tests/commands/init-profiles.test.js tests/commands/prepare.test.js`
28
+ - 2026-05-21: `node bin/create-quiver.js flow --json`
29
+ - 2026-05-21: `node --test tests/commands/flow.test.js tests/lib/doctor.test.js`
30
+ - 2026-05-21: `git diff --check`
31
+ - 2026-05-21: `node --test tests/lib/agent-profiles.test.js tests/commands/ai-agent.test.js tests/commands/flow.test.js tests/commands/ai-onboard.test.js tests/commands/ai-plan.test.js tests/commands/ai-execute-slice.test.js tests/commands/ai-execute-plan.test.js`
32
+ - 2026-05-21: `git diff --check`
33
+ - 2026-05-21: `node --test tests/commands/prepare.test.js tests/commands/ai-onboard.test.js tests/lib/ai-safety.test.js`
34
+ - 2026-05-21: `git diff --check`
35
+ - 2026-05-21: `node --test tests/lib/approvals.test.js tests/commands/ai-plan.test.js tests/commands/ai-plan-spec-phase.test.js`
36
+ - 2026-05-21: `git diff --check`
37
+ - 2026-05-21: `node --test tests/commands/ai-review-plan.test.js`
38
+ - 2026-05-21: `node --test tests/commands/doctor.test.js tests/lib/init-docs.test.js tests/lib/init-layout.test.js tests/lib/package-safety.test.js tests/commands/flow.test.js tests/commands/ai-review-plan.test.js tests/commands/ai-plan-spec-phase.test.js tests/commands/ai-plan.test.js`
39
+ - 2026-05-21: `node --test tests/**/*.test.js`
40
+ - 2026-05-21: `git diff --check`
41
+ - 2026-05-21: `find specs/quiver-v23-guided-flow-productization -name slice.json -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;`
42
+ - 2026-05-21: `npm run smoke:create-quiver`
43
+ - 2026-05-21: `npm run smoke:tiered-pack`
44
+ - 2026-05-21: `npm run smoke:guided-workflow`
45
+ - 2026-05-21: `npm run smoke:create-quiver`
46
+ - 2026-05-21: `npm pack --dry-run` failed because the user npm cache under `~/.npm` contains root-owned files.
47
+ - 2026-05-21: `npm --cache /private/tmp/quiver-npm-cache pack --dry-run`
48
+ - 2026-05-21: `npm run smoke:tiered-pack`
49
+
50
+ ## Release Readiness Checklist
51
+
52
+ - [x] Root README documents the guided flow as available behavior.
53
+ - [x] Generated docs mention flow status, profiles, onboarding, review-plan, spec create, executor prompts, delegated execution, PR creation, and cleanup.
54
+ - [x] Guided workflow smoke covers flow status, profiles, onboarding, planner iterations, review-plan, spec create, executor prompt dry-run, delegated execution dry-run, PR dry-run, cleanup dry-run, and package safety.
55
+ - [x] Package dry-run succeeded with an isolated npm cache.
56
+ - [x] No npm publish was performed in this slice.
57
+ - 2026-05-21: `node --test tests/lib/ai-execution-plan.test.js tests/commands/ai-execute-plan.test.js tests/commands/ai-execute-slice.test.js`
58
+ - 2026-05-21: `node --test tests/lib/ai-execution-plan.test.js tests/commands/ai-execute-plan.test.js tests/commands/ai-execute-slice.test.js tests/lib/init-docs.test.js tests/lib/init-layout.test.js`
59
+ - 2026-05-21: `node --test tests/**/*.test.js`
60
+ - 2026-05-21: `git diff --check`
61
+ - 2026-05-21: `find specs/quiver-v23-guided-flow-productization -name slice.json -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;`
62
+ - 2026-05-21: `npm run smoke:create-quiver`
63
+ - 2026-05-21: `npm run smoke:tiered-pack`
64
+ - 2026-05-21: `node --test tests/commands/ai-execute-slice.test.js tests/lib/ai-executor.test.js tests/lib/init-docs.test.js tests/lib/init-layout.test.js`
65
+ - 2026-05-21: `node --test tests/**/*.test.js`
66
+ - 2026-05-21: `git diff --check`
67
+ - 2026-05-21: `find specs/quiver-v23-guided-flow-productization -name slice.json -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;`
68
+ - 2026-05-21: `npm run smoke:create-quiver`
69
+ - 2026-05-21: `npm run smoke:tiered-pack`
70
+ - 2026-05-21: `node --test tests/commands/spec-create.test.js tests/commands/flow.test.js tests/commands/ai-plan-spec-phase.test.js tests/lib/ai-spec-generator.test.js tests/lib/init-layout.test.js`
71
+ - 2026-05-21: `node --test tests/commands/spec-create.test.js tests/commands/flow.test.js tests/lib/ai-spec-generator.test.js tests/commands/ai-plan-spec-phase.test.js tests/lib/init-docs.test.js tests/lib/init-layout.test.js`
72
+ - 2026-05-21: `node --test tests/**/*.test.js`
73
+ - 2026-05-21: `git diff --check`
74
+ - 2026-05-21: `find specs/quiver-v23-guided-flow-productization -name slice.json -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;`
75
+ - 2026-05-21: `npm run smoke:create-quiver`
76
+ - 2026-05-21: `npm run smoke:tiered-pack`
77
+
78
+ ## Notes
79
+
80
+ This report must be updated by each slice executor with commands run, results, risks, and follow-up work.
@@ -0,0 +1,80 @@
1
+ # Execution Plan - Quiver v23 Guided Flow Productization
2
+
3
+ ## Rule
4
+
5
+ `slice-00` is mandatory and must be committed first. It establishes the spec foundation in the repo.
6
+
7
+ ## Recommended Wave Plan
8
+
9
+ This is the safe default plan. It favors reliable integration over speed because several slices will touch command routing, docs, and shared AI workflow state.
10
+
11
+ | Wave | Mode | Slices | Why |
12
+ |------|------|--------|-----|
13
+ | 0 | Sequential | `slice-00-spec-foundation` | Publishes the spec foundation, handoffs, execution plan, and PR body. |
14
+ | 1 | Sequential | `slice-01-short-command-and-flow-entrypoint` | Establishes the command surface before adding higher-level flow behavior. |
15
+ | 2 | Sequential | `slice-02-flow-status-wizard` | Adds the next-step guide that later slices can extend. |
16
+ | 3 | Sequential | `slice-03-agent-profiles` | Adds planner/executor/reviewer profile state before using those profiles in prompts. |
17
+ | 4 | Sequential | `slice-04-context-preparation-onboarding` | Productizes onboarding prompts after profiles and flow status exist. |
18
+ | 5 | Sequential | `slice-05-planner-iteration-history` | Adds versioned drafts and approvals before plan review and spec creation. |
19
+ | 6 | Sequential | `slice-06-production-plan-review` | Adds the production-readiness review gate before spec generation. |
20
+ | 7 | Sequential | `slice-07-spec-create-experience` | Builds on approved and reviewed plans to create specs predictably. |
21
+ | 8 | Sequential | `slice-08-executor-prompt-generation` | Generates minimal manual executor prompts after spec/slice shape is stable. |
22
+ | 9 | Sequential | `slice-09-delegated-slice-execution` | Adds the highest-risk delegated execution behavior after all prerequisites exist. |
23
+ | 10 | Sequential | `slice-10-docs-smokes-release-readiness` | Final docs and smokes must run last. |
24
+
25
+ ## Parallelization Assessment
26
+
27
+ Default recommendation: execute sequentially.
28
+
29
+ Optional parallel work is possible only after `slice-03` if file ownership is split:
30
+
31
+ | Optional Wave | Mode | Slices | Condition |
32
+ |---------------|------|--------|-----------|
33
+ | 4A | Parallel | `slice-04-context-preparation-onboarding` + `slice-05-planner-iteration-history` | Only if command routing changes are isolated and shared state files are not edited by both slices. |
34
+ | 8A | Parallel | `slice-08-executor-prompt-generation` + docs draft work for `slice-10` | Only if docs work does not depend on final delegated behavior. |
35
+
36
+ If file scopes overlap or are unknown, fall back to sequential execution.
37
+
38
+ ## Dependency Graph
39
+
40
+ ```mermaid
41
+ flowchart TD
42
+ S00[slice-00 spec foundation] --> S01[slice-01 short command and flow entrypoint]
43
+ S01 --> S02[slice-02 flow status wizard]
44
+ S02 --> S03[slice-03 agent profiles]
45
+ S03 --> S04[slice-04 context preparation onboarding]
46
+ S04 --> S05[slice-05 planner iteration history]
47
+ S05 --> S06[slice-06 production plan review]
48
+ S06 --> S07[slice-07 spec create experience]
49
+ S07 --> S08[slice-08 executor prompt generation]
50
+ S08 --> S09[slice-09 delegated slice execution]
51
+ S09 --> S10[slice-10 docs smokes release readiness]
52
+ ```
53
+
54
+ ## Suggested Commit Order
55
+
56
+ 1. `docs(spec): add guided flow productization spec`
57
+ 2. `feat(cli): add quiver flow entrypoint`
58
+ 3. `feat(flow): show next safe workflow step`
59
+ 4. `feat(ai): persist agent profiles`
60
+ 5. `feat(ai): productize context onboarding`
61
+ 6. `feat(ai): version planner drafts and approvals`
62
+ 7. `feat(ai): review technical plans for production readiness`
63
+ 8. `feat(spec): create specs from reviewed approved plans`
64
+ 9. `feat(ai): generate minimal executor prompts`
65
+ 10. `feat(ai): delegate slice execution safely`
66
+ 11. `docs(ai): document guided flow and add smokes`
67
+
68
+ ## Executor Assignment
69
+
70
+ - Keep `slice-00`, `slice-01`, `slice-02`, `slice-06`, `slice-09`, and `slice-10` with a stronger planner/reviewer because they affect user flow, safety, or integration.
71
+ - `slice-03`, `slice-04`, `slice-05`, `slice-07`, and `slice-08` can be executed by cheaper code-focused agents if their file scopes are clear.
72
+ - Do not delegate parallel slices unless write sets are disjoint.
73
+
74
+ ## Integration Notes
75
+
76
+ - Do not start implementation slices before `slice-00` is committed.
77
+ - Keep provider calls mocked in automated tests.
78
+ - Keep real provider CLI checks manual or dry-run only.
79
+ - Preserve existing `npx create-quiver` commands.
80
+ - Treat `quiver` as an alias unless a deliberate package decision changes that.
@@ -0,0 +1,203 @@
1
+ # Quiver v23 - Guided Flow Productization
2
+
3
+ **Date:** 2026-05-21
4
+ **Status:** Completed
5
+
6
+ Slice numbering resets here. This spec intentionally starts at `slice-00`.
7
+
8
+ ## Problem
9
+
10
+ Quiver already has the core AI workflow pieces: project preparation, analysis, planner phases, approvals, spec generation, slice execution, execution waves, PR creation, and worktree cleanup.
11
+
12
+ The remaining friction is product experience. Users still need to remember the sequence, paste long prompts, choose planner/executor agents manually, know when to approve or iterate, and decide how to delegate slices safely.
13
+
14
+ The desired product experience is a guided flow:
15
+
16
+ 1. Run one Quiver command.
17
+ 2. Prepare project context for AI onboarding.
18
+ 3. Configure planner and executor agents.
19
+ 4. Let the planner onboard from generated docs.
20
+ 5. Generate, revise, and approve acceptance criteria.
21
+ 6. Generate, revise, production-review, and approve the technical plan.
22
+ 7. Generate spec, slices, handoffs, execution plan, and `pr.md`.
23
+ 8. Execute `slice-00` first.
24
+ 9. Execute later slices sequentially or in parallel when safe.
25
+ 10. Create one commit per slice.
26
+ 11. Open one PR per spec.
27
+ 12. Close the spec worktree after merge and pull the main checkout.
28
+
29
+ ## Objective
30
+
31
+ Turn Quiver from a set of capable commands into a guided AI-first product flow that reduces prompt pasting, saves tokens, preserves human approvals, and makes the next safe step obvious.
32
+
33
+ ## Core Decisions
34
+
35
+ - `README_FOR_AI.md` remains the source of truth for Quiver workflow guidance in this repo.
36
+ - The canonical package remains `create-quiver`; this spec may introduce a `quiver` binary alias only if it forwards to the same CLI behavior.
37
+ - `.quiver/` stores local workflow state, drafts, approvals, agent profiles, and runs.
38
+ - `docs/` stores visible project context.
39
+ - `specs/` stores durable spec, slice, handoff, execution plan, and PR artifacts.
40
+ - Planner agents use broad context and do not modify product code.
41
+ - Executor agents use slice-bounded context and may modify product code only inside the approved slice scope.
42
+ - Human approval remains mandatory for acceptance criteria, technical plans, and PR merge.
43
+ - `slice-00` is mandatory for every spec and must land before implementation slices.
44
+ - One spec maps to one worktree and one PR.
45
+ - One slice maps to one commit.
46
+
47
+ ## Scope
48
+
49
+ ### Included
50
+
51
+ - Add a short `quiver` command experience or a documented alias that does not contradict `npx create-quiver`.
52
+ - Add a guided flow/status command that tells the user the current stage and next safe command.
53
+ - Add planner, executor, reviewer, and optional researcher agent profiles.
54
+ - Add setup and validation for provider CLI choices without silently installing tools.
55
+ - Add a context-preparation command focused on token-efficient AI onboarding.
56
+ - Convert the user's long onboarding, planning, review, executor, delegation, and PR prompts into maintained Quiver prompt templates.
57
+ - Persist planner drafts, revised versions, approved artifacts, and review results.
58
+ - Add a production-readiness plan review phase before spec generation.
59
+ - Improve spec creation UX so approved inputs generate spec artifacts predictably.
60
+ - Generate minimal executor prompts for manual slice assignment.
61
+ - Add a delegated slice execution mode that uses safe waves, cheap executor profiles, isolated worktrees where needed, and one commit per slice.
62
+ - Add final PR and cleanup guidance around the generated `pr.md`, `gh`, SSH aliases, and spec worktrees.
63
+ - Add docs and smokes that demonstrate the full guided flow.
64
+
65
+ ### Excluded
66
+
67
+ - Fully autonomous PR merge.
68
+ - Silent installation of `gh`, provider CLIs, or SSH keys.
69
+ - Direct provider API integrations.
70
+ - Guaranteeing provider-specific sub-agent spawning when the local CLI does not support it.
71
+ - Running real paid provider calls in CI.
72
+ - Replacing human approval for criteria, plans, or PR review.
73
+
74
+ ## Acceptance Criteria
75
+
76
+ 1. Given a user installs or runs Quiver, when they request the guided flow, then Quiver exposes a clear short command path or documented alias without contradicting `npx create-quiver`.
77
+ 2. Given a project has Quiver state, when the flow status command runs, then it reports the current stage, blockers, and next safe command.
78
+ 3. Given a project is not initialized, when the flow status command runs, then it recommends initialization instead of failing with low-level errors.
79
+ 4. Given the user wants token-efficient onboarding, when context preparation runs, then Quiver refreshes project docs, reports assumptions and risks, and excludes secrets, generated files, dependency folders, and local AI state.
80
+ 5. Given the user has preferred planner and executor models, when agent profiles are configured, then Quiver persists planner, executor, reviewer, and optional researcher choices under `.quiver/`.
81
+ 6. Given a configured provider CLI is missing or unauthenticated, when diagnostics run, then Quiver prints OS-aware guidance and does not modify credentials silently.
82
+ 7. Given a planner onboarding command runs in dry-run mode, then Quiver prints provider, role, context pack, prompt source, and token-relevant metadata without calling the provider.
83
+ 8. Given requirements input exists, when acceptance criteria generation runs, then Quiver stores the output as a draft and does not advance until approved.
84
+ 9. Given the user revises criteria multiple times, when drafts are listed, then Quiver shows the available versions and which one is approved.
85
+ 10. Given acceptance criteria are approved, when technical planning starts, then Quiver uses the approved criteria by default.
86
+ 11. Given a technical plan is generated, when production review runs, then Quiver reports fragile assumptions, ambiguous criteria, missing cases, and recommended fixes without changing product code.
87
+ 12. Given a reviewed technical plan is not approved, when spec generation is requested, then Quiver blocks and explains the missing approval.
88
+ 13. Given a reviewed plan is approved, when spec creation runs, then Quiver creates `SPEC.md`, `STATUS.md`, `EVIDENCE_REPORT.md`, `EXECUTION_PLAN.md`, `pr.md`, mandatory `slice-00`, and per-slice handoffs.
89
+ 14. Given a spec has generated slices, when execution planning runs, then `slice-00` is first and later slices are blocked until `slice-00` is committed.
90
+ 15. Given a slice is assigned manually, when executor prompt generation runs, then Quiver outputs only the slice objective, minimal context, allowed files, constraints, acceptance criteria, validation commands, and final report format.
91
+ 16. Given a delegated execution plan is requested, when slices have overlapping or unknown file scopes, then Quiver falls back to sequential execution.
92
+ 17. Given delegated execution runs later slices in parallel, when it writes code, then each executor works in an isolated safe workspace or otherwise cannot overlap writes.
93
+ 18. Given a slice passes provider, scope, and validation checks with commit enabled, then Quiver creates exactly one commit for that slice.
94
+ 19. Given all required slices are complete, when PR creation runs, then Quiver validates `gh`, auth, branch, remote, clean state, SSH alias, identity file, and generated `pr.md`.
95
+ 20. Given the PR is merged and the spec worktree is clean, when cleanup runs, then Quiver removes the spec worktree and pulls the main checkout.
96
+ 21. Given docs and generated templates are updated, when smokes run, then the full guided flow is covered without real paid provider calls.
97
+
98
+ ## Approved Technical Plan
99
+
100
+ ### Objective
101
+
102
+ Add a productized flow layer on top of the v22 command foundation.
103
+
104
+ ### Approach
105
+
106
+ Prefer thin orchestration wrappers over replacing proven commands. The new flow layer should call or reuse the existing command libraries for analysis, provider execution, approvals, spec generation, execution plans, PR creation, and cleanup.
107
+
108
+ Recommended areas:
109
+
110
+ ```text
111
+ bin/quiver.js
112
+ src/create-quiver/commands/flow.js
113
+ src/create-quiver/commands/agent.js
114
+ src/create-quiver/lib/flow-state.js
115
+ src/create-quiver/lib/agent-profiles.js
116
+ src/create-quiver/lib/prompt-templates.js
117
+ src/create-quiver/lib/planner-history.js
118
+ src/create-quiver/lib/plan-review.js
119
+ src/create-quiver/lib/executor-prompts.js
120
+ src/create-quiver/lib/delegation.js
121
+ ```
122
+
123
+ Exact file names may change if existing modules provide a better fit.
124
+
125
+ ### Product Flow
126
+
127
+ The desired command experience should be understandable without reading long prompts:
128
+
129
+ ```bash
130
+ quiver init --name "Project Name"
131
+ quiver flow
132
+ quiver prepare
133
+ quiver ai agent set planner --provider claude --model opus
134
+ quiver ai agent set executor --provider codex --model gpt-5.4-mini
135
+ quiver ai onboard
136
+ quiver ai criteria --input requirements.md
137
+ quiver ai approve criteria
138
+ quiver ai plan
139
+ quiver ai review-plan
140
+ quiver ai approve plan
141
+ quiver spec create
142
+ quiver spec start
143
+ quiver slices plan
144
+ quiver slices run --mode manual
145
+ quiver slices run --mode delegated
146
+ quiver pr create
147
+ quiver spec close
148
+ ```
149
+
150
+ The existing `npx create-quiver ...` commands must continue working.
151
+
152
+ ### Prompt Strategy
153
+
154
+ - Keep README snippets short.
155
+ - Store detailed prompt contracts as templates in the package.
156
+ - Generate task-specific prompts from state and slice artifacts.
157
+ - Do not send full specs to executor agents unless the slice explicitly needs it.
158
+ - Record assumptions, risks, and files read in outputs where relevant.
159
+
160
+ ### Safety Rules
161
+
162
+ - Dry-run first for provider and PR operations.
163
+ - No product code changes before approved slice execution.
164
+ - No spec generation before approved and reviewed plan.
165
+ - No parallel execution when scopes conflict or are unknown.
166
+ - No commit before validation.
167
+ - No cleanup before merge confirmation.
168
+ - No silent credential, SSH, or tool installation.
169
+
170
+ ## Slicing Strategy
171
+
172
+ `slice-00` lands first and only publishes this spec foundation. Later slices are ordered from user-facing command clarity to higher-risk delegated execution. Delegated parallel execution is intentionally late because it depends on command routing, agent profiles, prompt generation, slice status, and scope safety.
173
+
174
+ ## Slice Roadmap
175
+
176
+ | Slice | Title | Status | Dependencies |
177
+ |-------|-------|--------|--------------|
178
+ | slice-00 | Spec foundation and guided flow planning artifacts | Completed | none |
179
+ | slice-01 | Short command and guided flow entrypoint | Completed | slice-00 |
180
+ | slice-02 | Flow status and next-step wizard | Completed | slice-01 |
181
+ | slice-03 | Agent profiles for planner, executor, reviewer, and researcher | Completed | slice-02 |
182
+ | slice-04 | Context preparation and onboarding prompt productization | Completed | slice-03 |
183
+ | slice-05 | Planner iteration history for criteria and plans | Completed | slice-04 |
184
+ | slice-06 | Production-readiness plan review phase | Completed | slice-05 |
185
+ | slice-07 | Spec creation experience from approved plans | Completed | slice-06 |
186
+ | slice-08 | Executor prompt generation for manual slice assignment | Completed | slice-07 |
187
+ | slice-09 | Delegated slice execution with safe workspaces | Completed | slice-08 |
188
+ | slice-10 | Final docs, smokes, and release readiness | Completed | slice-09 |
189
+
190
+ ## Risks
191
+
192
+ - A short `quiver` command can create package naming confusion if not documented carefully.
193
+ - Agent model names are provider-specific and may change over time.
194
+ - Delegated parallel execution can corrupt work if isolation and conflict checks are weak.
195
+ - Storing too much prompt history can add noise and token cost.
196
+ - Provider CLIs may not support true sub-agent delegation; manual prompt generation must remain a first-class fallback.
197
+ - Over-automation can hide important human approval points.
198
+
199
+ ## Open Questions
200
+
201
+ - Should reviewed technical plans require a separate approval artifact, or can the approved plan include the review result?
202
+ - Should delegated execution create temporary worktrees per slice by default, even for sequential slices?
203
+ - Should final PR creation be owned by the planner profile, the default CLI, or a dedicated reviewer profile?
@@ -0,0 +1,39 @@
1
+ # Quiver v23 - Guided Flow Productization Status
2
+
3
+ **Status:** Completed
4
+ **Created:** 2026-05-21
5
+
6
+ ## Summary
7
+
8
+ This spec productizes the user's current prompt-driven workflow into first-class Quiver commands and templates. The goal is to reduce prompt pasting, preserve WDD/SDD approvals, guide the user through the next safe step, and support planner/executor agent roles with lower token cost.
9
+
10
+ ## Current State
11
+
12
+ - Requirements and product direction: approved in conversation.
13
+ - Spec and slice handoffs: created in this documentation pass.
14
+ - `slice-00`: completed.
15
+ - `slice-01`: completed. Added the `quiver` binary alias, read-only `flow` command, docs, generated script, and tests.
16
+ - `slice-02`: completed. Expanded `flow` into a read-only wizard that reads context docs, approvals, specs, slices, and blockers.
17
+ - `slice-03`: completed. Added reusable planner, executor, reviewer, and researcher agent profiles under `.quiver/agents/profiles.json`.
18
+ - `slice-04`: completed. Added packaged index-first onboarding prompt generation and context preparation reporting.
19
+ - `slice-05`: completed. Added versioned planner draft history and explicit approval by draft version.
20
+ - `slice-06`: completed. Added `ai review-plan`, persisted plan review state, flow guidance, and spec-generation gating for reviewed and approved technical plans.
21
+ - `slice-07`: completed. Added explicit `spec create` command, generated `quiver:spec:create` script, next-command output, docs, and tests.
22
+ - `slice-08`: completed. Added `ai prompt-slice` / `executor-prompt` to print minimal manual executor prompts from slice artifacts without calling providers.
23
+ - `slice-09`: completed. Added manual/delegated execution modes, prompt commands in dry-runs, delegated temporary worktrees for parallel-ready waves, and commit integration back into the active checkout.
24
+ - `slice-10`: completed. Updated root docs, generated docs/templates, roadmap/backlog/changelog, smoke coverage, release readiness evidence, and no-publish release checklist.
25
+
26
+ ## Execution Rules
27
+
28
+ - `slice-00` must be executed and committed first.
29
+ - Every later slice depends on `slice-00`.
30
+ - One slice equals one commit.
31
+ - One spec equals one worktree and one PR.
32
+ - Planner phases cannot modify product code.
33
+ - Executor phases can modify product code only inside approved slice scope.
34
+ - Parallel slices may run only when dependencies and file scopes are safe.
35
+
36
+ ## Open Items
37
+
38
+ - Decide whether future UX should add a dedicated `ai approve --phase plan-review` command, or keep the current model where the reviewed technical-plan draft is approved by version.
39
+ - Validate provider-specific model argument handling for Codex, Claude, and Gemini before model labels are used as invocation arguments.
@@ -0,0 +1,119 @@
1
+ ## Title
2
+
3
+ Quiver v23 - Guided flow productization
4
+
5
+ ## Summary
6
+
7
+ Productizes the current prompt-driven Quiver workflow into a guided AI-first flow. The goal is to reduce long prompt pasting, guide users through the next safe step, persist planner/executor profiles, version criteria and plan iterations, generate minimal executor prompts, and support safe delegated slice execution.
8
+
9
+ ## Scope
10
+
11
+ - Short `quiver` command path or documented alias
12
+ - Guided flow/status command
13
+ - Planner, executor, reviewer, and researcher profiles
14
+ - Token-efficient context preparation and onboarding prompt templates
15
+ - Versioned criteria and technical-plan drafts
16
+ - Production-readiness plan review
17
+ - Spec creation from reviewed approved plans
18
+ - Minimal executor prompt generation
19
+ - Delegated slice execution with safe workspaces
20
+ - PR and cleanup flow polish
21
+ - Docs, templates, and smoke coverage
22
+
23
+ ## Files
24
+
25
+ - `specs/quiver-v23-guided-flow-productization/SPEC.md`
26
+ - `specs/quiver-v23-guided-flow-productization/STATUS.md`
27
+ - `specs/quiver-v23-guided-flow-productization/EVIDENCE_REPORT.md`
28
+ - `specs/quiver-v23-guided-flow-productization/EXECUTION_PLAN.md`
29
+ - `specs/quiver-v23-guided-flow-productization/pr.md`
30
+ - `specs/quiver-v23-guided-flow-productization/slices/**`
31
+
32
+ Future implementation slices are expected to touch CLI routing, AI commands, provider/profile helpers, prompt templates, approval state, flow status, delegated execution, docs, tests, and smoke scripts as declared by each slice.
33
+
34
+ ## How to Test (DETAILED - REQUIRED)
35
+
36
+ ### Required Environment
37
+
38
+ - Node.js compatible with the current repo setup. The CI line uses Node 22.
39
+ - npm available locally.
40
+ - Git worktree on `feature/QUIVER-22-guided-ai-workflow`.
41
+ - No real paid provider calls are required for the automated checks.
42
+
43
+ ### Worktree Access
44
+
45
+ Run from the repo root:
46
+
47
+ ```bash
48
+ git status --short
49
+ git branch --show-current
50
+ ```
51
+
52
+ Expected:
53
+
54
+ - Worktree is clean before PR creation.
55
+ - Current branch is `feature/QUIVER-22-guided-ai-workflow`.
56
+
57
+ ### Run the Project
58
+
59
+ Quiver is a CLI package. Use the local binary for inspection:
60
+
61
+ ```bash
62
+ node bin/create-quiver.js --help
63
+ node bin/create-quiver.js flow --json
64
+ ```
65
+
66
+ ### Use Cases
67
+
68
+ - A user asks Quiver what step comes next.
69
+ - A user configures planner and executor agent profiles.
70
+ - A planner onboards from generated context without reading unnecessary docs.
71
+ - A planner generates and revises acceptance criteria.
72
+ - A reviewer checks the technical plan for production readiness.
73
+ - A reviewed approved plan creates spec/slices/handoffs/execution plan/PR body.
74
+ - An executor receives a minimal slice prompt.
75
+ - Quiver delegates or prints safe execution commands for slices.
76
+ - Quiver opens the PR from `pr.md` after checks pass.
77
+ - Quiver closes the spec worktree after merge.
78
+
79
+ ### Technical Verification
80
+
81
+ Documentation-only `slice-00`:
82
+
83
+ ```bash
84
+ git diff --check
85
+ find specs/quiver-v23-guided-flow-productization -name "slice.json" -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;
86
+ ```
87
+
88
+ Full validation:
89
+
90
+ ```bash
91
+ node --test tests/**/*.test.js
92
+ npm run smoke:create-quiver
93
+ npm run smoke:guided-workflow
94
+ npm run smoke:tiered-pack
95
+ npm run package:quiver
96
+ npm --cache /private/tmp/quiver-npm-cache pack --dry-run
97
+ ```
98
+
99
+ ## Evidence
100
+
101
+ - `node --test tests/**/*.test.js` passed with 223 tests.
102
+ - `git diff --check` passed.
103
+ - All `slice.json` files under `specs/quiver-v23-guided-flow-productization/` parse successfully.
104
+ - `npm run smoke:create-quiver` passed.
105
+ - `npm run smoke:guided-workflow` passed.
106
+ - `npm run smoke:tiered-pack` passed.
107
+ - `npm --cache /private/tmp/quiver-npm-cache pack --dry-run` passed.
108
+ - Plain `npm pack --dry-run` was blocked by root-owned files in the user's global npm cache; the package was validated with an isolated temporary cache.
109
+
110
+ ## Rollback
111
+
112
+ Revert the smallest failing slice commit. Since the spec requires one slice per commit, rollback should target the affected slice commit rather than the full PR when possible.
113
+
114
+ ## Risks / Notes
115
+
116
+ - This spec does not automate PR merge.
117
+ - Real provider CLIs are not called in CI.
118
+ - `quiver` command naming must not confuse package installation.
119
+ - Delegated parallel execution must remain conservative until isolation is proven.
@@ -0,0 +1,30 @@
1
+ # CLOSURE BRIEF - slice-00: Spec foundation
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ - Se creo la base documental de Quiver v23.
6
+ - Se agregaron spec, status, evidencia, plan de ejecucion, cuerpo de PR y handoffs por slice.
7
+
8
+ ## Validacion contra criterios de aceptacion
9
+
10
+ - [x] Spec folder creado.
11
+ - [x] `slice-00` creado.
12
+ - [x] Todos los slices tienen `slice.json`, `EXECUTION_BRIEF.md` y `CLOSURE_BRIEF.md`.
13
+ - [x] JSON validado.
14
+ - [x] No se modifico codigo de producto.
15
+
16
+ ## Cambios relevantes
17
+
18
+ - Nueva carpeta `specs/quiver-v23-guided-flow-productization/`.
19
+
20
+ ## Pendientes
21
+
22
+ - Implementar `slice-01` en adelante.
23
+
24
+ ## Riesgos remanentes
25
+
26
+ - Las decisiones sobre el binario corto `quiver` y perfiles de modelo se resolveran en slices posteriores.
27
+
28
+ ## Recomendaciones futuras
29
+
30
+ - Ejecutar los slices en el orden recomendado por `EXECUTION_PLAN.md`.
@@ -0,0 +1,61 @@
1
+ # EXECUTION BRIEF - slice-00: Spec foundation
2
+
3
+ **Spec:** quiver-v23-guided-flow-productization
4
+ **Slice:** slice-00-spec-foundation
5
+ **Tipo:** docs
6
+
7
+ ## Contexto
8
+
9
+ Esta slice sube al repo la base documental del flujo guiado productizado. Es obligatoria y debe ejecutarse antes de cualquier slice de implementacion.
10
+
11
+ ## Objetivo
12
+
13
+ Crear y validar la estructura completa de spec, slices, handoffs, plan de ejecucion y cuerpo de PR para Quiver v23.
14
+
15
+ ## Alcance
16
+
17
+ - Crear `SPEC.md`.
18
+ - Crear `STATUS.md`.
19
+ - Crear `EVIDENCE_REPORT.md`.
20
+ - Crear `EXECUTION_PLAN.md`.
21
+ - Crear `pr.md`.
22
+ - Crear `slice.json`, `EXECUTION_BRIEF.md` y `CLOSURE_BRIEF.md` para cada slice.
23
+
24
+ ## Criterios de aceptacion
25
+
26
+ - La carpeta `specs/quiver-v23-guided-flow-productization/` existe.
27
+ - `slice-00` existe y precede al resto.
28
+ - Cada slice tiene `slice.json`, `EXECUTION_BRIEF.md` y `CLOSURE_BRIEF.md`.
29
+ - Todos los JSON parsean correctamente.
30
+ - No se modifica codigo de producto.
31
+
32
+ ## Plan tecnico resumido
33
+
34
+ Crear artefactos documentales siguiendo el patron real del repo bajo `specs/`. Mantener `slice-00` como base documental y declarar dependencias para las slices posteriores.
35
+
36
+ ## Pasos sugeridos de ejecucion
37
+
38
+ 1. Revisar `README_FOR_AI.md`.
39
+ 2. Crear estructura `specs/quiver-v23-guided-flow-productization/`.
40
+ 3. Agregar archivos top-level de spec.
41
+ 4. Agregar cada slice y handoff.
42
+ 5. Validar JSON y whitespace.
43
+ 6. Preparar commit unico de slice-00.
44
+
45
+ ## Restricciones
46
+
47
+ - No tocar codigo de producto.
48
+ - No resolver implementacion en esta slice.
49
+ - No abrir PR todavia.
50
+
51
+ ## Riesgos
52
+
53
+ - Diseñar una spec demasiado amplia sin dependencias claras.
54
+ - Dejar handoffs incompletos para agentes executor.
55
+
56
+ ## Checklist de finalizacion
57
+
58
+ - [ ] `git diff --check` pasa.
59
+ - [ ] Todos los `slice.json` parsean.
60
+ - [ ] No hay cambios fuera de `specs/quiver-v23-guided-flow-productization/`.
61
+ - [ ] El commit representa solo slice-00.