create-quiver 0.17.1 → 0.17.3

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 (119) hide show
  1. package/ACTIVE_SLICES.md +43 -0
  2. package/CHANGELOG.md +8 -0
  3. package/auditoria-ux-ui-performance-documentacion.md +705 -0
  4. package/copys-landing-page.md +244 -0
  5. package/docs/CLI_UX_GUIDE.md +13 -3
  6. package/docs/TROUBLESHOOTING.md +94 -0
  7. package/docs/reference/commands.md +68 -4
  8. package/docs/workflows/existing-project-ai-quiver-setup.md +552 -0
  9. package/docs/workflows/existing-project.md +36 -0
  10. package/package.json +1 -1
  11. package/specs/quiver-v43-cli-i18n-audit-release-readiness/command-language-mode-matrix.json +5 -0
  12. package/specs/quiver-v53-reliable-deep-project-analysis/EVIDENCE_REPORT.md +151 -0
  13. package/specs/quiver-v53-reliable-deep-project-analysis/EXECUTION_PLAN.md +50 -0
  14. package/specs/quiver-v53-reliable-deep-project-analysis/SPEC.md +207 -0
  15. package/specs/quiver-v53-reliable-deep-project-analysis/STATUS.md +32 -0
  16. package/specs/quiver-v53-reliable-deep-project-analysis/pr.md +73 -0
  17. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-00-analysis-run-contract/CLOSURE_BRIEF.md +32 -0
  18. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-00-analysis-run-contract/EXECUTION_BRIEF.md +63 -0
  19. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-00-analysis-run-contract/slice.json +70 -0
  20. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-01-provider-fixture-harness/CLOSURE_BRIEF.md +38 -0
  21. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-01-provider-fixture-harness/EXECUTION_BRIEF.md +60 -0
  22. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-01-provider-fixture-harness/slice.json +74 -0
  23. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-02-safe-context-boundary/CLOSURE_BRIEF.md +33 -0
  24. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-02-safe-context-boundary/EXECUTION_BRIEF.md +68 -0
  25. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-02-safe-context-boundary/slice.json +85 -0
  26. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-03-schema-error-grouping/CLOSURE_BRIEF.md +34 -0
  27. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-03-schema-error-grouping/EXECUTION_BRIEF.md +65 -0
  28. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-03-schema-error-grouping/slice.json +80 -0
  29. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-04-safe-repair-layer/CLOSURE_BRIEF.md +34 -0
  30. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-04-safe-repair-layer/EXECUTION_BRIEF.md +63 -0
  31. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-04-safe-repair-layer/slice.json +80 -0
  32. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-05-controlled-retry-layer/CLOSURE_BRIEF.md +34 -0
  33. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-05-controlled-retry-layer/EXECUTION_BRIEF.md +65 -0
  34. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-05-controlled-retry-layer/slice.json +81 -0
  35. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-06-audit-review-transaction/CLOSURE_BRIEF.md +35 -0
  36. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-06-audit-review-transaction/EXECUTION_BRIEF.md +71 -0
  37. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-06-audit-review-transaction/slice.json +88 -0
  38. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-07-semantic-validation-docs/CLOSURE_BRIEF.md +32 -0
  39. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-07-semantic-validation-docs/EXECUTION_BRIEF.md +66 -0
  40. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-07-semantic-validation-docs/slice.json +86 -0
  41. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-08-structural-map-hardening/CLOSURE_BRIEF.md +34 -0
  42. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-08-structural-map-hardening/EXECUTION_BRIEF.md +67 -0
  43. package/specs/quiver-v53-reliable-deep-project-analysis/slices/slice-08-structural-map-hardening/slice.json +81 -0
  44. package/specs/quiver-v54-deep-project-analysis-hardening/EVIDENCE_REPORT.md +53 -0
  45. package/specs/quiver-v54-deep-project-analysis-hardening/EXECUTION_PLAN.md +55 -0
  46. package/specs/quiver-v54-deep-project-analysis-hardening/SPEC.md +184 -0
  47. package/specs/quiver-v54-deep-project-analysis-hardening/STATUS.md +34 -0
  48. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-01-contract-regression-harness/CLOSURE_BRIEF.md +10 -0
  49. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-01-contract-regression-harness/EXECUTION_BRIEF.md +54 -0
  50. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-01-contract-regression-harness/slice.json +72 -0
  51. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-02-safe-discovery-sampling/CLOSURE_BRIEF.md +11 -0
  52. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-02-safe-discovery-sampling/EXECUTION_BRIEF.md +53 -0
  53. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-02-safe-discovery-sampling/slice.json +69 -0
  54. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-03-run-lifecycle-cli-io/CLOSURE_BRIEF.md +10 -0
  55. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-03-run-lifecycle-cli-io/EXECUTION_BRIEF.md +53 -0
  56. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-03-run-lifecycle-cli-io/slice.json +69 -0
  57. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-04-artifact-store-redaction/CLOSURE_BRIEF.md +10 -0
  58. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-04-artifact-store-redaction/EXECUTION_BRIEF.md +54 -0
  59. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-04-artifact-store-redaction/slice.json +73 -0
  60. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-05-path-aware-repair-engine/CLOSURE_BRIEF.md +10 -0
  61. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-05-path-aware-repair-engine/EXECUTION_BRIEF.md +57 -0
  62. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-05-path-aware-repair-engine/slice.json +72 -0
  63. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-06-retry-controller/CLOSURE_BRIEF.md +9 -0
  64. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-06-retry-controller/EXECUTION_BRIEF.md +52 -0
  65. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-06-retry-controller/slice.json +70 -0
  66. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-07-final-validation-review-write-gate/CLOSURE_BRIEF.md +10 -0
  67. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-07-final-validation-review-write-gate/EXECUTION_BRIEF.md +57 -0
  68. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-07-final-validation-review-write-gate/slice.json +75 -0
  69. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-08-doctor-agents-guidance/CLOSURE_BRIEF.md +9 -0
  70. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-08-doctor-agents-guidance/EXECUTION_BRIEF.md +51 -0
  71. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-08-doctor-agents-guidance/slice.json +66 -0
  72. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-09-release-smoke-rollback-docs/CLOSURE_BRIEF.md +10 -0
  73. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-09-release-smoke-rollback-docs/EXECUTION_BRIEF.md +54 -0
  74. package/specs/quiver-v54-deep-project-analysis-hardening/slices/slice-09-release-smoke-rollback-docs/slice.json +69 -0
  75. package/specs/quiver-v55-analyze-project-doc-apply-ux/EVIDENCE_REPORT.md +209 -0
  76. package/specs/quiver-v55-analyze-project-doc-apply-ux/EXECUTION_PLAN.md +49 -0
  77. package/specs/quiver-v55-analyze-project-doc-apply-ux/SPEC.md +276 -0
  78. package/specs/quiver-v55-analyze-project-doc-apply-ux/STATUS.md +29 -0
  79. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-01-cli-proposal-contract/CLOSURE_BRIEF.md +47 -0
  80. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-01-cli-proposal-contract/EXECUTION_BRIEF.md +67 -0
  81. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-01-cli-proposal-contract/pr.md +129 -0
  82. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-01-cli-proposal-contract/slice.json +82 -0
  83. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-02-save-proposal-flow/CLOSURE_BRIEF.md +39 -0
  84. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-02-save-proposal-flow/EXECUTION_BRIEF.md +61 -0
  85. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-02-save-proposal-flow/pr.md +116 -0
  86. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-02-save-proposal-flow/slice.json +69 -0
  87. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-03-noninteractive-apply-engine/CLOSURE_BRIEF.md +36 -0
  88. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-03-noninteractive-apply-engine/EXECUTION_BRIEF.md +62 -0
  89. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-03-noninteractive-apply-engine/pr.md +132 -0
  90. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-03-noninteractive-apply-engine/slice.json +76 -0
  91. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-04-interactive-apply-ux/CLOSURE_BRIEF.md +47 -0
  92. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-04-interactive-apply-ux/EXECUTION_BRIEF.md +70 -0
  93. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-04-interactive-apply-ux/pr.md +141 -0
  94. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-04-interactive-apply-ux/slice.json +72 -0
  95. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-05-apply-saved-proposal/CLOSURE_BRIEF.md +42 -0
  96. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-05-apply-saved-proposal/EXECUTION_BRIEF.md +61 -0
  97. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-05-apply-saved-proposal/pr.md +129 -0
  98. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-05-apply-saved-proposal/slice.json +67 -0
  99. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-06-i18n-docs-release-smoke/CLOSURE_BRIEF.md +38 -0
  100. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-06-i18n-docs-release-smoke/EXECUTION_BRIEF.md +64 -0
  101. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-06-i18n-docs-release-smoke/pr.md +123 -0
  102. package/specs/quiver-v55-analyze-project-doc-apply-ux/slices/slice-06-i18n-docs-release-smoke/slice.json +76 -0
  103. package/src/create-quiver/commands/ai.js +989 -136
  104. package/src/create-quiver/index.js +83 -1
  105. package/src/create-quiver/lib/ai/analyze-project-apply.js +269 -0
  106. package/src/create-quiver/lib/ai/analyze-project-discovery.js +213 -2
  107. package/src/create-quiver/lib/ai/analyze-project-docs.js +3 -1
  108. package/src/create-quiver/lib/ai/analyze-project-interactive.js +241 -0
  109. package/src/create-quiver/lib/ai/analyze-project-parser.js +1 -0
  110. package/src/create-quiver/lib/ai/analyze-project-prompts.js +130 -0
  111. package/src/create-quiver/lib/ai/analyze-project-proposal.js +582 -0
  112. package/src/create-quiver/lib/ai/analyze-project-repair.js +402 -0
  113. package/src/create-quiver/lib/ai/analyze-project-sampling.js +31 -4
  114. package/src/create-quiver/lib/ai/analyze-project-validation.js +178 -8
  115. package/src/create-quiver/lib/ai/artifacts.js +83 -2
  116. package/src/create-quiver/lib/cli/ux-flags.js +6 -0
  117. package/src/create-quiver/lib/doctor.js +107 -12
  118. package/src/create-quiver/lib/i18n/messages/en.js +33 -0
  119. package/src/create-quiver/lib/i18n/messages/es.js +34 -0
@@ -0,0 +1,70 @@
1
+ {
2
+ "slice_id": "slice-06-retry-controller",
3
+ "ticket": "QUIVER-54-06",
4
+ "type": "runtime-hardening",
5
+ "title": "Retry Controller",
6
+ "objective": "Make provider retries bounded, cheap, actionable, and able to stop early on repeated drift.",
7
+ "description": "Adds compact retry prompts, per-attempt and total timeouts, drift signatures, retry manifests, and fail-fast behavior.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v54-retry-controller",
12
+ "branch_name": "feature/QUIVER-54-06-v54-retry-controller"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/ai/analyze-project-prompts.js",
17
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
18
+ "tests/commands/ai-analyze-project-provider.test.js",
19
+ "specs/quiver-v54-deep-project-analysis-hardening/**"
20
+ ],
21
+ "expected_read_paths": [
22
+ "src/create-quiver/commands/ai.js",
23
+ "src/create-quiver/lib/ai/analyze-project-prompts.js",
24
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
25
+ "tests/commands/ai-analyze-project-provider.test.js"
26
+ ],
27
+ "allowed_write_paths": [
28
+ "src/create-quiver/commands/ai.js",
29
+ "src/create-quiver/lib/ai/analyze-project-prompts.js",
30
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
31
+ "tests/commands/ai-analyze-project-provider.test.js",
32
+ "specs/quiver-v54-deep-project-analysis-hardening/STATUS.md",
33
+ "specs/quiver-v54-deep-project-analysis-hardening/EVIDENCE_REPORT.md",
34
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-06-retry-controller/CLOSURE_BRIEF.md",
35
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-06-retry-controller/slice.json"
36
+ ],
37
+ "depends_on": [
38
+ "slice-03-run-lifecycle-cli-io",
39
+ "slice-05-path-aware-repair-engine"
40
+ ],
41
+ "parallel_safe": "never",
42
+ "parallel_safe_reason": "Retry depends on lifecycle and repair contracts and can affect provider execution globally.",
43
+ "must": [
44
+ "Avoid resending full context on retry.",
45
+ "Add per-attempt and total timeout behavior.",
46
+ "Compute drift signatures.",
47
+ "Fail early on repeated dominant drift."
48
+ ],
49
+ "not_included": [
50
+ "Sampling changes.",
51
+ "Artifact redaction implementation.",
52
+ "Review write gate."
53
+ ],
54
+ "acceptance": [
55
+ "Retry exhausted output is compact and actionable.",
56
+ "Timeout is covered by tests.",
57
+ "Repeated drift does not loop unnecessarily.",
58
+ "Retry manifest captures attempts and drift signatures."
59
+ ],
60
+ "tests": [
61
+ "node --test tests/commands/ai-analyze-project-provider.test.js",
62
+ "git diff --check"
63
+ ],
64
+ "estimated_hours": 5,
65
+ "actual_hours": 2,
66
+ "status": "completed",
67
+ "started_at": "2026-06-11",
68
+ "completed_at": "2026-06-11",
69
+ "blocked_reason": null
70
+ }
@@ -0,0 +1,10 @@
1
+ # CLOSURE_BRIEF - slice-07 final validation review write gate
2
+
3
+ ## Summary
4
+
5
+ Completed. Final docs are gated behind valid provider JSON, review proposal validation, human confirmation, snapshot creation, write plan execution, and post-write validation.
6
+
7
+ ## Validation
8
+
9
+ - PASS: `node --test tests/commands/ai-analyze-project-review.test.js tests/lib/ai-analyze-project-validation.test.js`
10
+ - PASS: `node --test tests/commands/ai-analyze-project-provider.test.js`
@@ -0,0 +1,57 @@
1
+ # EXECUTION_BRIEF - slice-07 final validation review write gate
2
+
3
+ ## Context
4
+
5
+ Final docs writes are the production-risk boundary. Invalid or low-quality JSON must never reach docs, even if provider execution, repair, retry, and artifacts all ran.
6
+
7
+ ## Objective
8
+
9
+ Enforce final schema validation, semantic validation, review approval, snapshotting, and atomic writes.
10
+
11
+ ## Scope
12
+
13
+ - Validate schema after repair/retry.
14
+ - Validate semantic evidence and confidence consistency.
15
+ - Ensure provider mode without `--review` writes no final docs.
16
+ - Ensure `--review` revalidates edited proposal before diff/confirmation/write.
17
+ - Snapshot and atomically write approved docs only.
18
+ - Keep cancellation/decline/no-TTY review paths intact.
19
+
20
+ ## Acceptance Criteria
21
+
22
+ - Invalid final JSON writes zero final docs.
23
+ - Provider mode without `--review` writes audit artifacts only.
24
+ - `--review` cancel/decline/no-TTY failure leaves docs unchanged.
25
+ - Edited proposal is revalidated before write.
26
+ - Approved write creates snapshot manifest and writes atomically.
27
+ - Docs are not written if semantic validation fails.
28
+
29
+ ## Completion Checklist
30
+
31
+ - [ ] Final validation gate implemented.
32
+ - [ ] Review tests updated.
33
+ - [ ] Atomic write/snapshot tests updated.
34
+ - [ ] Closure brief records no-write evidence.
35
+
36
+ ## Expected Files To Modify
37
+
38
+ - `src/create-quiver/commands/ai.js`
39
+ - `src/create-quiver/lib/ai/analyze-project-docs.js`
40
+ - `src/create-quiver/lib/ai/analyze-project-validation.js`
41
+ - `tests/commands/ai-analyze-project-review.test.js`
42
+ - `tests/commands/ai-analyze-project-provider.test.js`
43
+ - This slice's closure/status/evidence files.
44
+
45
+ ## Validation Required
46
+
47
+ ```bash
48
+ node --test tests/commands/ai-analyze-project-review.test.js
49
+ node --test tests/commands/ai-analyze-project-provider.test.js
50
+ git diff --check
51
+ ```
52
+
53
+ ## Constraints
54
+
55
+ - Do not relax schema validation.
56
+ - Do not write product code in analyzed repos.
57
+ - Do not let audit writes imply docs approval.
@@ -0,0 +1,75 @@
1
+ {
2
+ "slice_id": "slice-07-final-validation-review-write-gate",
3
+ "ticket": "QUIVER-54-07",
4
+ "type": "runtime-hardening",
5
+ "title": "Final Validation & Review Write Gate",
6
+ "objective": "Guarantee final docs are written only after valid final JSON, semantic validation, review approval, snapshot, and atomic write.",
7
+ "description": "Closes the production write boundary for analyze-project by enforcing validation and review gates after provider, repair, retry, and artifacts.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v54-final-validation-review-write-gate",
12
+ "branch_name": "feature/QUIVER-54-07-v54-final-validation-review-write-gate"
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-validation.js",
18
+ "tests/commands/ai-analyze-project-review.test.js",
19
+ "tests/commands/ai-analyze-project-provider.test.js",
20
+ "specs/quiver-v54-deep-project-analysis-hardening/**"
21
+ ],
22
+ "expected_read_paths": [
23
+ "src/create-quiver/commands/ai.js",
24
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
25
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
26
+ "tests/commands/ai-analyze-project-review.test.js"
27
+ ],
28
+ "allowed_write_paths": [
29
+ "src/create-quiver/commands/ai.js",
30
+ "src/create-quiver/lib/ai/analyze-project-docs.js",
31
+ "src/create-quiver/lib/ai/analyze-project-validation.js",
32
+ "tests/commands/ai-analyze-project-review.test.js",
33
+ "tests/commands/ai-analyze-project-provider.test.js",
34
+ "specs/quiver-v54-deep-project-analysis-hardening/STATUS.md",
35
+ "specs/quiver-v54-deep-project-analysis-hardening/EVIDENCE_REPORT.md",
36
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-07-final-validation-review-write-gate/CLOSURE_BRIEF.md",
37
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-07-final-validation-review-write-gate/slice.json"
38
+ ],
39
+ "depends_on": [
40
+ "slice-02-safe-discovery-sampling",
41
+ "slice-04-artifact-store-redaction",
42
+ "slice-05-path-aware-repair-engine",
43
+ "slice-06-retry-controller"
44
+ ],
45
+ "parallel_safe": "never",
46
+ "parallel_safe_reason": "This is the production write gate and must integrate completed upstream boundaries.",
47
+ "must": [
48
+ "Write zero final docs if final JSON is invalid.",
49
+ "Revalidate edited review proposals.",
50
+ "Snapshot before approved docs writes.",
51
+ "Write approved docs atomically."
52
+ ],
53
+ "not_included": [
54
+ "Doctor AGENTS.md guidance.",
55
+ "Release smoke documentation.",
56
+ "Sampling algorithm changes beyond integration."
57
+ ],
58
+ "acceptance": [
59
+ "Invalid final JSON leaves docs unchanged.",
60
+ "Provider mode without review writes no final docs.",
61
+ "Review cancel/decline/no-TTY paths leave docs unchanged.",
62
+ "Approved writes create snapshots and pass validation."
63
+ ],
64
+ "tests": [
65
+ "node --test tests/commands/ai-analyze-project-review.test.js",
66
+ "node --test tests/commands/ai-analyze-project-provider.test.js",
67
+ "git diff --check"
68
+ ],
69
+ "estimated_hours": 6,
70
+ "actual_hours": 2,
71
+ "status": "completed",
72
+ "started_at": "2026-06-11",
73
+ "completed_at": "2026-06-11",
74
+ "blocked_reason": null
75
+ }
@@ -0,0 +1,9 @@
1
+ # CLOSURE_BRIEF - slice-08 doctor agents guidance
2
+
3
+ ## Summary
4
+
5
+ Completed. `doctor` now gives a concrete AGENTS.md repair path and `doctor --fix` safely creates or appends missing AGENTS.md contract sections without replacing manual content.
6
+
7
+ ## Validation
8
+
9
+ - PASS: `node --test tests/commands/doctor.test.js tests/lib/doctor.test.js`
@@ -0,0 +1,51 @@
1
+ # EXECUTION_BRIEF - slice-08 doctor agents guidance
2
+
3
+ ## Context
4
+
5
+ `init` preserves existing `AGENTS.md`, but `doctor` can then warn that required Quiver sections are missing without offering a clear repair path.
6
+
7
+ ## Objective
8
+
9
+ Make `doctor` provide a safe, actionable path for incomplete existing `AGENTS.md` without overwriting human content.
10
+
11
+ ## Scope
12
+
13
+ - Improve diagnostic wording for incomplete `AGENTS.md`.
14
+ - Provide next safe command or action.
15
+ - If a repair command already exists, route to it; otherwise document the planned command/action without implementing unrelated CLI.
16
+ - Preserve human-authored content by default.
17
+
18
+ ## Acceptance Criteria
19
+
20
+ - `doctor` identifies missing Quiver sections in `AGENTS.md`.
21
+ - Output provides an actionable next step.
22
+ - Any proposed repair uses managed blocks or review/confirmation.
23
+ - Tests prove existing `AGENTS.md` content is not overwritten by default.
24
+
25
+ ## Completion Checklist
26
+
27
+ - [ ] Doctor guidance updated.
28
+ - [ ] Tests added or updated.
29
+ - [ ] Docs updated if command guidance changes.
30
+ - [ ] Closure brief records user-facing output.
31
+
32
+ ## Expected Files To Modify
33
+
34
+ - `src/create-quiver/commands/doctor.js`
35
+ - `tests/commands/doctor.test.js`
36
+ - `docs/TROUBLESHOOTING.md`
37
+ - This slice's closure/status/evidence files.
38
+
39
+ ## Validation Required
40
+
41
+ ```bash
42
+ node --test tests/commands/doctor.test.js
43
+ npm run docs:check
44
+ git diff --check
45
+ ```
46
+
47
+ ## Constraints
48
+
49
+ - Do not make this slice block provider hardening.
50
+ - Do not overwrite human `AGENTS.md`.
51
+ - Do not invent a destructive repair flow.
@@ -0,0 +1,66 @@
1
+ {
2
+ "slice_id": "slice-08-doctor-agents-guidance",
3
+ "ticket": "QUIVER-54-08",
4
+ "type": "ux-hardening",
5
+ "title": "Doctor AGENTS.md Guidance",
6
+ "objective": "Give users a safe next action when an existing AGENTS.md does not meet Quiver's contract.",
7
+ "description": "Improves doctor output and tests for incomplete preserved AGENTS.md files without overwriting human-authored content.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v54-doctor-agents-guidance",
12
+ "branch_name": "feature/QUIVER-54-08-v54-doctor-agents-guidance"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/doctor.js",
16
+ "tests/commands/doctor.test.js",
17
+ "docs/TROUBLESHOOTING.md",
18
+ "specs/quiver-v54-deep-project-analysis-hardening/**"
19
+ ],
20
+ "expected_read_paths": [
21
+ "src/create-quiver/commands/doctor.js",
22
+ "tests/commands/doctor.test.js",
23
+ "docs/TROUBLESHOOTING.md"
24
+ ],
25
+ "allowed_write_paths": [
26
+ "src/create-quiver/commands/doctor.js",
27
+ "tests/commands/doctor.test.js",
28
+ "docs/TROUBLESHOOTING.md",
29
+ "specs/quiver-v54-deep-project-analysis-hardening/STATUS.md",
30
+ "specs/quiver-v54-deep-project-analysis-hardening/EVIDENCE_REPORT.md",
31
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-08-doctor-agents-guidance/CLOSURE_BRIEF.md",
32
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-08-doctor-agents-guidance/slice.json"
33
+ ],
34
+ "depends_on": [
35
+ "slice-01-contract-regression-harness"
36
+ ],
37
+ "parallel_safe": "after_dependencies",
38
+ "parallel_safe_reason": "This is an onboarding UX improvement and does not block provider hardening.",
39
+ "must": [
40
+ "Detect missing AGENTS.md sections clearly.",
41
+ "Show an actionable next step.",
42
+ "Preserve human content by default.",
43
+ "Use review/managed-block guidance for any repair."
44
+ ],
45
+ "not_included": [
46
+ "Provider repair/retry behavior.",
47
+ "Deep analysis sampling.",
48
+ "Final docs write gate."
49
+ ],
50
+ "acceptance": [
51
+ "Doctor output is actionable for incomplete AGENTS.md.",
52
+ "Existing AGENTS.md content is preserved by default.",
53
+ "Docs explain the safe path if command guidance changes."
54
+ ],
55
+ "tests": [
56
+ "node --test tests/commands/doctor.test.js",
57
+ "npm run docs:check",
58
+ "git diff --check"
59
+ ],
60
+ "estimated_hours": 3,
61
+ "actual_hours": 3,
62
+ "status": "completed",
63
+ "started_at": "2026-06-11",
64
+ "completed_at": "2026-06-11",
65
+ "blocked_reason": null
66
+ }
@@ -0,0 +1,10 @@
1
+ # CLOSURE_BRIEF - slice-09 release smoke rollback docs
2
+
3
+ ## Summary
4
+
5
+ Completed. Release docs now separate deterministic gates from optional live `nika-erp` smoke, list expected pass/fail evidence, and document rollback triggers/actions.
6
+
7
+ ## Validation
8
+
9
+ - PASS: live read-only `nika-erp` smoke with local CLI.
10
+ - Pending final closeout: `npm run docs:check`, strict spec validation, and `git diff --check`.
@@ -0,0 +1,54 @@
1
+ # EXECUTION_BRIEF - slice-09 release smoke rollback docs
2
+
3
+ ## Context
4
+
5
+ Live provider behavior is useful release evidence but too unstable for deterministic CI. Release docs must separate fixture gates, live smoke, npm publish, and rollback.
6
+
7
+ ## Objective
8
+
9
+ Document the release smoke and rollback procedure for the hardened deep analysis flow.
10
+
11
+ ## Scope
12
+
13
+ - Document deterministic CI gates.
14
+ - Document optional live `nika-erp` smoke commands and expected evidence.
15
+ - Document canary/latest publish guidance if applicable to existing release docs.
16
+ - Document rollback criteria and steps.
17
+ - Keep docs direct and command-oriented.
18
+
19
+ ## Acceptance Criteria
20
+
21
+ - Docs state live provider smoke is release evidence, not CI gate.
22
+ - Docs include `nika-erp` smoke commands for dry-run, provider mode, and review mode.
23
+ - Docs include expected pass/fail evidence and artifacts.
24
+ - Docs include rollback trigger and next action.
25
+ - Docs do not instruct users to write docs without review.
26
+
27
+ ## Completion Checklist
28
+
29
+ - [ ] Release smoke docs updated.
30
+ - [ ] Rollback guidance added.
31
+ - [ ] Evidence report updated with final validation commands.
32
+ - [ ] Closure brief records doc paths and validation.
33
+
34
+ ## Expected Files To Modify
35
+
36
+ - `docs/reference/commands.md`
37
+ - `docs/workflows/existing-project.md`
38
+ - `docs/TROUBLESHOOTING.md`
39
+ - `specs/quiver-v54-deep-project-analysis-hardening/EVIDENCE_REPORT.md`
40
+ - This slice's closure/status files.
41
+
42
+ ## Validation Required
43
+
44
+ ```bash
45
+ npm run docs:check
46
+ node bin/create-quiver.js spec validate specs/quiver-v54-deep-project-analysis-hardening --strict
47
+ git diff --check
48
+ ```
49
+
50
+ ## Constraints
51
+
52
+ - Do not make live provider smoke mandatory in CI.
53
+ - Do not publish npm from this slice unless explicitly requested.
54
+ - Do not add commands that write final docs without review.
@@ -0,0 +1,69 @@
1
+ {
2
+ "slice_id": "slice-09-release-smoke-rollback-docs",
3
+ "ticket": "QUIVER-54-09",
4
+ "type": "documentation",
5
+ "title": "Release Smoke & Rollback Docs",
6
+ "objective": "Document deterministic gates, optional nika-erp live smoke, and rollback guidance for deep analysis hardening.",
7
+ "description": "Closes the spec by documenting release evidence, live smoke expectations, and rollback actions without making provider execution a CI dependency.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v54-release-smoke-rollback-docs",
12
+ "branch_name": "feature/QUIVER-54-09-v54-release-smoke-rollback-docs"
13
+ },
14
+ "files": [
15
+ "docs/reference/commands.md",
16
+ "docs/workflows/existing-project.md",
17
+ "docs/TROUBLESHOOTING.md",
18
+ "specs/quiver-v54-deep-project-analysis-hardening/**"
19
+ ],
20
+ "expected_read_paths": [
21
+ "docs/reference/commands.md",
22
+ "docs/workflows/existing-project.md",
23
+ "docs/TROUBLESHOOTING.md",
24
+ "specs/quiver-v54-deep-project-analysis-hardening/SPEC.md",
25
+ "specs/quiver-v54-deep-project-analysis-hardening/EXECUTION_PLAN.md"
26
+ ],
27
+ "allowed_write_paths": [
28
+ "docs/reference/commands.md",
29
+ "docs/workflows/existing-project.md",
30
+ "docs/TROUBLESHOOTING.md",
31
+ "specs/quiver-v54-deep-project-analysis-hardening/STATUS.md",
32
+ "specs/quiver-v54-deep-project-analysis-hardening/EVIDENCE_REPORT.md",
33
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-09-release-smoke-rollback-docs/CLOSURE_BRIEF.md",
34
+ "specs/quiver-v54-deep-project-analysis-hardening/slices/slice-09-release-smoke-rollback-docs/slice.json"
35
+ ],
36
+ "depends_on": [
37
+ "slice-07-final-validation-review-write-gate"
38
+ ],
39
+ "parallel_safe": "never",
40
+ "parallel_safe_reason": "Release docs must reflect completed production gates.",
41
+ "must": [
42
+ "Separate deterministic CI gates from optional live smoke.",
43
+ "Document nika-erp smoke commands and expected evidence.",
44
+ "Document rollback trigger and action.",
45
+ "Keep review requirement explicit for docs writes."
46
+ ],
47
+ "not_included": [
48
+ "Runtime implementation.",
49
+ "npm publish execution.",
50
+ "Live provider smoke as a CI gate."
51
+ ],
52
+ "acceptance": [
53
+ "Docs clearly explain live smoke status.",
54
+ "Rollback guidance is actionable.",
55
+ "Docs validation passes.",
56
+ "Spec validation passes."
57
+ ],
58
+ "tests": [
59
+ "npm run docs:check",
60
+ "node bin/create-quiver.js spec validate specs/quiver-v54-deep-project-analysis-hardening --strict",
61
+ "git diff --check"
62
+ ],
63
+ "estimated_hours": 3,
64
+ "actual_hours": 2,
65
+ "status": "completed",
66
+ "started_at": "2026-06-11",
67
+ "completed_at": "2026-06-11",
68
+ "blocked_reason": null
69
+ }