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,119 @@
1
+ ## Title
2
+
3
+ Quiver v23 - Guided flow productization
4
+
5
+ ## Summary
6
+
7
+ Productizes the current prompt-driven Quiver workflow into a guided AI-first flow. The goal is to reduce long prompt pasting, guide users through the next safe step, persist planner/executor profiles, version criteria and plan iterations, generate minimal executor prompts, and support safe delegated slice execution.
8
+
9
+ ## Scope
10
+
11
+ - Short `quiver` command path or documented alias
12
+ - Guided flow/status command
13
+ - Planner, executor, reviewer, and researcher profiles
14
+ - Token-efficient context preparation and onboarding prompt templates
15
+ - Versioned criteria and technical-plan drafts
16
+ - Production-readiness plan review
17
+ - Spec creation from reviewed approved plans
18
+ - Minimal executor prompt generation
19
+ - Delegated slice execution with safe workspaces
20
+ - PR and cleanup flow polish
21
+ - Docs, templates, and smoke coverage
22
+
23
+ ## Files
24
+
25
+ - `specs/quiver-v23-guided-flow-productization/SPEC.md`
26
+ - `specs/quiver-v23-guided-flow-productization/STATUS.md`
27
+ - `specs/quiver-v23-guided-flow-productization/EVIDENCE_REPORT.md`
28
+ - `specs/quiver-v23-guided-flow-productization/EXECUTION_PLAN.md`
29
+ - `specs/quiver-v23-guided-flow-productization/pr.md`
30
+ - `specs/quiver-v23-guided-flow-productization/slices/**`
31
+
32
+ Future implementation slices are expected to touch CLI routing, AI commands, provider/profile helpers, prompt templates, approval state, flow status, delegated execution, docs, tests, and smoke scripts as declared by each slice.
33
+
34
+ ## How to Test (DETAILED - REQUIRED)
35
+
36
+ ### Required Environment
37
+
38
+ - Node.js compatible with the current repo setup. The CI line uses Node 22.
39
+ - npm available locally.
40
+ - Git worktree on `feature/QUIVER-22-guided-ai-workflow`.
41
+ - No real paid provider calls are required for the automated checks.
42
+
43
+ ### Worktree Access
44
+
45
+ Run from the repo root:
46
+
47
+ ```bash
48
+ git status --short
49
+ git branch --show-current
50
+ ```
51
+
52
+ Expected:
53
+
54
+ - Worktree is clean before PR creation.
55
+ - Current branch is `feature/QUIVER-22-guided-ai-workflow`.
56
+
57
+ ### Run the Project
58
+
59
+ Quiver is a CLI package. Use the local binary for inspection:
60
+
61
+ ```bash
62
+ node bin/create-quiver.js --help
63
+ node bin/create-quiver.js flow --json
64
+ ```
65
+
66
+ ### Use Cases
67
+
68
+ - A user asks Quiver what step comes next.
69
+ - A user configures planner and executor agent profiles.
70
+ - A planner onboards from generated context without reading unnecessary docs.
71
+ - A planner generates and revises acceptance criteria.
72
+ - A reviewer checks the technical plan for production readiness.
73
+ - A reviewed approved plan creates spec/slices/handoffs/execution plan/PR body.
74
+ - An executor receives a minimal slice prompt.
75
+ - Quiver delegates or prints safe execution commands for slices.
76
+ - Quiver opens the PR from `pr.md` after checks pass.
77
+ - Quiver closes the spec worktree after merge.
78
+
79
+ ### Technical Verification
80
+
81
+ Documentation-only `slice-00`:
82
+
83
+ ```bash
84
+ git diff --check
85
+ find specs/quiver-v23-guided-flow-productization -name "slice.json" -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;
86
+ ```
87
+
88
+ Full validation:
89
+
90
+ ```bash
91
+ node --test tests/**/*.test.js
92
+ npm run smoke:create-quiver
93
+ npm run smoke:guided-workflow
94
+ npm run smoke:tiered-pack
95
+ npm run package:quiver
96
+ npm --cache /private/tmp/quiver-npm-cache pack --dry-run
97
+ ```
98
+
99
+ ## Evidence
100
+
101
+ - `node --test tests/**/*.test.js` passed with 223 tests.
102
+ - `git diff --check` passed.
103
+ - All `slice.json` files under `specs/quiver-v23-guided-flow-productization/` parse successfully.
104
+ - `npm run smoke:create-quiver` passed.
105
+ - `npm run smoke:guided-workflow` passed.
106
+ - `npm run smoke:tiered-pack` passed.
107
+ - `npm --cache /private/tmp/quiver-npm-cache pack --dry-run` passed.
108
+ - Plain `npm pack --dry-run` was blocked by root-owned files in the user's global npm cache; the package was validated with an isolated temporary cache.
109
+
110
+ ## Rollback
111
+
112
+ Revert the smallest failing slice commit. Since the spec requires one slice per commit, rollback should target the affected slice commit rather than the full PR when possible.
113
+
114
+ ## Risks / Notes
115
+
116
+ - This spec does not automate PR merge.
117
+ - Real provider CLIs are not called in CI.
118
+ - `quiver` command naming must not confuse package installation.
119
+ - Delegated parallel execution must remain conservative until isolation is proven.
@@ -0,0 +1,30 @@
1
+ # CLOSURE BRIEF - slice-00: Spec foundation
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ - Se creo la base documental de Quiver v23.
6
+ - Se agregaron spec, status, evidencia, plan de ejecucion, cuerpo de PR y handoffs por slice.
7
+
8
+ ## Validacion contra criterios de aceptacion
9
+
10
+ - [x] Spec folder creado.
11
+ - [x] `slice-00` creado.
12
+ - [x] Todos los slices tienen `slice.json`, `EXECUTION_BRIEF.md` y `CLOSURE_BRIEF.md`.
13
+ - [x] JSON validado.
14
+ - [x] No se modifico codigo de producto.
15
+
16
+ ## Cambios relevantes
17
+
18
+ - Nueva carpeta `specs/quiver-v23-guided-flow-productization/`.
19
+
20
+ ## Pendientes
21
+
22
+ - Implementar `slice-01` en adelante.
23
+
24
+ ## Riesgos remanentes
25
+
26
+ - Las decisiones sobre el binario corto `quiver` y perfiles de modelo se resolveran en slices posteriores.
27
+
28
+ ## Recomendaciones futuras
29
+
30
+ - Ejecutar los slices en el orden recomendado por `EXECUTION_PLAN.md`.
@@ -0,0 +1,61 @@
1
+ # EXECUTION BRIEF - slice-00: Spec foundation
2
+
3
+ **Spec:** quiver-v23-guided-flow-productization
4
+ **Slice:** slice-00-spec-foundation
5
+ **Tipo:** docs
6
+
7
+ ## Contexto
8
+
9
+ Esta slice sube al repo la base documental del flujo guiado productizado. Es obligatoria y debe ejecutarse antes de cualquier slice de implementacion.
10
+
11
+ ## Objetivo
12
+
13
+ Crear y validar la estructura completa de spec, slices, handoffs, plan de ejecucion y cuerpo de PR para Quiver v23.
14
+
15
+ ## Alcance
16
+
17
+ - Crear `SPEC.md`.
18
+ - Crear `STATUS.md`.
19
+ - Crear `EVIDENCE_REPORT.md`.
20
+ - Crear `EXECUTION_PLAN.md`.
21
+ - Crear `pr.md`.
22
+ - Crear `slice.json`, `EXECUTION_BRIEF.md` y `CLOSURE_BRIEF.md` para cada slice.
23
+
24
+ ## Criterios de aceptacion
25
+
26
+ - La carpeta `specs/quiver-v23-guided-flow-productization/` existe.
27
+ - `slice-00` existe y precede al resto.
28
+ - Cada slice tiene `slice.json`, `EXECUTION_BRIEF.md` y `CLOSURE_BRIEF.md`.
29
+ - Todos los JSON parsean correctamente.
30
+ - No se modifica codigo de producto.
31
+
32
+ ## Plan tecnico resumido
33
+
34
+ Crear artefactos documentales siguiendo el patron real del repo bajo `specs/`. Mantener `slice-00` como base documental y declarar dependencias para las slices posteriores.
35
+
36
+ ## Pasos sugeridos de ejecucion
37
+
38
+ 1. Revisar `README_FOR_AI.md`.
39
+ 2. Crear estructura `specs/quiver-v23-guided-flow-productization/`.
40
+ 3. Agregar archivos top-level de spec.
41
+ 4. Agregar cada slice y handoff.
42
+ 5. Validar JSON y whitespace.
43
+ 6. Preparar commit unico de slice-00.
44
+
45
+ ## Restricciones
46
+
47
+ - No tocar codigo de producto.
48
+ - No resolver implementacion en esta slice.
49
+ - No abrir PR todavia.
50
+
51
+ ## Riesgos
52
+
53
+ - Diseñar una spec demasiado amplia sin dependencias claras.
54
+ - Dejar handoffs incompletos para agentes executor.
55
+
56
+ ## Checklist de finalizacion
57
+
58
+ - [ ] `git diff --check` pasa.
59
+ - [ ] Todos los `slice.json` parsean.
60
+ - [ ] No hay cambios fuera de `specs/quiver-v23-guided-flow-productization/`.
61
+ - [ ] El commit representa solo slice-00.
@@ -0,0 +1,51 @@
1
+ {
2
+ "slice_id": "slice-00-spec-foundation",
3
+ "ticket": "QUIVER-23-00",
4
+ "type": "docs",
5
+ "title": "Spec foundation and guided flow planning artifacts",
6
+ "objective": "Create the complete documentation foundation for the guided flow productization 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-flow-productization-spec-foundation",
12
+ "branch_name": "feature/QUIVER-23-00-guided-flow-productization-spec-foundation"
13
+ },
14
+ "files": [
15
+ "specs/quiver-v23-guided-flow-productization/**"
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 package behavior.",
32
+ "Running AI providers.",
33
+ "Opening a PR."
34
+ ],
35
+ "acceptance": [
36
+ "Spec folder exists under specs/quiver-v23-guided-flow-productization.",
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-v23-guided-flow-productization -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-21T00:00:00-0300"
51
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-01: Short command and flow entrypoint
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se agrego la superficie inicial del flujo guiado: el paquete publica `quiver` como alias del mismo binario `create-quiver`, el CLI acepta `flow`, y el comando imprime el estado inicial y el proximo comando seguro sin escribir archivos ni llamar proveedores.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Compatibilidad `create-quiver`.
10
+ - [x] Decision `quiver` documentada.
11
+ - [x] Entry point seguro.
12
+ - [x] Tests pasan.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `package.json` y `package-lock.json`: alias binario `quiver` y script `quiver:flow`.
17
+ - `src/create-quiver/commands/flow.js`: comando read-only con salida texto y JSON.
18
+ - `src/create-quiver/index.js`: routing, usage y export del comando `flow`.
19
+ - `src/create-quiver/lib/init-layout.js` y `package.template.json`: script generado `quiver:flow`.
20
+ - `README.md`, `README_FOR_AI.md` y `docs/COMMANDS.md.template`: decision de alias y uso de `flow`.
21
+ - `tests/commands/flow.test.js`: cobertura del alias, script generado, read-only behavior y JSON.
22
+
23
+ ## Pendientes
24
+
25
+ Ninguno para este slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ El alias `quiver` es un shortcut local/publicado por el paquete; el bootstrap remoto sigue siendo `npx create-quiver`, porque `npx quiver` podria resolver otro paquete si no existe una instalacion local.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Extender `flow` en `slice-02` para mostrar estado mas completo, blockers y wizard de siguiente paso.
@@ -0,0 +1,35 @@
1
+ # EXECUTION BRIEF - slice-01: Short command and flow entrypoint
2
+
3
+ ## Contexto
4
+
5
+ Quiver actualmente se ejecuta como `npx create-quiver`. El objetivo de producto es que el usuario pueda pensar en `quiver` como la experiencia principal sin romper compatibilidad.
6
+
7
+ ## Objetivo
8
+
9
+ Crear la superficie inicial de comando corto y flujo guiado.
10
+
11
+ ## Alcance
12
+
13
+ - Revisar `package.json` y `bin/`.
14
+ - Agregar o documentar el alias `quiver`.
15
+ - Agregar entrypoint inicial de `flow`.
16
+ - Actualizar docs y tests.
17
+
18
+ ## Criterios de aceptacion
19
+
20
+ - `create-quiver` sigue funcionando.
21
+ - La decision sobre `quiver` queda documentada.
22
+ - El nuevo entrypoint no llama proveedores ni escribe estado inesperado.
23
+ - Tests y `git diff --check` pasan.
24
+
25
+ ## Restricciones
26
+
27
+ - No implementar perfiles de agentes.
28
+ - No introducir breaking changes.
29
+
30
+ ## Checklist de finalizacion
31
+
32
+ - [ ] Comando probado.
33
+ - [ ] Docs actualizadas.
34
+ - [ ] Tests actualizados.
35
+ - [ ] Evidencia registrada.
@@ -0,0 +1,56 @@
1
+ {
2
+ "slice_id": "slice-01-short-command-and-flow-entrypoint",
3
+ "ticket": "QUIVER-23-01",
4
+ "type": "feature",
5
+ "title": "Short command and guided flow entrypoint",
6
+ "objective": "Expose a user-friendly guided flow entrypoint while preserving the existing create-quiver CLI.",
7
+ "description": "Add or document a `quiver` command path and introduce the first flow command surface without changing existing behavior.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "short-command-flow-entrypoint",
12
+ "branch_name": "feature/QUIVER-23-01-short-command-flow-entrypoint"
13
+ },
14
+ "files": [
15
+ "package.json",
16
+ "bin/**",
17
+ "src/create-quiver/index.js",
18
+ "src/create-quiver/commands/**",
19
+ "docs/COMMANDS.md.template",
20
+ "README.md",
21
+ "README_FOR_AI.md",
22
+ "tests/commands/*.test.js",
23
+ "scripts/ci/*.sh"
24
+ ],
25
+ "depends_on": [
26
+ "slice-00-spec-foundation"
27
+ ],
28
+ "parallel_safe": "no",
29
+ "parallel_safe_reason": "Establishes the user-facing command surface and likely touches shared CLI routing.",
30
+ "must": [
31
+ "Preserve all existing `npx create-quiver` commands.",
32
+ "Define whether `quiver` is a binary alias or generated local script.",
33
+ "Add a flow entrypoint with dry-run-safe behavior.",
34
+ "Document the command decision clearly."
35
+ ],
36
+ "not_included": [
37
+ "Agent profile storage.",
38
+ "Planner iteration history.",
39
+ "Delegated execution."
40
+ ],
41
+ "acceptance": [
42
+ "Existing `create-quiver` CLI tests remain green.",
43
+ "The short command path is documented and tested.",
44
+ "The flow entrypoint prints clear guidance without requiring provider auth.",
45
+ "README_FOR_AI.md does not contradict the command decision."
46
+ ],
47
+ "tests": [
48
+ "node --test tests/commands/init-profiles.test.js tests/commands/prepare.test.js",
49
+ "git diff --check"
50
+ ],
51
+ "estimated_hours": 4,
52
+ "status": "completed",
53
+ "blocked_reason": null,
54
+ "actual_hours": 2,
55
+ "completed_at": "2026-05-21T14:42:19-0300"
56
+ }
@@ -0,0 +1,31 @@
1
+ # CLOSURE BRIEF - slice-02: Flow status and next-step wizard
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se extendio `npx create-quiver flow` para funcionar como wizard read-only: detecta estado de inicializacion, contexto, approvals, specs y slices, reporta blockers y muestra el proximo comando seguro.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Estado detectado.
10
+ - [x] Bloqueos reportados.
11
+ - [x] Proximo comando sugerido.
12
+ - [x] Tests pasan.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `src/create-quiver/commands/flow.js`: agrega lectura segura de approvals, docs, specs y slice graph.
17
+ - `tests/commands/flow.test.js`: cubre proyecto no inicializado, contexto faltante, criterios draft, slices listos y salida JSON.
18
+ - `docs/WORKFLOW.md.template`: recomienda `flow` cuando el siguiente paso seguro no esta claro.
19
+ - `SPEC.md`, `STATUS.md` y `EVIDENCE_REPORT.md`: estado del slice actualizado.
20
+
21
+ ## Pendientes
22
+
23
+ Ninguno para este slice.
24
+
25
+ ## Riesgos remanentes
26
+
27
+ El wizard usa heuristicas conservadoras; si el grafo de slices esta roto, bloquea y deriva a `spec status`/`plan` en vez de intentar continuar.
28
+
29
+ ## Recomendaciones futuras
30
+
31
+ Conectar perfiles de agentes en `slice-03` para que el wizard pueda mostrar provider/model configurados sin pedirlos en cada comando.
@@ -0,0 +1,29 @@
1
+ # EXECUTION BRIEF - slice-02: Flow status and next-step wizard
2
+
3
+ ## Objetivo
4
+
5
+ Implementar un comando que muestre estado, bloqueos y proximo paso seguro.
6
+
7
+ ## Alcance
8
+
9
+ - Leer estado de `.quiver/`, docs, approvals y specs.
10
+ - Reutilizar doctor/status existentes donde convenga.
11
+ - Imprimir salida breve y accionable.
12
+
13
+ ## Criterios de aceptacion
14
+
15
+ - No falla con proyectos no inicializados.
16
+ - No llama proveedores.
17
+ - No escribe archivos salvo que una opcion futura lo pida explicitamente.
18
+ - Tiene tests por etapa relevante.
19
+
20
+ ## Restricciones
21
+
22
+ - No resolver perfiles de agentes en esta slice.
23
+ - No crear specs ni ejecutar slices.
24
+
25
+ ## Checklist de finalizacion
26
+
27
+ - [ ] Tests por estado.
28
+ - [ ] Docs actualizadas.
29
+ - [ ] Evidencia registrada.
@@ -0,0 +1,55 @@
1
+ {
2
+ "slice_id": "slice-02-flow-status-wizard",
3
+ "ticket": "QUIVER-23-02",
4
+ "type": "feature",
5
+ "title": "Flow status and next-step wizard",
6
+ "objective": "Tell the user where they are in the Quiver workflow and what the next safe command is.",
7
+ "description": "Add a status/wizard layer that reads project state, docs, approvals, specs, slices, and worktrees to produce actionable next steps.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "flow-status-wizard",
12
+ "branch_name": "feature/QUIVER-23-02-flow-status-wizard"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/flow.js",
16
+ "src/create-quiver/lib/**",
17
+ "src/create-quiver/index.js",
18
+ "docs/WORKFLOW.md.template",
19
+ "docs/COMMANDS.md.template",
20
+ "tests/commands/*.test.js"
21
+ ],
22
+ "depends_on": [
23
+ "slice-01-short-command-and-flow-entrypoint"
24
+ ],
25
+ "parallel_safe": "no",
26
+ "parallel_safe_reason": "Depends on command routing and shared workflow state inspection.",
27
+ "must": [
28
+ "Report current workflow stage.",
29
+ "Report blockers.",
30
+ "Print the next safe command.",
31
+ "Handle uninitialized projects gracefully.",
32
+ "Avoid provider calls."
33
+ ],
34
+ "not_included": [
35
+ "Agent profile management.",
36
+ "Executing provider commands.",
37
+ "Creating specs."
38
+ ],
39
+ "acceptance": [
40
+ "Uninitialized project receives init guidance.",
41
+ "Initialized project without analysis receives analyze/prepare guidance.",
42
+ "Project with draft criteria receives approval guidance.",
43
+ "Project with ready slices receives execution guidance.",
44
+ "Output is concise and copy-pasteable."
45
+ ],
46
+ "tests": [
47
+ "node --test tests/commands/flow*.test.js tests/lib/doctor.test.js",
48
+ "git diff --check"
49
+ ],
50
+ "estimated_hours": 6,
51
+ "status": "completed",
52
+ "blocked_reason": null,
53
+ "actual_hours": 3,
54
+ "completed_at": "2026-05-21T14:46:40-0300"
55
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-03: Agent profiles
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se agregaron perfiles reutilizables para `planner`, `executor`, `reviewer` y `researcher` bajo `.quiver/agents/profiles.json`, con comandos `ai agent set/list/show`, validacion de provider y etiquetas de modelo libres.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Perfiles persistidos.
10
+ - [x] Sin secretos.
11
+ - [x] Provider validado.
12
+ - [x] Tests pasan.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `src/create-quiver/lib/agent-profiles.js`: storage, validacion de roles/providers y rechazo de valores con forma de secreto.
17
+ - `src/create-quiver/commands/ai.js`: subcomando `ai agent` y provider default desde perfil para planner.
18
+ - `src/create-quiver/lib/ai/executor.js` y `execution-plan.js`: provider default desde perfil executor.
19
+ - `src/create-quiver/commands/flow.js`: wizard recomienda configurar perfiles antes de planificar.
20
+ - `package.json`, `package.template.json` e `init-layout.js`: script `quiver:ai:agent`.
21
+ - Docs y tests de lib/CLI.
22
+
23
+ ## Pendientes
24
+
25
+ Ninguno para este slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ Los modelos se guardan como etiquetas de configuracion y no se pasan como argumentos al provider hasta definir compatibilidad por CLI en un slice posterior.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Usar estos perfiles en prompts de onboarding y preparacion de contexto desde `slice-04`.
@@ -0,0 +1,29 @@
1
+ # EXECUTION BRIEF - slice-03: Agent profiles
2
+
3
+ ## Objetivo
4
+
5
+ Permitir que el usuario guarde perfiles reutilizables para planner, executor, reviewer y researcher.
6
+
7
+ ## Alcance
8
+
9
+ - Estado local bajo `.quiver/`.
10
+ - Comandos para set/list/show.
11
+ - Integracion basica con providers existentes.
12
+
13
+ ## Criterios de aceptacion
14
+
15
+ - Perfiles persistidos sin secretos.
16
+ - Provider validado.
17
+ - Modelos guardados como etiquetas/configuracion.
18
+ - Tests unitarios y CLI.
19
+
20
+ ## Restricciones
21
+
22
+ - No prometer disponibilidad real de modelos.
23
+ - No llamar APIs externas.
24
+
25
+ ## Checklist de finalizacion
26
+
27
+ - [ ] Estado definido.
28
+ - [ ] CLI documentado.
29
+ - [ ] Tests pasan.
@@ -0,0 +1,54 @@
1
+ {
2
+ "slice_id": "slice-03-agent-profiles",
3
+ "ticket": "QUIVER-23-03",
4
+ "type": "feature",
5
+ "title": "Agent profiles for planner, executor, reviewer, and researcher",
6
+ "objective": "Persist reusable AI agent profiles so users do not repeat provider/model choices in every command.",
7
+ "description": "Add profile commands and state for planner, executor, reviewer, and optional researcher roles.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "agent-profiles",
12
+ "branch_name": "feature/QUIVER-23-03-agent-profiles"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/providers.js",
17
+ "src/create-quiver/lib/**",
18
+ "docs/COMMANDS.md.template",
19
+ "tests/lib/*.test.js",
20
+ "tests/commands/*.test.js"
21
+ ],
22
+ "depends_on": [
23
+ "slice-02-flow-status-wizard"
24
+ ],
25
+ "parallel_safe": "no",
26
+ "parallel_safe_reason": "Defines shared AI state consumed by later prompts and execution commands.",
27
+ "must": [
28
+ "Persist planner, executor, reviewer, and researcher profile settings.",
29
+ "Support provider and model-like free-form fields without hardcoding unstable model names.",
30
+ "Validate provider support.",
31
+ "Never store secrets.",
32
+ "Expose list/show/set commands."
33
+ ],
34
+ "not_included": [
35
+ "Calling providers.",
36
+ "Plan review behavior.",
37
+ "Delegated execution."
38
+ ],
39
+ "acceptance": [
40
+ "Profiles can be set, listed, and read.",
41
+ "Unknown providers are rejected with supported provider guidance.",
42
+ "Free-form model labels are preserved as configuration, not treated as verified availability.",
43
+ "No secrets are requested or stored."
44
+ ],
45
+ "tests": [
46
+ "node --test tests/lib/agent-profiles.test.js tests/commands/ai*.test.js",
47
+ "git diff --check"
48
+ ],
49
+ "estimated_hours": 6,
50
+ "status": "completed",
51
+ "blocked_reason": null,
52
+ "actual_hours": 4,
53
+ "completed_at": "2026-05-21T14:54:02-0300"
54
+ }
@@ -0,0 +1,32 @@
1
+ # CLOSURE BRIEF - slice-04: Context preparation and onboarding
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se productizo el onboarding planner como plantilla empaquetada e index-first, compartida por `ai onboard` y `prepare`. El dry-run ahora reporta fuente del prompt, docs seleccionados y deuda documental.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Prompt index-first.
10
+ - [x] Omitidos reportados.
11
+ - [x] Supuestos y riesgos reportados.
12
+ - [x] Tests pasan.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `src/create-quiver/lib/ai/onboarding-template.js`: plan de contexto, docs seleccionados, deuda, omisiones y prompt planner.
17
+ - `src/create-quiver/commands/ai.js`: `ai onboard --dry-run` muestra prompt source, selected docs y documentation debt.
18
+ - `src/create-quiver/commands/prepare.js`: reporte de onboarding context sin leer todo `docs/`.
19
+ - `docs/AI_ONBOARDING_PROMPT.md.template`: lectura index-first y selectiva.
20
+ - Tests de `prepare`, `ai onboard` y safety.
21
+
22
+ ## Pendientes
23
+
24
+ Ninguno para este slice.
25
+
26
+ ## Riesgos remanentes
27
+
28
+ La plantilla reporta deuda documental por rutas esperadas aunque algunos proyectos minimalistas pueden no necesitarlas todas; el flujo lo trata como guia, no como bloqueo.
29
+
30
+ ## Recomendaciones futuras
31
+
32
+ Usar el plan de contexto compartido para prompts mas especificos en criterios, plan tecnico y review.