create-quiver 0.9.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/BACKLOG.md +16 -17
  2. package/CHANGELOG.md +34 -0
  3. package/README.md +419 -330
  4. package/README_FOR_AI.md +93 -56
  5. package/ROADMAP.md +22 -11
  6. package/docs/AI_CONTEXT.md.template +2 -0
  7. package/docs/AI_ONBOARDING_PROMPT.md.template +36 -19
  8. package/docs/COMMANDS.md.template +73 -1
  9. package/docs/CONTEXTO.md.template +2 -0
  10. package/docs/DECISIONS.md.template +1 -0
  11. package/docs/GITFLOW_PR_GUIDE.md.template +11 -0
  12. package/docs/INDEX.md.template +20 -18
  13. package/docs/STANDARD.md.template +1 -1
  14. package/docs/STATUS.md.template +1 -0
  15. package/docs/SUPPORT_MATRIX.md.template +6 -2
  16. package/docs/TROUBLESHOOTING.md.template +79 -1
  17. package/docs/WORKFLOW.md.template +26 -18
  18. package/package.json +24 -2
  19. package/package.template.json +24 -7
  20. package/scripts/check-pr-readiness.sh +1 -1
  21. package/scripts/check-scope.sh +0 -1
  22. package/scripts/check-slice-readiness.sh +3 -4
  23. package/scripts/init-docs.sh +53 -6
  24. package/scripts/package-quiver.sh +18 -2
  25. package/specs/quiver-v20-ai-cli-orchestration/EVIDENCE_REPORT.md +23 -0
  26. package/specs/quiver-v20-ai-cli-orchestration/EXECUTION_PLAN.md +57 -0
  27. package/specs/quiver-v20-ai-cli-orchestration/SPEC.md +202 -0
  28. package/specs/quiver-v20-ai-cli-orchestration/STATUS.md +35 -0
  29. package/specs/quiver-v20-ai-cli-orchestration/pr.md +100 -0
  30. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
  31. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  32. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-00-spec-foundation/slice.json +54 -0
  33. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-01-ai-provider-runner/CLOSURE_BRIEF.md +39 -0
  34. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-01-ai-provider-runner/EXECUTION_BRIEF.md +63 -0
  35. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-01-ai-provider-runner/slice.json +55 -0
  36. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-02-context-packs-token-budget/CLOSURE_BRIEF.md +40 -0
  37. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-02-context-packs-token-budget/EXECUTION_BRIEF.md +60 -0
  38. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-02-context-packs-token-budget/slice.json +54 -0
  39. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-03-ai-phase-gated-planner/CLOSURE_BRIEF.md +43 -0
  40. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-03-ai-phase-gated-planner/EXECUTION_BRIEF.md +62 -0
  41. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-03-ai-phase-gated-planner/slice.json +62 -0
  42. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-04-spec-slice-handoff-pr-generation/CLOSURE_BRIEF.md +36 -0
  43. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-04-spec-slice-handoff-pr-generation/EXECUTION_BRIEF.md +63 -0
  44. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-04-spec-slice-handoff-pr-generation/slice.json +59 -0
  45. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-05-execution-plan-parallel-worktrees/CLOSURE_BRIEF.md +32 -0
  46. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-05-execution-plan-parallel-worktrees/EXECUTION_BRIEF.md +61 -0
  47. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-05-execution-plan-parallel-worktrees/slice.json +59 -0
  48. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-06-ai-execute-slice-scope-enforcement/CLOSURE_BRIEF.md +36 -0
  49. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-06-ai-execute-slice-scope-enforcement/EXECUTION_BRIEF.md +64 -0
  50. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-06-ai-execute-slice-scope-enforcement/slice.json +65 -0
  51. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-07-github-pr-preflight/CLOSURE_BRIEF.md +36 -0
  52. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-07-github-pr-preflight/EXECUTION_BRIEF.md +66 -0
  53. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-07-github-pr-preflight/slice.json +63 -0
  54. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-08-docs-smokes-release-readiness/CLOSURE_BRIEF.md +35 -0
  55. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-08-docs-smokes-release-readiness/EXECUTION_BRIEF.md +64 -0
  56. package/specs/quiver-v20-ai-cli-orchestration/slices/slice-08-docs-smokes-release-readiness/slice.json +77 -0
  57. package/specs/quiver-v21-ai-first-layout/EVIDENCE_REPORT.md +31 -0
  58. package/specs/quiver-v21-ai-first-layout/EXECUTION_PLAN.md +185 -0
  59. package/specs/quiver-v21-ai-first-layout/SPEC.md +212 -0
  60. package/specs/quiver-v21-ai-first-layout/STATUS.md +37 -0
  61. package/specs/quiver-v21-ai-first-layout/pr.md +110 -0
  62. package/specs/quiver-v21-ai-first-layout/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
  63. package/specs/quiver-v21-ai-first-layout/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +63 -0
  64. package/specs/quiver-v21-ai-first-layout/slices/slice-00-spec-foundation/slice.json +45 -0
  65. package/specs/quiver-v21-ai-first-layout/slices/slice-01-init-profiles-dry-run/CLOSURE_BRIEF.md +31 -0
  66. package/specs/quiver-v21-ai-first-layout/slices/slice-01-init-profiles-dry-run/EXECUTION_BRIEF.md +59 -0
  67. package/specs/quiver-v21-ai-first-layout/slices/slice-01-init-profiles-dry-run/slice.json +57 -0
  68. package/specs/quiver-v21-ai-first-layout/slices/slice-02-internal-layout-template-resolver/CLOSURE_BRIEF.md +32 -0
  69. package/specs/quiver-v21-ai-first-layout/slices/slice-02-internal-layout-template-resolver/EXECUTION_BRIEF.md +60 -0
  70. package/specs/quiver-v21-ai-first-layout/slices/slice-02-internal-layout-template-resolver/slice.json +58 -0
  71. package/specs/quiver-v21-ai-first-layout/slices/slice-03-generation-profiles-visible-contract/CLOSURE_BRIEF.md +34 -0
  72. package/specs/quiver-v21-ai-first-layout/slices/slice-03-generation-profiles-visible-contract/EXECUTION_BRIEF.md +61 -0
  73. package/specs/quiver-v21-ai-first-layout/slices/slice-03-generation-profiles-visible-contract/slice.json +64 -0
  74. package/specs/quiver-v21-ai-first-layout/slices/slice-04-analyze-scan-relocation/CLOSURE_BRIEF.md +32 -0
  75. package/specs/quiver-v21-ai-first-layout/slices/slice-04-analyze-scan-relocation/EXECUTION_BRIEF.md +58 -0
  76. package/specs/quiver-v21-ai-first-layout/slices/slice-04-analyze-scan-relocation/slice.json +64 -0
  77. package/specs/quiver-v21-ai-first-layout/slices/slice-05-empty-specs-layout-doctor/CLOSURE_BRIEF.md +32 -0
  78. package/specs/quiver-v21-ai-first-layout/slices/slice-05-empty-specs-layout-doctor/EXECUTION_BRIEF.md +60 -0
  79. package/specs/quiver-v21-ai-first-layout/slices/slice-05-empty-specs-layout-doctor/slice.json +65 -0
  80. package/specs/quiver-v21-ai-first-layout/slices/slice-06-legacy-migration-optional-assets/CLOSURE_BRIEF.md +31 -0
  81. package/specs/quiver-v21-ai-first-layout/slices/slice-06-legacy-migration-optional-assets/EXECUTION_BRIEF.md +62 -0
  82. package/specs/quiver-v21-ai-first-layout/slices/slice-06-legacy-migration-optional-assets/slice.json +66 -0
  83. package/specs/quiver-v21-ai-first-layout/slices/slice-07-docs-guidance-alignment/CLOSURE_BRIEF.md +33 -0
  84. package/specs/quiver-v21-ai-first-layout/slices/slice-07-docs-guidance-alignment/EXECUTION_BRIEF.md +61 -0
  85. package/specs/quiver-v21-ai-first-layout/slices/slice-07-docs-guidance-alignment/slice.json +67 -0
  86. package/specs/quiver-v21-ai-first-layout/slices/slice-08-smokes-release-readiness/CLOSURE_BRIEF.md +35 -0
  87. package/specs/quiver-v21-ai-first-layout/slices/slice-08-smokes-release-readiness/EXECUTION_BRIEF.md +66 -0
  88. package/specs/quiver-v21-ai-first-layout/slices/slice-08-smokes-release-readiness/slice.json +62 -0
  89. package/specs/quiver-v22-guided-ai-workflow/EVIDENCE_REPORT.md +58 -0
  90. package/specs/quiver-v22-guided-ai-workflow/EXECUTION_PLAN.md +88 -0
  91. package/specs/quiver-v22-guided-ai-workflow/SPEC.md +228 -0
  92. package/specs/quiver-v22-guided-ai-workflow/STATUS.md +42 -0
  93. package/specs/quiver-v22-guided-ai-workflow/pr.md +104 -0
  94. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +35 -0
  95. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  96. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/slice.json +51 -0
  97. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/CLOSURE_BRIEF.md +31 -0
  98. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/EXECUTION_BRIEF.md +58 -0
  99. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/slice.json +55 -0
  100. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/CLOSURE_BRIEF.md +30 -0
  101. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/EXECUTION_BRIEF.md +57 -0
  102. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/slice.json +57 -0
  103. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/CLOSURE_BRIEF.md +32 -0
  104. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/EXECUTION_BRIEF.md +56 -0
  105. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/slice.json +56 -0
  106. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/CLOSURE_BRIEF.md +33 -0
  107. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/EXECUTION_BRIEF.md +56 -0
  108. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/slice.json +58 -0
  109. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/CLOSURE_BRIEF.md +32 -0
  110. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/EXECUTION_BRIEF.md +56 -0
  111. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/slice.json +54 -0
  112. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/CLOSURE_BRIEF.md +32 -0
  113. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/EXECUTION_BRIEF.md +58 -0
  114. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/slice.json +57 -0
  115. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/CLOSURE_BRIEF.md +32 -0
  116. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/EXECUTION_BRIEF.md +58 -0
  117. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/slice.json +55 -0
  118. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/CLOSURE_BRIEF.md +32 -0
  119. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/EXECUTION_BRIEF.md +58 -0
  120. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/slice.json +53 -0
  121. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/CLOSURE_BRIEF.md +33 -0
  122. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/EXECUTION_BRIEF.md +59 -0
  123. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/slice.json +59 -0
  124. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +34 -0
  125. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +58 -0
  126. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/slice.json +60 -0
  127. package/specs/quiver-v23-guided-flow-productization/EVIDENCE_REPORT.md +80 -0
  128. package/specs/quiver-v23-guided-flow-productization/EXECUTION_PLAN.md +80 -0
  129. package/specs/quiver-v23-guided-flow-productization/SPEC.md +203 -0
  130. package/specs/quiver-v23-guided-flow-productization/STATUS.md +39 -0
  131. package/specs/quiver-v23-guided-flow-productization/pr.md +119 -0
  132. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
  133. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  134. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/slice.json +51 -0
  135. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/CLOSURE_BRIEF.md +33 -0
  136. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/EXECUTION_BRIEF.md +35 -0
  137. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/slice.json +56 -0
  138. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/CLOSURE_BRIEF.md +31 -0
  139. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/EXECUTION_BRIEF.md +29 -0
  140. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/slice.json +55 -0
  141. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/CLOSURE_BRIEF.md +33 -0
  142. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/EXECUTION_BRIEF.md +29 -0
  143. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/slice.json +54 -0
  144. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/CLOSURE_BRIEF.md +32 -0
  145. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/EXECUTION_BRIEF.md +30 -0
  146. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/slice.json +59 -0
  147. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/CLOSURE_BRIEF.md +31 -0
  148. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/EXECUTION_BRIEF.md +29 -0
  149. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/slice.json +53 -0
  150. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/CLOSURE_BRIEF.md +33 -0
  151. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/EXECUTION_BRIEF.md +30 -0
  152. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/slice.json +54 -0
  153. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/CLOSURE_BRIEF.md +33 -0
  154. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/EXECUTION_BRIEF.md +30 -0
  155. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/slice.json +55 -0
  156. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/CLOSURE_BRIEF.md +32 -0
  157. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/EXECUTION_BRIEF.md +30 -0
  158. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/slice.json +55 -0
  159. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/CLOSURE_BRIEF.md +33 -0
  160. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/EXECUTION_BRIEF.md +34 -0
  161. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/slice.json +57 -0
  162. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
  163. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +32 -0
  164. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/slice.json +63 -0
  165. package/specs/quiver-v24-dx-onboarding-hardening/EVIDENCE_REPORT.md +55 -0
  166. package/specs/quiver-v24-dx-onboarding-hardening/EXECUTION_PLAN.md +43 -0
  167. package/specs/quiver-v24-dx-onboarding-hardening/SPEC.md +149 -0
  168. package/specs/quiver-v24-dx-onboarding-hardening/STATUS.md +31 -0
  169. package/specs/quiver-v24-dx-onboarding-hardening/pr.md +76 -0
  170. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +31 -0
  171. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
  172. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/slice.json +51 -0
  173. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/CLOSURE_BRIEF.md +38 -0
  174. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/EXECUTION_BRIEF.md +53 -0
  175. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/slice.json +55 -0
  176. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/CLOSURE_BRIEF.md +33 -0
  177. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/EXECUTION_BRIEF.md +50 -0
  178. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/slice.json +52 -0
  179. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/CLOSURE_BRIEF.md +33 -0
  180. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/EXECUTION_BRIEF.md +50 -0
  181. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/slice.json +53 -0
  182. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/CLOSURE_BRIEF.md +33 -0
  183. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/EXECUTION_BRIEF.md +50 -0
  184. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/slice.json +70 -0
  185. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/CLOSURE_BRIEF.md +36 -0
  186. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/EXECUTION_BRIEF.md +49 -0
  187. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/slice.json +52 -0
  188. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/CLOSURE_BRIEF.md +43 -0
  189. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/EXECUTION_BRIEF.md +53 -0
  190. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/slice.json +60 -0
  191. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/CLOSURE_BRIEF.md +32 -0
  192. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/EXECUTION_BRIEF.md +50 -0
  193. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/slice.json +51 -0
  194. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/CLOSURE_BRIEF.md +34 -0
  195. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/EXECUTION_BRIEF.md +52 -0
  196. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/slice.json +54 -0
  197. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/CLOSURE_BRIEF.md +34 -0
  198. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/EXECUTION_BRIEF.md +51 -0
  199. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/slice.json +59 -0
  200. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
  201. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +54 -0
  202. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/slice.json +76 -0
  203. package/src/create-quiver/commands/ai.js +915 -0
  204. package/src/create-quiver/commands/demo.js +22 -0
  205. package/src/create-quiver/commands/evidence.js +37 -0
  206. package/src/create-quiver/commands/flow.js +561 -0
  207. package/src/create-quiver/commands/graph.js +14 -1
  208. package/src/create-quiver/commands/next.js +28 -0
  209. package/src/create-quiver/commands/plan.js +6 -3
  210. package/src/create-quiver/commands/prepare.js +236 -0
  211. package/src/create-quiver/commands/spec.js +133 -0
  212. package/src/create-quiver/index.js +1096 -96
  213. package/src/create-quiver/lib/agent-profiles.js +148 -0
  214. package/src/create-quiver/lib/ai/context-packs.js +170 -0
  215. package/src/create-quiver/lib/ai/execution-plan.js +614 -0
  216. package/src/create-quiver/lib/ai/executor.js +682 -0
  217. package/src/create-quiver/lib/ai/github.js +525 -0
  218. package/src/create-quiver/lib/ai/onboarding-template.js +365 -0
  219. package/src/create-quiver/lib/ai/phase-gates.js +72 -0
  220. package/src/create-quiver/lib/ai/plan-review.js +283 -0
  221. package/src/create-quiver/lib/ai/preflight.js +58 -0
  222. package/src/create-quiver/lib/ai/prompt-transport.js +81 -0
  223. package/src/create-quiver/lib/ai/prompts.js +39 -0
  224. package/src/create-quiver/lib/ai/providers.js +315 -0
  225. package/src/create-quiver/lib/ai/safety.js +156 -0
  226. package/src/create-quiver/lib/ai/spec-generator.js +314 -0
  227. package/src/create-quiver/lib/ai/spec-templates.js +715 -0
  228. package/src/create-quiver/lib/approvals.js +350 -0
  229. package/src/create-quiver/lib/demo.js +657 -0
  230. package/src/create-quiver/lib/doctor.js +348 -0
  231. package/src/create-quiver/lib/evidence.js +115 -0
  232. package/src/create-quiver/lib/git.js +21 -0
  233. package/src/create-quiver/lib/init-docs.js +545 -23
  234. package/src/create-quiver/lib/init-layout.js +451 -0
  235. package/src/create-quiver/lib/lifecycle.js +8 -2
  236. package/src/create-quiver/lib/package-safety.js +117 -0
  237. package/src/create-quiver/lib/paths.js +63 -2
  238. package/src/create-quiver/lib/project-scan.js +66 -0
  239. package/src/create-quiver/lib/readiness.js +87 -18
  240. package/src/create-quiver/lib/scope.js +125 -0
  241. package/src/create-quiver/lib/slice-graph.js +7 -0
  242. package/src/create-quiver/lib/slice.js +59 -16
  243. package/src/create-quiver/lib/spec-worktrees.js +349 -0
  244. package/src/create-quiver/lib/state.js +18 -1
  245. package/src/create-quiver/lib/template-resolver.js +74 -0
@@ -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
+ }
@@ -0,0 +1,30 @@
1
+ # CLOSURE BRIEF - slice-02: Prepare command and setup diagnostics
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se implemento `npx create-quiver prepare` como comando de diagnostico no destructivo con soporte de `--dry-run`, preflight opcional de provider, guia de GitHub CLI, validacion de identidad SSH y siguientes comandos seguros.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] `prepare --dry-run` no escribe.
10
+ - [x] Diagnosticos implementados.
11
+ - [x] Guia cross-platform cubierta.
12
+ - [x] Tests ejecutados.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `src/create-quiver/index.js`
17
+ - `src/create-quiver/commands/prepare.js`
18
+ - `tests/commands/prepare.test.js`
19
+
20
+ ## Pendientes
21
+
22
+ Ninguno para esta slice.
23
+
24
+ ## Riesgos remanentes
25
+
26
+ El comando reporta herramientas faltantes como guia y no como bloqueo duro. Esto es intencional para mantener `prepare` seguro y util en proyectos parcialmente configurados.
27
+
28
+ ## Recomendaciones futuras
29
+
30
+ Conectar `prepare` con el refresco de contexto de `slice-03` para que el onboarding de IA quede mas completo.
@@ -0,0 +1,57 @@
1
+ # EXECUTION BRIEF - slice-02: Prepare command and setup diagnostics
2
+
3
+ **Spec:** quiver-v22-guided-ai-workflow
4
+ **Slice:** slice-02-prepare-command-diagnostics
5
+ **Tipo:** feature
6
+
7
+ ## Contexto
8
+
9
+ El usuario necesita un primer comando seguro que le diga si el proyecto esta listo para trabajar con IA.
10
+
11
+ ## Objetivo
12
+
13
+ Agregar un comando de preparacion guiada con diagnosticos claros y modo dry-run.
14
+
15
+ ## Alcance
16
+
17
+ - Registrar el comando en el CLI.
18
+ - Agregar `prepare`.
19
+ - Reutilizar checks existentes de doctor, provider preflight y GitHub preflight donde convenga.
20
+ - Reportar herramientas faltantes y proximos pasos.
21
+
22
+ ## Criterios de aceptacion
23
+
24
+ - `prepare --dry-run` no escribe archivos.
25
+ - `prepare` informa checks ejecutados y proximos pasos.
26
+ - Faltantes de `gh`, auth, provider CLI o SSH se explican con guia para macOS, Linux y Windows.
27
+ - No se instalan herramientas ni se modifica SSH sin autorizacion explicita.
28
+
29
+ ## Plan tecnico resumido
30
+
31
+ Crear un comando fino que orqueste checks existentes y produzca un reporte humano. Mantener escritura deshabilitada en dry-run y evitar automatizaciones destructivas.
32
+
33
+ ## Pasos sugeridos de ejecucion
34
+
35
+ 1. Revisar parser de `src/create-quiver/index.js`.
36
+ 2. Crear `commands/prepare.js`.
37
+ 3. Componer checks existentes.
38
+ 4. Agregar salida clara para success/warn/fail.
39
+ 5. Cubrir dry-run y faltantes con tests.
40
+
41
+ ## Restricciones
42
+
43
+ - No refrescar todavia docs de contexto profundas.
44
+ - No crear specs.
45
+ - No crear commits.
46
+
47
+ ## Riesgos
48
+
49
+ - Duplicar logica de doctor.
50
+ - Hacer que prepare parezca que instala herramientas cuando solo guia.
51
+
52
+ ## Checklist de finalizacion
53
+
54
+ - [ ] Comando registrado.
55
+ - [ ] Dry-run cubierto.
56
+ - [ ] Guia cross-platform cubierta.
57
+ - [ ] Tests pasan.
@@ -0,0 +1,57 @@
1
+ {
2
+ "slice_id": "slice-02-prepare-command-diagnostics",
3
+ "ticket": "QUIVER-22-02",
4
+ "type": "feature",
5
+ "title": "Prepare command and setup diagnostics",
6
+ "objective": "Add a guided preparation command that tells users whether the project is ready for AI-assisted work.",
7
+ "description": "Create the safe first command for project preparation: analysis, diagnostics, missing-tool guidance, dry-run, and next-step reporting.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "guided-prepare-diagnostics",
12
+ "branch_name": "feature/QUIVER-22-02-guided-prepare-diagnostics"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/index.js",
16
+ "src/create-quiver/commands/prepare.js",
17
+ "src/create-quiver/lib/doctor.js",
18
+ "src/create-quiver/lib/ai/preflight.js",
19
+ "src/create-quiver/lib/ai/github.js",
20
+ "src/create-quiver/lib/init-layout.js",
21
+ "tests/commands/prepare.test.js",
22
+ "tests/lib/doctor.test.js"
23
+ ],
24
+ "depends_on": [
25
+ "slice-01-docs-source-of-truth-sync"
26
+ ],
27
+ "parallel_safe": "no",
28
+ "parallel_safe_reason": "This establishes the public entrypoint used by later workflow slices.",
29
+ "must": [
30
+ "Add a dry-run mode that writes nothing.",
31
+ "Report project readiness, missing docs, missing tools, provider CLI availability, gh availability, gh auth, and SSH alias guidance.",
32
+ "Support macOS, Linux, and Windows guidance.",
33
+ "Print clear next commands.",
34
+ "Avoid installing tools or editing credentials automatically."
35
+ ],
36
+ "not_included": [
37
+ "Refreshing rich context docs.",
38
+ "Persisting approvals.",
39
+ "Creating specs or worktrees."
40
+ ],
41
+ "acceptance": [
42
+ "prepare dry-run reports planned checks and writes nothing.",
43
+ "prepare reports missing gh with OS-specific guidance.",
44
+ "prepare reports missing provider CLI with actionable guidance.",
45
+ "prepare does not install tools or edit SSH config.",
46
+ "prepare recommends the next safe command after success."
47
+ ],
48
+ "tests": [
49
+ "node --test tests/commands/prepare.test.js tests/lib/doctor.test.js tests/lib/ai-github.test.js tests/lib/ai-providers.test.js",
50
+ "git diff --check"
51
+ ],
52
+ "estimated_hours": 6,
53
+ "status": "completed",
54
+ "blocked_reason": null,
55
+ "actual_hours": 2,
56
+ "completed_at": "2026-05-21T11:28:26-0300"
57
+ }
@@ -0,0 +1,32 @@
1
+ # CLOSURE BRIEF - slice-03: Context documentation refresh
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se mejoro `analyze` para refrescar `docs/AI_CONTEXT.md` con un resumen AI-facing, mantener `docs/PROJECT_MAP.md` como mapa visible y preservar el raw scan interno en `.quiver/scans/PROJECT_SCAN.json`.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Contexto AI-facing actualizado.
10
+ - [x] Secretos y ruido excluidos.
11
+ - [x] Supuestos documentados.
12
+ - [x] Tests ejecutados.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `src/create-quiver/index.js`
17
+ - `src/create-quiver/lib/init-docs.js`
18
+ - `src/create-quiver/lib/ai/safety.js`
19
+ - `tests/commands/analyze.test.js`
20
+ - `tests/lib/ai-context-packs.test.js`
21
+
22
+ ## Pendientes
23
+
24
+ Ninguno para esta slice.
25
+
26
+ ## Riesgos remanentes
27
+
28
+ `analyze` refresca `docs/AI_CONTEXT.md`; si un equipo lo edita manualmente, debe considerar ese archivo como regenerable o revisar el diff antes de commitear.
29
+
30
+ ## Recomendaciones futuras
31
+
32
+ Implementar `slice-04` para persistir criterios y planes aprobados, usando el contexto refrescado como input del planner.
@@ -0,0 +1,56 @@
1
+ # EXECUTION BRIEF - slice-03: Context documentation refresh
2
+
3
+ **Spec:** quiver-v22-guided-ai-workflow
4
+ **Slice:** slice-03-context-doc-refresh
5
+ **Tipo:** feature
6
+
7
+ ## Contexto
8
+
9
+ El analisis actual genera mapa y scan, pero el flujo ideal necesita docs de contexto mas utiles para onboarding de IA con menos tokens.
10
+
11
+ ## Objetivo
12
+
13
+ Mejorar la generacion/refresco de contexto sin exponer secretos ni archivos ruidosos.
14
+
15
+ ## Alcance
16
+
17
+ - Mejorar scan/map/contexto visible.
18
+ - Reutilizar exclusiones de seguridad.
19
+ - Reportar supuestos y faltantes.
20
+ - Mantener raw scan en `.quiver/scans/`.
21
+
22
+ ## Criterios de aceptacion
23
+
24
+ - Contexto AI-facing queda actualizado y conciso.
25
+ - Secretos y ruido quedan fuera.
26
+ - Supuestos y faltantes quedan visibles.
27
+ - Tests cubren exclusiones principales.
28
+
29
+ ## Plan tecnico resumido
30
+
31
+ Extender el analizador/context writer con filtros seguros y salidas humanas. No inferir dominio si el repo no lo declara.
32
+
33
+ ## Pasos sugeridos de ejecucion
34
+
35
+ 1. Revisar `runAnalyze`, `project-scan` y context packs.
36
+ 2. Definir salidas a refrescar.
37
+ 3. Aplicar exclusiones compartidas.
38
+ 4. Agregar tests con fixtures de archivos sensibles/ruidosos.
39
+ 5. Actualizar docs necesarias.
40
+
41
+ ## Restricciones
42
+
43
+ - No persistir aprobaciones.
44
+ - No ejecutar proveedores IA.
45
+
46
+ ## Riesgos
47
+
48
+ - Generar contexto demasiado largo.
49
+ - Ocultar informacion util por filtros demasiado agresivos.
50
+
51
+ ## Checklist de finalizacion
52
+
53
+ - [ ] Context docs refrescados.
54
+ - [ ] Exclusiones cubiertas.
55
+ - [ ] Supuestos reportados.
56
+ - [ ] Tests pasan.
@@ -0,0 +1,56 @@
1
+ {
2
+ "slice_id": "slice-03-context-doc-refresh",
3
+ "ticket": "QUIVER-22-03",
4
+ "type": "feature",
5
+ "title": "Context documentation refresh and safe analyzer output",
6
+ "objective": "Improve project context generation so AI onboarding can use concise, safe, updated docs.",
7
+ "description": "Enhance analysis/preparation to refresh AI-facing context docs while excluding secrets, generated files, dependency folders, large artifacts, and local AI tool state.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "context-doc-refresh",
12
+ "branch_name": "feature/QUIVER-22-03-context-doc-refresh"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/index.js",
16
+ "src/create-quiver/lib/project-scan.js",
17
+ "src/create-quiver/lib/init-docs.js",
18
+ "src/create-quiver/lib/ai/context-packs.js",
19
+ "src/create-quiver/lib/ai/safety.js",
20
+ "tests/commands/analyze.test.js",
21
+ "tests/lib/ai-context-packs.test.js"
22
+ ],
23
+ "depends_on": [
24
+ "slice-02-prepare-command-diagnostics"
25
+ ],
26
+ "parallel_safe": "no",
27
+ "parallel_safe_reason": "Context generation feeds planner phases and must be stable first.",
28
+ "must": [
29
+ "Refresh useful AI context docs from detected project facts.",
30
+ "Keep raw scan under .quiver/scans.",
31
+ "Exclude secrets, env files, build outputs, dependency folders, package caches, and local AI tool state.",
32
+ "Report assumptions and information that still needs human completion.",
33
+ "Avoid pretending analysis understands business rules not present in the repo."
34
+ ],
35
+ "not_included": [
36
+ "Planner approval persistence.",
37
+ "Spec generation changes.",
38
+ "Provider execution changes."
39
+ ],
40
+ "acceptance": [
41
+ "analyze or prepare refreshes concise AI context docs without exposing unsafe paths.",
42
+ "docs/PROJECT_MAP.md remains the visible stack and command source.",
43
+ ".quiver/scans/PROJECT_SCAN.json remains internal raw scan output.",
44
+ "Generated context includes assumptions and missing information.",
45
+ "Large/noisy/secret paths are excluded by tests."
46
+ ],
47
+ "tests": [
48
+ "node --test tests/commands/analyze.test.js tests/lib/ai-context-packs.test.js",
49
+ "git diff --check"
50
+ ],
51
+ "estimated_hours": 7,
52
+ "status": "completed",
53
+ "blocked_reason": null,
54
+ "actual_hours": 2,
55
+ "completed_at": "2026-05-21T11:37:41-0300"
56
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-04: Planner approval state
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se agrego persistencia de borradores y aprobaciones para fases planner, con bloqueo entre fases, uso de inputs aprobados por defecto y estado visible mediante `npx create-quiver ai approvals`.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Fases bloquean inputs no aprobados.
10
+ - [x] Aprobaciones persistidas.
11
+ - [x] Status disponible.
12
+ - [x] Tests ejecutados.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `src/create-quiver/lib/approvals.js`
17
+ - `src/create-quiver/commands/ai.js`
18
+ - `src/create-quiver/index.js`
19
+ - `tests/lib/approvals.test.js`
20
+ - `tests/commands/ai-plan.test.js`
21
+ - `tests/commands/ai-plan-spec-phase.test.js`
22
+
23
+ ## Pendientes
24
+
25
+ Ninguno para esta slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ El estado `stale` depende de timestamps y existencia del archivo fuente. Si se edita manualmente `.quiver/approvals/`, Quiver puede marcar el estado como inconsistente.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Usar las aprobaciones persistidas como base para el ciclo de vida de worktree por spec en `slice-05`.
@@ -0,0 +1,56 @@
1
+ # EXECUTION BRIEF - slice-04: Planner approval state
2
+
3
+ **Spec:** quiver-v22-guided-ai-workflow
4
+ **Slice:** slice-04-planner-approval-state
5
+ **Tipo:** feature
6
+
7
+ ## Contexto
8
+
9
+ El flujo requiere iterar criterios y planes, pero solo usar versiones aprobadas para avanzar.
10
+
11
+ ## Objetivo
12
+
13
+ Persistir borradores y aprobaciones explicitas para acceptance criteria y technical plan.
14
+
15
+ ## Alcance
16
+
17
+ - Estado de aprobaciones en `.quiver/`.
18
+ - Comandos o subcomandos de aprobacion.
19
+ - Bloqueos entre fases.
20
+ - Estado legible para el usuario.
21
+
22
+ ## Criterios de aceptacion
23
+
24
+ - Nada no aprobado alimenta la fase siguiente.
25
+ - Las aprobaciones tienen metadata minima.
26
+ - El usuario puede ver que falta aprobar.
27
+ - La fase spec usa el plan aprobado por defecto.
28
+
29
+ ## Plan tecnico resumido
30
+
31
+ Crear una capa de approvals reutilizable por `ai plan`, con guardas de fase y tests de transiciones.
32
+
33
+ ## Pasos sugeridos de ejecucion
34
+
35
+ 1. Revisar `phase-gates.js`.
36
+ 2. Definir formato interno de aprobaciones.
37
+ 3. Agregar persistencia y lectura.
38
+ 4. Integrar comandos.
39
+ 5. Agregar tests de bloqueo y avance.
40
+
41
+ ## Restricciones
42
+
43
+ - No versionar borradores internos salvo decision explicita.
44
+ - No modificar codigo de producto.
45
+
46
+ ## Riesgos
47
+
48
+ - Que el estado interno y los archivos visibles diverjan.
49
+ - Que una aprobacion vieja alimente una spec nueva.
50
+
51
+ ## Checklist de finalizacion
52
+
53
+ - [ ] Draft/approved diferenciado.
54
+ - [ ] Bloqueos entre fases cubiertos.
55
+ - [ ] Status legible.
56
+ - [ ] Tests pasan.
@@ -0,0 +1,58 @@
1
+ {
2
+ "slice_id": "slice-04-planner-approval-state",
3
+ "ticket": "QUIVER-22-04",
4
+ "type": "feature",
5
+ "title": "Planner approval state for criteria and technical plans",
6
+ "objective": "Persist draft and approved planner outputs so each phase consumes an explicit approved input.",
7
+ "description": "Add approval state for acceptance criteria and technical plans, preventing Quiver from generating specs from unapproved or ambiguous outputs.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "planner-approval-state",
12
+ "branch_name": "feature/QUIVER-22-04-planner-approval-state"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/phase-gates.js",
17
+ "src/create-quiver/lib/ai/spec-generator.js",
18
+ "src/create-quiver/lib/state.js",
19
+ "src/create-quiver/lib/approvals.js",
20
+ "tests/commands/ai-plan.test.js",
21
+ "tests/commands/ai-plan-spec-phase.test.js",
22
+ "tests/lib/approvals.test.js"
23
+ ],
24
+ "depends_on": [
25
+ "slice-03-context-doc-refresh"
26
+ ],
27
+ "parallel_safe": "no",
28
+ "parallel_safe_reason": "Approval state is the contract consumed by spec generation.",
29
+ "must": [
30
+ "Persist draft acceptance criteria.",
31
+ "Persist approved acceptance criteria only after explicit approval.",
32
+ "Persist draft technical plan.",
33
+ "Persist approved technical plan only after explicit approval.",
34
+ "Block spec generation when the approved plan is missing.",
35
+ "Show status of draft versus approved artifacts."
36
+ ],
37
+ "not_included": [
38
+ "Creating worktrees.",
39
+ "Executing slices.",
40
+ "Opening PRs."
41
+ ],
42
+ "acceptance": [
43
+ "Unapproved acceptance criteria cannot feed the technical-plan phase.",
44
+ "Unapproved technical plans cannot feed spec generation.",
45
+ "Approvals are stored with timestamp, source file or run id, and phase.",
46
+ "A status command shows what is draft, approved, missing, or stale.",
47
+ "Spec generation consumes approved input by default."
48
+ ],
49
+ "tests": [
50
+ "node --test tests/commands/ai-plan.test.js tests/commands/ai-plan-spec-phase.test.js tests/lib/approvals.test.js",
51
+ "git diff --check"
52
+ ],
53
+ "estimated_hours": 8,
54
+ "status": "completed",
55
+ "blocked_reason": null,
56
+ "actual_hours": 2,
57
+ "completed_at": "2026-05-21T11:46:03-0300"
58
+ }
@@ -0,0 +1,32 @@
1
+ # CLOSURE BRIEF - slice-05: Spec worktree lifecycle
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se agrego el flujo de worktree a nivel spec con comandos `spec start` y `spec status`. Tambien se bloqueo `start-slice` para slices posteriores cuando `slice-00` no esta completada.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Worktree por spec implementado.
10
+ - [x] `slice-00` bloquea slices posteriores.
11
+ - [x] Estado visible.
12
+ - [x] Tests ejecutados.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - Nuevo helper `src/create-quiver/lib/spec-worktrees.js`.
17
+ - Nuevo comando `npx create-quiver spec start <spec-dir>`.
18
+ - Nuevo comando `npx create-quiver spec status <spec-dir>`.
19
+ - `start-slice` valida que `slice-00` este completado antes de iniciar slices posteriores.
20
+ - `feature` y `bugfix` aceptan `main` o `develop` como base branch.
21
+
22
+ ## Pendientes
23
+
24
+ Sin pendientes criticos para esta slice.
25
+
26
+ ## Riesgos remanentes
27
+
28
+ La limpieza post-merge del worktree no esta incluida en esta slice; queda para `slice-09`.
29
+
30
+ ## Recomendaciones futuras
31
+
32
+ Mantener `spec close` separado de `spec start/status` para no mezclar creacion segura con limpieza destructiva.