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