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,36 @@
1
+ # CLOSURE BRIEF - slice-11: Export, dashboard-friendly output, and migration
2
+
3
+ ## Summary of Work
4
+
5
+ Implemented lifecycle inspection and export surfaces for humans, agents, and optional dashboards. Quiver now exposes specs, slices, runs, agents, dependencies, blockers, progress, and migration findings through read-only AI commands, plus a dry-run migration preview for older projects.
6
+
7
+ ## Validation Against Acceptance Criteria
8
+
9
+ - [x] Inspection output verified.
10
+ - [x] JSON export verified.
11
+ - [x] Markdown export verified.
12
+ - [x] Migration dry-run verified.
13
+ - [x] No heavy dependencies added.
14
+
15
+ ## Relevant Changes
16
+
17
+ - Added `ai inspect`, `ai export`, `ai specs list`, `ai slices list`, and `ai trace report`.
18
+ - Added a versioned lifecycle export contract under `src/create-quiver/lib/ai/export-state.js`.
19
+ - Added dashboard-friendly state for agents, specs, slices, dependencies, blockers, migration status, and progress.
20
+ - Added `migrate --dry-run` reporting without writes.
21
+ - Added generated npm scripts and docs for the new inspection/export commands.
22
+ - Fixed JSON comment stripping so glob strings such as `src/**` are not corrupted.
23
+
24
+ ## Pending
25
+
26
+ - None for this slice.
27
+
28
+ ## Remaining Risks
29
+
30
+ - The JSON export uses `schema_version: 1`; future dashboard consumers should pin and validate against that version.
31
+ - Quiver core intentionally does not ship a persistent dashboard UI. Visual tools should consume the export externally.
32
+
33
+ ## Future Recommendations
34
+
35
+ - Dogfood `ai export --format json` in the Quiver Spec Viewer demo before expanding the export contract.
36
+ - Evaluate a static HTML export only after JSON/Markdown export is stable in real projects.
@@ -0,0 +1,54 @@
1
+ # EXECUTION BRIEF - slice-11: Export, dashboard-friendly output, and migration
2
+
3
+ ## Context
4
+
5
+ Quiver should expose its state to humans, agents, and optional visualizers without turning the core package into a full web application.
6
+
7
+ ## Objective
8
+
9
+ Add inspection, export, dashboard-friendly output, and migration dry-runs.
10
+
11
+ ## Scope
12
+
13
+ - `status`, `specs list`, `slices list`, `inspect`, and `trace report` style outputs.
14
+ - JSON and Markdown export.
15
+ - Dashboard-friendly state shape.
16
+ - Migration dry-run for older Quiver projects.
17
+
18
+ ## Acceptance Criteria
19
+
20
+ - Inspection output is actionable.
21
+ - JSON export is machine-readable.
22
+ - Markdown export is readable.
23
+ - Migration dry-run writes nothing.
24
+ - Older project fixtures get clear guidance.
25
+ - No heavy UI dependencies are added.
26
+
27
+ ## Technical Plan Summary
28
+
29
+ Build on execution planning and validation so export and migration reflect real Quiver state rather than ad-hoc file reads.
30
+
31
+ ## Suggested Execution Steps
32
+
33
+ 1. Define export JSON contract.
34
+ 2. Add Markdown export.
35
+ 3. Add inspection/list/report commands.
36
+ 4. Add migration dry-run checks.
37
+ 5. Test against older-project fixtures.
38
+
39
+ ## Restrictions
40
+
41
+ - Do not add a persistent web server to core.
42
+ - Do not perform destructive migration without preview.
43
+
44
+ ## Risks
45
+
46
+ - Export contracts can become public APIs. Version the shape or document stability.
47
+
48
+ ## Completion Checklist
49
+
50
+ - [ ] JSON export tested.
51
+ - [ ] Markdown export tested.
52
+ - [ ] Inspection commands tested.
53
+ - [ ] Migration dry-run tested.
54
+ - [ ] Evidence appended.
@@ -0,0 +1,53 @@
1
+ {
2
+ "slice_id": "slice-11-export-dashboard-migration",
3
+ "ticket": "QUIVER-25-11",
4
+ "type": "feature",
5
+ "title": "Export, dashboard-friendly output, and migration",
6
+ "objective": "Expose lifecycle state, specs, slices, and migration findings in formats useful for humans, agents, and optional dashboards.",
7
+ "description": "Add export commands, inspect/list/report surfaces, visualization-friendly JSON/Markdown, and migration dry-runs for older Quiver projects.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "export-dashboard-migration",
12
+ "branch_name": "feature/QUIVER-25-11-export-dashboard-migration"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/**",
16
+ "docs/**",
17
+ "tests/**"
18
+ ],
19
+ "depends_on": [
20
+ "slice-07-slice-execution-planner",
21
+ "slice-10-validation-errors-fixtures"
22
+ ],
23
+ "parallel_safe": "yes",
24
+ "parallel_safe_reason": "Late-stage output/migration work can run beside hardening if shared CLI files are coordinated.",
25
+ "must": [
26
+ "Add or improve status, specs list, slices list, inspect, and trace report surfaces.",
27
+ "Export specs/slices/runs as JSON and Markdown.",
28
+ "Provide dashboard-friendly state for agents, specs, slices, dependencies, blockers, and progress.",
29
+ "Support migration dry-run for older Quiver projects.",
30
+ "Keep core package lightweight and avoid a full web IDE."
31
+ ],
32
+ "not_included": [
33
+ "Building a persistent web server UI into core.",
34
+ "Automatic package publishing.",
35
+ "Automatic PR merge."
36
+ ],
37
+ "acceptance": [
38
+ "Inspection commands show actionable lifecycle state.",
39
+ "Export JSON is machine-readable and stable enough for demos/dashboards.",
40
+ "Markdown export is readable in PRs or docs.",
41
+ "Migration dry-run reports planned changes without writing.",
42
+ "Older Quiver project fixtures receive clear migration guidance.",
43
+ "No heavy UI dependencies are added to core."
44
+ ],
45
+ "tests": [
46
+ "node --test tests/**/*.test.js",
47
+ "git diff --check"
48
+ ],
49
+ "estimated_hours": 7,
50
+ "status": "completed",
51
+ "blocked_reason": null,
52
+ "completed_at": "2026-05-22T17:31:01-03:00"
53
+ }
@@ -0,0 +1,208 @@
1
+ # Evidence Report - Quiver v26 0.12.1 Smoke Hardening
2
+
3
+ ## Summary
4
+
5
+ This report starts with documentation-only evidence for `slice-00`. Product implementation evidence must be appended by each later slice.
6
+
7
+ ## slice-00 - Docs foundation
8
+
9
+ ### Completed
10
+
11
+ - Created v26 hotfix spec folder.
12
+ - Created `SPEC.md`, `STATUS.md`, `EXECUTION_PLAN.md`, `EVIDENCE_REPORT.md`, and `pr.md`.
13
+ - Created every slice folder with `slice.json`, `EXECUTION_BRIEF.md`, and `CLOSURE_BRIEF.md`.
14
+ - Synchronized source-of-truth docs with v25 as implemented/published and v26 as the next hotfix.
15
+
16
+ ### Validation
17
+
18
+ - `find specs/quiver-v26-0121-smoke-hardening -name "slice.json" -print -exec node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" {} \;` passed for 8 slice files.
19
+ - `git diff --check` passed.
20
+ - `find specs/quiver-v26-0121-smoke-hardening/slices -maxdepth 2 -type f | sort | wc -l` returned 24 slice files.
21
+ - `rg -n "v25.*planned|v25.*pending|pending package release|Do not treat v25" README_FOR_AI.md ROADMAP.md CHANGELOG.md specs/quiver-v25-ai-first-lifecycle-orchestrator/STATUS.md` returned no stale source-of-truth matches.
22
+ - `npm run quiver:plan -- --spec quiver-v26-0121-smoke-hardening --include-completed` failed with Node out-of-memory. This repeats the planning-output scaling issue observed in v25.
23
+ - `npm run quiver:graph -- --spec quiver-v26-0121-smoke-hardening --include-completed` failed with Node out-of-memory. This should be covered by implementation hardening before `0.12.1` release.
24
+
25
+ ### Risks
26
+
27
+ - Implementation has not started.
28
+ - Release publication must wait until `slice-06` evidence passes.
29
+ - `plan` and `graph` can still OOM in this repo even when scoped to a small spec; implementation slices must address this before release readiness.
30
+
31
+ ## Later Slices
32
+
33
+ Each implementation slice must append:
34
+
35
+ - commands executed;
36
+ - tests or smokes run;
37
+ - files changed;
38
+ - validation result;
39
+ - risks remaining;
40
+ - evidence location.
41
+
42
+ ## slice-01 - CLI help and version contract
43
+
44
+ ### Completed
45
+
46
+ - Added grouped command descriptions to the CLI help output.
47
+ - Added `npx create-quiver help` as a readable alias for full help.
48
+ - Preserved top-level `--version` / `-V` behavior and `ai approve --version <n>` semantics.
49
+ - Added CLI contract tests for grouped help, important public command coverage, and local `quiver` alias metadata.
50
+ - Updated README and generated command reference template with `--help`, `help`, and local `quiver --help`.
51
+
52
+ ### Validation
53
+
54
+ - `node --test tests/commands/cli-contract.test.js` passed: 6 tests.
55
+ - `node --test tests/commands/cli-contract.test.js tests/commands/ai-plan.test.js tests/lib/approvals.test.js` passed: 25 tests.
56
+ - `node bin/create-quiver.js help` printed grouped command descriptions.
57
+ - `node bin/create-quiver.js --version` printed `0.12.0`.
58
+ - `git diff --check` passed.
59
+
60
+ ### Risks
61
+
62
+ - Help output is still maintained in code, but the new contract test checks important public commands are present with descriptions.
63
+
64
+ ## slice-02 - Init doc links and flow guidance
65
+
66
+ ### Completed
67
+
68
+ - Replaced default `docs/COMMANDS.md` example links to optional `docs/examples/*.md` files with inline commands.
69
+ - Removed the default `docs/STATUS.md` link to a non-existent placeholder slice.
70
+ - Added doctor coverage that default init does not produce missing local docs link warnings.
71
+ - Added flow coverage that `init -> analyze -> flow` uses the generated `docs/PROJECT_MAP.md` and advances to agent profile guidance.
72
+
73
+ ### Validation
74
+
75
+ - `node --test tests/commands/doctor.test.js tests/commands/flow.test.js tests/lib/init-layout.test.js` passed: 28 tests.
76
+ - `git diff --check` passed.
77
+
78
+ ### Risks
79
+
80
+ - Full-profile optional examples remain available; default docs now use inline command examples instead of linking to files not generated by default.
81
+
82
+ ## slice-03 - AI approval and review consistency
83
+
84
+ ### Completed
85
+
86
+ - Updated spec-generation review blocker messaging to point first to `ai review-plan --dry-run`, then to persisted `ai review-plan`.
87
+ - Removed confusing `ai approve --phase technical-plan --version <n>` guidance from the flow state where the technical plan is approved but still lacks a valid review.
88
+ - Added regression coverage for the approved-but-unreviewed technical plan flow state.
89
+ - Updated review-plan tests to assert the actionable next-command sequence.
90
+
91
+ ### Validation
92
+
93
+ - `node --test tests/commands/ai-review-plan.test.js tests/commands/ai-plan-spec-phase.test.js tests/lib/approvals.test.js tests/commands/flow.test.js` passed: 27 tests.
94
+ - `git diff --check` passed.
95
+
96
+ ### Risks
97
+
98
+ - The review gate remains strict; users must persist a review before spec generation can proceed.
99
+
100
+ ## slice-04 - Local validation and brief contracts
101
+
102
+ ### Completed
103
+
104
+ - Allowed `check-slice --local` to run structural validation in folders without a Git repository.
105
+ - Normalized declared `depends_on` references before comparing them to the slice graph, so bare same-spec dependencies like `slice-00-docs-foundation` resolve correctly.
106
+ - Extended `check-handoff` to validate legacy `HANDOFF.md` files plus current per-slice `EXECUTION_BRIEF.md` and `CLOSURE_BRIEF.md` files.
107
+ - Updated CLI help, generated command docs, README, and generated workflow docs to show brief validation.
108
+ - Added regression fixtures for no-Git local projects, completed `slice-00` dependencies, legacy handoffs, execution briefs, and closure briefs.
109
+
110
+ ### Validation
111
+
112
+ - `node --test tests/lib/check-slice.test.js tests/lib/handoff.test.js tests/lib/slice-graph.test.js` passed: 25 tests.
113
+ - `node bin/create-quiver.js check-slice --local specs/quiver-v26-0121-smoke-hardening/slices/slice-01-cli-help-version-contract/slice.json` passed.
114
+ - `node bin/create-quiver.js check-handoff specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/EXECUTION_BRIEF.md` passed.
115
+ - `node bin/create-quiver.js check-handoff specs/quiver-v26-0121-smoke-hardening/slices/slice-04-local-validation-brief-contracts/CLOSURE_BRIEF.md` passed.
116
+ - `node --test tests/lib/check-slice.test.js tests/lib/handoff.test.js tests/lib/slice-graph.test.js tests/commands/cli-contract.test.js tests/lib/init-docs.test.js tests/lib/init-layout.test.js` passed: 50 tests.
117
+ - `npm run smoke:guided-workflow` passed: 130 tests plus package smoke.
118
+
119
+ ### Risks
120
+
121
+ - Normal remote/base validation remains unchanged; final release smoke still needs to cover `check-slice` in normal mode and `check-pr`.
122
+
123
+ ## slice-05 - Demo scaffold readiness
124
+
125
+ ### Completed
126
+
127
+ - Generated demo scaffold now includes minimal Quiver initialization metadata and required docs so `doctor` can inspect it without a misleading not-initialized error.
128
+ - Demo package scripts include the broader Quiver command set while keeping the app itself dependency-free.
129
+ - Demo server now tries subsequent ports when the starting port is occupied and documents POSIX/PowerShell port overrides.
130
+ - Demo execution briefs now match the current per-slice brief validation contract.
131
+ - Updated stale smoke fixtures that expected removed `COMMANDS.md` links to optional `docs/examples/*` files.
132
+
133
+ ### Validation
134
+
135
+ - `node --test tests/commands/demo.test.js tests/commands/doctor.test.js` passed: 14 tests.
136
+ - `npm run smoke:create-quiver` passed.
137
+ - `node scripts/ci/smoke-cross-platform.js` passed.
138
+ - `bash scripts/ci/smoke-init-docs.sh` passed.
139
+
140
+ ### Risks
141
+
142
+ - Port fallback was validated through generated server contract assertions because this sandbox blocks opening local sockets.
143
+
144
+ ## slice-06 - Plan and graph scope performance
145
+
146
+ ### Completed
147
+
148
+ - Added `readSlicesForSpec()` to load only the requested spec and explicit dependency refs for scoped plan/graph runs.
149
+ - Updated `plan` and `graph` commands to use scoped loading before graph construction when `--spec` is provided.
150
+ - Preserved unscoped behavior and cycle checks.
151
+ - Added regression tests proving scoped plan/graph do not parse unrelated invalid historical slice artifacts.
152
+ - Added readiness coverage for explicit external dependencies during scoped planning.
153
+ - Updated root `quiver:plan` and `quiver:graph` scripts to use the local CLI entrypoint during repository validation.
154
+
155
+ ### Validation
156
+
157
+ - `node --test tests/commands/plan.test.js tests/commands/graph.test.js tests/lib/slice-graph.test.js` passed: 28 tests.
158
+ - `npm run quiver:plan -- --spec quiver-v26-0121-smoke-hardening --include-completed` completed without OOM.
159
+ - `npm run quiver:graph -- --spec quiver-v26-0121-smoke-hardening --include-completed` completed without OOM.
160
+
161
+ ### Risks
162
+
163
+ - Scoped output still displays only the requested spec; external dependencies are retained internally for readiness checks.
164
+
165
+ ## slice-07 - Smoke and release readiness
166
+
167
+ ### Completed
168
+
169
+ - Bumped package metadata to `0.12.1` in `package.json` and `package-lock.json`.
170
+ - Added `0.12.1` release notes to `CHANGELOG.md`.
171
+ - Updated source-of-truth project docs to mark v26 as implemented and release-ready, while keeping npm publication as a post-merge step.
172
+ - Ran full unit, command, smoke, cross-platform, init-docs, package, and candidate tarball validation.
173
+ - Validated the candidate tarball from `/private/tmp` in a clean project installed from `create-quiver-0.12.1.tgz`.
174
+
175
+ ### Validation
176
+
177
+ - `node --test tests/**/*.test.js` passed: 317 tests.
178
+ - `npm run smoke:create-quiver` passed.
179
+ - `npm run smoke:guided-workflow` passed: 130 tests plus package smoke.
180
+ - `npm run smoke:doctor-fixtures` passed: 10 doctor fixture states.
181
+ - `node scripts/ci/smoke-cross-platform.js` passed.
182
+ - `bash scripts/ci/smoke-init-docs.sh` passed.
183
+ - `npm run quiver:plan -- --spec quiver-v26-0121-smoke-hardening --include-completed` passed and reported all 8 slices as completed.
184
+ - `npm run quiver:graph -- --spec quiver-v26-0121-smoke-hardening --include-completed` passed and rendered the scoped graph without OOM.
185
+ - `node bin/create-quiver.js check-slice --local specs/quiver-v26-0121-smoke-hardening/slices/slice-07-smoke-release-readiness/slice.json` passed structural validation.
186
+ - `npm pack --pack-destination /private/tmp/quiver-v26-tarball-smoke` initially failed because the local `~/.npm` cache has root-owned files.
187
+ - `npm --cache /private/tmp/quiver-npm-cache pack --pack-destination /private/tmp/quiver-v26-tarball-smoke` passed and produced `create-quiver-0.12.1.tgz`.
188
+ - Clean tarball smoke from `/private/tmp/quiver-v26-tarball-project-0121` passed:
189
+ - `npm --cache /private/tmp/quiver-npm-cache install -D /private/tmp/quiver-v26-tarball-smoke/create-quiver-0.12.1.tgz`
190
+ - `npx create-quiver --version` printed `0.12.1`.
191
+ - `npx create-quiver --help` printed the grouped command reference.
192
+ - `npx create-quiver init --name "Tarball Smoke Project" --skip-install` completed.
193
+ - `npx create-quiver analyze` completed.
194
+ - `npx create-quiver doctor` passed.
195
+ - `npx create-quiver flow` completed and suggested the next safe command.
196
+ - `npx create-quiver ai onboard --dry-run` completed without provider execution.
197
+ - `npx create-quiver ai plan --phase acceptance --input requirements.md --dry-run` completed without provider execution.
198
+ - `npx create-quiver demo create spec-viewer --dir ./demo` completed.
199
+ - `node scripts/validate-demo.js` passed inside the generated demo.
200
+ - `npx create-quiver check-handoff specs/quiver-spec-viewer/slices/slice-00-docs-foundation/EXECUTION_BRIEF.md` passed inside the generated demo.
201
+ - `npx create-quiver check-handoff specs/quiver-spec-viewer/slices/slice-01-static-spec-viewer/CLOSURE_BRIEF.md` passed inside the generated demo.
202
+ - `npx create-quiver doctor` passed inside the generated demo.
203
+ - `git diff --check` passed.
204
+
205
+ ### Risks
206
+
207
+ - npm publication was intentionally not performed in this slice; it must happen only after PR merge.
208
+ - The standard `npm pack` command can fail on this workstation until `~/.npm` cache ownership is repaired. The package itself was validated by rerunning pack with an isolated temp cache.
@@ -0,0 +1,57 @@
1
+ # Execution Plan - Quiver v26
2
+
3
+ ## Wave 0 - Required Foundation
4
+
5
+ 1. `slice-00-docs-foundation`
6
+ - Must land first.
7
+ - Publishes the spec, slices, briefs, PR body, execution plan, and source-of-truth sync.
8
+
9
+ ## Wave 1 - CLI Discovery Contract
10
+
11
+ Run sequentially:
12
+
13
+ 1. `slice-01-cli-help-version-contract`
14
+
15
+ This slice owns the command surface that later guidance and smoke tests depend on.
16
+
17
+ ## Wave 2 - Guidance and AI State
18
+
19
+ Can run in parallel after Wave 1 only if write scopes do not overlap:
20
+
21
+ 1. `slice-02-init-doc-links-and-flow-guidance`
22
+ 2. `slice-03-ai-approval-review-consistency`
23
+
24
+ If both need to modify shared help/flow code, run them sequentially in the listed order.
25
+
26
+ ## Wave 3 - Validation and Demo
27
+
28
+ Run after Wave 2:
29
+
30
+ 1. `slice-04-local-validation-brief-contracts`
31
+ 2. `slice-05-demo-scaffold-readiness`
32
+
33
+ These can run in parallel only if `slice-05` does not need changes in shared validation helpers touched by `slice-04`.
34
+
35
+ ## Wave 4 - Plan/Graph Scope Performance
36
+
37
+ Run after Wave 3:
38
+
39
+ 1. `slice-06-plan-graph-scope-performance`
40
+
41
+ This slice must prove that scoped `plan` and `graph` commands do not scan or retain unrelated historical specs in a way that can OOM.
42
+
43
+ ## Wave 5 - Release Readiness
44
+
45
+ Run last:
46
+
47
+ 1. `slice-07-smoke-release-readiness`
48
+
49
+ This slice validates the full package, prepares version metadata, records evidence, and confirms the candidate flow before publication.
50
+
51
+ ## Parallel Safety Notes
52
+
53
+ - `slice-00` must be committed before implementation slices.
54
+ - Keep one commit per slice.
55
+ - Do not run slices in parallel if `allowed_write_paths` overlap.
56
+ - Prefer focused tests during each slice and full smokes in `slice-06`.
57
+ - Do not publish npm from any slice except the post-merge release step.
@@ -0,0 +1,137 @@
1
+ # Quiver v26 - 0.12.1 Smoke Hardening
2
+
3
+ **Date:** 2026-05-23
4
+ **Status:** Implemented; shipped in `create-quiver@0.12.1`
5
+
6
+ Slice numbering resets here. This spec intentionally starts at `slice-00`.
7
+
8
+ ## Problem
9
+
10
+ `create-quiver@0.12.0` was published and passed the broad product implementation path, but a clean smoke test from npm exposed several first-use frictions before Quiver can be used confidently for the real `Quiver Spec Viewer` project.
11
+
12
+ The issues are not large feature gaps. They are product-quality gaps in command discoverability, version output, generated docs, AI phase guidance, local validation, demo readiness, and release smoke confidence.
13
+
14
+ ## Objective
15
+
16
+ Ship a focused `0.12.1` hotfix that makes the published AI-first workflow more reliable for new users and agents:
17
+
18
+ - top-level version and help commands work clearly;
19
+ - generated docs do not contain broken internal links;
20
+ - `flow`, `review-plan`, `approve`, and `spec create` guide the user through valid AI lifecycle states;
21
+ - local slice and brief validation works for new/local projects;
22
+ - the optional `spec-viewer` demo can be generated, validated, diagnosed, and run without confusing errors;
23
+ - source-of-truth docs match the actual v25 and npm `0.12.0` state;
24
+ - release readiness is validated through normal tests, smoke tests, and a clean install smoke before publishing `0.12.1`.
25
+
26
+ ## Context
27
+
28
+ This spec comes from a real smoke test of `create-quiver@0.12.0` in `/private/tmp`. The test validated the package from npm, not the local repo. It found:
29
+
30
+ - `npx create-quiver@0.12.0 --version` fails because top-level `--version` is interpreted as a draft version option.
31
+ - `doctor` reports broken links generated by default init docs.
32
+ - `flow` and AI approval guidance can refer to review state in a way that is not directly actionable.
33
+ - `spec create --dry-run` correctly blocks without reviewed plan state, but the recovery path is not clear enough.
34
+ - `check-slice --local` still fails before structural validation if no Git repo exists.
35
+ - `check-slice --local` does not resolve a dependency on a completed `slice-00-docs-foundation` in the generated demo.
36
+ - `check-handoff` only accepts the older global `HANDOFF.md` contract, while current slices use `EXECUTION_BRIEF.md` and `CLOSURE_BRIEF.md`.
37
+ - `demo create spec-viewer` generates a runnable demo, but `doctor` inside it reports that it is not initialized by Quiver.
38
+ - The demo server fails with `EADDRINUSE` when port `4173` is occupied.
39
+ - `plan` and `graph` can still fail with Node out-of-memory even when scoped to one small spec.
40
+ - `README_FOR_AI.md`, `ROADMAP.md`, `CHANGELOG.md`, and v25 status docs are stale relative to the merged and published `0.12.0` state.
41
+
42
+ ## Core Decisions
43
+
44
+ - This is a hotfix, not a lifecycle redesign.
45
+ - Keep `npx create-quiver` as the canonical bootstrap command.
46
+ - Keep `quiver` as a local installed shortcut, not a global install recommendation.
47
+ - Keep `--version <n>` for AI draft approvals inside AI commands.
48
+ - Treat top-level `--version` as package version only when no subcommand owns the option.
49
+ - Keep the old global `HANDOFF.md` validator compatible, but support slice-local execution and closure briefs.
50
+ - Prefer actionable errors over silent fallback when workflow state is incomplete.
51
+ - No provider credentials or AI API calls are required to validate this hotfix.
52
+
53
+ ## Scope
54
+
55
+ ### Included
56
+
57
+ - Top-level CLI version handling and complete grouped help output.
58
+ - Automated coverage to prevent major public commands from missing help descriptions.
59
+ - Default init template link hygiene.
60
+ - `flow`, `ai review-plan`, `ai approve`, and `spec create` guidance consistency.
61
+ - Local slice validation without remote/base requirements and better Git precondition handling.
62
+ - Dependency resolution for completed slices such as `slice-00-docs-foundation`.
63
+ - Brief validation for `EXECUTION_BRIEF.md` and `CLOSURE_BRIEF.md`.
64
+ - Demo scaffold readiness, `doctor` behavior, and port handling/documentation.
65
+ - Scoped `plan` and `graph` performance/read behavior for large repos with many historical specs.
66
+ - Version/docs sync for the `0.12.0` release state and `0.12.1` hotfix target.
67
+ - Final smoke, tarball smoke, and release readiness evidence.
68
+
69
+ ### Excluded
70
+
71
+ - Creating the real `Quiver Spec Viewer` project in `/Prueba`.
72
+ - Adding a web dashboard to Quiver core.
73
+ - Changing the spec/slice directory model.
74
+ - Installing provider CLIs, GitHub CLI, SSH keys, or credentials.
75
+ - Automatically publishing npm before PR merge and validation.
76
+ - Replacing existing `HANDOFF.md` support.
77
+
78
+ ## Acceptance Criteria
79
+
80
+ 1. Given a user in any folder, when they run `npx create-quiver@0.12.1 --version`, then the CLI prints the installed package version and exits with code `0`.
81
+ 2. Given the AI approval flow, when `npx create-quiver ai approve --phase technical-plan --version <n>` runs, then `--version <n>` still means draft version and remains compatible with existing approval behavior.
82
+ 3. Given a user runs `npx create-quiver --help`, `npx create-quiver help`, or local `quiver --help`, then the CLI lists public commands with short descriptions, grouped by purpose, with key options and recommended examples.
83
+ 4. Given public commands are added or renamed, when tests run, then coverage fails if important public commands are missing from the help output or have no description.
84
+ 5. Given a project is initialized with default init, when `npx create-quiver doctor` runs, then Quiver does not warn about broken links generated by its own default templates.
85
+ 6. Given a project is initialized and `analyze`, `doctor`, and `flow` are run in order, then `flow` shows the current valid next step and does not rely on stale missing-map state.
86
+ 7. Given a technical plan is approved but not reviewed, when `spec create --dry-run` runs, then Quiver blocks with a message that explains the missing review state and prints the exact next command.
87
+ 8. Given `flow` recommends plan review, when the user follows the suggested commands, then the commands exist and can be completed in the documented order.
88
+ 9. Given a new local project without a Git repo, when `check-slice --local <slice.json>` runs, then structural validation can run without failing on `git rev-parse`; Git-dependent checks are skipped or downgraded to actionable warnings.
89
+ 10. Given `slice-01` depends on a completed `slice-00-docs-foundation`, when `check-slice --local` runs, then the dependency resolves correctly.
90
+ 11. Given a slice has `EXECUTION_BRIEF.md` and `CLOSURE_BRIEF.md`, when brief validation runs, then Quiver validates the current per-slice contract or prints the correct command for validating it.
91
+ 12. Given `demo create spec-viewer` generates a demo, when the user runs `doctor` inside the demo, then Quiver either recognizes the demo's Quiver metadata or explains clearly that it is a partial demo scaffold and what command to run next.
92
+ 13. Given the default demo port is occupied, when the demo starts, then the user gets a clear cross-platform recovery path or the server selects a safe fallback port and prints it.
93
+ 14. Given a repo with many historical specs, when `plan` or `graph` runs with `--spec <slug>`, then Quiver only loads the necessary spec/slice data and does not fail with Node out-of-memory.
94
+ 15. Given the hotfix is implemented, when local validation runs, then `node --test tests/**/*.test.js`, `npm run smoke:create-quiver`, `npm run smoke:guided-workflow`, `npm run smoke:doctor-fixtures`, and `git diff --check` pass.
95
+ 16. Given the hotfix is ready to release, when tarball smoke runs from `/private/tmp`, then the candidate package supports `init -> analyze -> doctor -> flow -> ai dry-runs -> demo -> validate` without critical first-use friction.
96
+ 17. Given `README_FOR_AI.md` is the source of truth, when `slice-00` completes, then `README_FOR_AI.md`, `ROADMAP.md`, `CHANGELOG.md`, and v25 status docs no longer contradict that v25 was merged and `0.12.0` was published.
97
+
98
+ ## Technical Plan
99
+
100
+ 1. Publish the v26 documentation foundation and source-of-truth sync.
101
+ 2. Fix top-level CLI version/help behavior while preserving AI draft-version semantics.
102
+ 3. Clean generated init docs and align guided flow output with valid next commands.
103
+ 4. Tighten AI approval/review/spec-create state messaging and tests.
104
+ 5. Harden local validation and current brief contracts.
105
+ 6. Make the optional demo scaffold self-consistent and easier to run cross-platform.
106
+ 7. Fix scoped `plan` and `graph` behavior so large historical repos do not OOM.
107
+ 8. Run full validation, tarball smoke, docs/version prep, and release evidence for `0.12.1`.
108
+
109
+ ## Production Review Additions
110
+
111
+ The production-readiness review added these constraints:
112
+
113
+ - Do not overload `--version`; route it by command context.
114
+ - Do not introduce a `plan-review` approval phase unless the CLI fully supports it.
115
+ - In `--local` validation, avoid fatal Git or remote assumptions.
116
+ - Resolve dependencies against all known slices, including completed documentary slices.
117
+ - Keep help output generated from a stable registry or covered by tests to prevent drift.
118
+ - Validate the local `quiver` alias through an installed package path where possible.
119
+ - Keep `HANDOFF.md` compatible while supporting slice briefs.
120
+ - Prefer automatic demo port fallback; if not feasible, document macOS/Linux/Git Bash and Windows PowerShell commands.
121
+
122
+ ## Slice Roadmap
123
+
124
+ | Slice | Title | Status | Dependencies |
125
+ |---|---|---|---|
126
+ | slice-00 | Docs foundation and source-of-truth sync | Completed | none |
127
+ | slice-01 | CLI help and version contract | Completed | slice-00 |
128
+ | slice-02 | Init doc links and flow guidance | Completed | slice-01 |
129
+ | slice-03 | AI approval and review consistency | Completed | slice-01 |
130
+ | slice-04 | Local validation and brief contracts | Completed | slice-02, slice-03 |
131
+ | slice-05 | Demo scaffold readiness | Completed | slice-02, slice-04 |
132
+ | slice-06 | Plan and graph scope performance | Completed | slice-04 |
133
+ | slice-07 | Smoke and release readiness | Completed | slice-01, slice-02, slice-03, slice-04, slice-05, slice-06 |
134
+
135
+ ## Release Plan
136
+
137
+ This spec targeted `0.12.1`, which has been published. Follow-up reliability findings from Pixel Quiver dogfooding are tracked in `specs/quiver-v27-reliability-ai-workflow-hardening/`.
@@ -0,0 +1,32 @@
1
+ # Status - Quiver v26 0.12.1 Smoke Hardening
2
+
3
+ **Overall status:** Slices 00-07 complete; shipped in `create-quiver@0.12.1`
4
+ **Created:** 2026-05-23
5
+ **Current slice:** slice-07 completed
6
+
7
+ ## Summary
8
+
9
+ This hotfix spec tracks the first-use issues found while smoke testing `create-quiver@0.12.0` from npm. It prepared the `0.12.1` package that was later published.
10
+
11
+ ## Slice Status
12
+
13
+ | Slice | Status | Notes |
14
+ |---|---|---|
15
+ | slice-00-docs-foundation | Completed | Planning artifacts and source-of-truth sync created. |
16
+ | slice-01-cli-help-version-contract | Completed | Added grouped command help, `help` command alias, help drift tests, and alias/version coverage. |
17
+ | slice-02-init-doc-links-and-flow-guidance | Completed | Removed default generated doc links to absent files and added flow-after-analyze coverage. |
18
+ | slice-03-ai-approval-review-consistency | Completed | Clarified review/spec-create blockers and removed confusing re-approval guidance before review. |
19
+ | slice-04-local-validation-brief-contracts | Completed | Local validation no longer fatally requires Git, bare slice dependencies normalize, and brief validation supports execution/closure briefs. |
20
+ | slice-05-demo-scaffold-readiness | Completed | Demo scaffold now includes Quiver metadata, doctor/plan/graph/next coverage, brief validation, and server port fallback. |
21
+ | slice-06-plan-graph-scope-performance | Completed | Scoped plan/graph now read only the target spec plus explicit dependency refs and root scripts validate local code. |
22
+ | slice-07-smoke-release-readiness | Completed | Full tests, required smokes, tarball candidate smoke, version bump, changelog, and release evidence completed. |
23
+
24
+ ## Current Blockers
25
+
26
+ - No local implementation blockers remain.
27
+ - npm publication for `0.12.1` is complete.
28
+ - Follow-up dogfooding findings are tracked in `specs/quiver-v27-reliability-ai-workflow-hardening/`.
29
+
30
+ ## Next Step
31
+
32
+ Use v27 for the next reliability hardening cycle.