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,55 @@
1
+ {
2
+ "slice_id": "slice-07-spec-create-experience",
3
+ "ticket": "QUIVER-23-07",
4
+ "type": "feature",
5
+ "title": "Spec creation experience from approved plans",
6
+ "objective": "Make spec generation feel like an explicit product step after reviewed approved plans.",
7
+ "description": "Add a higher-level spec create command or wrapper that consumes approved/reviewed inputs and creates spec artifacts predictably.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "spec-create-experience",
12
+ "branch_name": "feature/QUIVER-23-07-spec-create-experience"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/commands/spec.js",
17
+ "src/create-quiver/lib/ai/spec-generator.js",
18
+ "src/create-quiver/lib/ai/spec-templates.js",
19
+ "docs/WORKFLOW.md.template",
20
+ "tests/commands/*.test.js",
21
+ "tests/lib/*.test.js"
22
+ ],
23
+ "depends_on": [
24
+ "slice-06-production-plan-review"
25
+ ],
26
+ "parallel_safe": "no",
27
+ "parallel_safe_reason": "Touches spec generation and command routing.",
28
+ "must": [
29
+ "Consume approved and reviewed plan input by default.",
30
+ "Generate `SPEC.md`, `STATUS.md`, `EVIDENCE_REPORT.md`, `EXECUTION_PLAN.md`, `pr.md`, `slice-00`, and slice handoffs.",
31
+ "Fail safely if target spec exists.",
32
+ "Keep `slice-00` mandatory.",
33
+ "Print next commands after generation."
34
+ ],
35
+ "not_included": [
36
+ "Executing slices.",
37
+ "Opening PRs.",
38
+ "Delegating agents."
39
+ ],
40
+ "acceptance": [
41
+ "Spec creation blocks on missing approved/reviewed plan.",
42
+ "Generated spec includes mandatory slice-00.",
43
+ "Generated `pr.md` exists.",
44
+ "Generated JSON parses.",
45
+ "Next safe commands are printed."
46
+ ],
47
+ "tests": [
48
+ "node --test tests/commands/spec-create.test.js tests/commands/ai-plan-spec-phase.test.js tests/lib/ai-spec-generator.test.js",
49
+ "git diff --check"
50
+ ],
51
+ "estimated_hours": 7,
52
+ "status": "completed",
53
+ "completed_at": "2026-05-21",
54
+ "blocked_reason": null
55
+ }
@@ -0,0 +1,32 @@
1
+ # CLOSURE BRIEF - slice-08: Executor prompt generation
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se agrego `npx create-quiver ai prompt-slice` como comando de salida manual para asignar un slice a un agente executor con contexto minimo. El prompt se arma desde `slice.json`, `EXECUTION_BRIEF.md`, `CLOSURE_BRIEF.md` y un extracto breve de `SPEC.md`, sin incluir el spec completo por defecto.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Prompt minimo.
10
+ - [x] Sin SPEC completo por defecto.
11
+ - [x] Formato final incluido.
12
+ - [x] Tests pasan.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - Nuevo builder `buildManualExecutorPrompt` en `src/create-quiver/lib/ai/executor.js`.
17
+ - Nuevo subcomando `ai prompt-slice`, con alias `ai executor-prompt`.
18
+ - Nuevo script generado `quiver:ai:prompt-slice`.
19
+ - README, `README_FOR_AI.md`, templates y docs generadas actualizadas con el flujo manual.
20
+ - Tests de CLI y libreria para contexto minimo, path del slice y faltantes de briefs.
21
+
22
+ ## Pendientes
23
+
24
+ Sin pendientes del slice.
25
+
26
+ ## Riesgos remanentes
27
+
28
+ El prompt manual no ejecuta ni valida al proveedor; la calidad final sigue dependiendo del agente executor elegido por el usuario.
29
+
30
+ ## Recomendaciones futuras
31
+
32
+ En `slice-09`, reutilizar este prompt como base de contexto para ejecucion delegada y mantener la salida manual como fallback de bajo riesgo.
@@ -0,0 +1,30 @@
1
+ # EXECUTION BRIEF - slice-08: Executor prompt generation
2
+
3
+ ## Objetivo
4
+
5
+ Generar prompts minimos para agentes ejecutores a partir de artefactos de un slice.
6
+
7
+ ## Alcance
8
+
9
+ - Leer `slice.json`, `EXECUTION_BRIEF.md`, `CLOSURE_BRIEF.md`.
10
+ - Incluir contexto minimo y restricciones.
11
+ - Imprimir prompt listo para pegar.
12
+
13
+ ## Criterios de aceptacion
14
+
15
+ - No incluye el SPEC completo por defecto.
16
+ - Incluye archivos permitidos, criterios y validaciones.
17
+ - Tiene formato de reporte final.
18
+ - Tests pasan.
19
+
20
+ ## Restricciones
21
+
22
+ - No ejecutar provider.
23
+ - No ejecutar el prompt generado contra proveedores dentro de este slice.
24
+ - Mantener la implementacion dentro de los archivos declarados en `slice.json`.
25
+
26
+ ## Checklist de finalizacion
27
+
28
+ - [x] Prompt generado.
29
+ - [x] Contexto minimizado.
30
+ - [x] Tests pasan.
@@ -0,0 +1,55 @@
1
+ {
2
+ "slice_id": "slice-08-executor-prompt-generation",
3
+ "ticket": "QUIVER-23-08",
4
+ "type": "feature",
5
+ "title": "Executor prompt generation for manual slice assignment",
6
+ "objective": "Generate minimal executor prompts from slice artifacts so users can assign slices without pasting long custom prompts.",
7
+ "description": "Productize the user's executor prompt as a generated, slice-specific prompt with minimal context and strict output contract.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "executor-prompt-generation",
12
+ "branch_name": "feature/QUIVER-23-08-executor-prompt-generation"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/executor.js",
17
+ "src/create-quiver/lib/**",
18
+ "docs/AI_ONBOARDING_PROMPT.md.template",
19
+ "docs/COMMANDS.md.template",
20
+ "tests/commands/*.test.js",
21
+ "tests/lib/*.test.js"
22
+ ],
23
+ "depends_on": [
24
+ "slice-07-spec-create-experience"
25
+ ],
26
+ "parallel_safe": "no",
27
+ "parallel_safe_reason": "Depends on final generated slice artifact shape.",
28
+ "must": [
29
+ "Generate a prompt for one slice from `slice.json`, `EXECUTION_BRIEF.md`, and `CLOSURE_BRIEF.md`.",
30
+ "Include minimal SPEC excerpts only when needed.",
31
+ "Include allowed files, restrictions, acceptance criteria, validation commands, and output format.",
32
+ "Support dry-run output to console.",
33
+ "Avoid exposing secrets or full repo context."
34
+ ],
35
+ "not_included": [
36
+ "Executing the provider.",
37
+ "Delegating multiple slices.",
38
+ "Opening PRs."
39
+ ],
40
+ "acceptance": [
41
+ "Prompt generation works for a valid slice path.",
42
+ "Missing brief files fail clearly.",
43
+ "Output does not include full SPEC by default.",
44
+ "Prompt includes final report format.",
45
+ "Tests cover minimal context and path handling."
46
+ ],
47
+ "tests": [
48
+ "node --test tests/commands/ai-execute-slice.test.js tests/lib/ai-executor.test.js",
49
+ "git diff --check"
50
+ ],
51
+ "estimated_hours": 6,
52
+ "status": "completed",
53
+ "completed_at": "2026-05-21",
54
+ "blocked_reason": null
55
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-09: Delegated slice execution
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se agrego ejecucion por modo para `ai execute-plan`: `auto` conserva la compatibilidad secuencial, `manual` imprime comandos `prompt-slice` sin ejecutar proveedores y `delegated` usa worktrees temporales para olas paralelas con scopes seguros. Las olas con conflictos o scope desconocido siguen cayendo a ejecucion secuencial.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Modo manual/delegado.
10
+ - [x] Paralelo seguro.
11
+ - [x] Un commit por slice.
12
+ - [x] Tests pasan.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - Nuevo flag `--mode <auto|manual|delegated>` para `ai execute-plan`.
17
+ - Dry-run muestra comandos `ai prompt-slice` y, salvo en modo manual, comandos `ai execute-slice`.
18
+ - Modo delegado crea worktrees temporales para grupos paralelos, ejecuta cada slice con `commit: true` e integra los commits con `cherry-pick` en orden estable.
19
+ - Fallback secuencial cuando hay conflictos, scope desconocido o un solo slice.
20
+ - Tests agregados para modo manual, modo delegado con worktrees temporales e integracion de commits.
21
+ - README, `README_FOR_AI.md`, templates y docs generadas actualizadas con los modos.
22
+
23
+ ## Pendientes
24
+
25
+ Sin pendientes del slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ Si falla un provider o un `cherry-pick`, Quiver deja los worktrees temporales para inspeccion y no intenta ocultar cambios. La recuperacion queda en manos del usuario para evitar borrar evidencia util.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ En `slice-10`, cubrir el flujo completo con smokes finales y revisar que la documentacion principal no duplique rutas equivalentes.
@@ -0,0 +1,34 @@
1
+ # EXECUTION BRIEF - slice-09: Delegated slice execution
2
+
3
+ ## Objetivo
4
+
5
+ Permitir ejecucion delegada de slices con seguridad de scopes, workspaces y commits.
6
+
7
+ ## Alcance
8
+
9
+ - Modo manual y delegado.
10
+ - Uso de perfil executor.
11
+ - Workspaces seguros para paralelismo.
12
+ - Un commit por slice.
13
+ - Reportes de fallo recuperables.
14
+
15
+ ## Criterios de aceptacion
16
+
17
+ - Dry-run muestra olas.
18
+ - Ejecucion real requiere flags explicitos.
19
+ - Paralelo solo con scopes seguros.
20
+ - Falla sin ocultar cambios.
21
+ - Tests pasan.
22
+
23
+ ## Restricciones
24
+
25
+ - No mergear PR.
26
+ - No instalar proveedores.
27
+ - No correr providers reales en CI.
28
+
29
+ ## Checklist de finalizacion
30
+
31
+ - [x] Dry-run validado.
32
+ - [x] Ejecucion con mocks validada.
33
+ - [x] Fallos recuperables.
34
+ - [x] Tests pasan.
@@ -0,0 +1,57 @@
1
+ {
2
+ "slice_id": "slice-09-delegated-slice-execution",
3
+ "ticket": "QUIVER-23-09",
4
+ "type": "feature",
5
+ "title": "Delegated slice execution with safe workspaces",
6
+ "objective": "Support delegated slice execution while preserving one commit per slice and avoiding overlapping writes.",
7
+ "description": "Add a higher-level execution mode that can run or print safe delegated slice execution using executor profiles, waves, and isolated workspaces.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "delegated-slice-execution",
12
+ "branch_name": "feature/QUIVER-23-09-delegated-slice-execution"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/execution-plan.js",
17
+ "src/create-quiver/lib/ai/executor.js",
18
+ "src/create-quiver/lib/spec-worktrees.js",
19
+ "src/create-quiver/lib/**",
20
+ "docs/WORKFLOW.md.template",
21
+ "tests/commands/*.test.js",
22
+ "tests/lib/*.test.js"
23
+ ],
24
+ "depends_on": [
25
+ "slice-08-executor-prompt-generation"
26
+ ],
27
+ "parallel_safe": "no",
28
+ "parallel_safe_reason": "Highest-risk orchestration slice; must integrate after prompts, profiles, and flow state are stable.",
29
+ "must": [
30
+ "Support manual and delegated modes.",
31
+ "Use executor profile by default.",
32
+ "Preserve one commit per slice.",
33
+ "Fall back to sequential execution on conflicts or unknown scopes.",
34
+ "Use isolated workspaces for parallel execution.",
35
+ "Stop on validation failure without hiding local changes."
36
+ ],
37
+ "not_included": [
38
+ "Autonomous PR merge.",
39
+ "Silent provider installation.",
40
+ "Real provider calls in CI."
41
+ ],
42
+ "acceptance": [
43
+ "Dry-run prints execution waves and executor prompts/commands.",
44
+ "Real execution requires explicit flags and commit opt-in.",
45
+ "Parallel mode only runs when scopes are disjoint and workspaces are safe.",
46
+ "Each successful slice creates exactly one commit.",
47
+ "Failures report retry/abort guidance."
48
+ ],
49
+ "tests": [
50
+ "node --test tests/lib/ai-execution-plan.test.js tests/commands/ai-execute-plan.test.js tests/commands/ai-execute-slice.test.js",
51
+ "git diff --check"
52
+ ],
53
+ "estimated_hours": 12,
54
+ "status": "completed",
55
+ "completed_at": "2026-05-21",
56
+ "blocked_reason": null
57
+ }
@@ -0,0 +1,33 @@
1
+ # CLOSURE BRIEF - slice-10: Final docs, smokes, and release readiness
2
+
3
+ ## Resumen de lo realizado
4
+
5
+ Se cerro la productizacion del flujo guiado actualizando documentacion publica, fuente de verdad para IA, changelog, roadmap, backlog, templates generados, smokes y evidencia de release readiness. No se publico npm.
6
+
7
+ ## Validacion contra criterios de aceptacion
8
+
9
+ - [x] Docs finales listas.
10
+ - [x] Smokes listas.
11
+ - [x] STATUS/EVIDENCE actualizados.
12
+ - [x] No se publico npm.
13
+
14
+ ## Cambios relevantes
15
+
16
+ - `README.md` presenta checklist de release y flujo guiado AI-first.
17
+ - `README_FOR_AI.md` mantiene sincronizado el modo manual/delegated de `ai execute-plan`.
18
+ - `CHANGELOG.md`, `ROADMAP.md` y `BACKLOG.md` reflejan v23 como completado y listo para el proximo release.
19
+ - `scripts/ci/smoke-guided-workflow.sh` cubre flow, perfiles, onboarding, review-plan, spec create, executor prompt, delegated execution, PR, cleanup y package safety.
20
+ - `scripts/ci/smoke-create-quiver.sh` valida los scripts generados nuevos.
21
+ - `EVIDENCE_REPORT.md` registra smokes, pack dry-run y checklist de release.
22
+
23
+ ## Pendientes
24
+
25
+ Sin pendientes del slice.
26
+
27
+ ## Riesgos remanentes
28
+
29
+ El primer `npm pack --dry-run` fallo por permisos del cache global de npm del usuario; se valido correctamente repitiendo con `--cache /private/tmp/quiver-npm-cache`.
30
+
31
+ ## Recomendaciones futuras
32
+
33
+ Antes de publicar, ejecutar el checklist del README y decidir el bump de version npm para incluir v22/v23.
@@ -0,0 +1,32 @@
1
+ # EXECUTION BRIEF - slice-10: Final docs, smokes, and release readiness
2
+
3
+ ## Objetivo
4
+
5
+ Cerrar la feature con docs completas, pruebas y readiness de release sin publicar.
6
+
7
+ ## Alcance
8
+
9
+ - README y guia IA.
10
+ - Templates/docs generados.
11
+ - Smoke tests.
12
+ - STATUS/EVIDENCE_REPORT.
13
+ - Checklist de release.
14
+
15
+ ## Criterios de aceptacion
16
+
17
+ - Docs muestran el flujo como disponible.
18
+ - Smokes cubren happy path y fallas principales.
19
+ - Evidencia actualizada.
20
+ - No se publica npm.
21
+
22
+ ## Restricciones
23
+
24
+ - No publicar npm.
25
+ - No abrir PR si no se pidio.
26
+
27
+ ## Checklist de finalizacion
28
+
29
+ - [x] Docs finales actualizadas.
30
+ - [x] Templates actualizados.
31
+ - [x] Smokes agregados.
32
+ - [x] Evidencia final registrada.
@@ -0,0 +1,63 @@
1
+ {
2
+ "slice_id": "slice-10-docs-smokes-release-readiness",
3
+ "ticket": "QUIVER-23-10",
4
+ "type": "docs-test",
5
+ "title": "Final docs, smokes, and release readiness",
6
+ "objective": "Finish the guided flow productization with updated docs, templates, smoke coverage, and release readiness evidence.",
7
+ "description": "Update public docs and generated project templates, add end-to-end smoke coverage, and confirm the feature is ready for release without publishing.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "guided-flow-release-readiness",
12
+ "branch_name": "feature/QUIVER-23-10-guided-flow-release-readiness"
13
+ },
14
+ "files": [
15
+ "README.md",
16
+ "README_FOR_AI.md",
17
+ "CHANGELOG.md",
18
+ "ROADMAP.md",
19
+ "BACKLOG.md",
20
+ "docs/*.template",
21
+ "src/create-quiver/lib/init-docs.js",
22
+ "src/create-quiver/lib/init-layout.js",
23
+ "scripts/ci/*.sh",
24
+ "specs/quiver-v23-guided-flow-productization/**"
25
+ ],
26
+ "depends_on": [
27
+ "slice-09-delegated-slice-execution"
28
+ ],
29
+ "parallel_safe": "no",
30
+ "parallel_safe_reason": "Final docs and smokes must run after all behavior slices are complete.",
31
+ "must": [
32
+ "Document the finished guided flow in root docs.",
33
+ "Update generated project docs/templates where users see commands.",
34
+ "Add smoke coverage for the happy path and major failure paths.",
35
+ "Update STATUS and EVIDENCE_REPORT.",
36
+ "Run full relevant test suite.",
37
+ "Do not publish npm in this slice."
38
+ ],
39
+ "not_included": [
40
+ "Changing behavior after acceptance unless a blocking bug is found.",
41
+ "Publishing a release.",
42
+ "Merging PR."
43
+ ],
44
+ "acceptance": [
45
+ "README shows the guided flow as available behavior.",
46
+ "Generated docs mention flow status, agent profiles, review-plan, executor prompt generation, delegated execution, PR creation, and cleanup.",
47
+ "Smoke tests cover flow status, profiles, onboarding, iterations, review, spec create, executor prompt dry-run, delegated execution dry-run, PR dry-run, cleanup dry-run, and package safety.",
48
+ "STATUS and EVIDENCE_REPORT reflect completed slices.",
49
+ "Release checklist is ready but no npm publish is performed."
50
+ ],
51
+ "tests": [
52
+ "node --test tests/**/*.test.js",
53
+ "npm run smoke:create-quiver",
54
+ "npm run smoke:guided-workflow",
55
+ "npm run smoke:tiered-pack",
56
+ "npm pack --dry-run",
57
+ "git diff --check"
58
+ ],
59
+ "estimated_hours": 6,
60
+ "status": "completed",
61
+ "completed_at": "2026-05-21",
62
+ "blocked_reason": null
63
+ }
@@ -0,0 +1,55 @@
1
+ # Evidence Report - Quiver v24
2
+
3
+ ## Status
4
+
5
+ All v24 slices are completed. Package publication is intentionally outside this spec.
6
+
7
+ ## Required Final Evidence
8
+
9
+ - `git diff --check`
10
+ - `node --test tests/**/*.test.js`
11
+ - `npm run smoke:create-quiver`
12
+ - `npm run smoke:guided-workflow`
13
+ - `npm run smoke:tiered-pack`
14
+ - `npm pack --dry-run`
15
+ - Generated-project smoke covering `init`, `flow`, `prepare --dry-run`, `analyze`, `doctor`, `check-slice --local`, `plan --include-completed`, `graph --include-completed`, `ai prepare-context --dry-run`, `evidence run`, and `demo create spec-viewer --dry-run`
16
+
17
+ ## Evidence Log
18
+
19
+ | Slice | Evidence | Result | Notes |
20
+ |---|---|---|---|
21
+ | slice-00 | `git diff --check` | Pass | No whitespace errors. |
22
+ | slice-00 | `find specs/quiver-v24-dx-onboarding-hardening -name "slice.json" -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;` | Pass | All 11 slice definitions parse. |
23
+ | slice-00 | `node bin/create-quiver.js plan --spec quiver-v24-dx-onboarding-hardening` | Pass with observation | Shows 10 planned implementation slices and a critical path. Ticket values rendered as `-`; captured under `slice-06`. |
24
+ | slice-00 | `node bin/create-quiver.js graph --spec quiver-v24-dx-onboarding-hardening` | Observed issue | Output included an unrelated v20 slice; captured under `slice-06` scope for spec-filter hardening. |
25
+ | slice-01 | `node --test tests/lib/init-docs.test.js tests/lib/init-layout.test.js tests/commands/init-profiles.test.js` | Pass | 30 tests passed, covering `.gitignore`, package name, profile-aware index, and generated script command targets. |
26
+ | slice-01 | `npm run smoke:create-quiver` | Pass | Generated-project smoke passed after aligning full-profile index expectations with actual generated extras. |
27
+ | slice-02 | `node --test tests/commands/init-profiles.test.js tests/commands/doctor.test.js tests/commands/flow.test.js` | Pass | 29 tests passed, covering unsupported command routing, legacy `--name`, doctor script mismatch warnings, and flow regressions. |
28
+ | slice-03 | `node --test tests/lib/doctor.test.js tests/commands/doctor.test.js tests/commands/prepare.test.js` | Pass | 15 tests passed, covering fix dry-run, idempotent fixes, local docs link warnings, and prepare regressions. |
29
+ | slice-04 | `node --test tests/commands/prepare.test.js tests/commands/ai-onboard.test.js tests/lib/ai-context-packs.test.js tests/commands/doctor.test.js tests/lib/init-layout.test.js` | Pass | 32 tests passed, covering prepare wording, `ai prepare-context` dry-run/write mode, approved docs-only targets, generated scripts, and doctor support for the new AI command. |
30
+ | slice-04 | `node bin/create-quiver.js ai prepare-context --dry-run` | Pass | Dry-run reported proposed docs, files considered, assumptions, risks, omitted paths, and uncertainty markers without writing files. |
31
+ | slice-04 | `npm run smoke:create-quiver` | Pass | Generated-project smoke passed with `quiver:ai:prepare-context` in the script contract. |
32
+ | slice-05 | `node --test tests/lib/check-slice.test.js tests/commands/flow.test.js` | Pass | 18 tests passed, covering `check-slice --local`, omitted-check reporting, missing-base guidance, explicit base branch, and flow regressions. |
33
+ | slice-06 | `node --test tests/commands/plan.test.js tests/commands/graph.test.js tests/commands/next.test.js tests/lib/slice-graph.test.js` | Pass | 30 tests passed, covering `--include-completed`, spec filtering, JSON output, next history behavior, and ticket propagation. |
34
+ | slice-06 | `node bin/create-quiver.js plan --spec quiver-v24-dx-onboarding-hardening --include-completed` | Pass | Plan history view shows completed v24 slices and preserves `QUIVER-24-*` ticket values. |
35
+ | slice-06 | `node bin/create-quiver.js graph --spec quiver-v24-dx-onboarding-hardening --include-completed` | Pass | Graph history view is restricted to v24 and no longer leaks unrelated specs. |
36
+ | slice-06 | `node bin/create-quiver.js next --spec quiver-v24-dx-onboarding-hardening --include-completed` | Pass | Next output keeps an actionable planned slice and appends completed history separately. |
37
+ | slice-07 | `node --test tests/commands/analyze.test.js tests/lib/project-scan.test.js` | Pass | 6 tests passed, covering plain Node/JavaScript analysis, language dedupe, useful script surfacing, and scan artifact helpers. |
38
+ | slice-08 | `node --test tests/commands/evidence.test.js tests/lib/evidence.test.js` | Pass | 9 tests passed, covering success/failure exit codes, output truncation, default paths, output path display, and secret redaction across command/stdout/stderr. |
39
+ | slice-08 | `node --test tests/lib/init-layout.test.js tests/commands/doctor.test.js tests/lib/quiver-internal-layout.test.js tests/lib/doctor.test.js` | Pass | 22 tests passed, covering supported script surfacing, `.quiver/.gitignore` evidence defaults, and doctor regression coverage. |
40
+ | slice-08 | `node --test tests/commands/init-profiles.test.js tests/lib/init-docs.test.js tests/lib/doctor.test.js tests/commands/prepare.test.js` | Pass | 30 tests passed, covering generated init profiles, docs initialization, doctor layout checks, and prepare regressions. |
41
+ | slice-08 | `node bin/create-quiver.js evidence run --output /private/tmp/quiver-v24-slice08-evidence.md --max-output 200 -- node --version` | Pass | Smoke verified direct command execution, exit code preservation, and explicit output path display. |
42
+ | slice-08 | `npm run smoke:create-quiver` | Pass | Generated package smoke passed after adding `quiver:evidence` to generated scripts. |
43
+ | slice-09 | `node --test tests/commands/demo.test.js tests/lib/package-safety.test.js` | Pass | 9 tests passed, covering dry-run, default nested target, real scaffold, file preservation, unsupported demo errors, and package safety for local demo output. |
44
+ | slice-09 | `node bin/create-quiver.js demo create spec-viewer --dir /private/tmp/quiver-spec-viewer-smoke --dry-run` | Pass | Dry-run listed 17 files and wrote nothing. |
45
+ | slice-09 | `node bin/create-quiver.js demo create spec-viewer --dir /private/tmp/quiver-spec-viewer-smoke-real` | Pass | Created static demo app, spec/slices, handoffs, PR body, and validation script. |
46
+ | slice-09 | `npm run validate` from `/private/tmp/quiver-spec-viewer-smoke-real` | Pass | Generated demo validation passed. |
47
+ | slice-09 | `npm run smoke:create-quiver` | Pass | Smoke now covers demo dry-run, real scaffold, demo validation, and evidence capture from the generated demo. |
48
+ | slice-10 | `git diff --check` | Pass | No whitespace errors. |
49
+ | slice-10 | `node --test tests/**/*.test.js` | Pass | 255 tests passed. |
50
+ | slice-10 | `npm pack --dry-run` | Local environment issue | Default npm cache had root-owned files under `~/.npm`; not a package failure. Re-ran with isolated cache. |
51
+ | slice-10 | `npm --cache /private/tmp/quiver-npm-cache pack --dry-run` | Pass | npm dry-run generated `create-quiver-0.10.0.tgz` with 401 files. |
52
+ | slice-10 | `npm run smoke:create-quiver` | Pass | Generated-project smoke passed, including v24 demo/evidence paths. |
53
+ | slice-10 | `npm run smoke:guided-workflow` | Pass | Guided workflow smoke and package smoke passed. |
54
+ | slice-10 | `npm run smoke:tiered-pack` | Pass | Tiered context smoke passed after updating expected doctor link warnings. |
55
+ | slice-10 | `npm run package:quiver` | Pass | Package safety smoke passed for `create-quiver-0.10.0.tgz`. |
@@ -0,0 +1,43 @@
1
+ # Execution Plan - Quiver v24
2
+
3
+ ## Wave 0 - Required Foundation
4
+
5
+ 1. `slice-00-spec-foundation`
6
+ - Must land before implementation.
7
+ - Publishes spec, slices, handoffs, execution plan, PR body, and source-of-truth sync.
8
+
9
+ ## Wave 1 - Low-Level Contract Fixes
10
+
11
+ These can run after `slice-00` and can be parallel if write scopes stay separate:
12
+
13
+ 1. `slice-01-init-template-hygiene`
14
+ 2. `slice-02-cli-command-routing-version-errors`
15
+ 3. `slice-07-analyzer-command-map-hardening`
16
+
17
+ ## Wave 2 - Validation and Context Commands
18
+
19
+ These depend on Wave 1 contracts:
20
+
21
+ 1. `slice-03-doctor-fix-doc-link-checks`
22
+ 2. `slice-04-prepare-output-ai-context-drafts`
23
+ 3. `slice-05-local-slice-validation-base-guidance`
24
+
25
+ ## Wave 3 - Planning History and Evidence
26
+
27
+ 1. `slice-06-plan-graph-next-history-views`
28
+ 2. `slice-08-evidence-run-command`
29
+
30
+ ## Wave 4 - Demo Experience
31
+
32
+ 1. `slice-09-spec-viewer-demo-scaffolding`
33
+
34
+ ## Wave 5 - Release Readiness
35
+
36
+ 1. `slice-10-docs-smokes-release-readiness`
37
+
38
+ ## Parallel Safety Notes
39
+
40
+ - Do not run two slices in parallel if both modify `src/create-quiver/index.js`.
41
+ - Prefer one commit per slice.
42
+ - Run `node --test` for touched command/lib areas before marking a slice complete.
43
+ - Run package safety and smoke tests only in the final slice unless an earlier slice changes packaging behavior.