create-quiver 0.15.4 → 0.17.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 (199) hide show
  1. package/.github/pull_request_template.md +17 -0
  2. package/.github/workflows/ci.yml +76 -0
  3. package/.markdown-link-check.json +15 -0
  4. package/.markdownlint.json +11 -0
  5. package/ARCHITECTURE.md +133 -0
  6. package/CHANGELOG.md +16 -0
  7. package/CONTRIBUTING.md +174 -9
  8. package/README.md +17 -2
  9. package/README_FOR_AI.md +4 -1
  10. package/ROADMAP.md +4 -0
  11. package/SECURITY.md +9 -2
  12. package/docs/AI_CONTEXT.md.es.template +3 -1
  13. package/docs/AI_CONTEXT.md.template +3 -1
  14. package/docs/CLI_UX_GUIDE.md +20 -1
  15. package/docs/COMMANDS.md.template +20 -6
  16. package/docs/GITFLOW_PR_GUIDE.md +73 -11
  17. package/docs/GITFLOW_PR_GUIDE.md.es.template +61 -2
  18. package/docs/GITFLOW_PR_GUIDE.md.template +72 -10
  19. package/docs/INDEX.md +6 -1
  20. package/docs/QUICK.md.template +2 -1
  21. package/docs/STANDARD.md.template +2 -1
  22. package/docs/WORKFLOW.md.es.template +3 -1
  23. package/docs/WORKFLOW.md.template +6 -4
  24. package/docs/getting-started/installation.md +7 -0
  25. package/docs/reference/commands.md +138 -6
  26. package/docs/reference/slice-schema.md +37 -0
  27. package/docs/schema/slice.schema.json +221 -0
  28. package/docs/specs/01-spec/01-slice/01-slice.json +36 -0
  29. package/docs/specs/01-spec/01-slice/01-slice.md +106 -0
  30. package/docs/specs/01-spec/01-slice/CLOSURE_BRIEF.md +80 -0
  31. package/docs/specs/01-spec/01-slice/EXECUTION_BRIEF.md +39 -0
  32. package/docs/specs/01-spec/02-slice/02-slice.json +36 -0
  33. package/docs/specs/01-spec/02-slice/02-slice.md +108 -0
  34. package/docs/specs/01-spec/02-slice/CLOSURE_BRIEF.md +88 -0
  35. package/docs/specs/01-spec/02-slice/EXECUTION_BRIEF.md +40 -0
  36. package/docs/specs/01-spec/03-slice/03-slice.json +36 -0
  37. package/docs/specs/01-spec/03-slice/03-slice.md +103 -0
  38. package/docs/specs/01-spec/03-slice/CLOSURE_BRIEF.md +54 -0
  39. package/docs/specs/01-spec/03-slice/EXECUTION_BRIEF.md +39 -0
  40. package/docs/specs/01-spec/04-slice/04-slice.json +36 -0
  41. package/docs/specs/01-spec/04-slice/04-slice.md +107 -0
  42. package/docs/specs/01-spec/04-slice/CLOSURE_BRIEF.md +46 -0
  43. package/docs/specs/01-spec/04-slice/EXECUTION_BRIEF.md +39 -0
  44. package/docs/specs/01-spec/05-slice/05-slice.json +36 -0
  45. package/docs/specs/01-spec/05-slice/05-slice.md +106 -0
  46. package/docs/specs/01-spec/05-slice/CLOSURE_BRIEF.md +84 -0
  47. package/docs/specs/01-spec/05-slice/EXECUTION_BRIEF.md +109 -0
  48. package/docs/specs/01-spec/06-slice/06-slice.json +36 -0
  49. package/docs/specs/01-spec/06-slice/06-slice.md +107 -0
  50. package/docs/specs/01-spec/06-slice/CLOSURE_BRIEF.md +67 -0
  51. package/docs/specs/01-spec/06-slice/EXECUTION_BRIEF.md +39 -0
  52. package/docs/specs/01-spec/07-slice/07-slice.json +36 -0
  53. package/docs/specs/01-spec/07-slice/07-slice.md +105 -0
  54. package/docs/specs/01-spec/07-slice/CLOSURE_BRIEF.md +71 -0
  55. package/docs/specs/01-spec/07-slice/EXECUTION_BRIEF.md +39 -0
  56. package/docs/specs/01-spec/08-slice/08-slice.json +36 -0
  57. package/docs/specs/01-spec/08-slice/08-slice.md +105 -0
  58. package/docs/specs/01-spec/08-slice/CLOSURE_BRIEF.md +114 -0
  59. package/docs/specs/01-spec/08-slice/EXECUTION_BRIEF.md +39 -0
  60. package/docs/specs/01-spec/CLOSURE_BRIEF.md +87 -0
  61. package/docs/specs/01-spec/spec.md +197 -0
  62. package/docs/workflows/full-ai-spec-to-pr.md +46 -3
  63. package/i18n/es/docs/GITFLOW_PR_GUIDE.md.template +38 -1
  64. package/package.json +27 -1
  65. package/scripts/package-quiver.sh +82 -2
  66. package/scripts/release-quiver.sh +14 -3
  67. package/specs/[project-name]/slices/pr.md.template +19 -0
  68. package/specs/quiver-v43-cli-i18n-audit-release-readiness/command-language-mode-matrix.json +122 -1
  69. package/specs/quiver-v46-deep-project-analysis/EVIDENCE_REPORT.md +94 -0
  70. package/specs/quiver-v46-deep-project-analysis/EXECUTION_PLAN.md +26 -0
  71. package/specs/quiver-v46-deep-project-analysis/SPEC.md +157 -0
  72. package/specs/quiver-v46-deep-project-analysis/STATUS.md +26 -0
  73. package/specs/quiver-v46-deep-project-analysis/pr.md +131 -0
  74. package/specs/quiver-v46-deep-project-analysis/slices/slice-00-analysis-contract-foundation/CLOSURE_BRIEF.md +14 -0
  75. package/specs/quiver-v46-deep-project-analysis/slices/slice-00-analysis-contract-foundation/EXECUTION_BRIEF.md +41 -0
  76. package/specs/quiver-v46-deep-project-analysis/slices/slice-00-analysis-contract-foundation/slice.json +61 -0
  77. package/specs/quiver-v46-deep-project-analysis/slices/slice-01-stack-agnostic-discovery-sampling/CLOSURE_BRIEF.md +22 -0
  78. package/specs/quiver-v46-deep-project-analysis/slices/slice-01-stack-agnostic-discovery-sampling/EXECUTION_BRIEF.md +33 -0
  79. package/specs/quiver-v46-deep-project-analysis/slices/slice-01-stack-agnostic-discovery-sampling/slice.json +80 -0
  80. package/specs/quiver-v46-deep-project-analysis/slices/slice-02-provider-analysis-json-contract/CLOSURE_BRIEF.md +21 -0
  81. package/specs/quiver-v46-deep-project-analysis/slices/slice-02-provider-analysis-json-contract/EXECUTION_BRIEF.md +34 -0
  82. package/specs/quiver-v46-deep-project-analysis/slices/slice-02-provider-analysis-json-contract/slice.json +79 -0
  83. package/specs/quiver-v46-deep-project-analysis/slices/slice-03-doc-proposal-review-safe-writes/CLOSURE_BRIEF.md +19 -0
  84. package/specs/quiver-v46-deep-project-analysis/slices/slice-03-doc-proposal-review-safe-writes/EXECUTION_BRIEF.md +33 -0
  85. package/specs/quiver-v46-deep-project-analysis/slices/slice-03-doc-proposal-review-safe-writes/slice.json +79 -0
  86. package/specs/quiver-v46-deep-project-analysis/slices/slice-04-validation-docs-release-readiness/CLOSURE_BRIEF.md +20 -0
  87. package/specs/quiver-v46-deep-project-analysis/slices/slice-04-validation-docs-release-readiness/EXECUTION_BRIEF.md +32 -0
  88. package/specs/quiver-v46-deep-project-analysis/slices/slice-04-validation-docs-release-readiness/slice.json +85 -0
  89. package/specs/quiver-v50-audit-trust-foundation/EVIDENCE_REPORT.md +151 -0
  90. package/specs/quiver-v50-audit-trust-foundation/EXECUTION_PLAN.md +34 -0
  91. package/specs/quiver-v50-audit-trust-foundation/SPEC.md +113 -0
  92. package/specs/quiver-v50-audit-trust-foundation/STATUS.md +26 -0
  93. package/specs/quiver-v50-audit-trust-foundation/pr.md +120 -0
  94. package/specs/quiver-v50-audit-trust-foundation/slices/slice-00-audit-baseline-and-resolved-findings/CLOSURE_BRIEF.md +20 -0
  95. package/specs/quiver-v50-audit-trust-foundation/slices/slice-00-audit-baseline-and-resolved-findings/EXECUTION_BRIEF.md +58 -0
  96. package/specs/quiver-v50-audit-trust-foundation/slices/slice-00-audit-baseline-and-resolved-findings/slice.json +57 -0
  97. package/specs/quiver-v50-audit-trust-foundation/slices/slice-01-runtime-minimum-and-package-metadata/CLOSURE_BRIEF.md +24 -0
  98. package/specs/quiver-v50-audit-trust-foundation/slices/slice-01-runtime-minimum-and-package-metadata/EXECUTION_BRIEF.md +67 -0
  99. package/specs/quiver-v50-audit-trust-foundation/slices/slice-01-runtime-minimum-and-package-metadata/slice.json +71 -0
  100. package/specs/quiver-v50-audit-trust-foundation/slices/slice-02-migrate-write-safety-contract/CLOSURE_BRIEF.md +24 -0
  101. package/specs/quiver-v50-audit-trust-foundation/slices/slice-02-migrate-write-safety-contract/EXECUTION_BRIEF.md +71 -0
  102. package/specs/quiver-v50-audit-trust-foundation/slices/slice-02-migrate-write-safety-contract/slice.json +81 -0
  103. package/specs/quiver-v50-audit-trust-foundation/slices/slice-03-security-reporting-channel/CLOSURE_BRIEF.md +22 -0
  104. package/specs/quiver-v50-audit-trust-foundation/slices/slice-03-security-reporting-channel/EXECUTION_BRIEF.md +57 -0
  105. package/specs/quiver-v50-audit-trust-foundation/slices/slice-03-security-reporting-channel/slice.json +56 -0
  106. package/specs/quiver-v50-audit-trust-foundation/slices/slice-04-user-facing-i18n-error-coverage/CLOSURE_BRIEF.md +23 -0
  107. package/specs/quiver-v50-audit-trust-foundation/slices/slice-04-user-facing-i18n-error-coverage/EXECUTION_BRIEF.md +68 -0
  108. package/specs/quiver-v50-audit-trust-foundation/slices/slice-04-user-facing-i18n-error-coverage/slice.json +84 -0
  109. package/specs/quiver-v50-audit-trust-foundation/slices/slice-05-init-analyze-progress-and-summaries/CLOSURE_BRIEF.md +25 -0
  110. package/specs/quiver-v50-audit-trust-foundation/slices/slice-05-init-analyze-progress-and-summaries/EXECUTION_BRIEF.md +73 -0
  111. package/specs/quiver-v50-audit-trust-foundation/slices/slice-05-init-analyze-progress-and-summaries/slice.json +72 -0
  112. package/specs/quiver-v50-audit-trust-foundation/slices/slice-06-contributor-and-architecture-docs/CLOSURE_BRIEF.md +22 -0
  113. package/specs/quiver-v50-audit-trust-foundation/slices/slice-06-contributor-and-architecture-docs/EXECUTION_BRIEF.md +66 -0
  114. package/specs/quiver-v50-audit-trust-foundation/slices/slice-06-contributor-and-architecture-docs/slice.json +74 -0
  115. package/specs/quiver-v50-audit-trust-foundation/slices/slice-07-ci-and-documentation-lint-baseline/CLOSURE_BRIEF.md +29 -0
  116. package/specs/quiver-v50-audit-trust-foundation/slices/slice-07-ci-and-documentation-lint-baseline/EXECUTION_BRIEF.md +74 -0
  117. package/specs/quiver-v50-audit-trust-foundation/slices/slice-07-ci-and-documentation-lint-baseline/slice.json +81 -0
  118. package/specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md +145 -0
  119. package/specs/quiver-v51-cli-ergonomics-automation-contracts/EXECUTION_PLAN.md +32 -0
  120. package/specs/quiver-v51-cli-ergonomics-automation-contracts/SPEC.md +109 -0
  121. package/specs/quiver-v51-cli-ergonomics-automation-contracts/STATUS.md +25 -0
  122. package/specs/quiver-v51-cli-ergonomics-automation-contracts/pr.md +69 -0
  123. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-00-cli-contract-baseline/CLOSURE_BRIEF.md +20 -0
  124. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-00-cli-contract-baseline/EXECUTION_BRIEF.md +58 -0
  125. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-00-cli-contract-baseline/slice.json +56 -0
  126. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-01-flow-json-compatibility/CLOSURE_BRIEF.md +21 -0
  127. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-01-flow-json-compatibility/EXECUTION_BRIEF.md +61 -0
  128. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-01-flow-json-compatibility/slice.json +68 -0
  129. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/CLOSURE_BRIEF.md +25 -0
  130. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/EXECUTION_BRIEF.md +65 -0
  131. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/pr.md +134 -0
  132. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/slice.json +80 -0
  133. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/CLOSURE_BRIEF.md +31 -0
  134. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/EXECUTION_BRIEF.md +80 -0
  135. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/pr.md +159 -0
  136. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/slice.json +102 -0
  137. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/CLOSURE_BRIEF.md +25 -0
  138. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/EXECUTION_BRIEF.md +74 -0
  139. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/pr.md +147 -0
  140. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json +91 -0
  141. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/CLOSURE_BRIEF.md +28 -0
  142. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/EXECUTION_BRIEF.md +73 -0
  143. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/pr.md +146 -0
  144. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/slice.json +100 -0
  145. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/CLOSURE_BRIEF.md +36 -0
  146. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/EXECUTION_BRIEF.md +76 -0
  147. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/pr.md +155 -0
  148. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/slice.json +111 -0
  149. package/specs/quiver-v52-schema-docs-release-hygiene/EVIDENCE_REPORT.md +95 -0
  150. package/specs/quiver-v52-schema-docs-release-hygiene/EXECUTION_PLAN.md +31 -0
  151. package/specs/quiver-v52-schema-docs-release-hygiene/SPEC.md +107 -0
  152. package/specs/quiver-v52-schema-docs-release-hygiene/STATUS.md +22 -0
  153. package/specs/quiver-v52-schema-docs-release-hygiene/pr.md +69 -0
  154. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-00-schema-docs-release-baseline/CLOSURE_BRIEF.md +21 -0
  155. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-00-schema-docs-release-baseline/EXECUTION_BRIEF.md +60 -0
  156. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-00-schema-docs-release-baseline/slice.json +62 -0
  157. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/CLOSURE_BRIEF.md +34 -0
  158. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/EXECUTION_BRIEF.md +71 -0
  159. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/pr.md +146 -0
  160. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/slice.json +106 -0
  161. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/CLOSURE_BRIEF.md +33 -0
  162. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/EXECUTION_BRIEF.md +67 -0
  163. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/pr.md +144 -0
  164. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/slice.json +86 -0
  165. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/CLOSURE_BRIEF.md +38 -0
  166. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/EXECUTION_BRIEF.md +75 -0
  167. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/pr.md +159 -0
  168. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/slice.json +105 -0
  169. package/src/create-quiver/commands/ai.js +521 -0
  170. package/src/create-quiver/commands/changelog.js +93 -0
  171. package/src/create-quiver/commands/config.js +16 -5
  172. package/src/create-quiver/commands/evidence.js +33 -2
  173. package/src/create-quiver/commands/flow.js +1 -0
  174. package/src/create-quiver/commands/graph.js +8 -2
  175. package/src/create-quiver/commands/plan.js +6 -0
  176. package/src/create-quiver/commands/spec.js +28 -13
  177. package/src/create-quiver/index.js +408 -98
  178. package/src/create-quiver/lib/ai/analyze-project-discovery.js +387 -0
  179. package/src/create-quiver/lib/ai/analyze-project-docs.js +364 -0
  180. package/src/create-quiver/lib/ai/analyze-project-parser.js +277 -0
  181. package/src/create-quiver/lib/ai/analyze-project-prompts.js +214 -0
  182. package/src/create-quiver/lib/ai/analyze-project-review.js +99 -0
  183. package/src/create-quiver/lib/ai/analyze-project-sampling.js +402 -0
  184. package/src/create-quiver/lib/ai/analyze-project-schema.js +92 -0
  185. package/src/create-quiver/lib/ai/analyze-project-validation.js +309 -0
  186. package/src/create-quiver/lib/ai/artifacts.js +4 -1
  187. package/src/create-quiver/lib/ai/github.js +5 -2
  188. package/src/create-quiver/lib/ai/spec-templates.js +19 -0
  189. package/src/create-quiver/lib/cli/command-registry.js +72 -0
  190. package/src/create-quiver/lib/cli/parser.js +14 -0
  191. package/src/create-quiver/lib/evidence.js +161 -6
  192. package/src/create-quiver/lib/git.js +99 -0
  193. package/src/create-quiver/lib/i18n/messages/en.js +52 -7
  194. package/src/create-quiver/lib/i18n/messages/es.js +54 -9
  195. package/src/create-quiver/lib/init-docs.js +1 -1
  196. package/src/create-quiver/lib/init-layout.js +9 -8
  197. package/src/create-quiver/lib/lifecycle.js +24 -26
  198. package/src/create-quiver/lib/readiness.js +67 -56
  199. package/src/create-quiver/lib/spec-worktrees.js +16 -34
@@ -0,0 +1,61 @@
1
+ {
2
+ "slice_id": "slice-00-analysis-contract-foundation",
3
+ "ticket": "QUIVER-46-00",
4
+ "type": "documentation",
5
+ "title": "Analysis contract foundation",
6
+ "objective": "Create the approved v46 spec package and implementation handoffs for deep project analysis without implementing runtime code.",
7
+ "description": "Documents the user-approved acceptance criteria, production review additions, technical plan, slice roadmap, and handoffs for the new ai analyze-project workflow.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v46-analysis-contract-foundation",
12
+ "branch_name": "feature/QUIVER-46-00-v46-analysis-contract-foundation"
13
+ },
14
+ "files": [
15
+ "specs/quiver-v46-deep-project-analysis/**"
16
+ ],
17
+ "expected_read_paths": [
18
+ "README_FOR_AI.md",
19
+ "docs/reference/commands.md",
20
+ "specs/quiver-v44-provider-live-output-tui-lite/SPEC.md",
21
+ "src/create-quiver/commands/ai.js",
22
+ "src/create-quiver/lib/ai/onboarding-template.js"
23
+ ],
24
+ "allowed_write_paths": [
25
+ "specs/quiver-v46-deep-project-analysis/**"
26
+ ],
27
+ "depends_on": [],
28
+ "parallel_safe": "no",
29
+ "parallel_safe_reason": "Foundation defines the contract for all later v46 slices.",
30
+ "must": [
31
+ "Create SPEC.md, STATUS.md, EXECUTION_PLAN.md, EVIDENCE_REPORT.md, pr.md, and all slice handoffs.",
32
+ "Capture approved acceptance criteria and production review additions.",
33
+ "Keep runtime implementation code untouched.",
34
+ "Make default read-only, privacy preflight, evidence validation, and safe writes explicit guardrails."
35
+ ],
36
+ "not_included": [
37
+ "Runtime CLI parser implementation.",
38
+ "Discovery or sampling implementation.",
39
+ "Provider execution.",
40
+ "Doc write implementation."
41
+ ],
42
+ "acceptance": [
43
+ "Spec package exists under specs/quiver-v46-deep-project-analysis.",
44
+ "Every slice directory includes slice.json, EXECUTION_BRIEF.md, and CLOSURE_BRIEF.md.",
45
+ "The package records that runtime implementation has not started.",
46
+ "No source code implementation files are modified by this slice."
47
+ ],
48
+ "tests": [
49
+ "node -e \"const fs=require('fs'); for (const f of fs.globSync('specs/quiver-v46-deep-project-analysis/slices/*/slice.json')) JSON.parse(fs.readFileSync(f,'utf8')); console.log('slice json ok')\"",
50
+ "git diff --check"
51
+ ],
52
+ "validation_hints": [
53
+ "Validate JSON parseability for every slice file.",
54
+ "Inspect git diff to confirm only v46 spec files changed for this slice."
55
+ ],
56
+ "estimated_hours": 1,
57
+ "status": "completed",
58
+ "blocked_reason": null,
59
+ "actual_hours": 1,
60
+ "completed_at": "2026-06-10"
61
+ }
@@ -0,0 +1,22 @@
1
+ # CLOSURE_BRIEF - slice-01 Stack-agnostic discovery and sampling
2
+
3
+ ## Summary
4
+
5
+ Implemented the read-only `ai analyze-project` command shell plus deterministic, stack-agnostic discovery and semantic sampling. The command reports selected files, omitted files, budgets, workspace roots, detected configs/entrypoints/scripts, and safety exclusions without provider execution or persistent writes.
6
+
7
+ ## Validation
8
+
9
+ - [x] `node --test tests/commands/ai-analyze-project.test.js`
10
+ - [x] `node --test tests/lib/ai-analyze-project-discovery.test.js`
11
+ - [x] `node --test tests/commands/cli-contract.test.js`
12
+ - [x] `node --test`
13
+ - [x] `node bin/create-quiver.js ai analyze-project --dry-run`
14
+ - [x] `node bin/create-quiver.js ai analyze-project --dry-run --json`
15
+ - [x] `git diff --check`
16
+
17
+ ## Closure Notes
18
+
19
+ - Adapter-specific hooks were deferred to later slices; the current implementation uses a generic heuristic scorer with stable output fields.
20
+ - `--deep` enables source and DB sampling. Tests remain opt-in through `--include-tests`.
21
+ - JSON output includes full selected/omitted detail for automation; human output caps long lists while preserving reason summaries.
22
+ - No `.quiver` runtime state is created by the new command in slice-01.
@@ -0,0 +1,33 @@
1
+ # EXECUTION_BRIEF - slice-01 Stack-agnostic discovery and sampling
2
+
3
+ ## Context
4
+
5
+ This slice starts runtime implementation for the new `ai analyze-project` command but keeps it deterministic and read-only. It must not execute a provider and must not write files.
6
+
7
+ ## Objective
8
+
9
+ Create the command shell, dry-run output, discovery, sampling, budgets, scope handling, and safety exclusions needed before any AI provider work can be added.
10
+
11
+ ## Acceptance Criteria
12
+
13
+ - `ai analyze-project` exists and is read-only by default.
14
+ - `--dry-run` writes no files and runs no provider.
15
+ - Human output lists selected files, omitted files, budgets, roots, scope, safety exclusions, and next commands.
16
+ - `--json` produces clean machine-readable output.
17
+ - Sampling respects `--max-files`, `--max-bytes`, `--include-source`, `--include-tests`, `--include-db`, and `--scope`.
18
+ - Secrets, dependencies, caches, build outputs, `.git`, binary files, and outside-repo symlinks are excluded.
19
+ - Monorepo/workspace roots are reported.
20
+
21
+ ## Production Guardrails
22
+
23
+ - `--json` is format only; it must not imply writes or provider execution.
24
+ - No-TTY behavior must not wait for interaction.
25
+ - Symlinks must be omitted unless they resolve inside the repo and an explicit future mode supports following them.
26
+
27
+ ## Completion Checklist
28
+
29
+ - [ ] Parser and command dispatch added.
30
+ - [ ] Discovery/sampling module added.
31
+ - [ ] Dry-run report implemented.
32
+ - [ ] Fixtures and tests added.
33
+ - [ ] No provider or write path introduced.
@@ -0,0 +1,80 @@
1
+ {
2
+ "slice_id": "slice-01-stack-agnostic-discovery-sampling",
3
+ "ticket": "QUIVER-46-01",
4
+ "type": "feature",
5
+ "title": "Stack-agnostic discovery and sampling",
6
+ "objective": "Add the read-only ai analyze-project command shell plus deterministic discovery and semantic sampling without provider execution or writes.",
7
+ "description": "Introduces the safe default command behavior, dry-run reports, stack-agnostic source discovery, scope support, budgets, safety exclusions, and selected/omitted file explanations.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v46-discovery-sampling",
12
+ "branch_name": "feature/QUIVER-46-01-v46-discovery-sampling"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/index.js",
16
+ "src/create-quiver/commands/ai.js",
17
+ "src/create-quiver/lib/ai/analyze-project-discovery.js",
18
+ "src/create-quiver/lib/ai/analyze-project-sampling.js",
19
+ "src/create-quiver/lib/ai/safety.js",
20
+ "tests/**"
21
+ ],
22
+ "expected_read_paths": [
23
+ "src/create-quiver/index.js",
24
+ "src/create-quiver/commands/ai.js",
25
+ "src/create-quiver/lib/ai/safety.js",
26
+ "src/create-quiver/lib/project-scan.js",
27
+ "src/create-quiver/lib/project-state-resolver.js",
28
+ "tests/commands"
29
+ ],
30
+ "allowed_write_paths": [
31
+ "src/create-quiver/index.js",
32
+ "src/create-quiver/commands/ai.js",
33
+ "src/create-quiver/lib/ai/analyze-project-discovery.js",
34
+ "src/create-quiver/lib/ai/analyze-project-sampling.js",
35
+ "src/create-quiver/lib/ai/safety.js",
36
+ "tests/**",
37
+ "specs/quiver-v46-deep-project-analysis/**"
38
+ ],
39
+ "depends_on": [
40
+ "slice-00-analysis-contract-foundation"
41
+ ],
42
+ "parallel_safe": "no",
43
+ "parallel_safe_reason": "This slice establishes command shape and discovery contracts used by all later slices.",
44
+ "must": [
45
+ "Add ai analyze-project parser and read-only default behavior.",
46
+ "Implement --dry-run and --json output without provider execution or writes.",
47
+ "Implement --max-files, --max-bytes, --include-source, --include-tests, --include-db, and --scope planning behavior.",
48
+ "Select representative files using stack-agnostic semantic signals.",
49
+ "Report selected files, omitted files, budgets, safety exclusions, symlink handling, and analyzed roots.",
50
+ "Never include secrets, .git, node_modules, caches, build outputs, binary files, or outside-repo symlinks."
51
+ ],
52
+ "not_included": [
53
+ "Provider prompt execution.",
54
+ "AI JSON schema parsing.",
55
+ "Doc update writes.",
56
+ "Review/editor flow."
57
+ ],
58
+ "acceptance": [
59
+ "Running ai analyze-project with no write flags is read-only.",
60
+ "Running ai analyze-project --dry-run writes no files and runs no provider.",
61
+ "Dry-run human output explains selected files and omitted files with reasons.",
62
+ "Dry-run JSON output is machine-readable and not contaminated by human UI.",
63
+ "Budgets and include flags change the sampling plan predictably.",
64
+ "Monorepo/workspace roots are reported and --scope restricts analysis.",
65
+ "Symlinks are not followed by default and outside-repo symlinks are omitted."
66
+ ],
67
+ "tests": [
68
+ "node --test tests/commands/ai-analyze-project.test.js",
69
+ "node --test tests/lib/ai-analyze-project-discovery.test.js",
70
+ "git diff --check"
71
+ ],
72
+ "validation_hints": [
73
+ "Use fixtures for Next/Supabase, unknown stack, monorepo, symlink, binary, and secret paths.",
74
+ "Assert no .quiver/runs directory is created by dry-run."
75
+ ],
76
+ "estimated_hours": 8,
77
+ "status": "completed",
78
+ "completed_at": "2026-06-10",
79
+ "blocked_reason": null
80
+ }
@@ -0,0 +1,21 @@
1
+ # CLOSURE_BRIEF - slice-02 Provider analysis JSON contract
2
+
3
+ ## Summary
4
+
5
+ Implemented provider-backed analysis for `ai analyze-project` without documentation writes. Live mode builds a redacted evidence prompt, runs privacy preflight before provider execution, requires JSON-only output, validates schema, validates evidence paths against the selected sample, downgrades confirmed claims backed by truncated files, and returns a redacted size-limited provider artifact in memory/stdout.
6
+
7
+ ## Validation
8
+
9
+ - [x] `node --test tests/commands/ai-analyze-project-provider.test.js`
10
+ - [x] `node --test tests/lib/ai-analyze-project-schema.test.js`
11
+ - [x] `node --test tests/lib/ai-analyze-project-parser.test.js`
12
+ - [x] `node --test`
13
+ - [x] `git diff --check`
14
+
15
+ ## Closure Notes
16
+
17
+ - Provider failure, timeout-style non-ok results, malformed JSON, invalid schema, invalid evidence paths, and unapproved doc update paths fail before any filesystem write.
18
+ - `confirmed`, `inferred`, and `conflict` conclusions require evidence from the selected sample. `unknown` may omit evidence.
19
+ - Claims citing truncated files cannot remain `confirmed`; they are downgraded to `inferred` with validation warnings.
20
+ - Provider artifacts are redacted and size-limited but not persisted in this slice. Persistence/snapshots are deferred to slice-03.
21
+ - Doc update proposal content is validated as JSON data only; converting it into files is deferred to slice-03.
@@ -0,0 +1,34 @@
1
+ # EXECUTION_BRIEF - slice-02 Provider analysis JSON contract
2
+
3
+ ## Context
4
+
5
+ The command can already plan discovery and sampling in read-only mode after slice-01. This slice adds provider-backed analysis but must still not write documentation.
6
+
7
+ ## Objective
8
+
9
+ Run the provider only after privacy preflight, then parse and validate evidence-backed JSON analysis.
10
+
11
+ ## Acceptance Criteria
12
+
13
+ - Provider execution requires privacy preflight approval.
14
+ - Provider prompt requires JSON only.
15
+ - JSON schema validates product, domain, architecture, features, risks, questions, claims, and doc update proposals.
16
+ - Evidence paths exist in the selected sample or are rejected/downgraded.
17
+ - Truncated-file claims cannot be `confirmed`.
18
+ - Invalid JSON, invalid schema, provider failure, timeout, or privacy failure writes no files.
19
+ - Artifacts are redacted and size-limited.
20
+
21
+ ## Production Guardrails
22
+
23
+ - Do not persist unredacted provider output.
24
+ - Do not convert JSON into docs yet.
25
+ - Do not mark weak or missing evidence as confirmed.
26
+ - Keep `--json` output clean.
27
+
28
+ ## Completion Checklist
29
+
30
+ - [ ] Prompt added.
31
+ - [ ] Schema added.
32
+ - [ ] Parser and evidence validator added.
33
+ - [ ] Privacy preflight wired before provider execution.
34
+ - [ ] Provider tests added.
@@ -0,0 +1,79 @@
1
+ {
2
+ "slice_id": "slice-02-provider-analysis-json-contract",
3
+ "ticket": "QUIVER-46-02",
4
+ "type": "feature",
5
+ "title": "Provider analysis JSON contract",
6
+ "objective": "Add privacy-gated provider execution and validated JSON analysis output with confidence and evidence rules.",
7
+ "description": "Builds the provider prompt, schema, parser, evidence validation, confidence enforcement, truncation rules, and invalid-output no-write behavior for ai analyze-project.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v46-provider-analysis-json",
12
+ "branch_name": "feature/QUIVER-46-02-v46-provider-analysis-json"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/analyze-project-schema.js",
17
+ "src/create-quiver/lib/ai/analyze-project-prompts.js",
18
+ "src/create-quiver/lib/ai/analyze-project-parser.js",
19
+ "src/create-quiver/lib/ai/artifacts.js",
20
+ "tests/**"
21
+ ],
22
+ "expected_read_paths": [
23
+ "src/create-quiver/lib/ai/providers.js",
24
+ "src/create-quiver/lib/ai/preflight.js",
25
+ "src/create-quiver/lib/ai/artifacts.js",
26
+ "src/create-quiver/commands/ai.js",
27
+ "src/create-quiver/lib/ai/context-proposal.schema.js"
28
+ ],
29
+ "allowed_write_paths": [
30
+ "src/create-quiver/commands/ai.js",
31
+ "src/create-quiver/lib/ai/analyze-project-schema.js",
32
+ "src/create-quiver/lib/ai/analyze-project-prompts.js",
33
+ "src/create-quiver/lib/ai/analyze-project-parser.js",
34
+ "src/create-quiver/lib/ai/artifacts.js",
35
+ "tests/**",
36
+ "specs/quiver-v46-deep-project-analysis/**"
37
+ ],
38
+ "depends_on": [
39
+ "slice-01-stack-agnostic-discovery-sampling"
40
+ ],
41
+ "parallel_safe": "no",
42
+ "parallel_safe_reason": "Provider execution depends on deterministic sampling and privacy preflight from slice-01.",
43
+ "must": [
44
+ "Add privacy preflight before any provider execution.",
45
+ "Build a prompt that requires JSON only, evidence-backed claims, and no unsupported assertions.",
46
+ "Validate provider JSON against schema before any write or proposal conversion.",
47
+ "Validate evidence paths against selected sampled files.",
48
+ "Enforce confidence rules, including that truncated-file claims cannot be confirmed.",
49
+ "Fail without writes on invalid JSON, invalid paths, unsupported model, provider failure, timeout, or privacy failure.",
50
+ "Redact sensitive content before prompt construction and artifact persistence."
51
+ ],
52
+ "not_included": [
53
+ "Writing docs updates.",
54
+ "Editor review flow.",
55
+ "Post-write validation."
56
+ ],
57
+ "acceptance": [
58
+ "Provider execution cannot start until the privacy preflight passes.",
59
+ "Invalid provider JSON fails with no filesystem writes.",
60
+ "Evidence paths are validated and missing paths are rejected or downgraded according to schema rules.",
61
+ "Claims include confidence and evidence where required.",
62
+ "Truncated inputs prevent confirmed confidence.",
63
+ "Provider output artifacts are redacted and size-limited."
64
+ ],
65
+ "tests": [
66
+ "node --test tests/commands/ai-analyze-project-provider.test.js",
67
+ "node --test tests/lib/ai-analyze-project-schema.test.js",
68
+ "node --test tests/lib/ai-analyze-project-parser.test.js",
69
+ "git diff --check"
70
+ ],
71
+ "validation_hints": [
72
+ "Use fake provider output for valid JSON, invalid JSON, invented evidence, conflict claims, and truncated evidence.",
73
+ "Assert no docs are written by this slice."
74
+ ],
75
+ "estimated_hours": 10,
76
+ "status": "completed",
77
+ "completed_at": "2026-06-10",
78
+ "blocked_reason": null
79
+ }
@@ -0,0 +1,19 @@
1
+ # CLOSURE_BRIEF - slice-03 Doc proposal review and safe writes
2
+
3
+ ## Summary
4
+
5
+ Implemented safe documentation writes for `ai analyze-project --review`. Validated analysis is converted into a constrained doc proposal, edited as JSON, revalidated, diffed, and written only after explicit confirmation. Writes are limited to approved Markdown docs, preserve human-authored content through a managed block, report dirty target files before confirmation, and create `.quiver/runs` snapshots, manifests, before/after hashes, restore hints, and redacted raw artifacts before mutating docs.
6
+
7
+ ## Validation
8
+
9
+ - [x] `node --test tests/commands/ai-analyze-project-review.test.js`
10
+ - [x] `node --test tests/lib/ai-analyze-project-docs.test.js`
11
+ - [x] `node --test`
12
+ - [x] `git diff --check`
13
+
14
+ ## Closure Notes
15
+
16
+ - Managed-block strategy: Quiver owns only the block between `<!-- quiver:analyze-project:start -->` and `<!-- quiver:analyze-project:end -->`. Existing human content outside that block is preserved.
17
+ - `docs/PROJECT_MAP.md` uses the same constrained managed-block path as other approved docs; product code, lockfiles, configs, and dependency files remain denied for writes.
18
+ - Restore guidance is stored per changed file in the snapshot manifest with original snapshots and before/after hashes.
19
+ - No-TTY review, review cancellation, invalid edited proposals, path traversal, oversized docs, dirty targets, and declined confirmation leave target docs unchanged.
@@ -0,0 +1,33 @@
1
+ # EXECUTION_BRIEF - slice-03 Doc proposal review and safe writes
2
+
3
+ ## Context
4
+
5
+ The provider can return validated project analysis JSON after slice-02. This slice is the first one allowed to write docs, but only through review and safe snapshots.
6
+
7
+ ## Objective
8
+
9
+ Turn validated analysis into reviewable documentation updates and write them safely after explicit approval.
10
+
11
+ ## Acceptance Criteria
12
+
13
+ - Only approved Markdown docs can be updated.
14
+ - `docs/PROJECT_MAP.md` remains deterministic or receives only constrained managed-block content.
15
+ - Human-authored content is preserved.
16
+ - `--review` opens an editable proposal, revalidates it, shows a final diff, and asks for confirmation.
17
+ - Canceling review writes nothing.
18
+ - Non-TTY review fails with actionable guidance.
19
+ - Writes create `.quiver/runs` snapshots, manifest, before/after hashes, and redacted artifacts.
20
+ - Dirty target docs are reported before writing.
21
+
22
+ ## Production Guardrails
23
+
24
+ - Product code, lockfiles, configs, and dependency files are denylisted for writes.
25
+ - Path traversal and oversized doc updates must fail closed.
26
+ - Raw provider artifacts must be redacted before persistence.
27
+
28
+ ## Completion Checklist
29
+
30
+ - [ ] Doc proposal conversion added.
31
+ - [ ] Review/edit/final-diff flow added.
32
+ - [ ] Safe write and snapshot logic added.
33
+ - [ ] Cancel/no-TTY/dirty path behavior tested.
@@ -0,0 +1,79 @@
1
+ {
2
+ "slice_id": "slice-03-doc-proposal-review-safe-writes",
3
+ "ticket": "QUIVER-46-03",
4
+ "type": "feature",
5
+ "title": "Doc proposal review and safe writes",
6
+ "objective": "Convert validated analysis into reviewable doc updates and write only approved docs with snapshots and manifests.",
7
+ "description": "Adds doc update proposal generation, review/edit/final-diff/confirm flow, managed blocks or safe merge behavior, safe writes, snapshot manifests, hashes, and restore guidance.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v46-doc-review-safe-writes",
12
+ "branch_name": "feature/QUIVER-46-03-v46-doc-review-safe-writes"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
17
+ "src/create-quiver/lib/ai/analyze-project-review.js",
18
+ "src/create-quiver/lib/ai/run-state.js",
19
+ "src/create-quiver/lib/ai/artifacts.js",
20
+ "tests/**"
21
+ ],
22
+ "expected_read_paths": [
23
+ "src/create-quiver/commands/ai.js",
24
+ "src/create-quiver/lib/ai/run-state.js",
25
+ "src/create-quiver/lib/ai/artifacts.js",
26
+ "src/create-quiver/lib/cli/editor.js",
27
+ "src/create-quiver/lib/approvals.js"
28
+ ],
29
+ "allowed_write_paths": [
30
+ "src/create-quiver/commands/ai.js",
31
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
32
+ "src/create-quiver/lib/ai/analyze-project-review.js",
33
+ "src/create-quiver/lib/ai/run-state.js",
34
+ "src/create-quiver/lib/ai/artifacts.js",
35
+ "tests/**",
36
+ "specs/quiver-v46-deep-project-analysis/**"
37
+ ],
38
+ "depends_on": [
39
+ "slice-02-provider-analysis-json-contract"
40
+ ],
41
+ "parallel_safe": "no",
42
+ "parallel_safe_reason": "Safe writes depend on validated provider analysis and must define the user-visible mutation contract.",
43
+ "must": [
44
+ "Convert validated analysis into doc updates for approved paths only.",
45
+ "Keep docs/PROJECT_MAP.md deterministic or constrain AI content to a managed block.",
46
+ "Preserve human-authored content using stable managed blocks or safe merge rules.",
47
+ "Implement --review editor flow with schema revalidation after edit.",
48
+ "Show final diff and require explicit confirmation before writing.",
49
+ "Cancel cleanly without writes.",
50
+ "Create .quiver/runs snapshots, manifests, before/after hashes, redacted raw artifacts, and restore guidance.",
51
+ "Handle no-TTY review attempts with actionable errors."
52
+ ],
53
+ "not_included": [
54
+ "Final public docs polish.",
55
+ "Release readiness smokes.",
56
+ "Post-write placeholder/conflict validation beyond write-time safety checks."
57
+ ],
58
+ "acceptance": [
59
+ "Doc updates target only whitelisted Markdown paths.",
60
+ "Review edit is revalidated before final diff.",
61
+ "Canceling review leaves the repo unchanged.",
62
+ "Approved writes create snapshots and manifest entries for every changed file.",
63
+ "Dirty target docs are reported before writing and require explicit confirmation or a documented flag.",
64
+ ".quiver/runs artifacts are redacted and ignored from git."
65
+ ],
66
+ "tests": [
67
+ "node --test tests/commands/ai-analyze-project-review.test.js",
68
+ "node --test tests/lib/ai-analyze-project-docs.test.js",
69
+ "git diff --check"
70
+ ],
71
+ "validation_hints": [
72
+ "Test review cancel, invalid edited JSON, no-TTY review, dirty target docs, path traversal, oversized doc updates, and snapshot manifests.",
73
+ "Confirm product code paths cannot be written."
74
+ ],
75
+ "estimated_hours": 10,
76
+ "status": "completed",
77
+ "completed_at": "2026-06-10",
78
+ "blocked_reason": null
79
+ }
@@ -0,0 +1,20 @@
1
+ # CLOSURE_BRIEF - slice-04 Validation, docs, fixtures, and release readiness
2
+
3
+ ## Summary
4
+
5
+ Implemented the release-readiness layer for `ai analyze-project`: post-write validation, public docs, fixture coverage, command matrix updates, and package readiness hardening. Validation now checks analysis/doc proposal schemas, evidence paths, managed-block presence, critical placeholders, snapshot manifest entries, and deterministic conflicts between `docs/PROJECT_MAP.md` and context docs. `--strict` turns important deterministic doc conflicts into errors. Public docs now describe read-only defaults, privacy exclusions, provider/review gates, budgets, scope, JSON output, limitations, and safe write behavior.
6
+
7
+ ## Validation
8
+
9
+ - [x] `node --test`
10
+ - [x] `npm run smoke:create-quiver`
11
+ - [x] `npm run package:quiver`
12
+ - [x] `node bin/create-quiver.js spec validate specs/quiver-v46-deep-project-analysis --strict`
13
+ - [x] `git diff --check`
14
+
15
+ ## Closure Notes
16
+
17
+ - Fixture coverage is documented in `tests/fixtures/ai-analyze-project/matrix.json` and exercised by discovery, parser, provider, review, and validation tests.
18
+ - The package smoke initially failed because local `.quiver/runs` state was included in the npm tarball. `.npmignore` now excludes `.quiver/`, and package smoke passes.
19
+ - Deferred follow-up: full human-output i18n for `ai analyze-project`; this is recorded as an accepted exception in the v43 command language matrix. JSON output remains stable.
20
+ - Deferred follow-up: stack-specific adapters such as Rails, Django, Laravel, NestJS, Spring, and mobile can improve sampling later without changing the v46 schema.
@@ -0,0 +1,32 @@
1
+ # EXECUTION_BRIEF - slice-04 Validation, docs, fixtures, and release readiness
2
+
3
+ ## Context
4
+
5
+ The feature can discover, analyze, review, and safely write docs after slices 01-03. This final slice makes the behavior releasable and documented.
6
+
7
+ ## Objective
8
+
9
+ Add post-write validation, public docs, fixtures, smokes, and final release-readiness evidence.
10
+
11
+ ## Acceptance Criteria
12
+
13
+ - Post-write validation checks schema, placeholders, evidence paths, deterministic-doc conflicts, and strict-mode behavior.
14
+ - `--strict` turns important conflicts into errors.
15
+ - Public docs explain read-only default, privacy preflight, review/write gates, budgets, scope, limitations, and JSON output.
16
+ - Fixtures cover Next/Supabase, unknown stack, monorepo, secrets, binaries, large repo, no package manager, symlinks, truncation, and invalid provider JSON.
17
+ - Package and smoke validation pass.
18
+ - v46 evidence report and status are updated.
19
+
20
+ ## Production Guardrails
21
+
22
+ - Do not claim perfect project understanding.
23
+ - Document insufficient-evidence behavior and `--input <requirements.md>` usage.
24
+ - Preserve clean automation output.
25
+
26
+ ## Completion Checklist
27
+
28
+ - [ ] Validation module added.
29
+ - [ ] Docs updated.
30
+ - [ ] Fixtures and smokes added.
31
+ - [ ] Final evidence captured.
32
+ - [ ] Spec marked ready/completed as appropriate.
@@ -0,0 +1,85 @@
1
+ {
2
+ "slice_id": "slice-04-validation-docs-release-readiness",
3
+ "ticket": "QUIVER-46-04",
4
+ "type": "release-readiness",
5
+ "title": "Validation, docs, fixtures, and release readiness",
6
+ "objective": "Complete post-write validation, public documentation, fixtures, smokes, and release evidence for ai analyze-project.",
7
+ "description": "Adds consistency validation, placeholder checks, docs updates, command reference updates, fixture coverage, smoke tests, and final package readiness evidence.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v46-validation-docs-readiness",
12
+ "branch_name": "feature/QUIVER-46-04-v46-validation-docs-readiness"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
17
+ ".npmignore",
18
+ "docs/**",
19
+ "README.md",
20
+ "README_FOR_AI.md",
21
+ "tests/**",
22
+ "scripts/ci/**",
23
+ "specs/quiver-v46-deep-project-analysis/**"
24
+ ],
25
+ "expected_read_paths": [
26
+ "docs/CLI_UX_GUIDE.md",
27
+ "docs/reference/commands.md",
28
+ "README.md",
29
+ "README_FOR_AI.md",
30
+ "scripts/ci",
31
+ "tests"
32
+ ],
33
+ "allowed_write_paths": [
34
+ "src/create-quiver/commands/ai.js",
35
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
36
+ ".npmignore",
37
+ "docs/**",
38
+ "README.md",
39
+ "README_FOR_AI.md",
40
+ "tests/**",
41
+ "scripts/ci/**",
42
+ "specs/quiver-v46-deep-project-analysis/**"
43
+ ],
44
+ "depends_on": [
45
+ "slice-03-doc-proposal-review-safe-writes"
46
+ ],
47
+ "parallel_safe": "no",
48
+ "parallel_safe_reason": "Final validation and docs depend on the completed runtime behavior.",
49
+ "must": [
50
+ "Validate post-write schema and evidence paths.",
51
+ "Check placeholders and doc conflicts, with --strict converting important conflicts to errors.",
52
+ "Document command usage, safe defaults, privacy preflight, review flow, JSON output, budgets, scope, and limitations.",
53
+ "Add fixture coverage for Next/Supabase, unknown stack, monorepo, secrets, binary files, large repo, no package manager, symlinks, truncation, and invalid provider JSON.",
54
+ "Update command reference and AI guidance.",
55
+ "Capture final validation evidence."
56
+ ],
57
+ "not_included": [
58
+ "New product feature implementation in target projects.",
59
+ "Full language-specific AST indexing.",
60
+ "Provider-specific account setup docs beyond existing Quiver provider guidance."
61
+ ],
62
+ "acceptance": [
63
+ "Post-write validation reports schema, placeholders, evidence path issues, and doc conflicts.",
64
+ "--strict turns important conflicts into failures.",
65
+ "Public docs describe default read-only behavior and explicit write gates.",
66
+ "Fixtures cover production-risk edge cases.",
67
+ "Package and smoke validation pass.",
68
+ "Spec status and evidence report are updated with final commands."
69
+ ],
70
+ "tests": [
71
+ "node --test tests/**/*.test.js",
72
+ "npm run smoke:create-quiver",
73
+ "npm run package:quiver",
74
+ "node bin/create-quiver.js spec validate specs/quiver-v46-deep-project-analysis --strict",
75
+ "git diff --check"
76
+ ],
77
+ "validation_hints": [
78
+ "Run docs command reference checks if available.",
79
+ "Verify --json output remains clean in every tested mode."
80
+ ],
81
+ "estimated_hours": 8,
82
+ "status": "completed",
83
+ "completed_at": "2026-06-10",
84
+ "blocked_reason": null
85
+ }