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
package/BACKLOG.md CHANGED
@@ -40,25 +40,24 @@
40
40
  ### Slice Orchestration and Tooling Commands
41
41
 
42
42
  - **Observed:** 2026-04-23
43
- - **Status:** planned
44
- - **Evidence so far:** 0 real cases. Drafted by the maintainer anticipating multi-model coordination (Opus/GPT-5.4 planning, Sonnet/GPT-5.4 Mini/Qwen Code execution) and visibility pain once specs accumulate.
45
- - **Problem it solves:** Today coordinating multiple agents across pending slices requires ad-hoc grep, ls, and git commands. There is no canonical way to ask "what runs next", "what can run in parallel", "what is this repo's state", or "how expensive is this slice to load".
43
+ - **Status:** promoted
44
+ - **Evidence so far:** The core orchestration line shipped through v18, v20, v21, v22, and v23. Guided workflow is implemented in `specs/quiver-v22-guided-ai-workflow/` and productized in `specs/quiver-v23-guided-flow-productization/`.
45
+ - **Problem it solves:** Coordinating multiple agents across slices needs canonical answers for what runs next, what can run in parallel, what context each agent needs, and when work is ready for PR.
46
46
  - **Proposed shape:**
47
- - v17 Orchestration Foundation (CI matrix, `lib/slice-graph.js`, `depends_on` validation)
48
- - v18 Slice Orchestration (`plan`, `graph`, `next`)
49
- - v19 Project Visibility (`status`, `estimate`, `lint-spec`)
50
- - v20 Context Diagnostics (`cost`, `diff-pack`, `replay`)
51
- - v21 Slice Archaeology (`archive`, `blame-slice`)
52
- - v22 Deferred Tooling (`fork-slice`, `squash-spec`, `share`, evidence-gated per slice)
53
- - **Cost to formalize:** ~55h across 15 slices in 4 specs (v19–v22). Spec/slice files drafted under `drafts/v19-v22-orchestration-followups`.
54
- - **Reasons to wait:** v17 and v18 shipped. v18 must pass its validation checkpoint (≥1 week real use) before v19 starts. Building orchestration before validating the existing commands risks reinforcing a design that does not earn its place.
55
- - **Trigger to promote (per spec):**
56
- - v19: immediately after v18 checkpoint passes (≥1 week real use of `plan`, `graph`, `next`)
57
- - v20–v21: previous spec validation checkpoint passed (≥1 week real use)
58
- - v22 per slice: explicit occurrence recorded in this file for each of `fork-slice`, `squash-spec`, `share`
47
+ - v18 Slice Orchestration (`plan`, `graph`, `next`) shipped.
48
+ - v20 AI CLI Orchestration shipped.
49
+ - v21 AI-First Layout shipped.
50
+ - v22 Guided AI Workflow shipped in this branch.
51
+ - v23 Guided Flow Productization shipped in this branch.
52
+ - **Cost to formalize:** Completed in `specs/quiver-v22-guided-ai-workflow/` and `specs/quiver-v23-guided-flow-productization/`, both with mandatory `slice-00`.
53
+ - **Reasons to wait:** No wait for the guided workflow; it has been implemented. Deferred tooling such as `fork-slice`, `squash-spec`, and `share` still requires real demand before separate implementation.
54
+ - **Trigger to promote:** Fulfilled for guided workflow on 2026-05-21.
59
55
  - **Related:**
60
- - `drafts/v19-v22-orchestration-followups` (parked spec drafts)
61
- - `ROADMAP.md` Orchestration and Tooling section
56
+ - `specs/quiver-v18-slice-orchestration/`
57
+ - `specs/quiver-v20-ai-cli-orchestration/`
58
+ - `specs/quiver-v21-ai-first-layout/`
59
+ - `specs/quiver-v22-guided-ai-workflow/`
60
+ - `specs/quiver-v23-guided-flow-productization/`
62
61
 
63
62
  ### Handoff Contract
64
63
 
package/CHANGELOG.md CHANGED
@@ -4,6 +4,40 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ### Added
8
+
9
+ - Guided AI workflow commands: `prepare`, agent profiles, planner onboarding, approval persistence, `review-plan`, `spec create`, executor prompt generation, delegated execution waves, PR creation with `gh`, spec worktree start/status/close, and package safety.
10
+ - `quiver:prepare`, `quiver:flow`, `quiver:ai:agent`, `quiver:ai:review-plan`, `quiver:ai:prompt-slice`, `quiver:ai:execute-plan`, `quiver:spec:create`, `quiver:spec:start`, `quiver:spec:status`, and `quiver:spec:close` npm scripts for generated projects.
11
+ - Guided workflow smoke coverage for flow status, profiles, onboarding, approvals, review-plan, spec create, executor prompts, delegated execution dry-runs, PR dry-run/create mocks, cleanup, and package safety.
12
+ - DX onboarding hardening for generated projects: `doctor --fix`, `check-slice --local`, `plan|graph|next --include-completed`, `ai prepare-context`, `evidence run`, and `demo create spec-viewer`.
13
+ - Generated scripts for `quiver:evidence` and `quiver:ai:prepare-context`.
14
+
15
+ ### Changed
16
+
17
+ - Root and generated docs now present Quiver as AI-first guided workflow tooling, not only scaffolding.
18
+ - `ai execute-plan` now documents manual prompt mode and delegated worktree mode.
19
+ - Refreshed AI context docs keep front matter after `analyze`.
20
+ - Package smoke now fails when local AI/tool state, env files, npm credentials, or worktree state would enter the npm tarball.
21
+ - `init`, `doctor`, `prepare`, and `analyze` now produce clearer first-use guidance, safer repairs, better generated metadata, and better command maps.
22
+
23
+ ### Fixed
24
+
25
+ - Unknown top-level commands now fail clearly instead of being treated as legacy project names.
26
+ - Generated docs and scripts are kept aligned with the selected init profile and supported command surface.
27
+ - Local-only repositories can run structural slice validation without a remote/base branch by using `check-slice --local`.
28
+
29
+ ## [0.10.0] - 2026-05-21
30
+
31
+ ### Added
32
+
33
+ - AI CLI orchestration commands for provider dry-runs, planner phases, executor slice runs, and GitHub PR preflight.
34
+ - AI-first default project layout with visible onboarding docs and internal `.quiver/` machinery.
35
+ - Generated spec/slice/handoff/PR artifacts with mandatory `slice-00`.
36
+
37
+ ### Changed
38
+
39
+ - Published `create-quiver` 0.10.0 and aligned the root docs with the current release line.
40
+
7
41
  ## [0.9.0] - 2026-05-14
8
42
 
9
43
  ### Added
package/README.md CHANGED
@@ -12,8 +12,13 @@ Ejecutá Quiver desde la raíz del proyecto donde querés instalar el workflow:
12
12
 
13
13
  ```bash
14
14
  npx create-quiver init --name "Mi Proyecto"
15
+ npx create-quiver flow
16
+ npx create-quiver prepare --dry-run
15
17
  npx create-quiver analyze
16
18
  npx create-quiver doctor
19
+ npx create-quiver ai agent set planner --provider codex --model "planner-model"
20
+ npx create-quiver ai agent set executor --provider codex --model "executor-model"
21
+ npx create-quiver ai prepare-context --dry-run
17
22
  npx create-quiver ai onboard --dry-run
18
23
  ```
19
24
 
@@ -24,19 +29,43 @@ Después de eso, revisá:
24
29
  - `docs/AI_CONTEXT.md`
25
30
  - `docs/AI_ONBOARDING_PROMPT.md`
26
31
 
27
- La maquinaria interna queda en `.quiver/`. Las specs reales no se crean durante el init: aparecen cuando el planner genera y aprueba una spec con `ai plan --phase spec`.
32
+ La maquinaria interna queda en `.quiver/`. Las specs reales no se crean durante el init: aparecen cuando el plan técnico ya fue revisado y aprobado, usando `spec create`.
28
33
 
29
34
  El flujo normal con IA continúa así:
30
35
 
31
36
  ```bash
37
+ npx create-quiver flow
32
38
  npx create-quiver ai plan --phase acceptance --input requirements.md --dry-run
33
- npx create-quiver ai plan --phase technical-plan --input acceptance-approved.md --dry-run
34
- npx create-quiver ai plan --phase spec --input technical-plan-approved.md --dry-run
39
+ npx create-quiver ai approve --phase acceptance --input acceptance-approved.md
40
+ npx create-quiver ai approvals
41
+ npx create-quiver ai plan --phase technical-plan --dry-run
42
+ npx create-quiver ai review-plan --dry-run
43
+ npx create-quiver ai approve --phase technical-plan --version <n>
44
+ npx create-quiver spec create --dry-run
45
+ npx create-quiver spec start specs/<project-slug>
35
46
  npx create-quiver next
36
- npx create-quiver ai execute-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run
47
+ npx create-quiver ai execute-plan --dry-run --commit --mode manual
48
+ npx create-quiver ai execute-plan --dry-run --commit --mode delegated
37
49
  ```
38
50
 
39
- Usá `--dry-run` para validar provider, rol, contexto y paths sin ejecutar el modelo. Cuando el output esté revisado y aprobado, quitá `--dry-run`.
51
+ Usá `--dry-run` para validar provider, rol, contexto, paths y olas sin ejecutar el modelo. `--mode manual` imprime prompts para asignar slices a mano; `--mode delegated` prepara la ejecución con workspaces seguros cuando hay paralelismo.
52
+
53
+ ### Compatibilidad: macOS, Linux y Windows
54
+
55
+ El camino principal de Quiver está pensado para ser portable: usa `npx create-quiver ...`, `npm run quiver:*` y `node ...`. Esos comandos funcionan en macOS, Linux y Windows siempre que tengas Node.js, npm y Git instalados.
56
+
57
+ Reglas prácticas por sistema:
58
+
59
+ - macOS y Linux: podés copiar los ejemplos tal como están. Las rutas SSH suelen verse como `~/.ssh/github-work`.
60
+ - Windows con PowerShell: usá los mismos comandos `npx`, `npm` y `node`, pero adaptá rutas a formato Windows, por ejemplo `C:\Users\<usuario>\ssh\github-work`.
61
+ - Windows con Git Bash o WSL: podés usar rutas tipo Unix, por ejemplo `~/.ssh/github-work`.
62
+ - Los wrappers Bash bajo `tools/scripts/` son compatibilidad legacy u opcional. Para trabajo nuevo, preferí el CLI Node y los scripts `quiver:*`.
63
+
64
+ Cuando uses GitHub o PRs:
65
+
66
+ - `--ssh-host-alias` recibe el alias del host en tu configuración SSH, por ejemplo `github-work` o `github-personal`.
67
+ - `--identity-file` recibe la ruta al archivo de clave, que cambia según el sistema operativo.
68
+ - `gh` debe estar instalado y autenticado; Quiver lo valida con `ai doctor` o `ai pr --dry-run`.
40
69
 
41
70
  ### Desarrollar este repositorio
42
71
 
@@ -58,21 +87,30 @@ Quiver asume que la mayoría de los equipos lo van a usar para coordinar trabajo
58
87
  |---|---|---|
59
88
  | WDD | Workflow-Driven Development: dejar claro cómo se trabaja antes de implementar. | `AGENTS.md`, `docs/WORKFLOW.md`, `docs/AI_CONTEXT.md`, `docs/PROJECT_MAP.md` |
60
89
  | SDD | Spec-Driven Development: definir el trabajo en specs y slices antes de tocar código. | `specs/<project-slug>/SPEC.md`, `slice.json`, `EXECUTION_BRIEF.md`, `pr.md` |
61
- | IA planner | Agente que lee contexto amplio y propone criterios, plan técnico, spec y slices. | `ai onboard`, `ai plan` |
62
- | IA executor | Agente que recibe un slice aprobado y trabaja con contexto mínimo. | `ai execute-slice`, `check-scope`, `check-slice` |
90
+ | IA planner | Agente que lee contexto amplio y propone criterios, plan técnico, spec y slices. | `ai prepare-context`, `ai onboard`, `ai plan` |
91
+ | IA executor | Agente que recibe un slice aprobado y trabaja con contexto mínimo. | `ai prompt-slice`, `ai execute-slice`, `check-scope`, `check-slice` |
63
92
 
64
93
  Flujo recomendado:
65
94
 
66
95
  ```bash
67
96
  npx create-quiver analyze
97
+ npx create-quiver flow
68
98
  npx create-quiver doctor
99
+ npx create-quiver ai prepare-context --dry-run
69
100
  npx create-quiver ai onboard --dry-run
70
101
  npx create-quiver ai plan --phase acceptance --input requirements.md --dry-run
71
- npx create-quiver ai plan --phase technical-plan --input acceptance-approved.md --dry-run
72
- npx create-quiver ai plan --phase spec --input technical-plan-approved.md --dry-run
102
+ npx create-quiver ai approve --phase acceptance --input acceptance-approved.md
103
+ npx create-quiver ai plan --phase technical-plan --dry-run
104
+ npx create-quiver ai review-plan --dry-run
105
+ npx create-quiver ai approve --phase technical-plan --version <n>
106
+ npx create-quiver spec create --dry-run
107
+ npx create-quiver spec start specs/<project-slug>
73
108
  npx create-quiver graph
74
109
  npx create-quiver next
75
- npx create-quiver ai execute-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run
110
+ npx create-quiver ai prompt-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run
111
+ npx create-quiver ai execute-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run --commit
112
+ npx create-quiver ai execute-plan --dry-run --commit --mode delegated
113
+ npx create-quiver ai pr --dry-run --input specs/<project-slug>/pr.md --ssh-host-alias github-work --identity-file ~/.ssh/github-work
76
114
  ```
77
115
 
78
116
  Regla práctica: el planner no modifica código de producto; el executor solo trabaja sobre un slice aprobado y dentro de los archivos declarados en `slice.json`.
@@ -87,25 +125,31 @@ Usá este camino cuando todavía no existe el proyecto o estás arrancando una c
87
125
  mkdir mi-proyecto
88
126
  cd mi-proyecto
89
127
  npx create-quiver init --name "Mi Proyecto"
128
+ npx create-quiver flow
129
+ npx create-quiver prepare --dry-run
90
130
  npx create-quiver analyze
91
131
  npx create-quiver doctor
132
+ npx create-quiver ai prepare-context --dry-run
92
133
  npx create-quiver ai onboard --dry-run
93
134
  ```
94
135
 
95
136
  Qué esperar:
96
137
 
97
- - Quiver crea un contrato visible chico: `AGENTS.md`, `docs/`, scripts `quiver:*` en `package.json` y configuración interna en `.quiver/`.
138
+ - Quiver crea un contrato visible chico: `AGENTS.md`, `docs/`, `.gitignore`, scripts `quiver:*` en `package.json` y configuración interna en `.quiver/`.
98
139
  - No crea `docs-template/`, `tools/scripts/` ni una spec placeholder en el flujo default.
99
140
  - `analyze` crea el scan crudo en `.quiver/scans/PROJECT_SCAN.json` y el mapa legible en `docs/PROJECT_MAP.md`.
100
141
  - `doctor` valida que el contrato inicial esté completo.
101
- - `ai onboard --dry-run` muestra cómo se incorporaría un agente planner sin ejecutar el provider todavía.
142
+ - `ai prepare-context --dry-run` muestra borradores y supuestos sin escribir; `ai onboard --dry-run` muestra cómo se incorporaría un agente planner sin ejecutar el provider todavía.
102
143
 
103
144
  Después del bootstrap, revisá:
104
145
 
105
146
  ```bash
106
147
  npx create-quiver ai plan --phase acceptance --input requirements.md --dry-run
107
- npx create-quiver ai plan --phase technical-plan --input acceptance-approved.md --dry-run
108
- npx create-quiver ai plan --phase spec --input technical-plan-approved.md --dry-run
148
+ npx create-quiver ai approve --phase acceptance --input acceptance-approved.md
149
+ npx create-quiver ai plan --phase technical-plan --dry-run
150
+ npx create-quiver ai review-plan --dry-run
151
+ npx create-quiver ai approve --phase technical-plan --version <n>
152
+ npx create-quiver spec create --dry-run
109
153
  npx create-quiver plan
110
154
  npx create-quiver graph
111
155
  npx create-quiver next
@@ -127,8 +171,12 @@ Luego inicializá Quiver desde la raíz del proyecto:
127
171
 
128
172
  ```bash
129
173
  npx create-quiver init --name "Nombre del Proyecto"
174
+ npx create-quiver flow
130
175
  npx create-quiver analyze
131
176
  npx create-quiver doctor
177
+ npx create-quiver ai agent set planner --provider codex --model "planner-model"
178
+ npx create-quiver ai agent set executor --provider codex --model "executor-model"
179
+ npx create-quiver ai prepare-context --dry-run
132
180
  npx create-quiver ai onboard --dry-run
133
181
  git status --short
134
182
  ```
@@ -138,7 +186,7 @@ Qué esperar:
138
186
  - Quiver agrega documentación, scripts `quiver:*` y archivos internos de soporte en `.quiver/`.
139
187
  - No deberías mezclar este paso con cambios de producto.
140
188
  - `docs/PROJECT_MAP.md` queda como fuente de verdad para stack, package manager, comandos y rutas importantes.
141
- - Las specs y slices reales se crean después, con `ai plan --phase spec`, cuando ya existen criterios y plan técnico aprobados.
189
+ - Las specs y slices reales se crean después, con `spec create`, cuando ya existen criterios aprobados y un plan técnico revisado y aprobado.
142
190
  - El primer trabajo de IA debería ser preparar contexto y planificación, no implementar.
143
191
 
144
192
  Importante: no uses `migrate` para un proyecto que nunca tuvo Quiver. `migrate` es solo para proyectos previamente inicializados.
@@ -164,6 +212,7 @@ npx create-quiver doctor
164
212
  npx create-quiver migrate
165
213
  npx create-quiver analyze
166
214
  npx create-quiver doctor
215
+ npx create-quiver ai prepare-context --dry-run
167
216
  npx create-quiver ai onboard --dry-run
168
217
  git status --short
169
218
  ```
@@ -179,7 +228,7 @@ Qué esperar:
179
228
  - La migración restaura o agrega archivos faltantes de forma aditiva.
180
229
  - No debería sobrescribir archivos existentes de proyecto sin necesidad.
181
230
  - Después de migrar, `analyze` actualiza el mapa técnico y `doctor` confirma los próximos pasos.
182
- - `ai onboard --dry-run` ayuda a validar que el contexto viejo quedó entendible para un agente planner.
231
+ - `ai prepare-context --dry-run` ayuda a revisar supuestos del contexto migrado; `ai onboard --dry-run` valida que el contexto viejo quedó entendible para un agente planner.
183
232
 
184
233
  Si `doctor` falla indicando que el proyecto no fue inicializado por Quiver, usá el flujo del caso 2.
185
234
 
@@ -203,7 +252,7 @@ La idea práctica: primero contexto, después plan, después código.
203
252
  | Runtime | Node.js CLI |
204
253
  | Lenguaje | JavaScript CommonJS |
205
254
  | Package manager | npm (`package-lock.json`) |
206
- | Binario npm | `create-quiver` -> `bin/create-quiver.js` |
255
+ | Binario npm | `create-quiver` y alias `quiver` -> `bin/create-quiver.js` |
207
256
  | Tests | Node built-in test runner (`node:test`) |
208
257
  | CI/CD | GitHub Actions |
209
258
  | Distribución | Paquete npm público `create-quiver` |
@@ -231,7 +280,7 @@ No se detectaron archivos `.env`; Quiver no requiere variables de entorno para e
231
280
  | `src/create-quiver/commands/` | Comandos `ai`, `graph`, `next` y `plan`. |
232
281
  | `src/create-quiver/lib/` | Lógica de análisis, doctor, slices, lifecycle, IA, Git y renderers. |
233
282
  | `docs/` | Plantillas que Quiver copia a proyectos destino. |
234
- | `specs/` | Specs internas del desarrollo de Quiver y templates usados cuando `ai plan --phase spec` crea una spec real. |
283
+ | `specs/` | Specs internas del desarrollo de Quiver y templates usados cuando `spec create` crea una spec real. |
235
284
  | `scripts/` | Scripts de packaging, release, CI smoke y wrappers legacy. |
236
285
  | `tests/` | Tests unitarios y fixtures. |
237
286
  | `examples/` | Ejemplo mínimo de spec/slice. |
@@ -255,40 +304,73 @@ Para IA sin `--dry-run`, la autenticación depende del proveedor local que uses
255
304
  ## 🧭 Comandos principales
256
305
 
257
306
  Los comandos reales del CLI se ejecutan con `npx create-quiver ...` o, durante desarrollo local, con `node bin/create-quiver.js ...`.
307
+ El paquete también publica el alias binario `quiver`, que apunta al mismo CLI. Usalo cuando el paquete ya esté instalado localmente; para bootstrap remoto, seguí usando `npx create-quiver`.
258
308
 
259
309
  | Comando | Para qué sirve |
260
310
  |---|---|
261
311
  | `npx create-quiver init --name "Proyecto"` | Inicializa Quiver en un proyecto nuevo o nunca inicializado. |
262
312
  | `npx create-quiver --name "Proyecto"` | Alias compatible del flujo de init recomendado. |
313
+ | `npx create-quiver flow` | Muestra el estado inicial del flujo guiado y el próximo comando seguro sin escribir estado ni llamar providers. |
314
+ | `npx create-quiver ai agent set <role> --provider <provider> --model <label>` | Guarda perfiles reutilizables para planner, executor, reviewer o researcher sin guardar secretos. |
315
+ | `npx create-quiver ai agent list` | Lista los perfiles configurados. |
316
+ | `npx create-quiver ai agent show <role>` | Muestra un perfil específico. |
317
+ | `npx create-quiver ai approvals` | Muestra drafts versionados y aprobados por fase. |
318
+ | `npx create-quiver ai approve --phase acceptance --version <n>` | Aprueba una versión concreta de un draft guardado. |
263
319
  | `npx create-quiver init --minimal` | Crea solo el contrato esencial de onboarding. |
264
320
  | `npx create-quiver init --full` | Crea el layout amplio de compatibilidad. |
265
321
  | `npx create-quiver init --legacy-scripts` | Agrega wrappers Bash legacy bajo `tools/scripts/`. |
266
322
  | `npx create-quiver init --include-templates` | Exporta templates empaquetados bajo `.quiver/templates/`. |
267
323
  | `npx create-quiver analyze` | Genera `.quiver/scans/PROJECT_SCAN.json` y `docs/PROJECT_MAP.md`. |
268
324
  | `npx create-quiver doctor` | Valida que el contrato de Quiver esté completo. |
325
+ | `npx create-quiver doctor --fix --dry-run` | Muestra reparaciones seguras sin escribir archivos. |
326
+ | `npx create-quiver doctor --fix` | Aplica reparaciones no destructivas e idempotentes. |
327
+ | `npx create-quiver prepare --dry-run` | Ejecuta diagnóstico guiado de preparación sin escribir archivos. |
328
+ | `npx create-quiver prepare` | Refresca contexto y muestra riesgos, supuestos y próximos comandos. |
329
+ | `npx create-quiver ai prepare-context --dry-run` | Previsualiza borradores de contexto IA, supuestos, riesgos, archivos considerados y rutas omitidas sin escribir. |
269
330
  | `npx create-quiver migrate` | Actualiza proyectos que ya fueron inicializados con Quiver. |
270
331
  | `npx create-quiver plan` | Lista slices pendientes en orden y calcula camino crítico. |
271
332
  | `npx create-quiver graph` | Muestra el grafo de dependencias (`tree`, `mermaid` o `dot`). |
272
333
  | `npx create-quiver next` | Sugiere el próximo slice listo para trabajar. |
334
+ | `npx create-quiver plan --include-completed` | Muestra slices completados para auditoría o demos. |
335
+ | `npx create-quiver graph --include-completed` | Incluye slices completados en el grafo histórico. |
336
+ | `npx create-quiver next --include-completed` | Mantiene la recomendación accionable y agrega historial completado. |
337
+ | `npx create-quiver spec create` | Crea la spec real desde el plan técnico revisado y aprobado. |
338
+ | `npx create-quiver spec start <spec-dir>` | Crea o reutiliza el worktree dedicado de una spec. |
339
+ | `npx create-quiver spec status <spec-dir>` | Muestra branch, path, `slice-00` y slices pendientes. |
340
+ | `npx create-quiver spec close <spec-dir>` | Cierra un worktree de spec ya mergeado y limpio. |
273
341
  | `npx create-quiver start-slice <slice.json>` | Prepara worktree y contexto para ejecutar un slice. |
274
342
  | `npx create-quiver check-slice <slice.json>` | Valida readiness del slice. |
343
+ | `npx create-quiver check-slice --local <slice.json>` | Valida estructura local sin exigir remoto/base. |
275
344
  | `npx create-quiver check-pr <slice.json>` | Valida estructura esperada para PR. |
276
345
  | `npx create-quiver check-scope <slice.json>` | Verifica que los archivos modificados estén dentro del alcance declarado. |
277
346
  | `npx create-quiver cleanup-slice <slice.json>` | Limpia worktree/branch local asociado a un slice. |
278
347
  | `npx create-quiver refresh-active-slices` | Regenera el tablero local `ACTIVE_SLICES.md`. |
279
348
  | `npx create-quiver check-handoff <handoff.md>` | Valida un handoff. |
280
349
  | `npx create-quiver new-handoff <spec-slug>` | Crea un handoff para una transferencia excepcional. |
350
+ | `npx create-quiver evidence run -- <comando>` | Ejecuta un comando y guarda evidencia local con exit code, duración y salida redactada/truncada. |
351
+ | `npx create-quiver demo create spec-viewer --dry-run` | Previsualiza el demo opcional Quiver Spec Viewer sin escribir archivos. |
352
+ | `npx create-quiver demo create spec-viewer --dir <target>` | Crea el demo estático con app, spec, slices, handoffs y validación. |
281
353
 
282
354
  ### Comandos de IA para WDD + SDD
283
355
 
284
356
  ```bash
357
+ npx create-quiver ai prepare-context --dry-run
285
358
  npx create-quiver ai onboard --dry-run
359
+ npx create-quiver ai agent set planner --provider codex --model "planner-model"
360
+ npx create-quiver ai agent set executor --provider codex --model "executor-model"
361
+ npx create-quiver ai agent list
286
362
  npx create-quiver ai plan --phase acceptance --input requirements.md --dry-run
287
- npx create-quiver ai plan --phase technical-plan --input acceptance-approved.md --dry-run
288
- npx create-quiver ai plan --phase spec --input technical-plan-approved.md --dry-run
289
- npx create-quiver ai execute-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run
363
+ npx create-quiver ai approve --phase acceptance --input acceptance-approved.md
364
+ npx create-quiver ai plan --phase technical-plan --dry-run
365
+ npx create-quiver ai review-plan --dry-run
366
+ npx create-quiver ai approve --phase technical-plan --version <n>
367
+ npx create-quiver spec create --dry-run
368
+ npx create-quiver ai prompt-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run
369
+ npx create-quiver ai execute-slice --slice specs/<project-slug>/slices/slice-01/slice.json --dry-run --commit
370
+ npx create-quiver ai execute-plan --dry-run --commit --mode manual
371
+ npx create-quiver ai execute-plan --dry-run --commit --mode delegated
290
372
  npx create-quiver ai doctor --dry-run --ssh-host-alias github-work --identity-file ~/.ssh/github-work
291
- npx create-quiver ai pr --dry-run --ssh-host-alias github-work --identity-file ~/.ssh/github-work
373
+ npx create-quiver ai pr --dry-run --input specs/<project-slug>/pr.md --ssh-host-alias github-work --identity-file ~/.ssh/github-work
292
374
  ```
293
375
 
294
376
  Providers soportados: `codex`, `claude` y `gemini`, siempre vía CLI local.
@@ -296,12 +378,18 @@ Usá `--dry-run` primero para revisar provider, rol, context pack, prompt y path
296
378
 
297
379
  Orden recomendado:
298
380
 
299
- 1. `ai onboard`: el planner entiende el repo y el workflow.
300
- 2. `ai plan --phase acceptance`: convierte requerimientos en criterios de aceptación.
301
- 3. `ai plan --phase technical-plan`: propone el plan técnico.
302
- 4. `ai plan --phase spec`: genera spec, slices, handoffs y PR body.
303
- 5. `ai execute-slice`: ejecuta un slice aprobado con rol executor.
304
- 6. `ai doctor` / `ai pr`: valida preflight de GitHub y PR.
381
+ 1. `ai prepare-context --dry-run`: revisa borradores de contexto, supuestos y riesgos antes de escribir docs.
382
+ 2. `ai onboard`: el planner entiende el repo y el workflow.
383
+ 3. `ai plan --phase acceptance`: convierte requerimientos en criterios de aceptación.
384
+ 4. `ai plan --phase technical-plan`: propone el plan técnico.
385
+ 5. `ai review-plan`: revisa el plan como si fuera a producción, sin tocar código ni cuestionar el alcance aprobado.
386
+ 6. `ai approve`: guarda criterios o la versión revisada del plan técnico.
387
+ 7. `spec create`: genera spec, slices, handoffs y PR body desde el plan revisado y aprobado.
388
+ 8. `spec start`: prepara un worktree por spec.
389
+ 9. `ai prompt-slice`: imprime el prompt mínimo para asignar un slice manualmente.
390
+ 10. `ai execute-slice` / `ai execute-plan`: ejecuta slices aprobados, con commit opt-in. Usá `--mode manual` para prompts y `--mode delegated` para worktrees temporales en olas paralelas.
391
+ 11. `ai doctor` / `ai pr`: valida GitHub y crea el PR solo con `--create`.
392
+ 12. `spec close`: cierra el worktree después del merge.
305
393
 
306
394
  ## 🧪 Cómo probar que funciona
307
395
 
@@ -311,35 +399,70 @@ Validación rápida del repo:
311
399
  node bin/create-quiver.js --help
312
400
  node --test tests/**/*.test.js
313
401
  npm run package:quiver
402
+ npm pack --dry-run
314
403
  ```
315
404
 
316
405
  Validaciones adicionales disponibles:
317
406
 
318
407
  ```bash
319
408
  npm run smoke:create-quiver
409
+ npm run smoke:guided-workflow
320
410
  npm run smoke:tiered-pack
321
411
  ```
322
412
 
413
+ Para dejar evidencia resumida de una validación sin pegar logs completos:
414
+
415
+ ```bash
416
+ npx create-quiver evidence run -- npm test
417
+ ```
418
+
419
+ Por defecto la evidencia queda en `.quiver/evidence/`. También podés elegir destino con `--output <archivo>` y limitar stdout/stderr con `--max-output <n>`.
420
+
421
+ Para probar Quiver sin inventar una app desde cero:
422
+
423
+ ```bash
424
+ npx create-quiver demo create spec-viewer --dry-run
425
+ npx create-quiver demo create spec-viewer --dir ./quiver-spec-viewer
426
+ ```
427
+
428
+ El demo genera una app estática pequeña, specs/slices de ejemplo y scripts de validación. No forma parte de `init`; se crea solo cuando lo pedís.
429
+
323
430
  Notas reales del estado actual:
324
431
 
325
432
  - No hay script `npm test`; el comando verificado para tests es `node --test tests/**/*.test.js`.
326
433
  - `npm run package:quiver` valida el contenido del paquete npm generado.
327
- - `npm run smoke:tiered-pack` existe, pero revisar la sección "Información pendiente de confirmar" antes de usarlo como gate obligatorio.
434
+ - `npm run smoke:guided-workflow` cubre el flujo guiado con IA sin llamadas reales pagas a providers.
328
435
 
329
436
  ## 📜 Scripts npm
330
437
 
331
438
  | Script | Uso |
332
439
  |---|---|
440
+ | `npm run quiver:analyze` | Ejecuta `npx create-quiver analyze`. |
441
+ | `npm run quiver:flow` | Ejecuta `npx create-quiver flow`. |
333
442
  | `npm run quiver:plan` | Ejecuta `npx create-quiver plan`. |
443
+ | `npm run quiver:prepare` | Ejecuta preparación guiada y diagnósticos. |
334
444
  | `npm run quiver:graph` | Ejecuta `npx create-quiver graph`. |
335
445
  | `npm run quiver:next` | Ejecuta `npx create-quiver next`. |
446
+ | `npm run quiver:doctor` | Ejecuta `npx create-quiver doctor`. |
447
+ | `npm run quiver:evidence` | Ejecuta `npx create-quiver evidence`; usalo como `npm run quiver:evidence -- run -- <comando>`. |
448
+ | `npm run quiver:ai:agent` | Ejecuta `npx create-quiver ai agent`. |
336
449
  | `npm run quiver:ai:onboard` | Ejecuta onboarding de IA. |
450
+ | `npm run quiver:ai:prepare-context` | Prepara borradores de contexto IA solo en documentación; usalo primero con `-- --dry-run`. |
337
451
  | `npm run quiver:ai:plan` | Ejecuta planificación IA por fases. |
452
+ | `npm run quiver:ai:review-plan` | Revisa el plan técnico antes de aprobarlo y crear la spec. |
453
+ | `npm run quiver:ai:approve` | Guarda criterios o planes aprobados. |
454
+ | `npm run quiver:ai:prompt-slice` | Imprime un prompt mínimo para asignar un slice a un executor. |
338
455
  | `npm run quiver:ai:execute-slice` | Ejecuta un slice con rol executor. |
456
+ | `npm run quiver:ai:execute-plan` | Imprime o ejecuta olas de slices; soporta `--mode manual` y `--mode delegated`. |
339
457
  | `npm run quiver:ai:doctor` | Ejecuta preflight IA/GitHub. |
340
- | `npm run quiver:ai:pr` | Ejecuta preflight de PR. |
458
+ | `npm run quiver:ai:pr` | Ejecuta preflight de PR y crea PR con `--create`. |
459
+ | `npm run quiver:spec:create` | Ejecuta `npx create-quiver spec create`. |
460
+ | `npm run quiver:spec:start` | Ejecuta `npx create-quiver spec start`. |
461
+ | `npm run quiver:spec:status` | Ejecuta `npx create-quiver spec status`. |
462
+ | `npm run quiver:spec:close` | Ejecuta `npx create-quiver spec close`. |
341
463
  | `npm run package:quiver` | Empaqueta y valida el tarball npm. |
342
464
  | `npm run smoke:create-quiver` | Smoke del instalador `create-quiver`. |
465
+ | `npm run smoke:guided-workflow` | Smoke del flujo guiado con IA, PR, cleanup y package safety. |
343
466
  | `npm run smoke:tiered-pack` | Smoke de context packs y lifecycle. |
344
467
  | `npm run release:quiver` | Release dry-run o publish, según flags. |
345
468
 
@@ -350,12 +473,15 @@ Notas reales del estado actual:
350
473
  1. Inicializá Quiver o migrá si el proyecto ya lo tenía.
351
474
  2. Corré `analyze` para generar el mapa técnico.
352
475
  3. Corré `doctor` para validar el contrato.
353
- 4. Incorporá al planner con `ai onboard --dry-run`.
354
- 5. Convertí requerimientos en criterios, plan técnico y spec con `ai plan`.
355
- 6. Revisá dependencias con `graph` y elegí el próximo trabajo con `next`.
356
- 7. Ejecutá el slice con `ai execute-slice` o con tu agente usando el handoff generado.
357
- 8. Validá con `check-slice`, `check-scope` y `check-pr`.
358
- 9. Cerrá el trabajo con evidencia en el PR.
476
+ 4. Prepará contexto IA con `ai prepare-context --dry-run` y revisá los supuestos antes de escribir.
477
+ 5. Incorporá al planner con `ai onboard --dry-run`.
478
+ 6. Convertí requerimientos en criterios, plan técnico y spec con `ai plan`; revisá el plan con `ai review-plan` antes de aprobarlo.
479
+ 7. Creá la spec real con `spec create` y prepará su worktree con `spec start`.
480
+ 8. Revisá dependencias con `graph`, `next` o `ai execute-plan --dry-run --mode manual`.
481
+ 9. Para ejecución manual, generá el prompt con `ai prompt-slice --slice <slice.json> --dry-run`.
482
+ 10. Ejecutá slices con `ai execute-slice --commit` o `ai execute-plan --execute --commit --mode delegated`.
483
+ 11. Abrí el PR con `ai pr --create` después de revisar el dry-run.
484
+ 12. Después del merge, cerrá el worktree con `spec close`.
359
485
 
360
486
  ## 🤝 Contribuir
361
487
 
@@ -392,6 +518,15 @@ npm whoami
392
518
  npm view create-quiver version
393
519
  ```
394
520
 
521
+ Checklist de release:
522
+
523
+ 1. `node --test tests/**/*.test.js`
524
+ 2. `npm run smoke:create-quiver`
525
+ 3. `npm run smoke:guided-workflow`
526
+ 4. `npm run smoke:tiered-pack`
527
+ 5. `npm pack --dry-run`
528
+ 6. Confirmar que el PR esta aprobado antes de publicar.
529
+
395
530
  ## 📚 Documentación útil
396
531
 
397
532
  - [README para agentes de IA](./README_FOR_AI.md)
@@ -402,11 +537,11 @@ npm view create-quiver version
402
537
  - [Contribución](./CONTRIBUTING.md)
403
538
  - [Seguridad](./SECURITY.md)
404
539
 
405
- ## Información pendiente de confirmar
540
+ ## Información confirmada y pendiente
406
541
 
542
+ - `package.json` está en `0.10.0` y `CHANGELOG.md` reconoce `0.10.0`.
407
543
  - `package.json` no declara `engines`; la versión mínima real de Node queda pendiente. La CI usa Node 22.
408
- - `package.json` está en `0.9.0`, igual que `CHANGELOG.md`.
409
- - `docs/COMMANDS.md.template` marca algunos comandos de IA como `v0.10`, aunque `package.json` todavía está en `0.9.0`; la próxima publicación debe alinear versión y changelog.
544
+ - Si aparece alguna referencia vieja a `0.9.0`, hay que actualizarla al contrato actual antes de seguir.
410
545
  - Los scripts legacy de `package.json` que apuntan a `tools/scripts/*` deben confirmarse para este repo fuente o separarse de los scripts pensados para proyectos generados con `--legacy-scripts` o `--full`.
411
546
 
412
547
  ## Licencia