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,228 @@
1
+ # Quiver v22 - Guided AI Workflow
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 an AI-first foundation: it can initialize a project, analyze it, generate context artifacts, run planner phases, generate specs/slices/handoffs, execute one slice with reduced context, and run GitHub PR preflight checks.
11
+
12
+ The current experience still requires too much manual coordination. A user must remember which command comes next, manually preserve approved criteria and plans, decide when a worktree is safe, decide when parallel execution is safe, create slice commits by hand, and open or close the PR outside the guided flow.
13
+
14
+ The desired workflow is a guided AI delivery line:
15
+
16
+ 1. Install or run Quiver.
17
+ 2. Prepare the project for AI onboarding.
18
+ 3. Choose a planner agent.
19
+ 4. Run planner onboarding with generated context.
20
+ 5. Turn requirements into acceptance criteria.
21
+ 6. Iterate criteria until approved.
22
+ 7. Turn approved criteria into a development plan.
23
+ 8. Iterate the plan until approved.
24
+ 9. Generate spec, slices, handoffs, and `pr.md`.
25
+ 10. Build an execution plan with sequential and parallel slices.
26
+ 11. Execute slices through cheaper executor agents, one slice per commit.
27
+ 12. Open the PR from the generated body.
28
+ 13. Let the human review and merge.
29
+ 14. Close the worktree and pull merged changes back into the main local checkout.
30
+
31
+ ## Objective
32
+
33
+ Make Quiver guide the full AI-assisted workflow from project preparation to post-merge cleanup while preserving human approvals, one spec per worktree, one slice per commit, token-efficient executor context, and safe defaults.
34
+
35
+ ## Core Decisions
36
+
37
+ - `README_FOR_AI.md` remains the source of truth for Quiver workflow guidance in this repo.
38
+ - This repo uses `specs/quiver-vNN-*` as the real spec location, even though some reusable skills mention `docs/specs/`.
39
+ - `slice-00` is mandatory and only establishes the spec foundation.
40
+ - One spec maps to one dedicated worktree and one PR.
41
+ - One slice maps to one commit.
42
+ - Planner agents use broad context and do not modify product code while creating criteria or plans.
43
+ - Executor agents may modify product code only inside the approved slice scope.
44
+ - AI outputs that influence implementation must be saved and explicitly approved before they become inputs for the next phase.
45
+ - Parallel slice execution is allowed only when dependencies and touched files make it safe.
46
+ - Quiver validates or guides setup for `gh`, SSH aliases, provider CLIs, and auth. It must not silently rewrite credentials.
47
+ - PR creation is allowed after checks pass, but PR merge remains a human decision.
48
+ - Worktree cleanup is allowed only after the PR merge is confirmed and no local changes would be lost.
49
+
50
+ ## Scope
51
+
52
+ ### Included
53
+
54
+ - Sync documentation that drifted after `0.10.0`.
55
+ - Define the official command experience for guided workflows, including whether a short `quiver` command exists or commands remain under `npx create-quiver`.
56
+ - Add a safe project preparation command that combines analysis, diagnostics, context refresh, and setup guidance.
57
+ - Improve project analysis so it produces useful AI onboarding context without exposing secrets or noisy generated files.
58
+ - Persist planner outputs and approvals for acceptance criteria and technical plans.
59
+ - Generate specs, slices, handoffs, execution plans, and `pr.md` only from approved inputs.
60
+ - Formalize one spec per worktree.
61
+ - Add status, retry, abort, and recovery surfaces for slices.
62
+ - Add optional commit automation after slice validation.
63
+ - Add execution waves for sequential and parallel slices.
64
+ - Add safe delegation guidance for cheap executor agents.
65
+ - Create PRs with `gh` from generated `pr.md` after preflight passes.
66
+ - Add post-merge cleanup that removes the spec worktree and pulls the main local checkout.
67
+ - Add release/package safety checks so local settings or secrets are not published.
68
+ - Cover macOS, Linux, and Windows guidance for `gh`, SSH, providers, and paths.
69
+
70
+ ### Excluded
71
+
72
+ - Fully autonomous PR merge.
73
+ - Silent installation of tools without explicit user approval.
74
+ - Silent SSH config rewriting.
75
+ - Direct provider API integrations.
76
+ - Guaranteeing identical behavior across Codex, Claude, and Gemini CLIs.
77
+ - Running real paid AI providers in CI.
78
+ - Replacing human approval for acceptance criteria, plans, or PR review.
79
+
80
+ ## Acceptance Criteria
81
+
82
+ 1. Given the root docs drift from the published package version, when the docs-sync slice runs, then README, CHANGELOG, ROADMAP, BACKLOG, and AI guidance no longer contradict the current package state.
83
+ 2. Given a user wants to start safely, when the preparation command runs in dry-run mode, then it reports planned checks and writes nothing.
84
+ 3. Given a user runs preparation for real, when the repo is valid, then Quiver refreshes project context docs and reports assumptions, risks, missing tools, and next commands.
85
+ 4. Given a project has secrets, env files, generated files, large artifacts, or dependency folders, when context is prepared, then those files are excluded from AI-facing context.
86
+ 5. Given `gh`, provider CLIs, auth, or SSH aliases are missing, when diagnostics run, then Quiver gives OS-specific guidance for macOS, Linux, and Windows.
87
+ 6. Given a planner produces acceptance criteria, when the user does not approve them, then Quiver keeps them as draft and does not create a technical plan or spec.
88
+ 7. Given acceptance criteria are approved, when the next phase starts, then Quiver uses the approved criteria as the source input.
89
+ 8. Given a planner produces a technical plan, when the user does not approve it, then Quiver keeps it as draft and does not create spec artifacts.
90
+ 9. Given a technical plan is approved, when the spec phase runs, then Quiver creates `SPEC.md`, `STATUS.md`, `EVIDENCE_REPORT.md`, `EXECUTION_PLAN.md`, `pr.md`, mandatory `slice-00`, and per-slice handoffs.
91
+ 10. Given generated slices, when the execution plan is built, then `slice-00` is first and every later slice is blocked until `slice-00` is committed.
92
+ 11. Given a spec starts, when Quiver creates or selects its worktree, then it uses one dedicated worktree/branch for that spec.
93
+ 12. Given a slice executor runs, when it receives context, then it receives only the slice, handoff, allowed files, criteria, and validation commands.
94
+ 13. Given a slice executor modifies files outside scope, when validation runs, then Quiver stops and reports the scope violation.
95
+ 14. Given a slice passes validation and commit automation is enabled, when the slice completes, then Quiver creates exactly one commit for that slice.
96
+ 15. Given a slice fails validation, when the command exits, then Quiver leaves a clear report and supports retry or abort without hiding local changes.
97
+ 16. Given multiple slices are ready, when execution waves are requested, then Quiver only runs slices in parallel if dependencies and file scopes do not conflict.
98
+ 17. Given execution waves include conflicts or unknown file scopes, when Quiver plans execution, then it falls back to sequential execution.
99
+ 18. Given all required slices are complete, when PR creation runs, then Quiver validates `gh`, auth, remote, branch, worktree, identity file, SSH alias, clean state, and generated `pr.md`.
100
+ 19. Given PR checks pass, when the user confirms PR creation, then Quiver creates the PR with `gh` using `pr.md`.
101
+ 20. Given a PR is not merged, when cleanup is requested, then Quiver refuses normal cleanup and explains the safe options.
102
+ 21. Given a PR is merged and the worktree is clean, when cleanup runs, then Quiver removes the spec worktree and pulls the merged changes into the main local checkout.
103
+ 22. Given package release validation runs, when local settings, env files, npm credentials, or AI tool local state would be included, then Quiver fails before packaging or publishing.
104
+
105
+ ## Approved Technical Plan
106
+
107
+ ### Objective
108
+
109
+ Turn Quiver's current AI commands into a guided workflow that is safer, more recoverable, and easier to use end to end.
110
+
111
+ ### Architecture
112
+
113
+ Add a lightweight workflow state layer under `.quiver/` and keep versioned project contracts under visible docs and `specs/`.
114
+
115
+ Recommended areas:
116
+
117
+ ```text
118
+ src/create-quiver/commands/prepare.js
119
+ src/create-quiver/commands/ai.js
120
+ src/create-quiver/commands/spec.js
121
+ src/create-quiver/lib/workflow-state.js
122
+ src/create-quiver/lib/context-writer.js
123
+ src/create-quiver/lib/approvals.js
124
+ src/create-quiver/lib/spec-worktrees.js
125
+ src/create-quiver/lib/slice-runner.js
126
+ src/create-quiver/lib/pr-create.js
127
+ src/create-quiver/lib/package-safety.js
128
+ ```
129
+
130
+ The exact file names can change during implementation if the existing codebase points to a better local pattern.
131
+
132
+ ### Workflow State
133
+
134
+ Persist workflow progress in `.quiver/`:
135
+
136
+ - selected provider and role;
137
+ - current spec;
138
+ - current worktree;
139
+ - draft and approved acceptance criteria;
140
+ - draft and approved technical plan;
141
+ - generated spec path;
142
+ - slice statuses;
143
+ - execution wave status;
144
+ - PR status;
145
+ - cleanup status.
146
+
147
+ Only durable team contracts belong in visible docs or `specs/`.
148
+
149
+ ### Command Experience
150
+
151
+ The command surface should be simple for humans:
152
+
153
+ ```bash
154
+ npx create-quiver prepare
155
+ npx create-quiver ai planner onboard
156
+ npx create-quiver ai planner acceptance
157
+ npx create-quiver ai approve acceptance
158
+ npx create-quiver ai planner technical-plan
159
+ npx create-quiver ai approve technical-plan
160
+ npx create-quiver ai planner spec
161
+ npx create-quiver spec start
162
+ npx create-quiver ai execute-plan
163
+ npx create-quiver ai pr create
164
+ npx create-quiver spec close
165
+ ```
166
+
167
+ If a short `quiver` binary is introduced, it must be documented as an alias or project-local script and must not contradict the canonical `npx create-quiver` entrypoint until that decision is made.
168
+
169
+ ### Safety Rules
170
+
171
+ - Dry-run support comes before write support.
172
+ - No product code changes before an approved slice.
173
+ - No commit before validation.
174
+ - No parallel execution when files or dependencies are unclear.
175
+ - No PR creation with dirty worktree or missing generated PR body.
176
+ - No cleanup before merge confirmation.
177
+ - No publishing if local settings or secrets enter the package tarball.
178
+
179
+ ### Validation Strategy
180
+
181
+ - Unit tests for state persistence and approval transitions.
182
+ - Unit tests for context exclusion and secret/path filters.
183
+ - Unit tests for missing tools and cross-platform install guidance.
184
+ - Unit tests for spec worktree lifecycle and cleanup guardrails.
185
+ - Unit tests for slice commit success/failure behavior.
186
+ - Unit tests for execution wave grouping and conflict fallback.
187
+ - Unit tests for PR creation command construction with mocked `gh`.
188
+ - Smoke tests for `prepare`, planner approval flow, executor dry-run, PR dry-run, and release/package safety.
189
+ - Existing tests for `ai plan`, `ai execute-slice`, `plan`, `graph`, and `next` must remain green.
190
+
191
+ ## Slicing Strategy
192
+
193
+ `slice-00` lands first and only publishes this spec foundation. The rest of the work is split so Quiver becomes useful earlier while high-risk automation, such as parallel execution and cleanup, is introduced after state, approvals, and single-slice execution are reliable.
194
+
195
+ ## Slice Roadmap
196
+
197
+ | Slice | Title | Status | Dependencies |
198
+ |-------|-------|--------|--------------|
199
+ | slice-00 | Spec foundation and guided workflow planning artifacts | Completed | none |
200
+ | slice-01 | Documentation source-of-truth sync | Completed | slice-00 |
201
+ | slice-02 | Prepare command and setup diagnostics | Completed | slice-01 |
202
+ | slice-03 | Context documentation refresh and safe analyzer output | Completed | slice-02 |
203
+ | slice-04 | Planner approval state for criteria and technical plans | Completed | slice-03 |
204
+ | slice-05 | Spec worktree lifecycle | Completed | slice-04 |
205
+ | slice-06 | Executor validation, recovery, and commit per slice | Completed | slice-05 |
206
+ | slice-07 | Execution waves and safe delegation | Completed | slice-06 |
207
+ | slice-08 | PR creation with gh and SSH guidance | Completed | slice-05 |
208
+ | slice-09 | Post-merge cleanup and release safety | Completed | slice-07, slice-08 |
209
+ | slice-10 | Final docs, smokes, and release readiness | Completed | slice-09 |
210
+
211
+ ## Risks
212
+
213
+ - A short `quiver` command can confuse users if it is introduced before the canonical command decision is documented.
214
+ - Persisted approval state can drift from visible spec artifacts if not validated.
215
+ - More automation increases the cost of recovering from failed provider runs.
216
+ - Parallel executor runs can create conflicts or overlapping edits.
217
+ - Cross-platform setup guidance can become stale if it is duplicated in several files.
218
+ - PR creation can target the wrong account if `gh` auth and SSH alias point to different identities.
219
+ - Cleanup can delete useful local work if merge and cleanliness checks are incomplete.
220
+ - Packaging can leak local tool state unless tarball checks are enforced.
221
+
222
+ ## Open Questions
223
+
224
+ - Should the short command be `quiver`, a project-local npm script, or only documented as future sugar over `npx create-quiver`?
225
+ - Should approval artifacts be versioned in `specs/` or stored internally in `.quiver/` until the spec is generated?
226
+ - Should commit automation default to confirmation prompts or require an explicit `--commit` flag?
227
+ - Should execution waves initially print commands for manual execution before running multiple providers automatically?
228
+ - Should `gh` installation remain guidance-only or include optional installer helpers behind explicit approval?
@@ -0,0 +1,42 @@
1
+ # Quiver v22 - Guided AI Workflow Status
2
+
3
+ **Status:** Completed
4
+ **Created:** 2026-05-21
5
+
6
+ ## Summary
7
+
8
+ This spec implemented the guided AI workflow needed to move from project preparation to planner approvals, spec generation, slice execution, PR creation, and post-merge cleanup.
9
+
10
+ ## Current State
11
+
12
+ - Requirements and acceptance criteria: approved in conversation.
13
+ - Technical plan: approved in conversation after production-readiness review.
14
+ - Spec and slice handoffs: created in this documentation pass.
15
+ - `slice-00`: completed.
16
+ - `slice-01`: completed.
17
+ - `slice-02`: completed.
18
+ - `slice-03`: completed.
19
+ - `slice-04`: completed.
20
+ - `slice-05`: completed.
21
+ - `slice-06`: completed.
22
+ - `slice-07`: completed.
23
+ - `slice-08`: completed.
24
+ - `slice-09`: completed.
25
+ - `slice-10`: completed.
26
+
27
+ ## Execution Rules
28
+
29
+ - `slice-00` must be executed and committed first.
30
+ - Every later slice depends on `slice-00`.
31
+ - One slice equals one commit.
32
+ - One spec equals one worktree and one PR.
33
+ - Planner phases cannot modify product code.
34
+ - Executor phases can modify product code only inside approved slice scope.
35
+ - Parallel slices may run only when dependencies and file scopes are safe.
36
+
37
+ ## Open Items
38
+
39
+ - The canonical executable remains `npx create-quiver`; a short `quiver` binary was not introduced in this spec.
40
+ - Approved planner artifacts are persisted under `.quiver/approvals` until generated specs and slices become versioned repo artifacts.
41
+ - Commit automation is opt-in through `--commit`; real execution waves also require `--execute`.
42
+ - Package publication is intentionally outside this slice and should be handled by the release workflow after review.
@@ -0,0 +1,104 @@
1
+ ## Title
2
+
3
+ Quiver v22 - Guided AI workflow
4
+
5
+ ## Summary
6
+
7
+ Adds the plan for a guided AI workflow that takes Quiver from project preparation through planner approvals, spec generation, slice execution, PR creation, and post-merge cleanup.
8
+
9
+ The goal is to make Quiver feel like an AI-first delivery assistant: the planner handles context and decisions, cheaper executors handle bounded slices, each slice becomes one commit, and the human remains responsible for approvals and PR merge.
10
+
11
+ ## Scope
12
+
13
+ - Documentation source-of-truth sync
14
+ - Guided project preparation command
15
+ - AI context refresh with safe exclusions
16
+ - Draft and approved planner artifact persistence
17
+ - One spec per worktree lifecycle
18
+ - Executor validation, recovery, and optional commit per slice
19
+ - Execution waves for safe sequential and parallel slice work
20
+ - PR creation with `gh` and SSH guidance
21
+ - Post-merge cleanup
22
+ - Package/release safety checks
23
+ - Final docs, scripts, and smoke coverage
24
+
25
+ ## Files
26
+
27
+ - `specs/quiver-v22-guided-ai-workflow/SPEC.md`
28
+ - `specs/quiver-v22-guided-ai-workflow/STATUS.md`
29
+ - `specs/quiver-v22-guided-ai-workflow/EVIDENCE_REPORT.md`
30
+ - `specs/quiver-v22-guided-ai-workflow/EXECUTION_PLAN.md`
31
+ - `specs/quiver-v22-guided-ai-workflow/pr.md`
32
+ - `specs/quiver-v22-guided-ai-workflow/slices/**`
33
+
34
+ Future implementation slices are expected to touch CLI source, AI orchestration modules, analyzer/context modules, worktree lifecycle code, PR helpers, tests, templates, generated docs, and smoke scripts as declared in each slice.
35
+
36
+ ## How to Test (DETAILED - REQUIRED)
37
+
38
+ ### Required Environment
39
+
40
+ - Node.js supported by Quiver
41
+ - npm
42
+ - Git
43
+ - `gh` for PR creation slices
44
+ - Optional local provider CLIs for manual checks:
45
+ - `codex`
46
+ - `claude`
47
+ - `gemini`
48
+
49
+ ### Worktree Access
50
+
51
+ Use one dedicated worktree for this spec PR. Parallel slices may use temporary slice worktrees only when the execution plan marks them safe and their changed-file scopes do not conflict.
52
+
53
+ ### Run the Project
54
+
55
+ For documentation-only `slice-00`, validate files and JSON:
56
+
57
+ ```bash
58
+ git diff --check
59
+ find specs/quiver-v22-guided-ai-workflow -name "slice.json" -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;
60
+ ```
61
+
62
+ For implementation slices, run the validation commands declared in each `slice.json` and `EXECUTION_BRIEF.md`.
63
+
64
+ ### Use Cases
65
+
66
+ - New user prepares a repo for AI-assisted work.
67
+ - Planner creates and iterates acceptance criteria.
68
+ - Planner creates and iterates the technical plan.
69
+ - Approved plan generates spec, slices, handoffs, execution plan, and PR body.
70
+ - Executor runs a bounded slice with reduced context.
71
+ - Slice validation passes and one commit is created.
72
+ - Failed slice leaves a recoverable report.
73
+ - Ready slices are grouped into safe execution waves.
74
+ - PR is created from `pr.md` after `gh` and SSH checks.
75
+ - Merged spec worktree is closed and main local checkout is updated.
76
+
77
+ ### Technical Verification
78
+
79
+ - Dry-run paths write nothing.
80
+ - Approval transitions are explicit and persisted.
81
+ - Context excludes secrets, env files, generated outputs, dependency folders, and local AI tool state.
82
+ - Worktree cleanup refuses dirty or unmerged work.
83
+ - PR creation uses `gh` without opening a PR in tests.
84
+ - Release safety fails if unsafe local files would enter the npm package.
85
+
86
+ ## Evidence
87
+
88
+ To be completed by implementation slices. Expected evidence includes:
89
+
90
+ - `node --test tests/**/*.test.js`
91
+ - `npm run smoke:create-quiver`
92
+ - targeted smoke tests for guided prepare, approval flow, executor commit, execution waves, PR creation, cleanup, and release safety
93
+ - `git diff --check`
94
+
95
+ ## Rollback
96
+
97
+ 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.
98
+
99
+ ## Risks / Notes
100
+
101
+ - This spec intentionally does not automate PR merge.
102
+ - Short command naming must not conflict with the canonical `npx create-quiver` guidance.
103
+ - Parallel execution must remain conservative until conflict detection is reliable.
104
+ - Tool installation and SSH setup must require explicit user approval.
@@ -0,0 +1,35 @@
1
+ # CLOSURE BRIEF - slice-00: Spec foundation
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se creo la base documental completa de `quiver-v22-guided-ai-workflow`, incluyendo spec, estado, evidencia, plan de ejecucion, cuerpo de PR y handoffs por slice.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Spec creada.
10
+ - [x] `slice-00` creada.
11
+ - [x] Handoffs creados para cada slice.
12
+ - [x] `EXECUTION_PLAN.md` creado.
13
+ - [x] `pr.md` creado.
14
+ - [x] JSON validado.
15
+
16
+ ## Cambios relevantes
17
+
18
+ - `specs/quiver-v22-guided-ai-workflow/SPEC.md`
19
+ - `specs/quiver-v22-guided-ai-workflow/STATUS.md`
20
+ - `specs/quiver-v22-guided-ai-workflow/EVIDENCE_REPORT.md`
21
+ - `specs/quiver-v22-guided-ai-workflow/EXECUTION_PLAN.md`
22
+ - `specs/quiver-v22-guided-ai-workflow/pr.md`
23
+ - `specs/quiver-v22-guided-ai-workflow/slices/**`
24
+
25
+ ## Pendientes
26
+
27
+ Ninguno para esta slice.
28
+
29
+ ## Riesgos remanentes
30
+
31
+ El spec es amplio y debe ejecutarse en orden conservador. El plan marca paralelismo solo como opcional y condicionado a scopes disjuntos.
32
+
33
+ ## Recomendaciones futuras
34
+
35
+ Ejecutar `slice-01-docs-source-of-truth-sync` antes de modificar comportamiento, para evitar que los proximos agentes lean documentacion desactualizada.
@@ -0,0 +1,61 @@
1
+ # EXECUTION BRIEF - slice-00: Spec foundation
2
+
3
+ **Spec:** quiver-v22-guided-ai-workflow
4
+ **Slice:** slice-00-spec-foundation
5
+ **Tipo:** docs
6
+
7
+ ## Contexto
8
+
9
+ Esta slice sube al repo la base documental del nuevo flujo guiado de IA. 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 el guided AI workflow.
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-v22-guided-ai-workflow/` 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 todas las slices posteriores.
35
+
36
+ ## Pasos sugeridos de ejecucion
37
+
38
+ 1. Revisar `README_FOR_AI.md`.
39
+ 2. Crear estructura `specs/quiver-v22-guided-ai-workflow/`.
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 crear PR todavia.
50
+
51
+ ## Riesgos
52
+
53
+ - Generar 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-v22-guided-ai-workflow/`.
61
+ - [ ] El commit representa solo slice-00.
@@ -0,0 +1,51 @@
1
+ {
2
+ "slice_id": "slice-00-spec-foundation",
3
+ "ticket": "QUIVER-22-00",
4
+ "type": "docs",
5
+ "title": "Spec foundation and guided workflow planning artifacts",
6
+ "objective": "Create the complete documentation foundation for the guided AI workflow spec.",
7
+ "description": "Publish the spec, status, evidence report, execution plan, PR body, slice definitions, and handoffs before product implementation starts.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "guided-ai-workflow-spec-foundation",
12
+ "branch_name": "feature/QUIVER-22-00-guided-ai-workflow-spec-foundation"
13
+ },
14
+ "files": [
15
+ "specs/quiver-v22-guided-ai-workflow/**"
16
+ ],
17
+ "depends_on": [],
18
+ "parallel_safe": "no",
19
+ "parallel_safe_reason": "slice-00 must land before every other slice.",
20
+ "must": [
21
+ "Create SPEC.md.",
22
+ "Create STATUS.md.",
23
+ "Create EVIDENCE_REPORT.md.",
24
+ "Create EXECUTION_PLAN.md.",
25
+ "Create pr.md.",
26
+ "Create slice.json, EXECUTION_BRIEF.md, and CLOSURE_BRIEF.md for every slice.",
27
+ "Avoid product code changes."
28
+ ],
29
+ "not_included": [
30
+ "Implementing commands.",
31
+ "Changing README or CHANGELOG.",
32
+ "Running AI providers.",
33
+ "Creating commits automatically."
34
+ ],
35
+ "acceptance": [
36
+ "Spec folder exists under specs/quiver-v22-guided-ai-workflow.",
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
+ "No product code is modified."
41
+ ],
42
+ "tests": [
43
+ "git diff --check",
44
+ "find specs/quiver-v22-guided-ai-workflow -name \"slice.json\" -print -exec node -e \"JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))\" {} \\;"
45
+ ],
46
+ "estimated_hours": 2,
47
+ "status": "completed",
48
+ "blocked_reason": null,
49
+ "actual_hours": 2,
50
+ "completed_at": "2026-05-21T11:16:22-0300"
51
+ }
@@ -0,0 +1,31 @@
1
+ # CLOSURE BRIEF - slice-01: Documentation source-of-truth sync
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se sincronizaron los documentos raiz con la version `0.10.0` y con el estado real de los specs v20, v21 y v22.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Docs sincronizadas con `0.10.0`.
10
+ - [x] Flujo actual y futuro diferenciados.
11
+ - [x] No se modifico codigo de producto.
12
+
13
+ ## Cambios relevantes
14
+
15
+ - `README.md`: corregida la seccion de informacion confirmada/pendiente para reflejar `0.10.0`.
16
+ - `README_FOR_AI.md`: agregado recordatorio de que v20/v21 estan completos y v22 sigue planificado.
17
+ - `CHANGELOG.md`: agregada entrada `0.10.0`.
18
+ - `ROADMAP.md`: alineado v20/v21 con los specs reales completados y v22 como plan activo.
19
+ - `BACKLOG.md`: promovida la entrada de orquestacion al spec v22 y marcada la parte diferida como dependiente de demanda real.
20
+
21
+ ## Pendientes
22
+
23
+ Ninguno para esta slice.
24
+
25
+ ## Riesgos remanentes
26
+
27
+ La documentacion todavia mantiene una nota de deuda sobre `engines` de Node y scripts legacy del repo fuente; no forman parte de esta slice.
28
+
29
+ ## Recomendaciones futuras
30
+
31
+ Ejecutar `slice-02-prepare-command-diagnostics` para agregar el primer comando guiado del workflow.
@@ -0,0 +1,58 @@
1
+ # EXECUTION BRIEF - slice-01: Documentation source-of-truth sync
2
+
3
+ **Spec:** quiver-v22-guided-ai-workflow
4
+ **Slice:** slice-01-docs-source-of-truth-sync
5
+ **Tipo:** docs
6
+
7
+ ## Contexto
8
+
9
+ Quiver depende de sus docs para onboarding de agentes. Hay drift entre la version publicada `0.10.0` y algunos documentos raiz.
10
+
11
+ ## Objetivo
12
+
13
+ Sincronizar la documentacion antes de implementar mas automatizacion.
14
+
15
+ ## Alcance
16
+
17
+ - `README.md`
18
+ - `README_FOR_AI.md`
19
+ - `CHANGELOG.md`
20
+ - `ROADMAP.md`
21
+ - `BACKLOG.md`
22
+ - traducciones relevantes bajo `i18n/es/`
23
+
24
+ ## Criterios de aceptacion
25
+
26
+ - No quedan contradicciones conocidas con `0.10.0`.
27
+ - El flujo actual se describe como actual.
28
+ - El guided workflow nuevo se describe como plan futuro, no como funcionalidad ya disponible.
29
+ - No se modifica codigo de producto.
30
+
31
+ ## Plan tecnico resumido
32
+
33
+ Leer los documentos raiz, comparar contra package/version y specs v20/v21, y corregir solo texto desactualizado o ambiguo.
34
+
35
+ ## Pasos sugeridos de ejecucion
36
+
37
+ 1. Revisar `package.json`, `README_FOR_AI.md`, `SPEC.md` de v20 y v21.
38
+ 2. Actualizar README y changelog.
39
+ 3. Limpiar roadmap/backlog para evitar señales viejas.
40
+ 4. Alinear i18n si aplica.
41
+ 5. Ejecutar validaciones documentales y tests acotados.
42
+
43
+ ## Restricciones
44
+
45
+ - No tocar CLI ni tests salvo que una referencia documental rota lo requiera.
46
+ - No cambiar version de paquete.
47
+
48
+ ## Riesgos
49
+
50
+ - Presentar comportamiento futuro como disponible.
51
+ - Eliminar contexto util del roadmap/backlog.
52
+
53
+ ## Checklist de finalizacion
54
+
55
+ - [ ] Docs sincronizadas.
56
+ - [ ] Drift de version corregido.
57
+ - [ ] Futuro vs actual queda claro.
58
+ - [ ] `git diff --check` pasa.
@@ -0,0 +1,55 @@
1
+ {
2
+ "slice_id": "slice-01-docs-source-of-truth-sync",
3
+ "ticket": "QUIVER-22-01",
4
+ "type": "docs",
5
+ "title": "Documentation source-of-truth sync",
6
+ "objective": "Synchronize Quiver's visible documentation with the current 0.10.0 AI-first workflow before behavior changes.",
7
+ "description": "Update README, CHANGELOG, ROADMAP, BACKLOG, and AI guidance so future agents do not plan from stale information.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "guided-ai-docs-sync",
12
+ "branch_name": "feature/QUIVER-22-01-guided-ai-docs-sync"
13
+ },
14
+ "files": [
15
+ "README.md",
16
+ "README_FOR_AI.md",
17
+ "CHANGELOG.md",
18
+ "ROADMAP.md",
19
+ "BACKLOG.md",
20
+ "i18n/es/README.md",
21
+ "i18n/es/README_FOR_AI.md"
22
+ ],
23
+ "depends_on": [
24
+ "slice-00-spec-foundation"
25
+ ],
26
+ "parallel_safe": "no",
27
+ "parallel_safe_reason": "Documentation source of truth must be corrected before later slices depend on it.",
28
+ "must": [
29
+ "Remove stale references that contradict package version 0.10.0.",
30
+ "Explain the guided AI workflow as planned work, not already shipped behavior.",
31
+ "Keep README_FOR_AI aligned with README guidance.",
32
+ "Mark unresolved decisions explicitly instead of inventing them."
33
+ ],
34
+ "not_included": [
35
+ "Implementing commands.",
36
+ "Changing package version.",
37
+ "Publishing npm."
38
+ ],
39
+ "acceptance": [
40
+ "Root docs no longer say package.json is still 0.9.0.",
41
+ "CHANGELOG includes the 0.10.0 release status or clearly marks the missing entry as resolved.",
42
+ "ROADMAP and BACKLOG do not present shipped v20/v21 behavior as merely future work.",
43
+ "README explains current AI-first commands and clearly separates future guided workflow work.",
44
+ "No product code is modified."
45
+ ],
46
+ "tests": [
47
+ "git diff --check",
48
+ "node --test tests/commands/analyze.test.js tests/commands/ai-plan.test.js tests/commands/ai-pr.test.js"
49
+ ],
50
+ "estimated_hours": 3,
51
+ "status": "completed",
52
+ "blocked_reason": null,
53
+ "actual_hours": 1,
54
+ "completed_at": "2026-05-21T11:21:08-0300"
55
+ }