create-quiver 0.13.0 → 0.14.1

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 (92) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +183 -511
  3. package/README_FOR_AI.md +36 -26
  4. package/ROADMAP.md +11 -0
  5. package/assets/quiver-wordmark.svg +22 -0
  6. package/docs/AI_CONTEXT.md.template +2 -0
  7. package/docs/AI_ONBOARDING_PROMPT.md.template +9 -1
  8. package/docs/CLI_UX_GUIDE.md +125 -0
  9. package/docs/COMMANDS.md.template +19 -4
  10. package/docs/GITFLOW_PR_GUIDE.md +70 -0
  11. package/docs/TROUBLESHOOTING.md.template +29 -0
  12. package/docs/WORKFLOW.md.template +13 -12
  13. package/docs/getting-started/linux.md +84 -0
  14. package/docs/getting-started/macos.md +85 -0
  15. package/docs/getting-started/windows-git-bash-wsl.md +78 -0
  16. package/docs/getting-started/windows-powershell.md +96 -0
  17. package/docs/reference/commands.md +94 -0
  18. package/docs/workflows/existing-project.md +131 -0
  19. package/docs/workflows/full-ai-spec-to-pr.md +311 -0
  20. package/docs/workflows/legacy-quiver-project.md +102 -0
  21. package/docs/workflows/new-project.md +76 -0
  22. package/package.json +5 -1
  23. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/COVERAGE_MATRIX.md +117 -0
  24. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/EVIDENCE_REPORT.md +200 -0
  25. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/EXECUTION_PLAN.md +60 -0
  26. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/SPEC.md +132 -0
  27. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/STATUS.md +36 -0
  28. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/pr.md +128 -0
  29. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-00-reconciliation-and-evidence-freeze/CLOSURE_BRIEF.md +44 -0
  30. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-00-reconciliation-and-evidence-freeze/EXECUTION_BRIEF.md +56 -0
  31. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-00-reconciliation-and-evidence-freeze/slice.json +71 -0
  32. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-01-ai-run-state-approvals-and-clean-output/CLOSURE_BRIEF.md +38 -0
  33. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-01-ai-run-state-approvals-and-clean-output/EXECUTION_BRIEF.md +53 -0
  34. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-01-ai-run-state-approvals-and-clean-output/slice.json +83 -0
  35. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-02-structured-technical-plan-contract-and-repair-flow/CLOSURE_BRIEF.md +33 -0
  36. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-02-structured-technical-plan-contract-and-repair-flow/EXECUTION_BRIEF.md +53 -0
  37. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-02-structured-technical-plan-contract-and-repair-flow/slice.json +85 -0
  38. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-03-active-slice-reconciliation-and-ai-inspect/CLOSURE_BRIEF.md +34 -0
  39. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-03-active-slice-reconciliation-and-ai-inspect/EXECUTION_BRIEF.md +52 -0
  40. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-03-active-slice-reconciliation-and-ai-inspect/slice.json +82 -0
  41. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-04-spec-validation-scope-and-worktree-reliability/CLOSURE_BRIEF.md +32 -0
  42. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-04-spec-validation-scope-and-worktree-reliability/EXECUTION_BRIEF.md +55 -0
  43. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-04-spec-validation-scope-and-worktree-reliability/slice.json +85 -0
  44. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-05-review-plan-closure-and-agent-dx/CLOSURE_BRIEF.md +35 -0
  45. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-05-review-plan-closure-and-agent-dx/EXECUTION_BRIEF.md +59 -0
  46. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-05-review-plan-closure-and-agent-dx/slice.json +94 -0
  47. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-06-backward-compatibility-docs-and-release-readiness/CLOSURE_BRIEF.md +40 -0
  48. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-06-backward-compatibility-docs-and-release-readiness/EXECUTION_BRIEF.md +56 -0
  49. package/specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-06-backward-compatibility-docs-and-release-readiness/slice.json +98 -0
  50. package/specs/quiver-v29-planner-prepare-context-cli-ux/EVIDENCE_REPORT.md +163 -0
  51. package/specs/quiver-v29-planner-prepare-context-cli-ux/EXECUTION_PLAN.md +72 -0
  52. package/specs/quiver-v29-planner-prepare-context-cli-ux/SPEC.md +173 -0
  53. package/specs/quiver-v29-planner-prepare-context-cli-ux/STATUS.md +34 -0
  54. package/specs/quiver-v29-planner-prepare-context-cli-ux/pr.md +95 -0
  55. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-00-cli-ux-spec-foundation/CLOSURE_BRIEF.md +32 -0
  56. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-00-cli-ux-spec-foundation/EXECUTION_BRIEF.md +45 -0
  57. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-00-cli-ux-spec-foundation/slice.json +58 -0
  58. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-01-cli-ux-primitives-theme/CLOSURE_BRIEF.md +33 -0
  59. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-01-cli-ux-primitives-theme/EXECUTION_BRIEF.md +49 -0
  60. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-01-cli-ux-primitives-theme/slice.json +75 -0
  61. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-02-planner-context-proposal-contract/CLOSURE_BRIEF.md +32 -0
  62. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-02-planner-context-proposal-contract/EXECUTION_BRIEF.md +47 -0
  63. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-02-planner-context-proposal-contract/slice.json +71 -0
  64. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-03-prepare-context-planner-review-flow/CLOSURE_BRIEF.md +33 -0
  65. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-03-prepare-context-planner-review-flow/EXECUTION_BRIEF.md +52 -0
  66. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-03-prepare-context-planner-review-flow/slice.json +82 -0
  67. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-04-ux-flag-matrix-compatibility/CLOSURE_BRIEF.md +34 -0
  68. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-04-ux-flag-matrix-compatibility/EXECUTION_BRIEF.md +46 -0
  69. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-04-ux-flag-matrix-compatibility/slice.json +73 -0
  70. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-05-progressive-command-adoption/CLOSURE_BRIEF.md +34 -0
  71. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-05-progressive-command-adoption/EXECUTION_BRIEF.md +46 -0
  72. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-05-progressive-command-adoption/slice.json +83 -0
  73. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-06-docs-tests-smoke-readiness/CLOSURE_BRIEF.md +31 -0
  74. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-06-docs-tests-smoke-readiness/EXECUTION_BRIEF.md +50 -0
  75. package/specs/quiver-v29-planner-prepare-context-cli-ux/slices/slice-06-docs-tests-smoke-readiness/slice.json +95 -0
  76. package/src/create-quiver/commands/ai.js +938 -16
  77. package/src/create-quiver/commands/spec.js +74 -2
  78. package/src/create-quiver/index.js +91 -5
  79. package/src/create-quiver/lib/ai/context-packs.js +2 -2
  80. package/src/create-quiver/lib/ai/context-proposal.js +389 -0
  81. package/src/create-quiver/lib/ai/context-proposal.schema.js +31 -0
  82. package/src/create-quiver/lib/ai/export-state.js +52 -5
  83. package/src/create-quiver/lib/ai/github.js +14 -2
  84. package/src/create-quiver/lib/ai/plan-review.js +159 -0
  85. package/src/create-quiver/lib/ai/run-state.js +17 -2
  86. package/src/create-quiver/lib/ai/spec-generator.js +15 -0
  87. package/src/create-quiver/lib/cli/editor.js +118 -0
  88. package/src/create-quiver/lib/cli/theme.js +100 -0
  89. package/src/create-quiver/lib/cli/ux-flags.js +151 -0
  90. package/src/create-quiver/lib/cli/ux.js +130 -0
  91. package/src/create-quiver/lib/project-state-resolver.js +195 -1
  92. package/src/create-quiver/lib/spec-worktrees.js +50 -2
@@ -0,0 +1,200 @@
1
+ # Evidence Report - Quiver v28 Pixel Quiver Feedback Reconciliation
2
+
3
+ ## slice-00-reconciliation-and-evidence-freeze
4
+
5
+ Completed on 2026-05-25.
6
+
7
+ ### Source Evidence Frozen
8
+
9
+ The following Pixel Quiver files were treated as evidence inputs only. They were not copied into fixtures.
10
+
11
+ | Source | SHA-256 | Modified |
12
+ |---|---|---|
13
+ | `/Users/fabrijk/Documents/Work/Proyectos Personales/nika/Pixel Quiver/QUIVER_PROBLEMS.md` | `516d8928af437fc3d20cacfe50fb78752954eb59b6dace6860cdda820aa6701d` | 2026-05-25 03:29:24 -03 |
14
+ | `/Users/fabrijk/Documents/Work/Proyectos Personales/nika/Pixel Quiver/QUIVER_IMPROVEMENT_SUGGESTIONS.md` | `43c4bfbef68fc8343b7f905f299c53716b55abcace415c9ce1088aa53ac12949` | 2026-05-25 03:29:39 -03 |
15
+ | `/Users/fabrijk/Documents/Work/Proyectos Personales/nika/Pixel Quiver/QUIVER_FRAMEWORK_IMPROVEMENTS.md` | `7a4eb66a996fc44cce80df4907a948fbef3e780a5f8fc856a6bdc2b0bd1f1ea3` | 2026-05-25 03:29:53 -03 |
16
+
17
+ Detected IDs:
18
+
19
+ - `QP-001` to `QP-028`
20
+ - `QIS-001` to `QIS-031`
21
+ - Narrative framework-improvement sections without stable IDs
22
+
23
+ ### Repository Evidence Inspected
24
+
25
+ - `README_FOR_AI.md`
26
+ - `ROADMAP.md`
27
+ - `BACKLOG.md`
28
+ - `CHANGELOG.md`
29
+ - `specs/quiver-v27-reliability-ai-workflow-hardening/COVERAGE_MATRIX.md`
30
+ - `specs/quiver-v27-reliability-ai-workflow-hardening/STATUS.md`
31
+ - `specs/quiver-v27-reliability-ai-workflow-hardening/EVIDENCE_REPORT.md`
32
+ - `src/create-quiver/commands/spec.js`
33
+ - `src/create-quiver/commands/ai.js`
34
+ - `src/create-quiver/lib/ai/run-state.js`
35
+ - `src/create-quiver/lib/ai/export-state.js`
36
+ - `src/create-quiver/lib/ai/plan-review.js`
37
+ - `src/create-quiver/lib/approvals.js`
38
+ - `src/create-quiver/lib/spec-worktrees.js`
39
+ - `src/create-quiver/lib/lifecycle.js`
40
+ - Focused tests under `tests/commands/*` and `tests/lib/*`
41
+
42
+ ### Reconciliation Outcome
43
+
44
+ - v27 is documented as complete and covers many earlier findings (`QP-001` to `QP-019`, `QIS-001` to `QIS-022`), but several later Pixel Quiver findings expose gaps that v27 either did not intend to solve or only partially solved.
45
+ - Confirmed no product-code change is required for `slice-00`.
46
+ - The final execution mapping is now captured in `COVERAGE_MATRIX.md`.
47
+ - `slice-01` and `slice-04` are the only implementation slices ready immediately after `slice-00`.
48
+
49
+ ## Final Release-Readiness Evidence
50
+
51
+ `slice-06` completed the pending final checks for source compatibility, generated docs, smoke coverage, and package contents.
52
+
53
+ ## Validation Evidence for slice-00
54
+
55
+ Passed:
56
+
57
+ - `git diff --check`
58
+ - JSON parse validation for all v28 `slice.json` files
59
+ - `node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation`
60
+ - `node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation --strict`
61
+ - `node bin/create-quiver.js check-slice --local specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-00-reconciliation-and-evidence-freeze/slice.json`
62
+ - `node bin/create-quiver.js next --all-ready --spec quiver-v28-pixel-quiver-feedback-reconciliation`
63
+ - `node bin/create-quiver.js plan --spec quiver-v28-pixel-quiver-feedback-reconciliation --json`
64
+
65
+ Ready slices reported after `slice-00`:
66
+
67
+ - `slice-01-ai-run-state-approvals-and-clean-output`
68
+ - `slice-04-spec-validation-scope-and-worktree-reliability`
69
+
70
+ ## slice-01-ai-run-state-approvals-and-clean-output
71
+
72
+ Completed on 2026-05-25.
73
+
74
+ ### Implementation Evidence
75
+
76
+ - Updated `src/create-quiver/commands/ai.js` so successful provider-backed planner commands print clean extracted output instead of raw stdout/stderr.
77
+ - Preserved raw provider artifact persistence and redaction for `ai plan` and `ai review-plan`.
78
+ - Updated `ai approvals` output to separate run-scoped approvals, active run, global planner approvals, and run relation.
79
+ - Added `ai run close --run <id>` to close/archive stale runs without deleting `.quiver/runs/<id>` evidence.
80
+ - Updated `src/create-quiver/lib/ai/run-state.js` so `ai status` reports the number of open runs and lists other open runs with next safe commands.
81
+
82
+ ### Validation Evidence
83
+
84
+ Passed:
85
+
86
+ - `node --test tests/commands/ai-run-state.test.js tests/commands/ai-plan.test.js tests/commands/ai-export.test.js tests/commands/cli-contract.test.js`
87
+ - `node --test tests/lib/ai-run-state.test.js tests/lib/approvals.test.js tests/lib/ai-export-state.test.js`
88
+
89
+ ## slice-04-spec-validation-scope-and-worktree-reliability
90
+
91
+ Completed on 2026-05-25.
92
+
93
+ ### Implementation Evidence
94
+
95
+ - Updated `src/create-quiver/commands/spec.js` so `spec validate` rejects slices missing execution git metadata required by local slice execution: `git.branch_type`, `git.base_branch`, `git.branch_slug`, and `git.branch_name`.
96
+ - Updated `src/create-quiver/lib/spec-worktrees.js` so `spec status` reports expected worktree paths that exist on disk but are not registered in `git worktree list` as missing/stale.
97
+ - Updated dirty checkout failures in `spec start --dry-run` to list blocking dirty files and safe recovery options without modifying state.
98
+ - Added regression coverage for exact path plus supported glob scope matching.
99
+
100
+ ### Validation Evidence
101
+
102
+ Passed:
103
+
104
+ - `node --test tests/commands/spec-validate.test.js tests/commands/spec-worktree.test.js`
105
+ - `node --test tests/lib/check-slice.test.js tests/lib/scope.test.js tests/lib/paths.test.js`
106
+
107
+ ## slice-02-structured-technical-plan-contract-and-repair-flow
108
+
109
+ Completed on 2026-05-25.
110
+
111
+ ### Implementation Evidence
112
+
113
+ - Updated `src/create-quiver/commands/ai.js` so technical-plan prompts require a fenced structured JSON contract with `spec.slices[]`.
114
+ - Added approval-time validation for `ai approve --phase technical-plan` so invalid drafts fail before `approved.md` is written.
115
+ - Added `ai repair-plan` to repair legacy approved technical plans missing `spec.slices[]` into a new provider-backed draft without mutating the approved artifact.
116
+ - Added shared `validateTechnicalPlanSpecContract` in `src/create-quiver/lib/ai/spec-generator.js`.
117
+ - Updated CLI help and dispatch so `ai repair-plan --dry-run` and `--print-prompt` are first-class commands.
118
+
119
+ ### Validation Evidence
120
+
121
+ Passed:
122
+
123
+ - `node --test tests/commands/ai-plan.test.js tests/commands/ai-plan-spec-phase.test.js tests/commands/spec-create.test.js`
124
+ - `node --test tests/commands/ai-review-plan.test.js tests/commands/flow.test.js tests/commands/cli-contract.test.js`
125
+ - `node --test tests/lib/ai-spec-generator.test.js tests/lib/approvals.test.js`
126
+
127
+ ## slice-03-active-slice-reconciliation-and-ai-inspect
128
+
129
+ Completed on 2026-05-25.
130
+
131
+ ### Implementation Evidence
132
+
133
+ - Added resolver-backed active-slice source collection for `docs/ai/ACTIVE_SLICE.md` and `ACTIVE_SLICES.md`.
134
+ - Added canonical reconciliation decisions: `preserve`, `close`, `replace`, and `blocked`.
135
+ - Added `ai active-slice status|reconcile` with dry-run-first behavior; live reconcile currently refuses writes.
136
+ - Updated `ai inspect`/lifecycle export so existing specs take precedence over stale `spec create --dry-run` lifecycle guidance.
137
+ - Added active-slice state to lifecycle export summary, dashboard data, blockers, and human inspect output.
138
+ - Hardened `ACTIVE_SLICES.md` table parsing so Markdown separator rows are ignored.
139
+
140
+ ### Validation Evidence
141
+
142
+ Passed:
143
+
144
+ - `node --test tests/commands/ai-export.test.js tests/commands/cli-contract.test.js`
145
+ - `node --test tests/lib/project-state-resolver.test.js tests/lib/ai-export-state.test.js`
146
+
147
+ ## slice-05-review-plan-closure-and-agent-dx
148
+
149
+ Completed on 2026-05-25.
150
+
151
+ ### Implementation Evidence
152
+
153
+ - Added structured `review_result` metadata to saved plan reviews with `approve`, `approve-with-risk`, and `revise` recommendations.
154
+ - Updated the review prompt to require a fenced JSON review contract.
155
+ - Updated `ai approve --phase technical-plan` to block reviews with required fixes or `revise` recommendation.
156
+ - Updated `ai approvals`/plan-review summary to include approval recommendation, blocking status, required fixes, optional hardening, and next command.
157
+ - Updated executor context-pack guidance to avoid full-spec context unless explicitly required.
158
+ - Added shell-specific GitHub CLI install and SSH alias setup guidance for macOS, Linux, Windows PowerShell, Git Bash, and WSL.
159
+ - Added agent-facing non-interactive `npx --yes create-quiver@<version>` examples to help and docs.
160
+
161
+ ### Validation Evidence
162
+
163
+ Passed:
164
+
165
+ - `node --test tests/commands/ai-review-plan.test.js tests/commands/cli-contract.test.js`
166
+ - `node --test tests/lib/ai-context-packs.test.js tests/lib/ai-github.test.js`
167
+
168
+ ## slice-06-backward-compatibility-docs-and-release-readiness
169
+
170
+ Completed on 2026-05-25.
171
+
172
+ ### Implementation Evidence
173
+
174
+ - Updated `CHANGELOG.md` with unreleased v28 additions, changes, and fixes without claiming npm publication.
175
+ - Updated `ROADMAP.md` so v28 is visible as an unreleased reconciliation/release-readiness milestone.
176
+ - Updated `README.md`, `docs/WORKFLOW.md.template`, and `docs/TROUBLESHOOTING.md.template` to match implemented review-plan, active-slice, and pinned agent-command behavior.
177
+ - Expanded `slice-06` scope to include `.npmignore` after package dry-run evidence showed a local requirements PDF would otherwise be included in the npm tarball.
178
+ - Updated `.npmignore` to exclude local `*.pdf` files from published packages.
179
+
180
+ ### Validation Evidence
181
+
182
+ Passed:
183
+
184
+ - `node --test tests/**/*.test.js` (`376` tests passed)
185
+ - `npm run smoke:doctor-fixtures` (`13` doctor fixture states passed)
186
+ - `npm run smoke:guided-workflow`
187
+ - `npm run smoke:create-quiver`
188
+ - `npm run package:quiver`
189
+ - `npm pack --dry-run --json` with a follow-up assertion that no `.pdf` files are included (`543` files)
190
+ - `git diff --check`
191
+ - `node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation --strict`
192
+ - `node bin/create-quiver.js check-slice --local specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-06-backward-compatibility-docs-and-release-readiness/slice.json`
193
+ - `node bin/create-quiver.js next --all-ready --spec quiver-v28-pixel-quiver-feedback-reconciliation`
194
+
195
+ ### Release Notes
196
+
197
+ - npm publication was not performed.
198
+ - PR creation was not performed.
199
+ - `package.json` version remains `0.13.0`.
200
+ - Pre-fix package evidence showed `Quiver_Spec_Viewer_requisitos.pdf` would be packed. The file was left in the working tree and excluded through `.npmignore`.
@@ -0,0 +1,60 @@
1
+ # Execution Plan - Quiver v28 Pixel Quiver Feedback Reconciliation
2
+
3
+ ## Execution Order
4
+
5
+ ```mermaid
6
+ flowchart TD
7
+ S00[slice-00: Reconciliation and evidence freeze]
8
+ S01[slice-01: AI run state, approvals, and clean output]
9
+ S02[slice-02: Structured technical plan contract and repair flow]
10
+ S03[slice-03: Active slice reconciliation and AI inspect]
11
+ S04[slice-04: Spec validation, scope, and worktree reliability]
12
+ S05[slice-05: Review-plan closure and agent DX]
13
+ S06[slice-06: Backward compatibility, docs, and release readiness]
14
+
15
+ S00 --> S01
16
+ S00 --> S04
17
+ S01 --> S02
18
+ S01 --> S03
19
+ S01 --> S05
20
+ S02 --> S06
21
+ S03 --> S06
22
+ S04 --> S06
23
+ S05 --> S06
24
+ ```
25
+
26
+ ## Waves
27
+
28
+ ### Wave 0 - Sequential
29
+
30
+ 1. `slice-00-reconciliation-and-evidence-freeze`
31
+
32
+ This slice must run first. It decides what is already resolved, what is pending, and what must not be reimplemented.
33
+
34
+ ### Wave 1 - Parallel after slice-00
35
+
36
+ - `slice-01-ai-run-state-approvals-and-clean-output`
37
+ - `slice-04-spec-validation-scope-and-worktree-reliability`
38
+
39
+ These can run in parallel because their primary write scopes are different.
40
+
41
+ ### Wave 2 - Parallel after slice-01
42
+
43
+ - `slice-02-structured-technical-plan-contract-and-repair-flow`
44
+ - `slice-03-active-slice-reconciliation-and-ai-inspect`
45
+ - `slice-05-review-plan-closure-and-agent-dx`
46
+
47
+ These depend on the run/approval model being clarified.
48
+
49
+ ### Wave 3 - Sequential close
50
+
51
+ 1. `slice-06-backward-compatibility-docs-and-release-readiness`
52
+
53
+ This slice must run last because it validates compatibility, docs, package smoke, and final coverage.
54
+
55
+ ## Parallel Safety Notes
56
+
57
+ - Do not run slices in parallel if `slice-00` finds that their write scopes overlap more than currently expected.
58
+ - `slice-02` and `slice-05` may both touch planning prompts; if `slice-00` identifies overlap, run `slice-02` before `slice-05`.
59
+ - `slice-06` is never parallel-safe.
60
+
@@ -0,0 +1,132 @@
1
+ # Quiver v28 - Pixel Quiver Feedback Reconciliation
2
+
3
+ **Date:** 2026-05-25
4
+ **Status:** Completed
5
+ **Source:** Pixel Quiver dogfooding follow-up after `create-quiver@0.13.0`
6
+
7
+ Slice numbering resets here. This spec intentionally starts at `slice-00`.
8
+
9
+ ## Problem
10
+
11
+ Pixel Quiver produced a second set of framework feedback after Quiver v27 shipped in `create-quiver@0.13.0`. The repository source of truth says v27 already covered `QP-001` to `QP-019` and `QIS-001` to `QIS-022`, but the Pixel Quiver files still list several of those items as open and add later issues around `spec create`, repair flows, active-slice reconciliation, worktrees, and `ai inspect`.
12
+
13
+ The risk is implementing duplicate fixes or missing regressions. Quiver needs a reconciliation-first spec that verifies what v27 truly covers, then fixes only the remaining, partial, regressed, or newly observed gaps.
14
+
15
+ ## Objective
16
+
17
+ Reconcile Pixel Quiver feedback against the current Quiver implementation, then harden the unresolved workflow gaps across AI runs, approvals, structured technical plans, active-slice state, spec validation, worktrees, plan reviews, agent DX, documentation, and release readiness.
18
+
19
+ ## Evidence Sources
20
+
21
+ Primary input files:
22
+
23
+ - `/Users/fabrijk/Documents/Work/Proyectos Personales/nika/Pixel Quiver/QUIVER_PROBLEMS.md`
24
+ - `/Users/fabrijk/Documents/Work/Proyectos Personales/nika/Pixel Quiver/QUIVER_IMPROVEMENT_SUGGESTIONS.md`
25
+ - `/Users/fabrijk/Documents/Work/Proyectos Personales/nika/Pixel Quiver/QUIVER_FRAMEWORK_IMPROVEMENTS.md`
26
+
27
+ Repository source-of-truth files:
28
+
29
+ - `README_FOR_AI.md`
30
+ - `ROADMAP.md`
31
+ - `BACKLOG.md`
32
+ - `specs/quiver-v27-reliability-ai-workflow-hardening/**`
33
+
34
+ ## Core Decisions
35
+
36
+ - Do not reimplement v27 behavior blindly.
37
+ - `slice-00` must freeze and reconcile evidence before implementation slices start.
38
+ - Each finding must end as `verified-resolved`, `fixed`, `documented-risk`, `duplicate`, or `out-of-scope-with-reason`.
39
+ - No npm publication or PR creation is included in this spec.
40
+ - Changes must remain backward compatible by default unless a stricter mode is explicitly documented.
41
+ - `--dry-run` behavior must remain read-only.
42
+ - Machine-readable output must be valid without stripping human logs.
43
+
44
+ ## Scope
45
+
46
+ ### Included
47
+
48
+ - Reconciliation matrix for all supplied Pixel Quiver `QP-*`, `QIS-*`, and framework improvement sections.
49
+ - AI run lifecycle and approval clarity.
50
+ - Clean AI command output and raw provider log persistence.
51
+ - Structured `spec.slices[]` contract for technical plans.
52
+ - Safe repair path for approved technical plans with missing structure.
53
+ - Active-slice multi-source reconciliation.
54
+ - `ai inspect` behavior after manual/fallback spec creation.
55
+ - `spec validate`, `check-slice`, `spec status`, `spec start`, scope, and worktree reliability.
56
+ - Structured `ai review-plan` closure metadata.
57
+ - Agent command DX using `npx --yes create-quiver@<version>`.
58
+ - Cross-platform help, docs, fixtures, tests, smoke coverage, and release readiness.
59
+
60
+ ### Excluded
61
+
62
+ - Pixel Quiver application changes.
63
+ - Building a web dashboard inside Quiver core.
64
+ - Publishing npm.
65
+ - Opening a PR.
66
+ - Removing legacy compatibility without migration.
67
+ - Storing provider credentials.
68
+
69
+ ## Acceptance Criteria
70
+
71
+ 1. Given v27 claims coverage for earlier findings, when `slice-00` completes, then every supplied finding is classified with evidence as resolved, partial, pending, regression, duplicate, or out of scope.
72
+ 2. Given a finding is already resolved by v27, when the final matrix is produced, then it is not reimplemented unless a regression test proves it still fails.
73
+ 3. Given a finding is pending or partial, when implementation starts, then it is mapped to exactly one primary slice and at least one validation artifact.
74
+ 4. Given an AI run is active, when another run is created or inspected, then Quiver avoids mixing scopes and shows the next safe action.
75
+ 5. Given approvals exist across multiple runs, when `ai approvals` runs, then active, historical, stale, orphaned, and run-specific approvals are distinguishable.
76
+ 6. Given `ai onboard`, `ai plan`, or provider-backed commands run, when output is shown, then useful human output is separated from raw logs and redacted raw artifacts are persisted separately.
77
+ 7. Given a technical plan is generated, when it is approved or used by `spec create`, then it contains a parseable structured `spec.slices[]` contract or fails before writing files.
78
+ 8. Given an approved plan lacks required structure, when the user requests repair, then Quiver can create a derived draft without mutating the approved artifact and requires review plus approval.
79
+ 9. Given active slice state exists in multiple files, when reconciliation runs, then Quiver reports all sources and supports safe dry-run decisions: preserve, close, replace, or block.
80
+ 10. Given a spec was created manually or by fallback, when `ai inspect` runs, then it reconciles existing specs and suggests `spec validate`, `next`, or `ai prompt-slice` instead of stale `spec create`.
81
+ 11. Given `spec validate` runs, when slices are structurally invalid for execution, then the command detects the relevant `check-slice --local` failures or reports them as strict warnings.
82
+ 12. Given a spec worktree path is missing, stale, dirty, or not listed by Git, when `spec status` runs, then the command reports the real state and recovery guidance.
83
+ 13. Given `spec start --dry-run` finds a dirty checkout, when it fails, then it lists blocking files and safe options without modifying state.
84
+ 14. Given `ai review-plan` runs, when it finishes, then it emits structured metadata for blocking status, approval recommendation, required fixes, optional hardening, and next command.
85
+ 15. Given generated examples target agents, when commands are printed, then non-interactive versioned examples use `npx --yes create-quiver@<version>`.
86
+ 16. Given docs are updated, when the spec closes, then `README_FOR_AI.md`, `README.md`, `CHANGELOG.md`, and `ROADMAP.md` do not contradict the implemented state.
87
+ 17. Given final validation runs, when release readiness is checked, then source tests and package/tarball smoke evidence are recorded.
88
+
89
+ ## Technical Plan
90
+
91
+ 1. Freeze evidence and create the reconciliation matrix before implementation.
92
+ 2. Add focused fixtures for unresolved or regressed cases.
93
+ 3. Harden AI run state and approvals before touching spec generation.
94
+ 4. Enforce the structured technical-plan contract and repair path.
95
+ 5. Add active-slice reconciliation and stale `ai inspect` recovery.
96
+ 6. Align validation gates and worktree reporting.
97
+ 7. Add plan-review closure metadata and agent-friendly command examples.
98
+ 8. Close with compatibility tests, documentation sync, smoke coverage, and release evidence.
99
+
100
+ ## Slice Roadmap
101
+
102
+ | Slice | Title | Status | Dependencies |
103
+ |---|---|---|---|
104
+ | slice-00 | Reconciliation and evidence freeze | completed | none |
105
+ | slice-01 | AI run state, approvals, and clean output | completed | slice-00 |
106
+ | slice-02 | Structured technical plan contract and repair flow | completed | slice-00, slice-01 |
107
+ | slice-03 | Active slice reconciliation and AI inspect | completed | slice-00, slice-01 |
108
+ | slice-04 | Spec validation, scope, and worktree reliability | completed | slice-00 |
109
+ | slice-05 | Review-plan closure and agent DX | completed | slice-00, slice-01 |
110
+ | slice-06 | Backward compatibility, docs, and release readiness | completed | slice-01, slice-02, slice-03, slice-04, slice-05 |
111
+
112
+ ## Validation Strategy
113
+
114
+ - `node --test tests/**/*.test.js`
115
+ - `npm run smoke:doctor-fixtures`
116
+ - `npm run smoke:guided-workflow`
117
+ - `npm run smoke:create-quiver`
118
+ - `npm run package:quiver`
119
+ - package/tarball smoke from a temporary directory
120
+ - `git diff --check`
121
+ - JSON parse validation for all `slice.json`
122
+ - `npx create-quiver spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation`
123
+ - `npx create-quiver check-handoff` for each execution and closure brief
124
+
125
+ ## Risks
126
+
127
+ - Some findings may already be fixed by v27 and only stale in Pixel Quiver docs.
128
+ - Tightening validation can break older project specs if strict behavior is not gated.
129
+ - AI lifecycle changes can affect existing `.quiver/runs` and `.quiver/approvals` state.
130
+ - Worktree changes can affect users with in-flight branches.
131
+ - Real dogfooding evidence contains absolute local paths and must not be copied into fixtures without sanitization.
132
+ - Local non-package files can accidentally enter npm tarballs unless ignored; v28 added `*.pdf` to `.npmignore` after package dry-run evidence.
@@ -0,0 +1,36 @@
1
+ # Status - Quiver v28 Pixel Quiver Feedback Reconciliation
2
+
3
+ ## Overall Status
4
+
5
+ - Phase: Final validation complete
6
+ - Progress: 100%
7
+ - Current recommended slice: none
8
+ - Source evidence: Pixel Quiver feedback files after `create-quiver@0.13.0`
9
+
10
+ ## Slices
11
+
12
+ | Slice | Title | Status | Progress | Dependencies |
13
+ |---|---|---|---:|---|
14
+ | slice-00 | Reconciliation and evidence freeze | completed | 100% | none |
15
+ | slice-01 | AI run state, approvals, and clean output | completed | 100% | slice-00 |
16
+ | slice-02 | Structured technical plan contract and repair flow | completed | 100% | slice-00, slice-01 |
17
+ | slice-03 | Active slice reconciliation and AI inspect | completed | 100% | slice-00, slice-01 |
18
+ | slice-04 | Spec validation, scope, and worktree reliability | completed | 100% | slice-00 |
19
+ | slice-05 | Review-plan closure and agent DX | completed | 100% | slice-00, slice-01 |
20
+ | slice-06 | Backward compatibility, docs, and release readiness | completed | 100% | slice-01, slice-02, slice-03, slice-04, slice-05 |
21
+
22
+ ## Blockers
23
+
24
+ - None.
25
+
26
+ ## Known Production Concerns
27
+
28
+ - v27 already covers part of the Pixel Quiver feedback; remaining slices must not duplicate verified-resolved work.
29
+ - Pixel Quiver evidence contains absolute local paths and must remain evidence only unless sanitized into fixtures.
30
+ - Backward compatibility for existing `.quiver/runs`, `.quiver/approvals`, active-slice docs, and worktree state is mandatory.
31
+ - Tightening validation must avoid breaking older specs by default; strict behavior should be explicit when needed.
32
+ - A local PDF in the repo root was detected by `npm pack --dry-run`; `.npmignore` now excludes `*.pdf` to avoid accidental package publication.
33
+
34
+ ## Next Step
35
+
36
+ Prepare the PR/release decision outside this spec. npm publication and PR creation were intentionally not performed here.
@@ -0,0 +1,128 @@
1
+ # Quiver v28 - Pixel Quiver Feedback Reconciliation
2
+
3
+ ## Title
4
+
5
+ Quiver v28 - Pixel Quiver Feedback Reconciliation
6
+
7
+ ## Summary
8
+
9
+ - Reconciles Pixel Quiver dogfooding findings against the current Quiver implementation.
10
+ - Fixes unresolved AI lifecycle, approvals, spec creation, active-slice, validation, worktree, plan-review, and agent-DX gaps.
11
+ - Adds regression coverage, documentation updates, smoke evidence, and package-readiness checks.
12
+ - Keeps v28 changes in `Unreleased`; no npm publication is claimed by this PR.
13
+
14
+ ## Scope
15
+
16
+ - `slice-00`: evidence freeze and reconciliation matrix.
17
+ - `slice-01`: AI run state, approvals, and clean output.
18
+ - `slice-02`: structured technical-plan contract and repair flow.
19
+ - `slice-03`: active-slice reconciliation and `ai inspect` recovery.
20
+ - `slice-04`: spec validation, scope, and worktree reliability.
21
+ - `slice-05`: review-plan closure and agent DX.
22
+ - `slice-06`: docs, compatibility checks, smoke tests, and release readiness.
23
+
24
+ ## Files
25
+
26
+ - `src/create-quiver/commands/ai.js`
27
+ - `src/create-quiver/commands/spec.js`
28
+ - `src/create-quiver/index.js`
29
+ - `src/create-quiver/lib/ai/**`
30
+ - `src/create-quiver/lib/project-state-resolver.js`
31
+ - `src/create-quiver/lib/spec-worktrees.js`
32
+ - `tests/commands/**`
33
+ - `tests/lib/**`
34
+ - `README.md`
35
+ - `README_FOR_AI.md`
36
+ - `CHANGELOG.md`
37
+ - `ROADMAP.md`
38
+ - `docs/*.template`
39
+ - `.npmignore`
40
+ - `specs/quiver-v28-pixel-quiver-feedback-reconciliation/**`
41
+
42
+ ## How to Test (DETAILED - REQUIRED)
43
+
44
+ ### Required Environment
45
+
46
+ - Node.js and npm available locally.
47
+ - Git repository checkout with access to the Quiver remote.
48
+ - `gh` is required only for PR operations, not for source validation.
49
+
50
+ ### Worktree Access
51
+
52
+ Run from the repository root:
53
+
54
+ ```bash
55
+ cd /Users/fabrijk/Documents/Work/Proyectos\ Personales/nika/frameworks/quiver
56
+ ```
57
+
58
+ ### Run the Project
59
+
60
+ This PR changes the `create-quiver` CLI. Use direct Node execution or npm scripts from the repo root:
61
+
62
+ ```bash
63
+ node bin/create-quiver.js --help
64
+ node bin/create-quiver.js ai --help
65
+ ```
66
+
67
+ ### Use Cases
68
+
69
+ Validate the main updated workflows:
70
+
71
+ ```bash
72
+ node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation --strict
73
+ node bin/create-quiver.js next --all-ready --spec quiver-v28-pixel-quiver-feedback-reconciliation
74
+ ```
75
+
76
+ Expected result:
77
+
78
+ - Spec validation passes.
79
+ - `next --all-ready` reports no ready slices after v28 closure.
80
+
81
+ ### Technical Verification
82
+
83
+ Run:
84
+
85
+ ```bash
86
+ node --test tests/**/*.test.js
87
+ npm run smoke:doctor-fixtures
88
+ npm run smoke:guided-workflow
89
+ npm run smoke:create-quiver
90
+ npm run package:quiver
91
+ npm pack --dry-run --json
92
+ git diff --check
93
+ ```
94
+
95
+ Expected result:
96
+
97
+ - All tests pass.
98
+ - Smoke commands pass.
99
+ - Package smoke passes.
100
+ - `npm pack --dry-run --json` does not include local PDF files.
101
+ - `git diff --check` returns no whitespace errors.
102
+
103
+ ## Evidence
104
+
105
+ Recorded in `specs/quiver-v28-pixel-quiver-feedback-reconciliation/EVIDENCE_REPORT.md`.
106
+
107
+ Latest validation evidence:
108
+
109
+ - `node --test tests/**/*.test.js` passed with `376` tests.
110
+ - `npm run smoke:doctor-fixtures` passed with `13` fixture states.
111
+ - `npm run smoke:guided-workflow` passed.
112
+ - `npm run smoke:create-quiver` passed.
113
+ - `npm run package:quiver` passed.
114
+ - `npm pack --dry-run --json` passed with no `.pdf` files in the package.
115
+ - `git diff --check` passed.
116
+ - `node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation --strict` passed.
117
+ - `node bin/create-quiver.js check-slice --local specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-06-backward-compatibility-docs-and-release-readiness/slice.json` passed.
118
+
119
+ ## Rollback
120
+
121
+ Revert this PR. No migration, npm publication, external service change, or credential storage change is included.
122
+
123
+ ## Risks / Notes
124
+
125
+ - v28 tightens validation and approval gates. Backward compatibility was preserved by keeping stricter behavior behind explicit validation and review paths where possible.
126
+ - Existing local `.quiver/` state may expose more precise stale-run or active-slice diagnostics after this change.
127
+ - `.npmignore` now excludes `*.pdf` because package dry-run showed a local requirements PDF would otherwise be included in the npm tarball.
128
+ - npm publication is intentionally out of scope for this PR.
@@ -0,0 +1,44 @@
1
+ # CLOSURE BRIEF - slice-00: Reconciliation and evidence freeze
2
+
3
+ ## Summary
4
+
5
+ Completed the mandatory reconciliation slice for Quiver v28. The Pixel Quiver feedback files were frozen with hashes/timestamps, all supplied `QP-*`, `QIS-*`, and narrative framework-improvement sections were classified, and the execution mapping for remaining slices was updated.
6
+
7
+ ## Validation
8
+
9
+ Passed:
10
+
11
+ - `git diff --check`
12
+ - JSON parse validation for v28 `slice.json` files
13
+ - `node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation`
14
+ - `node bin/create-quiver.js spec validate specs/quiver-v28-pixel-quiver-feedback-reconciliation --strict`
15
+ - `node bin/create-quiver.js check-slice --local specs/quiver-v28-pixel-quiver-feedback-reconciliation/slices/slice-00-reconciliation-and-evidence-freeze/slice.json`
16
+ - `node bin/create-quiver.js next --all-ready --spec quiver-v28-pixel-quiver-feedback-reconciliation`
17
+ - `node bin/create-quiver.js plan --spec quiver-v28-pixel-quiver-feedback-reconciliation --json`
18
+
19
+ ## Relevant Changes
20
+
21
+ - Replaced the initial planning matrix in `COVERAGE_MATRIX.md` with evidence-backed classifications.
22
+ - Updated `EVIDENCE_REPORT.md` with frozen source hashes, timestamps, inspected evidence, and remaining validation requirements.
23
+ - Updated `STATUS.md` and `SPEC.md` so `slice-00` is completed and Wave 1 slices are ready.
24
+ - Marked `slice-01` and `slice-04` as ready in their `slice.json` files.
25
+ - Expanded `slice-05` scope to own GitHub auth/alias recovery copy, compact executor handoff guidance, and agent-safe command examples.
26
+
27
+ ## Pending Work
28
+
29
+ - `slice-01`: AI run state, approvals, and clean output.
30
+ - `slice-04`: spec validation, scope, and worktree reliability.
31
+ - `slice-02`, `slice-03`, and `slice-05` remain blocked until `slice-01` completes.
32
+ - `slice-06` remains the final documentation, compatibility, and release-readiness pass.
33
+
34
+ ## Remaining Risks
35
+
36
+ - Some v27-covered findings may still need regression tests if implementation slices touch nearby behavior.
37
+ - Pixel Quiver evidence contains absolute local paths and must not be copied into fixtures without sanitization.
38
+ - Framework ideas such as graph conflict summaries and browser-based visual validation are documented as future work, not v28 blockers.
39
+
40
+ ## Future Recommendations
41
+
42
+ - Keep all implementation slices anchored to `COVERAGE_MATRIX.md`.
43
+ - Do not start `slice-02`, `slice-03`, or `slice-05` until `slice-01` clarifies run and approval state.
44
+ - If a later slice finds that a `verified-resolved` item still fails in code, update the matrix before implementing the fix.
@@ -0,0 +1,56 @@
1
+ # EXECUTION BRIEF - slice-00: Reconciliation and evidence freeze
2
+
3
+ ## Context
4
+
5
+ Pixel Quiver produced a follow-up set of Quiver framework findings after `create-quiver@0.13.0`. `README_FOR_AI.md` says v27 already covered part of that set, so this slice must verify reality before code changes.
6
+
7
+ ## Objective
8
+
9
+ Freeze the input evidence and produce the final reconciliation matrix for v28.
10
+
11
+ ## Scope
12
+
13
+ - `specs/quiver-v28-pixel-quiver-feedback-reconciliation/**`
14
+ - `README_FOR_AI.md`
15
+ - `ROADMAP.md`
16
+ - `CHANGELOG.md`
17
+
18
+ ## Acceptance Criteria
19
+
20
+ - Every finding from the supplied files is classified with evidence.
21
+ - Pending or partial findings map to one implementation slice.
22
+ - Already-resolved findings are not scheduled for duplicate work.
23
+ - No product code changes are made.
24
+
25
+ ## Technical Plan Summary
26
+
27
+ Read the supplied Pixel Quiver files, compare them with v27 docs/code/tests, update the coverage matrix, and finalize the slice plan.
28
+
29
+ ## Suggested Execution Steps
30
+
31
+ 1. Record evidence source paths, timestamps, and hashes where practical.
32
+ 2. Compare each finding against v27 docs, source, and tests.
33
+ 3. Update `COVERAGE_MATRIX.md`.
34
+ 4. Update `STATUS.md`, `EVIDENCE_REPORT.md`, and `CLOSURE_BRIEF.md`.
35
+ 5. Validate JSON and spec structure.
36
+
37
+ ## Restrictions
38
+
39
+ - Do not modify product code.
40
+ - Do not publish npm.
41
+ - Do not open a PR.
42
+ - Do not mark a finding resolved without evidence.
43
+
44
+ ## Risks
45
+
46
+ - Reimplementing v27 behavior would create noise and possible regressions.
47
+ - Pixel Quiver files may be stale relative to the current Quiver source.
48
+
49
+ ## Completion Checklist
50
+
51
+ - [ ] Evidence freeze complete.
52
+ - [ ] Matrix final statuses assigned.
53
+ - [ ] Implementation slices adjusted if needed.
54
+ - [ ] JSON validation passed.
55
+ - [ ] Spec validation passed.
56
+