create-quiver 0.12.0 → 0.13.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 (158) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +65 -25
  3. package/README_FOR_AI.md +36 -29
  4. package/ROADMAP.md +22 -3
  5. package/docs/AI_ONBOARDING_PROMPT.md.template +7 -1
  6. package/docs/COMMANDS.md.template +53 -20
  7. package/docs/STATUS.md.template +5 -1
  8. package/docs/WORKFLOW.md.template +13 -11
  9. package/package.json +10 -3
  10. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EVIDENCE_REPORT.md +293 -0
  11. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/EXECUTION_PLAN.md +58 -0
  12. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/SPEC.md +242 -0
  13. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md +35 -0
  14. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/pr.md +77 -0
  15. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +34 -0
  16. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +52 -0
  17. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-00-spec-foundation/slice.json +52 -0
  18. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/CLOSURE_BRIEF.md +36 -0
  19. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/EXECUTION_BRIEF.md +52 -0
  20. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-01-cli-contract-compatibility/slice.json +56 -0
  21. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/CLOSURE_BRIEF.md +43 -0
  22. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/EXECUTION_BRIEF.md +54 -0
  23. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-02-run-state-phase-locks/slice.json +52 -0
  24. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/CLOSURE_BRIEF.md +35 -0
  25. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/EXECUTION_BRIEF.md +53 -0
  26. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-03-safe-ai-onboarding-docs/slice.json +54 -0
  27. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/CLOSURE_BRIEF.md +34 -0
  28. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/EXECUTION_BRIEF.md +54 -0
  29. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-04-agent-profiles-adapters/slice.json +52 -0
  30. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/CLOSURE_BRIEF.md +34 -0
  31. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/EXECUTION_BRIEF.md +54 -0
  32. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-05-approval-gates/slice.json +53 -0
  33. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/CLOSURE_BRIEF.md +33 -0
  34. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/EXECUTION_BRIEF.md +56 -0
  35. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-06-spec-slice-generator/slice.json +55 -0
  36. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/CLOSURE_BRIEF.md +33 -0
  37. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/EXECUTION_BRIEF.md +54 -0
  38. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-07-slice-execution-planner/slice.json +52 -0
  39. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/CLOSURE_BRIEF.md +39 -0
  40. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/EXECUTION_BRIEF.md +56 -0
  41. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-08-controlled-slice-execution/slice.json +53 -0
  42. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/CLOSURE_BRIEF.md +38 -0
  43. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/EXECUTION_BRIEF.md +57 -0
  44. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-09-git-worktree-pr-lifecycle/slice.json +52 -0
  45. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/CLOSURE_BRIEF.md +39 -0
  46. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/EXECUTION_BRIEF.md +55 -0
  47. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-10-validation-errors-fixtures/slice.json +56 -0
  48. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/CLOSURE_BRIEF.md +36 -0
  49. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/EXECUTION_BRIEF.md +54 -0
  50. package/specs/quiver-v25-ai-first-lifecycle-orchestrator/slices/slice-11-export-dashboard-migration/slice.json +53 -0
  51. package/specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md +208 -0
  52. package/specs/quiver-v26-0121-smoke-hardening/EXECUTION_PLAN.md +57 -0
  53. package/specs/quiver-v26-0121-smoke-hardening/SPEC.md +137 -0
  54. package/specs/quiver-v26-0121-smoke-hardening/STATUS.md +32 -0
  55. package/specs/quiver-v26-0121-smoke-hardening/pr.md +96 -0
  56. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/CLOSURE_BRIEF.md +35 -0
  57. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/EXECUTION_BRIEF.md +55 -0
  58. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-00-docs-foundation/slice.json +73 -0
  59. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/CLOSURE_BRIEF.md +38 -0
  60. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/EXECUTION_BRIEF.md +51 -0
  61. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/slice.json +76 -0
  62. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/CLOSURE_BRIEF.md +37 -0
  63. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/EXECUTION_BRIEF.md +52 -0
  64. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/slice.json +75 -0
  65. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/CLOSURE_BRIEF.md +37 -0
  66. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/EXECUTION_BRIEF.md +53 -0
  67. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/slice.json +77 -0
  68. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/CLOSURE_BRIEF.md +35 -0
  69. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/EXECUTION_BRIEF.md +52 -0
  70. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/slice.json +77 -0
  71. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/CLOSURE_BRIEF.md +34 -0
  72. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/EXECUTION_BRIEF.md +54 -0
  73. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-05-demo-scaffold-readiness/slice.json +84 -0
  74. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/CLOSURE_BRIEF.md +35 -0
  75. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/EXECUTION_BRIEF.md +53 -0
  76. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-06-plan-graph-scope-performance/slice.json +82 -0
  77. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/CLOSURE_BRIEF.md +35 -0
  78. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/EXECUTION_BRIEF.md +55 -0
  79. package/specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/slice.json +92 -0
  80. package/specs/quiver-v27-reliability-ai-workflow-hardening/AUDIT_V24_V25_V26.md +67 -0
  81. package/specs/quiver-v27-reliability-ai-workflow-hardening/COMMAND_CONTRACTS.md +125 -0
  82. package/specs/quiver-v27-reliability-ai-workflow-hardening/COVERAGE_MATRIX.md +74 -0
  83. package/specs/quiver-v27-reliability-ai-workflow-hardening/EVIDENCE_REPORT.md +179 -0
  84. package/specs/quiver-v27-reliability-ai-workflow-hardening/EXECUTION_PLAN.md +71 -0
  85. package/specs/quiver-v27-reliability-ai-workflow-hardening/SPEC.md +176 -0
  86. package/specs/quiver-v27-reliability-ai-workflow-hardening/STATUS.md +37 -0
  87. package/specs/quiver-v27-reliability-ai-workflow-hardening/pr.md +132 -0
  88. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-00-docs-audit-coverage-and-contracts/CLOSURE_BRIEF.md +36 -0
  89. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-00-docs-audit-coverage-and-contracts/EXECUTION_BRIEF.md +56 -0
  90. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-00-docs-audit-coverage-and-contracts/slice.json +75 -0
  91. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-01-core-state-resolver-and-canonical-statuses/CLOSURE_BRIEF.md +37 -0
  92. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-01-core-state-resolver-and-canonical-statuses/EXECUTION_BRIEF.md +54 -0
  93. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-01-core-state-resolver-and-canonical-statuses/slice.json +79 -0
  94. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-02-json-export-contract-and-machine-output/CLOSURE_BRIEF.md +34 -0
  95. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-02-json-export-contract-and-machine-output/EXECUTION_BRIEF.md +54 -0
  96. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-02-json-export-contract-and-machine-output/slice.json +75 -0
  97. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-03-approved-plan-to-spec-create/CLOSURE_BRIEF.md +36 -0
  98. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-03-approved-plan-to-spec-create/EXECUTION_BRIEF.md +55 -0
  99. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-03-approved-plan-to-spec-create/slice.json +78 -0
  100. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-04-ai-artifact-storage-redaction-and-token-compaction/CLOSURE_BRIEF.md +31 -0
  101. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-04-ai-artifact-storage-redaction-and-token-compaction/EXECUTION_BRIEF.md +55 -0
  102. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-04-ai-artifact-storage-redaction-and-token-compaction/slice.json +77 -0
  103. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-05-worktree-lifecycle-locks-and-recovery/CLOSURE_BRIEF.md +31 -0
  104. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-05-worktree-lifecycle-locks-and-recovery/EXECUTION_BRIEF.md +55 -0
  105. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-05-worktree-lifecycle-locks-and-recovery/slice.json +84 -0
  106. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-06-validation-gates-and-scope-safety/CLOSURE_BRIEF.md +32 -0
  107. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-06-validation-gates-and-scope-safety/EXECUTION_BRIEF.md +57 -0
  108. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-06-validation-gates-and-scope-safety/slice.json +99 -0
  109. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-07-context-analysis-and-doctor-flow/CLOSURE_BRIEF.md +31 -0
  110. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-07-context-analysis-and-doctor-flow/EXECUTION_BRIEF.md +57 -0
  111. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-07-context-analysis-and-doctor-flow/slice.json +88 -0
  112. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-08-cross-platform-help-auth-and-dx/CLOSURE_BRIEF.md +31 -0
  113. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-08-cross-platform-help-auth-and-dx/EXECUTION_BRIEF.md +56 -0
  114. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-08-cross-platform-help-auth-and-dx/slice.json +85 -0
  115. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-09-fixtures-smoke-docs-and-release-readiness/CLOSURE_BRIEF.md +32 -0
  116. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-09-fixtures-smoke-docs-and-release-readiness/EXECUTION_BRIEF.md +56 -0
  117. package/specs/quiver-v27-reliability-ai-workflow-hardening/slices/slice-09-fixtures-smoke-docs-and-release-readiness/slice.json +91 -0
  118. package/src/create-quiver/commands/ai.js +652 -27
  119. package/src/create-quiver/commands/flow.js +58 -9
  120. package/src/create-quiver/commands/graph.js +11 -9
  121. package/src/create-quiver/commands/plan.js +7 -16
  122. package/src/create-quiver/commands/spec.js +282 -0
  123. package/src/create-quiver/index.js +409 -31
  124. package/src/create-quiver/lib/actionable-error.js +27 -0
  125. package/src/create-quiver/lib/agent-profiles.js +16 -4
  126. package/src/create-quiver/lib/ai/artifacts.js +318 -0
  127. package/src/create-quiver/lib/ai/context-packs.js +4 -0
  128. package/src/create-quiver/lib/ai/execution-plan.js +16 -1
  129. package/src/create-quiver/lib/ai/executor.js +272 -21
  130. package/src/create-quiver/lib/ai/export-state.js +679 -0
  131. package/src/create-quiver/lib/ai/github.js +162 -2
  132. package/src/create-quiver/lib/ai/onboarding-template.js +215 -2
  133. package/src/create-quiver/lib/ai/plan-review.js +7 -2
  134. package/src/create-quiver/lib/ai/providers.js +4 -3
  135. package/src/create-quiver/lib/ai/run-state.js +414 -0
  136. package/src/create-quiver/lib/ai/spec-generator.js +84 -13
  137. package/src/create-quiver/lib/ai/spec-templates.js +150 -21
  138. package/src/create-quiver/lib/analyze.js +2 -2
  139. package/src/create-quiver/lib/approvals.js +36 -5
  140. package/src/create-quiver/lib/demo.js +189 -14
  141. package/src/create-quiver/lib/doctor.js +154 -0
  142. package/src/create-quiver/lib/git.js +40 -1
  143. package/src/create-quiver/lib/handoff.js +123 -12
  144. package/src/create-quiver/lib/init-docs.js +35 -13
  145. package/src/create-quiver/lib/init-layout.js +9 -0
  146. package/src/create-quiver/lib/json.js +53 -3
  147. package/src/create-quiver/lib/lifecycle.js +52 -3
  148. package/src/create-quiver/lib/locks.js +134 -0
  149. package/src/create-quiver/lib/package-safety.js +7 -0
  150. package/src/create-quiver/lib/paths.js +74 -0
  151. package/src/create-quiver/lib/project-scan.js +74 -0
  152. package/src/create-quiver/lib/project-state-resolver.js +236 -0
  153. package/src/create-quiver/lib/readiness.js +66 -10
  154. package/src/create-quiver/lib/scope.js +52 -8
  155. package/src/create-quiver/lib/slice-graph.js +138 -38
  156. package/src/create-quiver/lib/slice.js +14 -5
  157. package/src/create-quiver/lib/spec-worktrees.js +129 -32
  158. package/src/create-quiver/lib/statuses.js +115 -0
@@ -0,0 +1,96 @@
1
+ ## Title
2
+ Quiver v26 - 0.12.1 Smoke Hardening
3
+
4
+ ## Summary
5
+
6
+ - Hardens the `0.12.0` AI-first workflow based on a clean npm smoke test.
7
+ - Fixes CLI discoverability, version output, generated docs, AI review guidance, local validation, brief validation, and demo readiness.
8
+ - Prepares `0.12.1` release evidence before the next real dogfooding project.
9
+
10
+ ## Scope
11
+
12
+ - Product implementation for v26 slices from `slice-01` through `slice-07`.
13
+ - Documentation, tests, smoke coverage, candidate package validation, and source-of-truth sync.
14
+ - No npm publication is included in the PR itself.
15
+
16
+ ## Files
17
+
18
+ - `README.md`
19
+ - `README_FOR_AI.md`
20
+ - `ROADMAP.md`
21
+ - `CHANGELOG.md`
22
+ - `package.json`
23
+ - `package-lock.json`
24
+ - `src/create-quiver/**`
25
+ - `docs/**`
26
+ - `scripts/ci/**`
27
+ - `specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md`
28
+ - `specs/quiver-v26-0121-smoke-hardening/**`
29
+ - `tests/**`
30
+
31
+ ## How to Test (DETAILED - REQUIRED)
32
+
33
+ ### Required Environment
34
+
35
+ - Node.js and npm available.
36
+ - Git checkout with the v26 branch.
37
+ - No AI provider credentials are required for dry-run and prompt-only validation.
38
+
39
+ ### Worktree Access
40
+
41
+ - Run commands from the repository root.
42
+ - Candidate package smoke should run from `/private/tmp` or another clean directory outside the repo.
43
+
44
+ ### Run the Project
45
+
46
+ ```bash
47
+ node --test tests/**/*.test.js
48
+ npm run smoke:create-quiver
49
+ npm run smoke:guided-workflow
50
+ npm run smoke:doctor-fixtures
51
+ git diff --check
52
+ ```
53
+
54
+ ### Use Cases
55
+
56
+ - Print package version with top-level `--version`.
57
+ - Discover commands with `--help`, `help`, and local `quiver --help`.
58
+ - Initialize a clean project and run `analyze`, `doctor`, and `flow`.
59
+ - Validate local slices and slice briefs without remote/base assumptions.
60
+ - Generate and validate the `spec-viewer` demo.
61
+ - Run scoped `plan` and `graph` without OOM in this repo.
62
+
63
+ ### Technical Verification
64
+
65
+ ```bash
66
+ npm --cache /private/tmp/quiver-npm-cache pack --pack-destination /private/tmp/quiver-v26-tarball-smoke
67
+ cd /private/tmp/quiver-v26-tarball-project-0121
68
+ npm --cache /private/tmp/quiver-npm-cache install -D /private/tmp/quiver-v26-tarball-smoke/create-quiver-0.12.1.tgz
69
+ npx create-quiver --version
70
+ npx create-quiver --help
71
+ npx create-quiver init --name "Tarball Smoke Project" --skip-install
72
+ npx create-quiver analyze
73
+ npx create-quiver doctor
74
+ npx create-quiver flow
75
+ npx create-quiver ai onboard --dry-run
76
+ npx create-quiver ai plan --phase acceptance --input requirements.md --dry-run
77
+ npx create-quiver demo create spec-viewer --dir ./demo
78
+ cd demo
79
+ node scripts/validate-demo.js
80
+ ```
81
+
82
+ ## Evidence
83
+
84
+ - See `specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md`.
85
+
86
+ ## Rollback
87
+
88
+ - Revert the v26 slice commits in reverse order.
89
+ - No npm publication occurs as part of the PR.
90
+
91
+ ## Risks / Notes
92
+
93
+ - Top-level `--version` must not break AI draft approvals.
94
+ - Help output should be covered by tests to prevent command drift.
95
+ - Demo port fallback must work cross-platform or provide clear cross-platform instructions.
96
+ - Standard `npm pack` failed locally because `~/.npm` contains root-owned cache files; candidate package validation passed with an isolated temp cache.
@@ -0,0 +1,35 @@
1
+ # CLOSURE BRIEF - slice-00: Docs foundation and source-of-truth sync
2
+
3
+ ## Summary of Work
4
+
5
+ - Created the v26 hotfix planning package.
6
+ - Added all slice definitions and handoff briefs.
7
+ - Synchronized source-of-truth docs with the v25/0.12.0 state.
8
+
9
+ ## Validation Against Acceptance Criteria
10
+
11
+ - [x] V26 spec folder exists.
12
+ - [x] Every slice has required artifacts.
13
+ - [x] Every `slice.json` parses.
14
+ - [x] Source-of-truth docs are synced.
15
+ - [x] No product code changed.
16
+
17
+ ## Relevant Changes
18
+
19
+ - `README_FOR_AI.md`
20
+ - `ROADMAP.md`
21
+ - `CHANGELOG.md`
22
+ - `specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md`
23
+ - `specs/quiver-v26-0121-smoke-hardening/**`
24
+
25
+ ## Pending
26
+
27
+ - Product implementation slices remain pending.
28
+
29
+ ## Remaining Risks
30
+
31
+ - `0.12.1` is not published until implementation and release validation are complete.
32
+
33
+ ## Future Recommendations
34
+
35
+ - Keep the final release slice responsible for package version, tarball smoke, and post-publish npm verification.
@@ -0,0 +1,55 @@
1
+ # EXECUTION BRIEF - slice-00: Docs foundation and source-of-truth sync
2
+
3
+ ## Context
4
+
5
+ `create-quiver@0.12.0` was published, but a clean npm smoke test found first-use frictions and stale source-of-truth docs. This slice creates the hotfix planning package before implementation starts.
6
+
7
+ ## Objective
8
+
9
+ Publish the v26 spec, slices, briefs, execution plan, PR body, evidence report, and source-of-truth sync.
10
+
11
+ ## Scope
12
+
13
+ - `specs/quiver-v26-0121-smoke-hardening/**`
14
+ - `README_FOR_AI.md`
15
+ - `ROADMAP.md`
16
+ - `CHANGELOG.md`
17
+ - `specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md`
18
+
19
+ ## Acceptance Criteria
20
+
21
+ - The v26 spec folder exists.
22
+ - Every slice has `slice.json`, `EXECUTION_BRIEF.md`, and `CLOSURE_BRIEF.md`.
23
+ - Every `slice.json` parses successfully.
24
+ - Source-of-truth docs no longer describe v25 as planned or pending release.
25
+ - No product code is modified.
26
+
27
+ ## Technical Plan Summary
28
+
29
+ Create documentation-only artifacts and update release/source-of-truth references. Leave implementation for later slices.
30
+
31
+ ## Suggested Execution Steps
32
+
33
+ 1. Create the v26 spec folder and slice folders.
34
+ 2. Write `SPEC.md`, `STATUS.md`, `EXECUTION_PLAN.md`, `EVIDENCE_REPORT.md`, and `pr.md`.
35
+ 3. Write each slice's `slice.json`, `EXECUTION_BRIEF.md`, and `CLOSURE_BRIEF.md`.
36
+ 4. Sync source-of-truth docs.
37
+ 5. Validate JSON and whitespace.
38
+
39
+ ## Restrictions
40
+
41
+ - Do not change product code.
42
+ - Do not bump package version in this slice unless required by release docs.
43
+ - Do not publish npm.
44
+
45
+ ## Risks
46
+
47
+ - Source docs can become stale again if release state is not updated in final slice.
48
+
49
+ ## Completion Checklist
50
+
51
+ - [ ] Spec artifacts created.
52
+ - [ ] Source-of-truth docs synced.
53
+ - [ ] JSON validation passed.
54
+ - [ ] `git diff --check` passed.
55
+
@@ -0,0 +1,73 @@
1
+ {
2
+ "slice_id": "slice-00-docs-foundation",
3
+ "ticket": "QUIVER-26-00",
4
+ "type": "docs",
5
+ "title": "Docs foundation and source-of-truth sync",
6
+ "objective": "Create the v26 hotfix planning package and align source-of-truth docs with the actual v25 and 0.12.0 release state.",
7
+ "description": "Publish the v26 spec, status, evidence report, execution plan, PR body, slice definitions, execution briefs, closure briefs, and source-of-truth documentation sync before product implementation starts.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v26-0121-smoke-hardening-docs-foundation",
12
+ "branch_name": "feature/QUIVER-26-00-v26-0121-smoke-hardening-docs-foundation"
13
+ },
14
+ "files": [
15
+ "README_FOR_AI.md",
16
+ "ROADMAP.md",
17
+ "CHANGELOG.md",
18
+ "specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md",
19
+ "specs/quiver-v26-0121-smoke-hardening/**"
20
+ ],
21
+ "expected_read_paths": [
22
+ "README_FOR_AI.md",
23
+ "ROADMAP.md",
24
+ "CHANGELOG.md",
25
+ "specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md",
26
+ "specs/quiver-v25-ai-first-lifecycle-orchestrator/**"
27
+ ],
28
+ "allowed_write_paths": [
29
+ "README_FOR_AI.md",
30
+ "ROADMAP.md",
31
+ "CHANGELOG.md",
32
+ "specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md",
33
+ "specs/quiver-v26-0121-smoke-hardening/**"
34
+ ],
35
+ "depends_on": [],
36
+ "parallel_safe": "no",
37
+ "parallel_safe_reason": "slice-00 must land before every implementation slice.",
38
+ "must": [
39
+ "Create the v26 planning artifacts.",
40
+ "Create slice.json, EXECUTION_BRIEF.md, and CLOSURE_BRIEF.md for every slice.",
41
+ "Sync source-of-truth docs with v25 implemented/published and v26 planned.",
42
+ "Avoid product code changes."
43
+ ],
44
+ "not_included": [
45
+ "Implementing CLI behavior.",
46
+ "Changing package behavior.",
47
+ "Running AI providers.",
48
+ "Publishing a package.",
49
+ "Opening a PR."
50
+ ],
51
+ "acceptance": [
52
+ "Spec folder exists under specs/quiver-v26-0121-smoke-hardening.",
53
+ "Mandatory slice-00 exists.",
54
+ "Every slice has slice.json, EXECUTION_BRIEF.md, and CLOSURE_BRIEF.md.",
55
+ "Every slice.json parses successfully.",
56
+ "README_FOR_AI.md, ROADMAP.md, CHANGELOG.md, and v25 status do not contradict the published 0.12.0 state.",
57
+ "No product code is modified."
58
+ ],
59
+ "tests": [
60
+ "git diff --check",
61
+ "find specs/quiver-v26-0121-smoke-hardening -name \"slice.json\" -print -exec node -e \"JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))\" {} \\;"
62
+ ],
63
+ "validation_hints": [
64
+ "Use git diff to confirm only docs/spec files changed.",
65
+ "Check source-of-truth docs for stale v25 planned/pending wording."
66
+ ],
67
+ "estimated_hours": 2,
68
+ "status": "completed",
69
+ "blocked_reason": null,
70
+ "actual_hours": 2,
71
+ "completed_at": "2026-05-23T00:00:00-0300"
72
+ }
73
+
@@ -0,0 +1,38 @@
1
+ # CLOSURE BRIEF - slice-01: CLI help and version contract
2
+
3
+ ## Summary of Work
4
+
5
+ - Added grouped command descriptions to `--help`.
6
+ - Added `npx create-quiver help` as an alias for complete help.
7
+ - Preserved top-level version output and AI draft-version approval behavior.
8
+ - Added tests for help coverage, local alias metadata, and command discovery.
9
+ - Updated README and generated command reference docs.
10
+
11
+ ## Validation Against Acceptance Criteria
12
+
13
+ - [x] Version commands verified.
14
+ - [x] AI draft version behavior verified.
15
+ - [x] Help output verified.
16
+ - [x] Help drift coverage added.
17
+
18
+ ## Relevant Changes
19
+
20
+ - `src/create-quiver/index.js`
21
+ - `tests/commands/cli-contract.test.js`
22
+ - `README.md`
23
+ - `docs/COMMANDS.md.template`
24
+ - `specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md`
25
+ - `specs/quiver-v26-0121-smoke-hardening/STATUS.md`
26
+ - `specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/slice.json`
27
+
28
+ ## Pending
29
+
30
+ - None.
31
+
32
+ ## Remaining Risks
33
+
34
+ - Help output is still maintained in code, but coverage now checks important public commands.
35
+
36
+ ## Future Recommendations
37
+
38
+ - Consider moving command help metadata into a shared command registry in a future non-hotfix slice.
@@ -0,0 +1,51 @@
1
+ # EXECUTION BRIEF - slice-01: CLI help and version contract
2
+
3
+ ## Context
4
+
5
+ The npm smoke test showed that `npx create-quiver@0.12.0 --version` fails because the top-level parser treats `--version` as an option requiring a draft version. Help output also needs to become a stronger onboarding surface.
6
+
7
+ ## Objective
8
+
9
+ Fix version/help behavior and add coverage that keeps command descriptions from drifting.
10
+
11
+ ## Scope
12
+
13
+ - CLI entrypoint and command router.
14
+ - Help output and command descriptions.
15
+ - Command docs and tests.
16
+
17
+ ## Acceptance Criteria
18
+
19
+ - `npx create-quiver --version` and `-V` print package version and exit `0`.
20
+ - `ai approve --phase technical-plan --version <n>` still uses draft version semantics.
21
+ - `--help`, `help`, and local `quiver --help` show grouped commands with descriptions.
22
+ - Help drift is covered by automated tests.
23
+
24
+ ## Technical Plan Summary
25
+
26
+ Route top-level version flags before command-specific option parsing. Centralize or test the public command help surface. Preserve subcommand option ownership.
27
+
28
+ ## Suggested Execution Steps
29
+
30
+ 1. Read the CLI router and current help implementation.
31
+ 2. Add top-level version handling only for commandless version requests.
32
+ 3. Improve help output and command descriptions.
33
+ 4. Add focused CLI tests.
34
+ 5. Update docs and evidence.
35
+
36
+ ## Restrictions
37
+
38
+ - Do not change AI phase state in this slice.
39
+ - Do not remove existing command aliases.
40
+
41
+ ## Risks
42
+
43
+ - Over-broad `--version` handling could break planner draft approvals.
44
+
45
+ ## Completion Checklist
46
+
47
+ - [ ] Version tests added.
48
+ - [ ] Help output tests added.
49
+ - [ ] AI approve version behavior preserved.
50
+ - [ ] Docs updated.
51
+
@@ -0,0 +1,76 @@
1
+ {
2
+ "slice_id": "slice-01-cli-help-version-contract",
3
+ "ticket": "QUIVER-26-01",
4
+ "type": "fix",
5
+ "title": "CLI help and version contract",
6
+ "objective": "Make top-level version and help output reliable, complete, and test-covered without breaking AI draft version approvals.",
7
+ "description": "Fix top-level --version handling, improve grouped help output, add help drift coverage, and preserve subcommand-specific --version semantics for AI approvals.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "cli-help-version-contract",
12
+ "branch_name": "feature/QUIVER-26-01-cli-help-version-contract"
13
+ },
14
+ "files": [
15
+ "bin/create-quiver.js",
16
+ "src/create-quiver/index.js",
17
+ "src/create-quiver/**",
18
+ "README.md",
19
+ "docs/COMMANDS.md.template",
20
+ "tests/**",
21
+ "specs/quiver-v26-0121-smoke-hardening/**"
22
+ ],
23
+ "expected_read_paths": [
24
+ "bin/create-quiver.js",
25
+ "src/create-quiver/index.js",
26
+ "package.json",
27
+ "tests/commands/**",
28
+ "README.md",
29
+ "docs/COMMANDS.md.template"
30
+ ],
31
+ "allowed_write_paths": [
32
+ "src/create-quiver/**",
33
+ "README.md",
34
+ "docs/COMMANDS.md.template",
35
+ "tests/**",
36
+ "specs/quiver-v26-0121-smoke-hardening/**"
37
+ ],
38
+ "depends_on": [
39
+ "slice-00-docs-foundation"
40
+ ],
41
+ "parallel_safe": "no",
42
+ "parallel_safe_reason": "This slice owns shared CLI routing and help output used by later slices.",
43
+ "must": [
44
+ "Support top-level --version and -V as package version output.",
45
+ "Preserve ai approve --version <n> draft-version behavior.",
46
+ "Support npx create-quiver --help, npx create-quiver help, and local quiver --help.",
47
+ "Group public commands with descriptions and examples.",
48
+ "Add tests that prevent important commands from missing help descriptions."
49
+ ],
50
+ "not_included": [
51
+ "Changing AI lifecycle state behavior.",
52
+ "Changing generated docs beyond command references.",
53
+ "Publishing npm."
54
+ ],
55
+ "acceptance": [
56
+ "Top-level version commands exit 0 and print the package version.",
57
+ "AI approval version commands still work with draft versions.",
58
+ "Help output lists public commands with descriptions grouped by purpose.",
59
+ "Tests fail if important public commands are missing from help.",
60
+ "Unknown command behavior remains clear and actionable."
61
+ ],
62
+ "tests": [
63
+ "node --test tests/commands/cli-contract.test.js",
64
+ "node --test tests/commands/ai-plan.test.js tests/lib/approvals.test.js",
65
+ "git diff --check"
66
+ ],
67
+ "validation_hints": [
68
+ "Exercise both top-level --version and ai approve --version <n>.",
69
+ "Validate local alias through package bin metadata or installed fixture when practical."
70
+ ],
71
+ "estimated_hours": 4,
72
+ "status": "completed",
73
+ "blocked_reason": null,
74
+ "actual_hours": 2,
75
+ "completed_at": "2026-05-23T00:00:00-0300"
76
+ }
@@ -0,0 +1,37 @@
1
+ # CLOSURE BRIEF - slice-02: Init doc links and flow guidance
2
+
3
+ ## Summary of Work
4
+
5
+ - Replaced default command doc links to optional examples with inline commands.
6
+ - Removed the generated status link to a placeholder slice that does not exist in default init.
7
+ - Added doctor regression coverage for missing generated local docs links.
8
+ - Added flow regression coverage for `init -> analyze -> flow`.
9
+
10
+ ## Validation Against Acceptance Criteria
11
+
12
+ - [x] Default init docs verified.
13
+ - [x] Doctor warnings resolved.
14
+ - [x] Flow guidance verified.
15
+ - [x] Tests run.
16
+
17
+ ## Relevant Changes
18
+
19
+ - `docs/COMMANDS.md.template`
20
+ - `docs/STATUS.md.template`
21
+ - `tests/commands/doctor.test.js`
22
+ - `tests/commands/flow.test.js`
23
+ - `specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md`
24
+ - `specs/quiver-v26-0121-smoke-hardening/STATUS.md`
25
+ - `specs/quiver-v26-0121-smoke-hardening/slices/slice-02-init-doc-links-and-flow-guidance/slice.json`
26
+
27
+ ## Pending
28
+
29
+ - None.
30
+
31
+ ## Remaining Risks
32
+
33
+ - Optional docs must not be referenced by default docs unless generated.
34
+
35
+ ## Future Recommendations
36
+
37
+ - Keep generated doc link checks in smoke coverage.
@@ -0,0 +1,52 @@
1
+ # EXECUTION BRIEF - slice-02: Init doc links and flow guidance
2
+
3
+ ## Context
4
+
5
+ The clean npm smoke test showed `doctor` warnings for links generated by default init and a temporary stale `flow` state when analyze had not completed yet.
6
+
7
+ ## Objective
8
+
9
+ Make generated docs internally consistent and make `flow` guidance match the actual project state.
10
+
11
+ ## Scope
12
+
13
+ - Default init templates and template selection.
14
+ - Doctor link checks.
15
+ - Flow next-step guidance.
16
+ - Tests and evidence.
17
+
18
+ ## Acceptance Criteria
19
+
20
+ - Default init docs do not contain broken links created by Quiver.
21
+ - `doctor` does not warn about Quiver-generated default links.
22
+ - `flow` shows correct next steps after analyze.
23
+ - Tests cover default init and flow state.
24
+
25
+ ## Technical Plan Summary
26
+
27
+ Audit links in default init templates, remove or generate referenced optional files consistently, and update flow state checks to avoid stale blockers.
28
+
29
+ ## Suggested Execution Steps
30
+
31
+ 1. Reproduce default init + doctor warnings in a fixture.
32
+ 2. Fix template references or generated file set.
33
+ 3. Verify `flow` before and after analyze.
34
+ 4. Add focused tests.
35
+ 5. Update evidence.
36
+
37
+ ## Restrictions
38
+
39
+ - Do not widen default init to legacy/full assets unless necessary.
40
+ - Do not touch AI approval state in this slice.
41
+
42
+ ## Risks
43
+
44
+ - Removing useful links could reduce onboarding quality; prefer valid links over deletion when the target should exist.
45
+
46
+ ## Completion Checklist
47
+
48
+ - [ ] Template links audited.
49
+ - [ ] Doctor warnings resolved.
50
+ - [ ] Flow state tests added.
51
+ - [ ] Smoke coverage updated if needed.
52
+
@@ -0,0 +1,75 @@
1
+ {
2
+ "slice_id": "slice-02-init-doc-links-and-flow-guidance",
3
+ "ticket": "QUIVER-26-02",
4
+ "type": "fix",
5
+ "title": "Init doc links and flow guidance",
6
+ "objective": "Remove broken links from default generated docs and make flow guidance reflect the current project state after analyze and doctor.",
7
+ "description": "Fix default init template references, doctor link warnings, and guided flow next-step messaging for clean projects.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "init-doc-links-flow-guidance",
12
+ "branch_name": "feature/QUIVER-26-02-init-doc-links-flow-guidance"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/lib/init-docs.js",
16
+ "src/create-quiver/lib/init-layout.js",
17
+ "src/create-quiver/lib/doctor.js",
18
+ "src/create-quiver/commands/flow.js",
19
+ "docs/**/*.template",
20
+ "tests/**",
21
+ "specs/quiver-v26-0121-smoke-hardening/**"
22
+ ],
23
+ "expected_read_paths": [
24
+ "docs/COMMANDS.md.template",
25
+ "docs/STATUS.md.template",
26
+ "src/create-quiver/lib/doctor.js",
27
+ "src/create-quiver/commands/flow.js",
28
+ "tests/commands/flow.test.js",
29
+ "tests/commands/doctor.test.js"
30
+ ],
31
+ "allowed_write_paths": [
32
+ "src/create-quiver/lib/init-docs.js",
33
+ "src/create-quiver/lib/init-layout.js",
34
+ "src/create-quiver/lib/doctor.js",
35
+ "src/create-quiver/commands/flow.js",
36
+ "docs/**/*.template",
37
+ "tests/**",
38
+ "specs/quiver-v26-0121-smoke-hardening/**"
39
+ ],
40
+ "depends_on": [
41
+ "slice-01-cli-help-version-contract"
42
+ ],
43
+ "parallel_safe": "maybe",
44
+ "parallel_safe_reason": "Can run beside slice-03 only if shared flow/help files do not overlap.",
45
+ "must": [
46
+ "Default init docs must not reference files absent from the default profile.",
47
+ "doctor must not warn about links Quiver itself generated incorrectly.",
48
+ "flow must show the correct next step after analyze creates PROJECT_MAP.md.",
49
+ "Errors and warnings must remain actionable."
50
+ ],
51
+ "not_included": [
52
+ "Changing AI approval persistence.",
53
+ "Changing demo scaffold behavior."
54
+ ],
55
+ "acceptance": [
56
+ "Default init followed by doctor has no generated-doc broken-link warnings.",
57
+ "After analyze, flow no longer reports PROJECT_MAP.md as missing.",
58
+ "Generated docs still point users to valid examples or omit optional references.",
59
+ "Focused tests cover default init docs and flow state."
60
+ ],
61
+ "tests": [
62
+ "node --test tests/commands/flow.test.js tests/commands/doctor.test.js tests/lib/init-layout.test.js",
63
+ "npm run smoke:create-quiver",
64
+ "git diff --check"
65
+ ],
66
+ "validation_hints": [
67
+ "Use a clean temp directory for init/analyze/doctor/flow.",
68
+ "Check both before and after analyze state."
69
+ ],
70
+ "estimated_hours": 4,
71
+ "status": "completed",
72
+ "blocked_reason": null,
73
+ "actual_hours": 2,
74
+ "completed_at": "2026-05-23T00:00:00-0300"
75
+ }
@@ -0,0 +1,37 @@
1
+ # CLOSURE BRIEF - slice-03: AI approval and review consistency
2
+
3
+ ## Summary of Work
4
+
5
+ - Clarified spec generation blockers when review state is missing or stale.
6
+ - Ensured flow does not suggest re-approving an already approved technical plan before review.
7
+ - Added regression coverage for approved-but-unreviewed technical plan guidance.
8
+ - Updated tests for actionable review-plan next commands.
9
+
10
+ ## Validation Against Acceptance Criteria
11
+
12
+ - [x] Unsupported phase suggestions removed.
13
+ - [x] Spec-create blockers verified.
14
+ - [x] Reviewed approval path verified.
15
+ - [x] Tests run.
16
+
17
+ ## Relevant Changes
18
+
19
+ - `src/create-quiver/lib/ai/plan-review.js`
20
+ - `src/create-quiver/commands/flow.js`
21
+ - `tests/commands/flow.test.js`
22
+ - `tests/commands/ai-review-plan.test.js`
23
+ - `specs/quiver-v26-0121-smoke-hardening/EVIDENCE_REPORT.md`
24
+ - `specs/quiver-v26-0121-smoke-hardening/STATUS.md`
25
+ - `specs/quiver-v26-0121-smoke-hardening/slices/slice-03-ai-approval-review-consistency/slice.json`
26
+
27
+ ## Pending
28
+
29
+ - None.
30
+
31
+ ## Remaining Risks
32
+
33
+ - Existing approval artifacts remain compatible; only user-facing guidance changed.
34
+
35
+ ## Future Recommendations
36
+
37
+ - Keep every printed next command covered by a CLI acceptance test.
@@ -0,0 +1,53 @@
1
+ # EXECUTION BRIEF - slice-03: AI approval and review consistency
2
+
3
+ ## Context
4
+
5
+ The smoke test showed that Quiver correctly blocks spec generation without reviewed plan state, but the recovery path can be confusing. A suggested `plan-review` approval phase is not supported by `ai approve`.
6
+
7
+ ## Objective
8
+
9
+ Make review/approval/spec-create gates coherent, testable, and actionable.
10
+
11
+ ## Scope
12
+
13
+ - `ai review-plan` guidance.
14
+ - `ai approve` phase guidance.
15
+ - `spec create` blockers.
16
+ - `flow` next-step messages for plan review.
17
+ - Tests and docs.
18
+
19
+ ## Acceptance Criteria
20
+
21
+ - No unsupported approval phase is suggested.
22
+ - Missing review state blocks spec creation with the exact next command.
23
+ - Reviewed technical-plan drafts can be approved through a supported path.
24
+ - Tests cover review/approval/spec-create edge cases.
25
+
26
+ ## Technical Plan Summary
27
+
28
+ Audit approval state transitions and user-facing messages. Clarify status labels and block conditions without weakening review gates.
29
+
30
+ ## Suggested Execution Steps
31
+
32
+ 1. Reproduce the approved-but-unreviewed state.
33
+ 2. Audit `flow`, `review-plan`, `approve`, and `spec create` messages.
34
+ 3. Fix unsupported phase suggestions.
35
+ 4. Add focused tests for state transitions.
36
+ 5. Update docs and evidence.
37
+
38
+ ## Restrictions
39
+
40
+ - Do not allow spec generation from unreviewed technical plans.
41
+ - Do not introduce a new phase unless it is fully wired and tested.
42
+
43
+ ## Risks
44
+
45
+ - Changing approval labels can break existing tests or stored state expectations.
46
+
47
+ ## Completion Checklist
48
+
49
+ - [ ] Blocker messages are actionable.
50
+ - [ ] Supported command path verified.
51
+ - [ ] Tests added.
52
+ - [ ] Docs updated.
53
+