create-quiver 0.10.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/BACKLOG.md +16 -17
  2. package/CHANGELOG.md +78 -0
  3. package/README.md +208 -41
  4. package/README_FOR_AI.md +50 -24
  5. package/ROADMAP.md +34 -11
  6. package/docs/AI_CONTEXT.md.template +2 -0
  7. package/docs/AI_ONBOARDING_PROMPT.md.template +31 -18
  8. package/docs/COMMANDS.md.template +90 -16
  9. package/docs/CONTEXTO.md.template +2 -0
  10. package/docs/DECISIONS.md.template +1 -0
  11. package/docs/INDEX.md.template +20 -18
  12. package/docs/STATUS.md.template +6 -1
  13. package/docs/SUPPORT_MATRIX.md.template +2 -2
  14. package/docs/TROUBLESHOOTING.md.template +50 -0
  15. package/docs/WORKFLOW.md.template +27 -17
  16. package/package.json +27 -4
  17. package/package.template.json +13 -1
  18. package/scripts/init-docs.sh +11 -4
  19. package/scripts/package-quiver.sh +18 -2
  20. package/specs/quiver-v22-guided-ai-workflow/EVIDENCE_REPORT.md +58 -0
  21. package/specs/quiver-v22-guided-ai-workflow/EXECUTION_PLAN.md +88 -0
  22. package/specs/quiver-v22-guided-ai-workflow/SPEC.md +228 -0
  23. package/specs/quiver-v22-guided-ai-workflow/STATUS.md +42 -0
  24. package/specs/quiver-v22-guided-ai-workflow/pr.md +104 -0
  25. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +35 -0
  26. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  27. package/specs/quiver-v22-guided-ai-workflow/slices/slice-00-spec-foundation/slice.json +51 -0
  28. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/CLOSURE_BRIEF.md +31 -0
  29. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/EXECUTION_BRIEF.md +58 -0
  30. package/specs/quiver-v22-guided-ai-workflow/slices/slice-01-docs-source-of-truth-sync/slice.json +55 -0
  31. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/CLOSURE_BRIEF.md +30 -0
  32. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/EXECUTION_BRIEF.md +57 -0
  33. package/specs/quiver-v22-guided-ai-workflow/slices/slice-02-prepare-command-diagnostics/slice.json +57 -0
  34. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/CLOSURE_BRIEF.md +32 -0
  35. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/EXECUTION_BRIEF.md +56 -0
  36. package/specs/quiver-v22-guided-ai-workflow/slices/slice-03-context-doc-refresh/slice.json +56 -0
  37. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/CLOSURE_BRIEF.md +33 -0
  38. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/EXECUTION_BRIEF.md +56 -0
  39. package/specs/quiver-v22-guided-ai-workflow/slices/slice-04-planner-approval-state/slice.json +58 -0
  40. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/CLOSURE_BRIEF.md +32 -0
  41. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/EXECUTION_BRIEF.md +56 -0
  42. package/specs/quiver-v22-guided-ai-workflow/slices/slice-05-spec-worktree-lifecycle/slice.json +54 -0
  43. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/CLOSURE_BRIEF.md +32 -0
  44. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/EXECUTION_BRIEF.md +58 -0
  45. package/specs/quiver-v22-guided-ai-workflow/slices/slice-06-executor-commit-recovery/slice.json +57 -0
  46. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/CLOSURE_BRIEF.md +32 -0
  47. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/EXECUTION_BRIEF.md +58 -0
  48. package/specs/quiver-v22-guided-ai-workflow/slices/slice-07-execution-waves-delegation/slice.json +55 -0
  49. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/CLOSURE_BRIEF.md +32 -0
  50. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/EXECUTION_BRIEF.md +58 -0
  51. package/specs/quiver-v22-guided-ai-workflow/slices/slice-08-pr-create-gh-ssh/slice.json +53 -0
  52. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/CLOSURE_BRIEF.md +33 -0
  53. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/EXECUTION_BRIEF.md +59 -0
  54. package/specs/quiver-v22-guided-ai-workflow/slices/slice-09-post-merge-cleanup-release-safety/slice.json +59 -0
  55. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +34 -0
  56. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +58 -0
  57. package/specs/quiver-v22-guided-ai-workflow/slices/slice-10-docs-smokes-release-readiness/slice.json +60 -0
  58. package/specs/quiver-v23-guided-flow-productization/EVIDENCE_REPORT.md +80 -0
  59. package/specs/quiver-v23-guided-flow-productization/EXECUTION_PLAN.md +80 -0
  60. package/specs/quiver-v23-guided-flow-productization/SPEC.md +203 -0
  61. package/specs/quiver-v23-guided-flow-productization/STATUS.md +39 -0
  62. package/specs/quiver-v23-guided-flow-productization/pr.md +119 -0
  63. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
  64. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +61 -0
  65. package/specs/quiver-v23-guided-flow-productization/slices/slice-00-spec-foundation/slice.json +51 -0
  66. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/CLOSURE_BRIEF.md +33 -0
  67. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/EXECUTION_BRIEF.md +35 -0
  68. package/specs/quiver-v23-guided-flow-productization/slices/slice-01-short-command-and-flow-entrypoint/slice.json +56 -0
  69. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/CLOSURE_BRIEF.md +31 -0
  70. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/EXECUTION_BRIEF.md +29 -0
  71. package/specs/quiver-v23-guided-flow-productization/slices/slice-02-flow-status-wizard/slice.json +55 -0
  72. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/CLOSURE_BRIEF.md +33 -0
  73. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/EXECUTION_BRIEF.md +29 -0
  74. package/specs/quiver-v23-guided-flow-productization/slices/slice-03-agent-profiles/slice.json +54 -0
  75. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/CLOSURE_BRIEF.md +32 -0
  76. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/EXECUTION_BRIEF.md +30 -0
  77. package/specs/quiver-v23-guided-flow-productization/slices/slice-04-context-preparation-onboarding/slice.json +59 -0
  78. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/CLOSURE_BRIEF.md +31 -0
  79. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/EXECUTION_BRIEF.md +29 -0
  80. package/specs/quiver-v23-guided-flow-productization/slices/slice-05-planner-iteration-history/slice.json +53 -0
  81. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/CLOSURE_BRIEF.md +33 -0
  82. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/EXECUTION_BRIEF.md +30 -0
  83. package/specs/quiver-v23-guided-flow-productization/slices/slice-06-production-plan-review/slice.json +54 -0
  84. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/CLOSURE_BRIEF.md +33 -0
  85. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/EXECUTION_BRIEF.md +30 -0
  86. package/specs/quiver-v23-guided-flow-productization/slices/slice-07-spec-create-experience/slice.json +55 -0
  87. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/CLOSURE_BRIEF.md +32 -0
  88. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/EXECUTION_BRIEF.md +30 -0
  89. package/specs/quiver-v23-guided-flow-productization/slices/slice-08-executor-prompt-generation/slice.json +55 -0
  90. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/CLOSURE_BRIEF.md +33 -0
  91. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/EXECUTION_BRIEF.md +34 -0
  92. package/specs/quiver-v23-guided-flow-productization/slices/slice-09-delegated-slice-execution/slice.json +57 -0
  93. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
  94. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +32 -0
  95. package/specs/quiver-v23-guided-flow-productization/slices/slice-10-docs-smokes-release-readiness/slice.json +63 -0
  96. package/specs/quiver-v24-dx-onboarding-hardening/EVIDENCE_REPORT.md +55 -0
  97. package/specs/quiver-v24-dx-onboarding-hardening/EXECUTION_PLAN.md +43 -0
  98. package/specs/quiver-v24-dx-onboarding-hardening/SPEC.md +149 -0
  99. package/specs/quiver-v24-dx-onboarding-hardening/STATUS.md +31 -0
  100. package/specs/quiver-v24-dx-onboarding-hardening/pr.md +76 -0
  101. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +31 -0
  102. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
  103. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-00-spec-foundation/slice.json +51 -0
  104. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/CLOSURE_BRIEF.md +38 -0
  105. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/EXECUTION_BRIEF.md +53 -0
  106. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-01-init-template-hygiene/slice.json +55 -0
  107. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/CLOSURE_BRIEF.md +33 -0
  108. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/EXECUTION_BRIEF.md +50 -0
  109. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-02-cli-command-routing-version-errors/slice.json +52 -0
  110. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/CLOSURE_BRIEF.md +33 -0
  111. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/EXECUTION_BRIEF.md +50 -0
  112. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-03-doctor-fix-doc-link-checks/slice.json +53 -0
  113. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/CLOSURE_BRIEF.md +33 -0
  114. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/EXECUTION_BRIEF.md +50 -0
  115. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-04-prepare-output-ai-context-drafts/slice.json +70 -0
  116. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/CLOSURE_BRIEF.md +36 -0
  117. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/EXECUTION_BRIEF.md +49 -0
  118. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-05-local-slice-validation-base-guidance/slice.json +52 -0
  119. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/CLOSURE_BRIEF.md +43 -0
  120. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/EXECUTION_BRIEF.md +53 -0
  121. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-06-plan-graph-next-history-views/slice.json +60 -0
  122. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/CLOSURE_BRIEF.md +32 -0
  123. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/EXECUTION_BRIEF.md +50 -0
  124. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-07-analyzer-command-map-hardening/slice.json +51 -0
  125. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/CLOSURE_BRIEF.md +34 -0
  126. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/EXECUTION_BRIEF.md +52 -0
  127. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-08-evidence-run-command/slice.json +54 -0
  128. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/CLOSURE_BRIEF.md +34 -0
  129. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/EXECUTION_BRIEF.md +51 -0
  130. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-09-spec-viewer-demo-scaffolding/slice.json +59 -0
  131. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/CLOSURE_BRIEF.md +33 -0
  132. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/EXECUTION_BRIEF.md +54 -0
  133. package/specs/quiver-v24-dx-onboarding-hardening/slices/slice-10-docs-smokes-release-readiness/slice.json +76 -0
  134. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EVIDENCE_REPORT.md +293 -0
  135. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EXECUTION_PLAN.md +58 -0
  136. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/SPEC.md +242 -0
  137. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md +35 -0
  138. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/pr.md +77 -0
  139. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +34 -0
  140. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
  141. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/slice.json +52 -0
  142. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/CLOSURE_BRIEF.md +36 -0
  143. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/EXECUTION_BRIEF.md +52 -0
  144. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/slice.json +56 -0
  145. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/CLOSURE_BRIEF.md +43 -0
  146. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/EXECUTION_BRIEF.md +54 -0
  147. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/slice.json +52 -0
  148. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/CLOSURE_BRIEF.md +35 -0
  149. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/EXECUTION_BRIEF.md +53 -0
  150. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/slice.json +54 -0
  151. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/CLOSURE_BRIEF.md +34 -0
  152. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/EXECUTION_BRIEF.md +54 -0
  153. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/slice.json +52 -0
  154. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/CLOSURE_BRIEF.md +34 -0
  155. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/EXECUTION_BRIEF.md +54 -0
  156. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/slice.json +53 -0
  157. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/CLOSURE_BRIEF.md +33 -0
  158. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/EXECUTION_BRIEF.md +56 -0
  159. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/slice.json +55 -0
  160. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/CLOSURE_BRIEF.md +33 -0
  161. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/EXECUTION_BRIEF.md +54 -0
  162. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/slice.json +52 -0
  163. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/CLOSURE_BRIEF.md +39 -0
  164. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/EXECUTION_BRIEF.md +56 -0
  165. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/slice.json +53 -0
  166. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/CLOSURE_BRIEF.md +38 -0
  167. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/EXECUTION_BRIEF.md +57 -0
  168. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/slice.json +52 -0
  169. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/CLOSURE_BRIEF.md +39 -0
  170. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/EXECUTION_BRIEF.md +55 -0
  171. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/slice.json +56 -0
  172. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/CLOSURE_BRIEF.md +36 -0
  173. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/EXECUTION_BRIEF.md +54 -0
  174. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/slice.json +53 -0
  175. package/specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md +208 -0
  176. package/specs/quiver-v26-0121-smoke-hardening/EXECUTION_PLAN.md +57 -0
  177. package/specs/quiver-v26-0121-smoke-hardening/SPEC.md +137 -0
  178. package/specs/quiver-v26-0121-smoke-hardening/STATUS.md +32 -0
  179. package/specs/quiver-v26-0121-smoke-hardening/pr.md +96 -0
  180. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/CLOSURE_BRIEF.md +35 -0
  181. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/EXECUTION_BRIEF.md +55 -0
  182. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/slice.json +73 -0
  183. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/CLOSURE_BRIEF.md +38 -0
  184. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/EXECUTION_BRIEF.md +51 -0
  185. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/slice.json +76 -0
  186. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/CLOSURE_BRIEF.md +37 -0
  187. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/EXECUTION_BRIEF.md +52 -0
  188. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/slice.json +75 -0
  189. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/CLOSURE_BRIEF.md +37 -0
  190. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/EXECUTION_BRIEF.md +53 -0
  191. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/slice.json +77 -0
  192. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/CLOSURE_BRIEF.md +35 -0
  193. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/EXECUTION_BRIEF.md +52 -0
  194. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/slice.json +77 -0
  195. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/CLOSURE_BRIEF.md +34 -0
  196. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/EXECUTION_BRIEF.md +54 -0
  197. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/slice.json +84 -0
  198. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/CLOSURE_BRIEF.md +35 -0
  199. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/EXECUTION_BRIEF.md +53 -0
  200. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/slice.json +82 -0
  201. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/CLOSURE_BRIEF.md +35 -0
  202. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/EXECUTION_BRIEF.md +55 -0
  203. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/slice.json +92 -0
  204. package/src/create-quiver/commands/ai.js +1060 -37
  205. package/src/create-quiver/commands/demo.js +22 -0
  206. package/src/create-quiver/commands/evidence.js +37 -0
  207. package/src/create-quiver/commands/flow.js +562 -0
  208. package/src/create-quiver/commands/graph.js +19 -4
  209. package/src/create-quiver/commands/next.js +28 -0
  210. package/src/create-quiver/commands/plan.js +9 -6
  211. package/src/create-quiver/commands/prepare.js +236 -0
  212. package/src/create-quiver/commands/spec.js +133 -0
  213. package/src/create-quiver/index.js +1010 -31
  214. package/src/create-quiver/lib/actionable-error.js +27 -0
  215. package/src/create-quiver/lib/agent-profiles.js +148 -0
  216. package/src/create-quiver/lib/ai/context-packs.js +16 -0
  217. package/src/create-quiver/lib/ai/execution-plan.js +377 -11
  218. package/src/create-quiver/lib/ai/executor.js +633 -24
  219. package/src/create-quiver/lib/ai/export-state.js +534 -0
  220. package/src/create-quiver/lib/ai/github.js +279 -0
  221. package/src/create-quiver/lib/ai/onboarding-template.js +578 -0
  222. package/src/create-quiver/lib/ai/plan-review.js +286 -0
  223. package/src/create-quiver/lib/ai/providers.js +5 -3
  224. package/src/create-quiver/lib/ai/run-state.js +414 -0
  225. package/src/create-quiver/lib/ai/safety.js +5 -0
  226. package/src/create-quiver/lib/ai/spec-generator.js +12 -0
  227. package/src/create-quiver/lib/ai/spec-templates.js +80 -11
  228. package/src/create-quiver/lib/approvals.js +369 -0
  229. package/src/create-quiver/lib/demo.js +832 -0
  230. package/src/create-quiver/lib/doctor.js +309 -0
  231. package/src/create-quiver/lib/evidence.js +115 -0
  232. package/src/create-quiver/lib/handoff.js +81 -12
  233. package/src/create-quiver/lib/init-docs.js +302 -17
  234. package/src/create-quiver/lib/init-layout.js +34 -1
  235. package/src/create-quiver/lib/json.js +53 -3
  236. package/src/create-quiver/lib/lifecycle.js +6 -0
  237. package/src/create-quiver/lib/package-safety.js +117 -0
  238. package/src/create-quiver/lib/readiness.js +103 -21
  239. package/src/create-quiver/lib/scope.js +50 -7
  240. package/src/create-quiver/lib/slice-graph.js +138 -37
  241. package/src/create-quiver/lib/slice.js +14 -9
  242. package/src/create-quiver/lib/spec-worktrees.js +363 -0
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-02: CLI command routing and version mismatch errors
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ - El parser ahora rechaza un primer argumento desconocido como comando no soportado, en vez de tratarlo como nombre legacy de proyecto.
6
+ - La compatibilidad `--name "Project"` sigue funcionando para inicialización.
7
+ - El error de comando no soportado muestra el comando, `--help`, el comando correcto de init y la recomendación de actualizar si el comando existe en documentación más nueva.
8
+ - `doctor` ahora advierte cuando scripts `package.json` que llaman a `npx create-quiver` apuntan a comandos, subcomandos `ai` o subcomandos `spec` no soportados por esta versión.
9
+
10
+ ## Validación contra criterios de aceptación
11
+
12
+ - [x] Unknown subcommands fail clearly.
13
+ - [x] Legacy `--name` remains supported.
14
+ - [x] Modern command-like tokens do not trigger init alias behavior.
15
+ - [x] Version/script mismatch guidance is actionable.
16
+
17
+ ## Cambios relevantes
18
+
19
+ - `src/create-quiver/index.js`
20
+ - `tests/commands/init-profiles.test.js`
21
+ - `tests/commands/doctor.test.js`
22
+
23
+ ## Pendientes
24
+
25
+ Sin pendientes del slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ El shortcut posicional no documentado `npx create-quiver "Project"` deja de funcionar; el camino documentado y preservado es `npx create-quiver --name "Project"` o `npx create-quiver init --name "Project"`.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Keep parser behavior explicit and avoid compatibility fallthrough for command-like tokens.
@@ -0,0 +1,50 @@
1
+ # EXECUTION BRIEF - slice-02: CLI command routing and version mismatch errors
2
+
3
+ ## Contexto
4
+
5
+ During dogfooding, a modern command executed through an older installed package was interpreted as a project name. This is high-friction because it makes `prepare` look like an init request.
6
+
7
+ ## Objetivo
8
+
9
+ Make command routing fail safe and make version/script mismatches understandable.
10
+
11
+ ## Alcance
12
+
13
+ - Unknown subcommand handling.
14
+ - Legacy `--name` alias preservation.
15
+ - Version/script mismatch diagnostics in doctor/flow where appropriate.
16
+ - Tests for ambiguous commands.
17
+
18
+ ## Criterios de aceptación
19
+
20
+ - Unknown subcommands fail clearly.
21
+ - Modern command names are not treated as project names.
22
+ - Legacy `--name` remains valid.
23
+ - Diagnostics suggest update/help actions.
24
+
25
+ ## Plan técnico resumido
26
+
27
+ Tighten argument parsing and add tests around command mode resolution. Prefer small helpers over parser rewrites.
28
+
29
+ ## Pasos sugeridos de ejecución
30
+
31
+ 1. Locate command mode parsing.
32
+ 2. Add explicit unknown-command path.
33
+ 3. Preserve compatibility alias only for no-command plus `--name`.
34
+ 4. Add mismatch diagnostics where command surfaces are checked.
35
+ 5. Test success and failure cases.
36
+
37
+ ## Restricciones
38
+
39
+ - Do not remove supported commands.
40
+ - Do not require network access to detect version mismatch.
41
+
42
+ ## Riesgos
43
+
44
+ - Parser changes can regress documented examples.
45
+
46
+ ## Checklist de finalización
47
+
48
+ - [ ] Parser tests added.
49
+ - [ ] Legacy alias tested.
50
+ - [ ] Error copy reviewed.
@@ -0,0 +1,52 @@
1
+ {
2
+ "slice_id": "slice-02-cli-command-routing-version-errors",
3
+ "ticket": "QUIVER-24-02",
4
+ "type": "feature",
5
+ "title": "CLI command routing and version mismatch errors",
6
+ "objective": "Prevent unknown or unsupported subcommands from being interpreted as legacy project names and make CLI version mismatches actionable.",
7
+ "description": "Harden command parsing, improve unknown-command errors, and report when generated scripts target commands unsupported by the installed package.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "cli-routing-version-errors",
12
+ "branch_name": "feature/QUIVER-24-02-cli-routing-version-errors"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/index.js",
16
+ "src/create-quiver/commands/flow.js",
17
+ "src/create-quiver/lib/doctor.js",
18
+ "tests/commands/flow.test.js",
19
+ "tests/commands/doctor.test.js",
20
+ "tests/commands/init-profiles.test.js"
21
+ ],
22
+ "depends_on": [
23
+ "slice-00-spec-foundation"
24
+ ],
25
+ "parallel_safe": "yes",
26
+ "parallel_safe_reason": "Can run in parallel with template and analyzer work if parser edits in index.js are coordinated.",
27
+ "must": [
28
+ "Unknown subcommands fail clearly.",
29
+ "Legacy --name alias remains supported.",
30
+ "Modern subcommand names are not treated as project names by old-style routing.",
31
+ "Version/script mismatch diagnostics are actionable.",
32
+ "Errors recommend --help or update path."
33
+ ],
34
+ "not_included": [
35
+ "Changing command names.",
36
+ "Removing legacy --name compatibility.",
37
+ "Implementing doctor --fix."
38
+ ],
39
+ "acceptance": [
40
+ "Unsupported subcommands do not trigger init alias behavior.",
41
+ "Error output names the unsupported command and shows next steps.",
42
+ "`npx create-quiver --name \"Project\"` still works.",
43
+ "Doctor can warn when generated scripts reference unsupported commands.",
44
+ "Tests cover modern command names with older/unsupported routing behavior."
45
+ ],
46
+ "tests": [
47
+ "node --test tests/commands/init-profiles.test.js tests/commands/doctor.test.js tests/commands/flow.test.js"
48
+ ],
49
+ "estimated_hours": 4,
50
+ "status": "completed",
51
+ "blocked_reason": null
52
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-03: Doctor fixes and documentation link checks
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ - `doctor --fix --dry-run` ahora muestra un plan de reparaciones seguras sin escribir archivos.
6
+ - `doctor --fix` aplica reparaciones no destructivas e idempotentes para `.gitignore`, `.quiver/.gitignore`, `.quiver/config.json` y scripts `quiver:*` faltantes.
7
+ - `doctor` valida links Markdown locales en docs generadas y advierte cuando apuntan a archivos inexistentes.
8
+ - Los fixes preservan contenido existente y solo agregan líneas/scripts faltantes.
9
+
10
+ ## Validación contra criterios de aceptación
11
+
12
+ - [x] `doctor --fix --dry-run` writes nothing.
13
+ - [x] `doctor --fix` is safe and idempotent.
14
+ - [x] Docs link checks detect missing local files.
15
+ - [x] Optional generated docs are not reported when they are not linked by the selected profile.
16
+
17
+ ## Cambios relevantes
18
+
19
+ - `src/create-quiver/index.js`
20
+ - `src/create-quiver/lib/doctor.js`
21
+ - `tests/commands/doctor.test.js`
22
+
23
+ ## Pendientes
24
+
25
+ Sin pendientes del slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ El link checker cubre links Markdown locales explícitos; no intenta validar rutas escritas en texto plano o dentro de bloques de código.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Mantener `doctor --fix` limitado a reparaciones aditivas y auditables; cualquier rewrite de contenido debe ir en otro flujo con confirmación explícita.
@@ -0,0 +1,50 @@
1
+ # EXECUTION BRIEF - slice-03: Doctor fixes and documentation link checks
2
+
3
+ ## Contexto
4
+
5
+ Init hygiene can still leave older projects with missing `.gitignore`, stale scripts, or generated docs links. Users need a safe way to see and apply repairs.
6
+
7
+ ## Objetivo
8
+
9
+ Add previewable, idempotent repair behavior and docs link validation.
10
+
11
+ ## Alcance
12
+
13
+ - `doctor --fix --dry-run`.
14
+ - `doctor --fix` for safe non-destructive repairs.
15
+ - Local Markdown link checks for generated docs.
16
+ - Tests for idempotency and no-write dry-run.
17
+
18
+ ## Criterios de aceptación
19
+
20
+ - Dry-run writes nothing.
21
+ - Fix mode is idempotent.
22
+ - User-owned content is preserved.
23
+ - Missing generated-doc links are detected.
24
+
25
+ ## Plan técnico resumido
26
+
27
+ Extend doctor report generation with a repair plan, then execute only approved safe operations when `--fix` is provided.
28
+
29
+ ## Pasos sugeridos de ejecución
30
+
31
+ 1. Model fix candidates separately from applying fixes.
32
+ 2. Render the fix plan in doctor output.
33
+ 3. Apply safe fixes only when not dry-run.
34
+ 4. Add docs link validation.
35
+ 5. Test idempotency and failure output.
36
+
37
+ ## Restricciones
38
+
39
+ - No destructive writes.
40
+ - No link checking over dependency folders or generated caches.
41
+
42
+ ## Riesgos
43
+
44
+ - Link checker could over-report optional docs. Keep optional handling explicit.
45
+
46
+ ## Checklist de finalización
47
+
48
+ - [ ] Dry-run no-write test.
49
+ - [ ] Idempotency test.
50
+ - [ ] Link-check test.
@@ -0,0 +1,53 @@
1
+ {
2
+ "slice_id": "slice-03-doctor-fix-doc-link-checks",
3
+ "ticket": "QUIVER-24-03",
4
+ "type": "feature",
5
+ "title": "Doctor fixes and documentation link checks",
6
+ "objective": "Add safe repair previews and generated-doc link validation to reduce manual cleanup after init.",
7
+ "description": "Introduce `doctor --fix --dry-run`, safe `doctor --fix`, and a docs link check that understands generated profiles and optional files.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "doctor-fix-doc-link-checks",
12
+ "branch_name": "feature/QUIVER-24-03-doctor-fix-doc-link-checks"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/index.js",
16
+ "src/create-quiver/lib/doctor.js",
17
+ "src/create-quiver/commands/prepare.js",
18
+ "tests/lib/doctor.test.js",
19
+ "tests/commands/doctor.test.js",
20
+ "tests/commands/prepare.test.js"
21
+ ],
22
+ "depends_on": [
23
+ "slice-01-init-template-hygiene",
24
+ "slice-02-cli-command-routing-version-errors"
25
+ ],
26
+ "parallel_safe": "yes",
27
+ "parallel_safe_reason": "Can run after init/parser contracts are stable; owns doctor/link-check behavior.",
28
+ "must": [
29
+ "Add `doctor --fix --dry-run` with a planned change list.",
30
+ "Add safe `doctor --fix` for non-destructive repairs only.",
31
+ "Validate local docs links for generated docs.",
32
+ "Avoid deleting or rewriting user-owned content.",
33
+ "Make fixes idempotent."
34
+ ],
35
+ "not_included": [
36
+ "AI context generation.",
37
+ "Evidence capture.",
38
+ "Remote validation behavior."
39
+ ],
40
+ "acceptance": [
41
+ "`doctor --fix --dry-run` reports changes and writes nothing.",
42
+ "`doctor --fix` applies only non-destructive changes.",
43
+ "Running `doctor --fix` twice produces no duplicate content.",
44
+ "Docs link validation catches real missing local files.",
45
+ "Optional docs are either ignored or clearly reported as optional."
46
+ ],
47
+ "tests": [
48
+ "node --test tests/lib/doctor.test.js tests/commands/doctor.test.js tests/commands/prepare.test.js"
49
+ ],
50
+ "estimated_hours": 6,
51
+ "status": "completed",
52
+ "blocked_reason": null
53
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-04: Prepare output and AI context preparation drafts
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se aclaró la salida de `prepare --dry-run` para separar guidance del framework de docs del proyecto, y se agregó `ai prepare-context` para previsualizar o escribir borradores de contexto IA solo en documentación.
6
+
7
+ ## Validación contra criterios de aceptación
8
+
9
+ - [x] Prepare output is clear.
10
+ - [x] Context preparation dry-run writes nothing.
11
+ - [x] Write mode stays docs-only.
12
+ - [x] Uncertainty is explicitly marked.
13
+ - [x] Generated scripts and command docs include `quiver:ai:prepare-context`.
14
+
15
+ ## Cambios relevantes
16
+
17
+ - `prepare --dry-run` ya no reporta `README_FOR_AI.md missing` como deuda falsa en proyectos generados.
18
+ - Nuevo subcomando `npx create-quiver ai prepare-context`.
19
+ - `ai prepare-context --dry-run` reporta docs propuestas, archivos considerados, supuestos, riesgos y rutas omitidas.
20
+ - Write mode toca solo `docs/AI_CONTEXT.md`, `docs/AI_ONBOARDING_PROMPT.md`, `docs/CONTEXTO.md`, `docs/STATUS.md` y `docs/DECISIONS.md`.
21
+ - Scripts generados y docs de comandos incluyen `quiver:ai:prepare-context`.
22
+
23
+ ## Pendientes
24
+
25
+ Sin pendientes del slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ Los borradores escritos reemplazan los docs/context aprobados. El flujo recomendado sigue siendo ejecutar `--dry-run`, revisar supuestos/riesgos y recién después escribir.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Use this context preparation output as the input for planner onboarding.
@@ -0,0 +1,50 @@
1
+ # EXECUTION BRIEF - slice-04: Prepare output and AI context preparation drafts
2
+
3
+ ## Contexto
4
+
5
+ `prepare --dry-run` currently reports missing root `README_FOR_AI.md` in generated projects, which can look like project debt. Users also expect a command that prepares context docs after analysis.
6
+
7
+ ## Objetivo
8
+
9
+ Clarify prepare output and add safe docs-only context preparation for IA onboarding.
10
+
11
+ ## Alcance
12
+
13
+ - Prepare report wording.
14
+ - `ai prepare-context --dry-run`.
15
+ - Optional write mode for context docs only.
16
+ - Assumptions, risks, omitted paths, and uncertainty markers.
17
+
18
+ ## Criterios de aceptación
19
+
20
+ - No false `README_FOR_AI.md` debt.
21
+ - Dry-run writes nothing.
22
+ - Write mode only touches approved docs.
23
+ - Product code is untouched.
24
+
25
+ ## Plan técnico resumido
26
+
27
+ Reuse existing context-pack and onboarding planning helpers where possible. Add a command path that renders proposed docs and tracks uncertainty.
28
+
29
+ ## Pasos sugeridos de ejecución
30
+
31
+ 1. Adjust prepare source wording.
32
+ 2. Add command routing for `ai prepare-context`.
33
+ 3. Build proposed context doc outputs from project map and existing docs.
34
+ 4. Add no-write and docs-only write tests.
35
+ 5. Update templates and docs.
36
+
37
+ ## Restricciones
38
+
39
+ - Do not invent confirmed facts.
40
+ - Do not read dependency folders or local AI state.
41
+
42
+ ## Riesgos
43
+
44
+ - Generated context can become too verbose; keep summaries concise and traceable.
45
+
46
+ ## Checklist de finalización
47
+
48
+ - [ ] Prepare wording test.
49
+ - [ ] `ai prepare-context --dry-run` test.
50
+ - [ ] Docs-only write test.
@@ -0,0 +1,70 @@
1
+ {
2
+ "slice_id": "slice-04-prepare-output-ai-context-drafts",
3
+ "ticket": "QUIVER-24-04",
4
+ "type": "feature",
5
+ "title": "Prepare output and AI context preparation drafts",
6
+ "objective": "Make prepare output clearer and add a safe AI context preparation command that produces reviewable project context drafts.",
7
+ "description": "Improve `prepare --dry-run` wording around framework sources and implement `ai prepare-context` with dry-run-first behavior, assumptions, risks, and docs-only writes.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "prepare-ai-context-drafts",
12
+ "branch_name": "feature/QUIVER-24-04-prepare-ai-context-drafts"
13
+ },
14
+ "files": [
15
+ "package.json",
16
+ "package.template.json",
17
+ "README.md",
18
+ "README_FOR_AI.md",
19
+ "src/create-quiver/index.js",
20
+ "src/create-quiver/commands/prepare.js",
21
+ "src/create-quiver/commands/ai.js",
22
+ "src/create-quiver/lib/ai/context-packs.js",
23
+ "src/create-quiver/lib/ai/onboarding-template.js",
24
+ "src/create-quiver/lib/init-layout.js",
25
+ "docs/COMMANDS.md.template",
26
+ "docs/AI_ONBOARDING_PROMPT.md.template",
27
+ "docs/AI_CONTEXT.md.template",
28
+ "docs/CONTEXTO.md.template",
29
+ "docs/STATUS.md.template",
30
+ "docs/DECISIONS.md.template",
31
+ "scripts/ci/smoke-create-quiver.sh",
32
+ "tests/commands/prepare.test.js",
33
+ "tests/commands/ai-onboard.test.js",
34
+ "tests/commands/doctor.test.js",
35
+ "tests/lib/ai-context-packs.test.js",
36
+ "tests/lib/init-layout.test.js"
37
+ ],
38
+ "depends_on": [
39
+ "slice-01-init-template-hygiene",
40
+ "slice-02-cli-command-routing-version-errors"
41
+ ],
42
+ "parallel_safe": "yes",
43
+ "parallel_safe_reason": "Can run after parser and init docs contracts are stable; owns prepare/AI context output.",
44
+ "must": [
45
+ "Change misleading `README_FOR_AI.md missing` output.",
46
+ "Add `ai prepare-context --dry-run`.",
47
+ "Allow docs-only context draft writes with explicit uncertainty markers.",
48
+ "Report assumptions, risks, files considered, and omitted paths.",
49
+ "Never modify product code."
50
+ ],
51
+ "not_included": [
52
+ "Calling real provider APIs in tests.",
53
+ "Generating implementation specs.",
54
+ "Changing approval gates."
55
+ ],
56
+ "acceptance": [
57
+ "`prepare --dry-run` distinguishes framework source guidance from generated project docs.",
58
+ "`ai prepare-context --dry-run` reports proposed context docs without writing files.",
59
+ "Write mode touches only approved docs/context files.",
60
+ "Uncertain statements are marked as TODO, Assumption, or Pending confirmation.",
61
+ "Product code is never modified by context preparation."
62
+ ],
63
+ "tests": [
64
+ "node --test tests/commands/prepare.test.js tests/commands/ai-onboard.test.js tests/lib/ai-context-packs.test.js tests/commands/doctor.test.js tests/lib/init-layout.test.js",
65
+ "npm run smoke:create-quiver"
66
+ ],
67
+ "estimated_hours": 6,
68
+ "status": "completed",
69
+ "blocked_reason": null
70
+ }
@@ -0,0 +1,36 @@
1
+ # CLOSURE BRIEF - slice-05: Local slice validation and base branch guidance
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ - `check-slice --local` valida estructura local sin exigir remoto/base.
6
+ - El modo local reporta explícitamente que omite validaciones de existencia en remoto/base y overlap basado en base remota.
7
+ - El modo normal conserva la validación contra base/remoto y ahora recomienda `--local`, `--base <branch>` o configurar/fetchear el remoto cuando no existe base.
8
+ - `check-slice` acepta `--base` y `--remote` para seleccionar la base/remoto de validación.
9
+
10
+ ## Validación contra criterios de aceptación
11
+
12
+ - [x] Local mode validates without remote.
13
+ - [x] Omitted remote/base checks are visible.
14
+ - [x] Default mode still protects PR readiness.
15
+ - [x] Explicit local base branch works.
16
+
17
+ ## Cambios relevantes
18
+
19
+ - `src/create-quiver/index.js`
20
+ - `src/create-quiver/lib/readiness.js`
21
+ - `tests/lib/check-slice.test.js`
22
+ - `README.md`
23
+ - `README_FOR_AI.md`
24
+ - `docs/COMMANDS.md.template`
25
+
26
+ ## Pendientes
27
+
28
+ Sin pendientes del slice.
29
+
30
+ ## Riesgos remanentes
31
+
32
+ Documentation must avoid implying `--local` is enough for PR merge readiness.
33
+
34
+ ## Recomendaciones futuras
35
+
36
+ Consider reusing this separation in `check-pr` diagnostics.
@@ -0,0 +1,49 @@
1
+ # EXECUTION BRIEF - slice-05: Local slice validation and base branch guidance
2
+
3
+ ## Contexto
4
+
5
+ `check-slice` currently assumes a remote/base branch and can fail in a brand-new local repo with a misleading `origin/develop` message.
6
+
7
+ ## Objetivo
8
+
9
+ Allow local structural validation while preserving stricter PR/base validation.
10
+
11
+ ## Alcance
12
+
13
+ - `check-slice --local`.
14
+ - Base/remote guidance.
15
+ - Omitted-checks reporting.
16
+ - Tests for local repos and remote-less repos.
17
+
18
+ ## Criterios de aceptación
19
+
20
+ - Local mode passes without remote when slice structure is valid.
21
+ - Local output lists omitted remote/base checks.
22
+ - Normal mode recommends recovery steps when remote/base is missing.
23
+
24
+ ## Plan técnico resumido
25
+
26
+ Split readiness checks into local structural checks and remote/base checks. Route `--local` through the structural subset.
27
+
28
+ ## Pasos sugeridos de ejecución
29
+
30
+ 1. Identify readiness checks that require Git remote/base.
31
+ 2. Add local-mode option.
32
+ 3. Add output section for omitted validations.
33
+ 4. Add explicit base guidance.
34
+ 5. Test both modes.
35
+
36
+ ## Restricciones
37
+
38
+ - Do not weaken default PR readiness checks.
39
+ - Do not assume `develop` when `main` is the only local base.
40
+
41
+ ## Riesgos
42
+
43
+ - Users may confuse local readiness with PR readiness; output must distinguish them.
44
+
45
+ ## Checklist de finalización
46
+
47
+ - [ ] Local mode test.
48
+ - [ ] Missing remote guidance test.
49
+ - [ ] Existing default behavior test.
@@ -0,0 +1,52 @@
1
+ {
2
+ "slice_id": "slice-05-local-slice-validation-base-guidance",
3
+ "ticket": "QUIVER-24-05",
4
+ "type": "feature",
5
+ "title": "Local slice validation and base branch guidance",
6
+ "objective": "Separate local slice readiness from remote/base-branch PR readiness so new repos can validate slices without `origin/develop`.",
7
+ "description": "Add `check-slice --local`, configurable base/remote guidance, and clearer output for validations omitted in local mode.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "local-slice-validation-base-guidance",
12
+ "branch_name": "feature/QUIVER-24-05-local-slice-validation-base-guidance"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/index.js",
16
+ "src/create-quiver/lib/readiness.js",
17
+ "src/create-quiver/lib/slice.js",
18
+ "src/create-quiver/lib/git.js",
19
+ "tests/lib/check-slice.test.js",
20
+ "tests/commands/flow.test.js"
21
+ ],
22
+ "depends_on": [
23
+ "slice-02-cli-command-routing-version-errors"
24
+ ],
25
+ "parallel_safe": "yes",
26
+ "parallel_safe_reason": "Can run after CLI routing is stable; owns slice readiness behavior.",
27
+ "must": [
28
+ "Add `check-slice --local`.",
29
+ "Make local mode validate JSON, handoffs, dependencies, file declarations, and status rules.",
30
+ "Make local mode explicitly report omitted remote/base checks.",
31
+ "Improve normal mode guidance when no remote/base exists.",
32
+ "Support explicit `--base` and existing config where appropriate."
33
+ ],
34
+ "not_included": [
35
+ "Changing PR creation checks.",
36
+ "Changing slice schema unless required.",
37
+ "Starting worktrees."
38
+ ],
39
+ "acceptance": [
40
+ "`check-slice --local` works in a repo without remotes.",
41
+ "Local mode reports which remote/base validations were omitted.",
42
+ "Normal mode without remote suggests `--local`, `--base`, or config.",
43
+ "Existing remote/base validation behavior remains available.",
44
+ "Tests cover new repo, missing remote, explicit base, and valid local slice cases."
45
+ ],
46
+ "tests": [
47
+ "node --test tests/lib/check-slice.test.js tests/commands/flow.test.js"
48
+ ],
49
+ "estimated_hours": 5,
50
+ "status": "completed",
51
+ "blocked_reason": null
52
+ }
@@ -0,0 +1,43 @@
1
+ # CLOSURE BRIEF - slice-06: Historical plan, graph, and next views
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ - Se agregó `--include-completed` a `plan`, `graph` y `next`.
6
+ - `plan` y `graph` mantienen el default pending-only; con el flag incluyen completados y siguen excluyendo `skipped`/`cancelled`.
7
+ - `next --include-completed` no sugiere completados como trabajo accionable; solo agrega historial.
8
+ - `graph --spec <slug>` ahora filtra consistentemente por spec y no mezcla slices de otros specs.
9
+ - `readAllSlices` propaga `ticket`, por lo que el plan muestra tickets reales.
10
+
11
+ ## Validación contra criterios de aceptación
12
+
13
+ - [x] Defaults are unchanged.
14
+ - [x] Completed slices visible with explicit flag.
15
+ - [x] JSON output remains parseable.
16
+ - [x] `--spec` filtering is consistent across plan, graph, and next.
17
+ - [x] Ticket values are preserved in plan output.
18
+
19
+ ## Cambios relevantes
20
+
21
+ - `src/create-quiver/index.js`
22
+ - `src/create-quiver/commands/plan.js`
23
+ - `src/create-quiver/commands/graph.js`
24
+ - `src/create-quiver/commands/next.js`
25
+ - `src/create-quiver/lib/slice-graph.js`
26
+ - `tests/commands/plan.test.js`
27
+ - `tests/commands/graph.test.js`
28
+ - `tests/commands/next.test.js`
29
+ - `README.md`
30
+ - `README_FOR_AI.md`
31
+ - `docs/COMMANDS.md.template`
32
+
33
+ ## Pendientes
34
+
35
+ Sin pendientes del slice.
36
+
37
+ ## Riesgos remanentes
38
+
39
+ History mode copy must not be mistaken for execution guidance.
40
+
41
+ ## Recomendaciones futuras
42
+
43
+ Consider adding examples to docs after usage stabilizes.
@@ -0,0 +1,53 @@
1
+ # EXECUTION BRIEF - slice-06: Historical plan, graph, and next views
2
+
3
+ ## Contexto
4
+
5
+ Completed demo specs currently produce "No pending slices found", which is accurate but not useful for explaining or auditing a completed flow.
6
+
7
+ ## Objetivo
8
+
9
+ Add historical view flags while keeping normal work-planning behavior unchanged.
10
+
11
+ ## Alcance
12
+
13
+ - `--include-completed` flag handling.
14
+ - Human and JSON output updates.
15
+ - Status semantics for history views.
16
+ - Consistent `--spec <slug>` filtering across plan, graph, and next.
17
+ - Ticket propagation in planning output.
18
+ - Tests for plan, graph, and next.
19
+
20
+ ## Criterios de aceptación
21
+
22
+ - Defaults remain pending-only.
23
+ - Completed slices can be displayed explicitly.
24
+ - JSON remains parseable.
25
+ - `next` does not accidentally suggest completed work as actionable.
26
+ - `--spec` filters do not leak slices from other specs.
27
+ - Tickets from `slice.json` appear in plan output.
28
+
29
+ ## Plan técnico resumido
30
+
31
+ Extend slice selection options rather than changing the graph library's default filtering semantics.
32
+
33
+ ## Pasos sugeridos de ejecución
34
+
35
+ 1. Add CLI option parsing.
36
+ 2. Extend plan collection filters.
37
+ 3. Reuse or pass options into graph/next.
38
+ 4. Update formatters and JSON.
39
+ 5. Add tests for defaults and history mode.
40
+
41
+ ## Restricciones
42
+
43
+ - Do not break existing `--only-ready`, `--all-ready`, `--format`, or `--json`.
44
+
45
+ ## Riesgos
46
+
47
+ - Status terminology can confuse users; label history output clearly.
48
+
49
+ ## Checklist de finalización
50
+
51
+ - [ ] Default behavior tests pass.
52
+ - [ ] History mode tests pass.
53
+ - [ ] JSON output tests pass.