create-quiver 0.17.4 → 0.17.6

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 (53) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/docs/CLI_UX_GUIDE.md +7 -0
  3. package/docs/TROUBLESHOOTING.md +62 -0
  4. package/docs/reference/commands.md +16 -0
  5. package/docs/workflows/existing-project-ai-quiver-setup.md +0 -1
  6. package/docs/workflows/existing-project.md +1 -0
  7. package/package.json +1 -1
  8. package/specs/quiver-v43-cli-i18n-audit-release-readiness/command-language-mode-matrix.json +1 -0
  9. package/specs/quiver-v56-analyze-project-usable-doc-merge/EVIDENCE_REPORT.md +11 -0
  10. package/specs/quiver-v56-analyze-project-usable-doc-merge/EXECUTION_PLAN.md +28 -0
  11. package/specs/quiver-v56-analyze-project-usable-doc-merge/SPEC.md +96 -0
  12. package/specs/quiver-v56-analyze-project-usable-doc-merge/STATUS.md +26 -0
  13. package/specs/quiver-v56-analyze-project-usable-doc-merge/pr.md +56 -0
  14. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-01-document-classification-merge-engine/CLOSURE_BRIEF.md +61 -0
  15. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-01-document-classification-merge-engine/EXECUTION_BRIEF.md +59 -0
  16. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-01-document-classification-merge-engine/pr.md +61 -0
  17. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-01-document-classification-merge-engine/slice.json +71 -0
  18. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-02-apply-integration-validation-contract/CLOSURE_BRIEF.md +30 -0
  19. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-02-apply-integration-validation-contract/EXECUTION_BRIEF.md +39 -0
  20. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-02-apply-integration-validation-contract/pr.md +62 -0
  21. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-02-apply-integration-validation-contract/slice.json +80 -0
  22. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-03-cli-docs-real-fixture-smoke/CLOSURE_BRIEF.md +29 -0
  23. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-03-cli-docs-real-fixture-smoke/EXECUTION_BRIEF.md +32 -0
  24. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-03-cli-docs-real-fixture-smoke/pr.md +61 -0
  25. package/specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-03-cli-docs-real-fixture-smoke/slice.json +79 -0
  26. package/specs/quiver-v57-evidence-budget-recovery-ux/EVIDENCE_REPORT.md +27 -0
  27. package/specs/quiver-v57-evidence-budget-recovery-ux/EXECUTION_PLAN.md +41 -0
  28. package/specs/quiver-v57-evidence-budget-recovery-ux/SPEC.md +139 -0
  29. package/specs/quiver-v57-evidence-budget-recovery-ux/STATUS.md +20 -0
  30. package/specs/quiver-v57-evidence-budget-recovery-ux/pr.md +124 -0
  31. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/CLOSURE_BRIEF.md +22 -0
  32. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/EXECUTION_BRIEF.md +58 -0
  33. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/pr.md +12 -0
  34. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-01-recovery-contract-security-classifier/slice.json +60 -0
  35. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/CLOSURE_BRIEF.md +9 -0
  36. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/EXECUTION_BRIEF.md +54 -0
  37. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/pr.md +12 -0
  38. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-02-budget-command-recommendation/slice.json +60 -0
  39. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/CLOSURE_BRIEF.md +10 -0
  40. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/EXECUTION_BRIEF.md +58 -0
  41. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/pr.md +13 -0
  42. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-03-cli-json-i18n-output/slice.json +68 -0
  43. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/CLOSURE_BRIEF.md +14 -0
  44. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/EXECUTION_BRIEF.md +55 -0
  45. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/pr.md +14 -0
  46. package/specs/quiver-v57-evidence-budget-recovery-ux/slices/slice-04-integration-fixtures-docs-release-smoke/slice.json +65 -0
  47. package/src/create-quiver/commands/ai.js +132 -2
  48. package/src/create-quiver/lib/ai/analyze-project-docs.js +284 -4
  49. package/src/create-quiver/lib/ai/analyze-project-proposal.js +11 -0
  50. package/src/create-quiver/lib/ai/analyze-project-recovery.js +736 -0
  51. package/src/create-quiver/lib/ai/analyze-project-validation.js +27 -0
  52. package/src/create-quiver/lib/i18n/messages/en.js +6 -0
  53. package/src/create-quiver/lib/i18n/messages/es.js +6 -0
@@ -0,0 +1,71 @@
1
+ {
2
+ "slice_id": "slice-01-document-classification-merge-engine",
3
+ "ticket": "QUIVER-56-01",
4
+ "type": "feature",
5
+ "title": "Document Classification + Merge Engine",
6
+ "objective": "Implement deterministic document classification and merge behavior for analyze-project docs without integrating every CLI path yet.",
7
+ "description": "Adds a shared merge engine that classifies existing docs, replaces scaffold placeholders when safe, preserves human content, consolidates managed analyze-project blocks, handles context-prep scaffolds, and records merge metadata in the write plan.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v56-doc-classification-merge-engine",
12
+ "branch_name": "feature/QUIVER-56-01-v56-doc-classification-merge-engine"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
16
+ "tests/lib/ai-analyze-project-docs.test.js",
17
+ "specs/quiver-v56-analyze-project-usable-doc-merge/**"
18
+ ],
19
+ "expected_read_paths": [
20
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
21
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
22
+ "tests/lib/ai-analyze-project-docs.test.js",
23
+ "specs/quiver-v56-analyze-project-usable-doc-merge/SPEC.md"
24
+ ],
25
+ "allowed_write_paths": [
26
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
27
+ "tests/lib/ai-analyze-project-docs.test.js",
28
+ "specs/quiver-v56-analyze-project-usable-doc-merge/**"
29
+ ],
30
+ "depends_on": [],
31
+ "parallel_safe": "never",
32
+ "parallel_safe_reason": "This slice defines the shared merge contract that every later integration path must use.",
33
+ "must": [
34
+ "Classify docs as scaffold, partial_scaffold, human_content, managed_only, mixed, or unknown.",
35
+ "Detect critical placeholders in English and Spanish using explicit known patterns only.",
36
+ "Preserve parseable frontmatter.",
37
+ "Replace scaffold primary content with proposed content.",
38
+ "Preserve human content and avoid deleting significant non-placeholder text.",
39
+ "Replace existing analyze-project block instead of duplicating it.",
40
+ "Handle context-prep scaffold blocks so they do not remain as confusing primary content.",
41
+ "Expose merge metadata on write plan items.",
42
+ "Keep the merge idempotent for the same input and proposal."
43
+ ],
44
+ "not_included": [
45
+ "CLI output copy changes.",
46
+ "Post-write strict validation changes.",
47
+ "Review selector changes.",
48
+ "Saved proposal merge-plan persistence.",
49
+ "Live nika-erp smoke."
50
+ ],
51
+ "acceptance": [
52
+ "A Quiver scaffold CONTEXTO.md with Spanish placeholders is replaced as primary visible content.",
53
+ "A partial scaffold preserves completed human sections and replaces placeholder sections.",
54
+ "Human content remains present after merge.",
55
+ "Existing analyze-project block is replaced, not duplicated.",
56
+ "Context-prep scaffold content is removed or superseded when analyze-project content is applied.",
57
+ "Two consecutive merges with the same proposal are stable.",
58
+ "Write plan items include classification and strategy metadata."
59
+ ],
60
+ "tests": [
61
+ "node --test tests/lib/ai-analyze-project-docs.test.js",
62
+ "node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict",
63
+ "git diff --check"
64
+ ],
65
+ "estimated_hours": 5,
66
+ "actual_hours": 5,
67
+ "status": "completed",
68
+ "blocked_reason": null,
69
+ "started_at": "2026-06-17T00:00:00.000Z",
70
+ "completed_at": "2026-06-17T00:00:00.000Z"
71
+ }
@@ -0,0 +1,30 @@
1
+ # CLOSURE_BRIEF - slice-02 Apply Integration + Validation Contract
2
+
3
+ ## Status
4
+
5
+ Completed.
6
+
7
+ ## Summary
8
+
9
+ Integrated the Slice 01 merge engine metadata into analyze-project apply, saved proposal, review, JSON, proposal manifest, write manifest, and post-write validation paths.
10
+
11
+ Key outcomes:
12
+
13
+ - Live auto-apply and `apply --run` continue to use the same `buildAnalyzeProjectWritePlan` merge engine.
14
+ - JSON/write-plan summaries now include `merge_report`.
15
+ - Saved proposal manifests now include a `merge_plan` with merge strategy metadata.
16
+ - Write manifests now persist per-action `merge_report`.
17
+ - Review output continues to show the final post-merge diff preview.
18
+ - Post-write validation now checks primary visible content and makes `--strict` fail if critical scaffold placeholders remain outside managed blocks.
19
+
20
+ ## Evidence
21
+
22
+ - `node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/ai-analyze-project-review.test.js`
23
+ - `node --test tests/lib/ai-analyze-project-docs.test.js tests/lib/ai-analyze-project-validation.test.js`
24
+ - `node --test tests/lib/ai-analyze-project-proposal.test.js`
25
+ - `node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict`
26
+ - `git diff --check`
27
+
28
+ ## Validation
29
+
30
+ Passed.
@@ -0,0 +1,39 @@
1
+ # EXECUTION_BRIEF - slice-02 Apply Integration + Validation Contract
2
+
3
+ ## Context
4
+
5
+ Slice 02 depends on the Slice 01 merge engine and wires it into every analyze-project write path.
6
+
7
+ ## Objective
8
+
9
+ Integrate the Slice 01 merge engine across all analyze-project write paths and validation reports.
10
+
11
+ ## Acceptance Criteria
12
+
13
+ - Live auto-apply and `apply --run` use the same merge logic.
14
+ - `--save-proposal` persists merge metadata or final estimated diff.
15
+ - `--review` shows final post-merge diff.
16
+ - `--json` includes merge strategy/warnings without breaking existing fields.
17
+ - `--strict` fails on critical visible placeholders.
18
+
19
+ ## Constraints
20
+
21
+ - Do not change provider schema.
22
+ - Do not widen path allowlist.
23
+ - Do not implement final nika-erp smoke here.
24
+
25
+ ## Validation
26
+
27
+ ```bash
28
+ node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/ai-analyze-project-review.test.js
29
+ node --test tests/lib/ai-analyze-project-docs.test.js tests/lib/ai-analyze-project-validation.test.js
30
+ node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict
31
+ git diff --check
32
+ ```
33
+
34
+ ## Completion Checklist
35
+
36
+ - Live apply and apply --run use the same merge engine.
37
+ - JSON reports expose merge metadata without breaking existing fields.
38
+ - Strict validation handles critical visible placeholders.
39
+ - Review diff reflects final post-merge content.
@@ -0,0 +1,62 @@
1
+ ## Title
2
+
3
+ QUIVER-56-02 apply integration validation contract
4
+
5
+ ## Summary
6
+
7
+ Integrates the merge engine into all analyze-project write paths and post-write validation.
8
+
9
+ ## PR Policy
10
+
11
+ Individual PR required.
12
+
13
+ ## Scope
14
+
15
+ Slice 02 only.
16
+
17
+ ## Files
18
+
19
+ See `slice.json`.
20
+
21
+ ## How to Test (DETAILED - REQUIRED)
22
+
23
+ ### Required Environment
24
+
25
+ Node.js/npm.
26
+
27
+ ### Worktree Access
28
+
29
+ Use the slice branch.
30
+
31
+ ### Run the Project
32
+
33
+ No dev server required.
34
+
35
+ ### Use Cases
36
+
37
+ Live apply, saved proposal apply, review diff, JSON output, strict validation.
38
+
39
+ ### Technical Verification
40
+
41
+ ```bash
42
+ node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/ai-analyze-project-review.test.js
43
+ node --test tests/lib/ai-analyze-project-docs.test.js tests/lib/ai-analyze-project-validation.test.js
44
+ node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict
45
+ git diff --check
46
+ ```
47
+
48
+ ## Evidence
49
+
50
+ - `node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/ai-analyze-project-review.test.js`: passed.
51
+ - `node --test tests/lib/ai-analyze-project-docs.test.js tests/lib/ai-analyze-project-validation.test.js`: passed.
52
+ - `node --test tests/lib/ai-analyze-project-proposal.test.js`: passed.
53
+ - `node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict`: passed.
54
+ - `git diff --check`: passed.
55
+
56
+ ## Rollback
57
+
58
+ Revert the PR.
59
+
60
+ ## Risks / Notes
61
+
62
+ Depends on Slice 01.
@@ -0,0 +1,80 @@
1
+ {
2
+ "slice_id": "slice-02-apply-integration-validation-contract",
3
+ "ticket": "QUIVER-56-02",
4
+ "type": "feature",
5
+ "title": "Apply Integration + Validation Contract",
6
+ "objective": "Integrate the merge engine across every analyze-project write path and validate visible output quality.",
7
+ "description": "Uses the shared merge engine in live auto-apply, --apply-docs, --save-proposal, --review, and apply --run paths; extends post-write validation for primary visible placeholders and exposes stable JSON merge metadata.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v56-apply-integration-validation",
12
+ "branch_name": "feature/QUIVER-56-02-v56-apply-integration-validation"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/analyze-project-apply.js",
17
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
18
+ "src/create-quiver/lib/ai/analyze-project-proposal.js",
19
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
20
+ "tests/commands/ai-analyze-project*.test.js",
21
+ "tests/lib/ai-analyze-project-*.test.js",
22
+ "specs/quiver-v56-analyze-project-usable-doc-merge/**"
23
+ ],
24
+ "expected_read_paths": [
25
+ "src/create-quiver/commands/ai.js",
26
+ "src/create-quiver/lib/ai/analyze-project-apply.js",
27
+ "src/create-quiver/lib/ai/analyze-project-proposal.js",
28
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
29
+ "specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-01-document-classification-merge-engine/CLOSURE_BRIEF.md"
30
+ ],
31
+ "allowed_write_paths": [
32
+ "src/create-quiver/commands/ai.js",
33
+ "src/create-quiver/lib/ai/analyze-project-apply.js",
34
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
35
+ "src/create-quiver/lib/ai/analyze-project-proposal.js",
36
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
37
+ "tests/commands/ai-analyze-project-provider.test.js",
38
+ "tests/commands/ai-analyze-project-review.test.js",
39
+ "tests/lib/ai-analyze-project-docs.test.js",
40
+ "tests/lib/ai-analyze-project-validation.test.js",
41
+ "specs/quiver-v56-analyze-project-usable-doc-merge/**"
42
+ ],
43
+ "depends_on": [
44
+ "slice-01-document-classification-merge-engine"
45
+ ],
46
+ "parallel_safe": "never",
47
+ "parallel_safe_reason": "All write paths must share the same merge engine; integrating before slice 01 is complete would duplicate logic.",
48
+ "must": [
49
+ "Use the same merge engine in live apply and apply --run.",
50
+ "Expose merge metadata in JSON apply reports without removing existing fields.",
51
+ "Make --save-proposal include merge-plan metadata or final diff preview.",
52
+ "Make --review show final post-merge diff.",
53
+ "Detect critical placeholders in primary visible content.",
54
+ "Make --strict fail when critical visible placeholders remain."
55
+ ],
56
+ "not_included": [
57
+ "Final docs/troubleshooting polish.",
58
+ "Live provider smoke against nika-erp.",
59
+ "Changing provider prompt semantics."
60
+ ],
61
+ "acceptance": [
62
+ "Live auto-apply and apply --run produce the same result with the same proposal.",
63
+ "--json includes merge strategy and warnings.",
64
+ "--strict fails on critical visible placeholders.",
65
+ "--save-proposal artifacts include enough merge metadata to preview the final write.",
66
+ "--review diff reflects the final post-merge write."
67
+ ],
68
+ "tests": [
69
+ "node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/ai-analyze-project-review.test.js",
70
+ "node --test tests/lib/ai-analyze-project-docs.test.js tests/lib/ai-analyze-project-validation.test.js",
71
+ "node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict",
72
+ "git diff --check"
73
+ ],
74
+ "estimated_hours": 6,
75
+ "actual_hours": 3,
76
+ "status": "completed",
77
+ "blocked_reason": null,
78
+ "started_at": "2026-06-17",
79
+ "completed_at": "2026-06-17"
80
+ }
@@ -0,0 +1,29 @@
1
+ # CLOSURE_BRIEF - slice-03 CLI UX + Docs + Real Fixture Smoke
2
+
3
+ ## Status
4
+
5
+ Completed.
6
+
7
+ ## Summary
8
+
9
+ Finished the user-facing hardening for analyze-project usable doc merges.
10
+
11
+ Key outcomes:
12
+
13
+ - Human apply/save/review output now includes compact `Merge decisions`.
14
+ - Troubleshooting explains how upgraded users recover docs that still show scaffold placeholders.
15
+ - Command reference documents the deterministic merge contract and audit manifests.
16
+ - CLI UX guide documents the merge feedback contract.
17
+ - Changelog records the user-visible behavior change and nika-erp style regression coverage.
18
+ - Deterministic provider test covers a nika-erp style `CONTEXTO.md` with visible placeholders, an old `quiver:context-prep` block, and `NIKA_ERP`/`stockflow`/`StockFlow` naming conflict signals.
19
+
20
+ ## Evidence
21
+
22
+ - `node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/cli-contract.test.js`
23
+ - `npm run docs:check`
24
+ - `node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict`
25
+ - `git diff --check`
26
+
27
+ ## Validation
28
+
29
+ Passed.
@@ -0,0 +1,32 @@
1
+ # EXECUTION_BRIEF - slice-03 CLI UX + Docs + Real Fixture Smoke
2
+
3
+ ## Context
4
+
5
+ Slice 03 depends on the integrated apply behavior from Slice 02 and focuses on user-facing output, docs, and regression evidence.
6
+
7
+ ## Objective
8
+
9
+ Finish the user-facing output, docs, and nika-erp regression coverage after Slice 02 integration.
10
+
11
+ ## Acceptance Criteria
12
+
13
+ - Output reports merge strategies and warnings.
14
+ - Docs/troubleshooting explain how to fix old placeholder-heavy docs.
15
+ - nika-erp style fixture proves final visible docs are usable.
16
+ - Name conflicts are reported.
17
+
18
+ ## Validation
19
+
20
+ ```bash
21
+ node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/cli-contract.test.js
22
+ npm run docs:check
23
+ node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict
24
+ git diff --check
25
+ ```
26
+
27
+ ## Completion Checklist
28
+
29
+ - Output copy is compact and actionable.
30
+ - Docs and troubleshooting are updated.
31
+ - Command reference is synchronized.
32
+ - nika-erp style fixture proves visible placeholders are removed.
@@ -0,0 +1,61 @@
1
+ ## Title
2
+
3
+ QUIVER-56-03 CLI docs real fixture smoke
4
+
5
+ ## Summary
6
+
7
+ Adds user-facing output, docs, and fixture smoke evidence for the usable doc merge behavior.
8
+
9
+ ## PR Policy
10
+
11
+ Individual PR required.
12
+
13
+ ## Scope
14
+
15
+ Slice 03 only.
16
+
17
+ ## Files
18
+
19
+ See `slice.json`.
20
+
21
+ ## How to Test (DETAILED - REQUIRED)
22
+
23
+ ### Required Environment
24
+
25
+ Node.js/npm.
26
+
27
+ ### Worktree Access
28
+
29
+ Use the slice branch.
30
+
31
+ ### Run the Project
32
+
33
+ No dev server required.
34
+
35
+ ### Use Cases
36
+
37
+ CLI output, docs, troubleshooting, deterministic nika-erp style fixture.
38
+
39
+ ### Technical Verification
40
+
41
+ ```bash
42
+ node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/cli-contract.test.js
43
+ npm run docs:check
44
+ node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict
45
+ git diff --check
46
+ ```
47
+
48
+ ## Evidence
49
+
50
+ - `node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/cli-contract.test.js`: passed.
51
+ - `npm run docs:check`: passed.
52
+ - `node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict`: passed.
53
+ - `git diff --check`: passed.
54
+
55
+ ## Rollback
56
+
57
+ Revert the PR.
58
+
59
+ ## Risks / Notes
60
+
61
+ Depends on Slice 02.
@@ -0,0 +1,79 @@
1
+ {
2
+ "slice_id": "slice-03-cli-docs-real-fixture-smoke",
3
+ "ticket": "QUIVER-56-03",
4
+ "type": "hardening",
5
+ "title": "CLI UX + Docs + Real Fixture Smoke",
6
+ "objective": "Make the new merge behavior understandable to users and prove the nika-erp regression is covered.",
7
+ "description": "Updates human output, docs, troubleshooting, changelog guidance, and deterministic nika-erp style fixture/smoke evidence.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v56-cli-docs-real-fixture-smoke",
12
+ "branch_name": "feature/QUIVER-56-03-v56-cli-docs-real-fixture-smoke"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/i18n/messages/en.js",
17
+ "src/create-quiver/lib/i18n/messages/es.js",
18
+ "tests/commands/ai-analyze-project*.test.js",
19
+ "tests/fixtures/analyze-project/**",
20
+ "docs/CLI_UX_GUIDE.md",
21
+ "docs/TROUBLESHOOTING.md",
22
+ "docs/reference/commands.md",
23
+ "CHANGELOG.md",
24
+ "specs/quiver-v56-analyze-project-usable-doc-merge/**"
25
+ ],
26
+ "expected_read_paths": [
27
+ "specs/quiver-v56-analyze-project-usable-doc-merge/slices/slice-02-apply-integration-validation-contract/CLOSURE_BRIEF.md",
28
+ "docs/TROUBLESHOOTING.md",
29
+ "docs/reference/commands.md"
30
+ ],
31
+ "allowed_write_paths": [
32
+ "src/create-quiver/commands/ai.js",
33
+ "src/create-quiver/lib/i18n/messages/en.js",
34
+ "src/create-quiver/lib/i18n/messages/es.js",
35
+ "tests/commands/ai-analyze-project-provider.test.js",
36
+ "tests/fixtures/analyze-project/**",
37
+ "docs/CLI_UX_GUIDE.md",
38
+ "docs/TROUBLESHOOTING.md",
39
+ "docs/reference/commands.md",
40
+ "CHANGELOG.md",
41
+ "specs/quiver-v56-analyze-project-usable-doc-merge/**"
42
+ ],
43
+ "depends_on": [
44
+ "slice-02-apply-integration-validation-contract"
45
+ ],
46
+ "parallel_safe": "after_dependencies",
47
+ "parallel_safe_reason": "Docs can draft after Slice 01, but final fixture smoke and output assertions depend on Slice 02.",
48
+ "must": [
49
+ "Human output reports replaced scaffold, preserved human content, placeholder counts, conflicts, snapshot, and manifest paths.",
50
+ "Troubleshooting explains re-running analyze-project after upgrading.",
51
+ "Docs explain the merge contract without overpromising.",
52
+ "Deterministic fixture covers NIKA_ERP scaffold plus stockflow/StockFlow conflict and old context-prep block.",
53
+ "Evidence proves final CONTEXTO.md has no critical visible placeholders."
54
+ ],
55
+ "not_included": [
56
+ "Provider prompt redesign.",
57
+ "Publishing npm.",
58
+ "Product repository changes."
59
+ ],
60
+ "acceptance": [
61
+ "CLI output is compact and actionable.",
62
+ "Docs and command reference are synchronized.",
63
+ "nika-erp style fixture passes without visible scaffold placeholders.",
64
+ "Name conflict warning is visible.",
65
+ "Release smoke guidance is updated."
66
+ ],
67
+ "tests": [
68
+ "node --test tests/commands/ai-analyze-project-provider.test.js tests/commands/cli-contract.test.js",
69
+ "npm run docs:check",
70
+ "node bin/create-quiver.js spec validate specs/quiver-v56-analyze-project-usable-doc-merge --strict",
71
+ "git diff --check"
72
+ ],
73
+ "estimated_hours": 4,
74
+ "actual_hours": 3,
75
+ "status": "completed",
76
+ "blocked_reason": null,
77
+ "started_at": "2026-06-17",
78
+ "completed_at": "2026-06-17"
79
+ }
@@ -0,0 +1,27 @@
1
+ # Evidence Report - Quiver v57 Evidence Budget Recovery UX
2
+
3
+ ## Validation Log
4
+
5
+ - PASS `node --test tests/lib/ai-analyze-project-recovery.test.js`
6
+ - PASS `node bin/create-quiver.js spec validate specs/quiver-v57-evidence-budget-recovery-ux --strict`
7
+ - Completed slice: `slice-01-recovery-contract-security-classifier`
8
+ - Completed slice: `slice-02-budget-command-recommendation`
9
+ - PASS `node --test tests/commands/ai-analyze-project-provider.test.js`
10
+ - PASS `node --test tests/lib/i18n-catalog.test.js`
11
+ - Completed slice: `slice-03-cli-json-i18n-output`
12
+ - PASS `npm run docs:check`
13
+ - Completed slice: `slice-04-integration-fixtures-docs-release-smoke`
14
+ - PASS `node --test tests/lib/ai-analyze-project-recovery.test.js tests/commands/ai-analyze-project-provider.test.js tests/lib/ai-analyze-project-validation.test.js tests/lib/i18n-catalog.test.js`
15
+ - PASS `node bin/create-quiver.js spec validate specs/quiver-v57-evidence-budget-recovery-ux --strict`
16
+ - PASS `git diff --check`
17
+
18
+ ## Required Evidence Before Completion
19
+
20
+ - Focused recovery unit tests. Completed for slice 01.
21
+ - Budget and command recovery tests. Completed for slice 02.
22
+ - Validation manifest compatibility tests. Completed for slice 03.
23
+ - CLI output tests for English and Spanish. Completed for slice 03.
24
+ - JSON recovery payload tests. Completed for slice 04 through `runAnalyzeProject --json` error payload coverage.
25
+ - Sanitized nika-erp-style smoke. Covered by provider command fixture that reproduces omitted test evidence and metadata-only `.env.example` without private repo content.
26
+ - Spec validation. Completed.
27
+ - `git diff --check`. Completed.
@@ -0,0 +1,41 @@
1
+ # Execution Plan - Quiver v57 Evidence Budget Recovery UX
2
+
3
+ ## Order
4
+
5
+ 1. `slice-01-recovery-contract-security-classifier`
6
+ 2. `slice-02-budget-command-recommendation`
7
+ 3. `slice-03-cli-json-i18n-output`
8
+ 4. `slice-04-integration-fixtures-docs-release-smoke`
9
+
10
+ ## Parallelism
11
+
12
+ - Slice 01 is sequential and blocks everything else.
13
+ - Slice 02 is sequential after Slice 01 because it consumes the classification contract.
14
+ - Slice 03 is sequential after Slice 02 because it renders the recovery payload and must not recalculate safety or budget.
15
+ - Slice 04 is final. Inside Slice 04, docs, release notes, and integration fixture work can be done in parallel once Slice 03 is complete.
16
+
17
+ ## PR Strategy
18
+
19
+ - PR 1: Slice 01.
20
+ - PR 2: Slice 02.
21
+ - PR 3: Slice 03.
22
+ - PR 4: Slice 04.
23
+
24
+ ## Validation Gates
25
+
26
+ Each PR must run its focused tests plus:
27
+
28
+ ```bash
29
+ git diff --check
30
+ node bin/create-quiver.js spec validate specs/quiver-v57-evidence-budget-recovery-ux --strict
31
+ ```
32
+
33
+ ## Blocking Rule
34
+
35
+ Do not start a later slice unless the previous slice has:
36
+
37
+ - stable data contracts;
38
+ - focused tests;
39
+ - updated handoff status;
40
+ - no unresolved safety ambiguity.
41
+