create-quiver 0.15.4 → 0.16.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 (179) 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/.quiver/runs/run-2026-06-09t19-14-39z/approvals.json +5 -0
  6. package/.quiver/runs/run-2026-06-09t19-14-39z/decisions.md +2 -0
  7. package/.quiver/runs/run-2026-06-09t19-14-39z/requirement.md +0 -0
  8. package/.quiver/runs/run-2026-06-09t19-14-39z/snapshots/20260609T191439Z/docs/INDEX.md +97 -0
  9. package/.quiver/runs/run-2026-06-09t19-14-39z/snapshots/20260609T191439Z/manifest.json +61 -0
  10. package/.quiver/runs/run-2026-06-09t19-14-39z/state.json +28 -0
  11. package/ACTIVE_SLICES.md +43 -0
  12. package/ARCHITECTURE.md +133 -0
  13. package/CHANGELOG.md +12 -0
  14. package/CONTRIBUTING.md +174 -9
  15. package/README.md +10 -1
  16. package/ROADMAP.md +4 -0
  17. package/SECURITY.md +9 -2
  18. package/auditoria-ux-ui-performance-documentacion.md +705 -0
  19. package/copys-landing-page.md +244 -0
  20. package/docs/AI_CONTEXT.md.es.template +3 -1
  21. package/docs/AI_CONTEXT.md.template +3 -1
  22. package/docs/CLI_UX_GUIDE.md +9 -1
  23. package/docs/COMMANDS.md.template +20 -6
  24. package/docs/GITFLOW_PR_GUIDE.md +73 -11
  25. package/docs/GITFLOW_PR_GUIDE.md.es.template +61 -2
  26. package/docs/GITFLOW_PR_GUIDE.md.template +72 -10
  27. package/docs/INDEX.md +1 -0
  28. package/docs/QUICK.md.template +2 -1
  29. package/docs/STANDARD.md.template +2 -1
  30. package/docs/WORKFLOW.md.es.template +3 -1
  31. package/docs/WORKFLOW.md.template +6 -4
  32. package/docs/ai/ACTIVE_SLICE.md +61 -0
  33. package/docs/getting-started/installation.md +7 -0
  34. package/docs/reference/commands.md +104 -6
  35. package/docs/reference/slice-schema.md +37 -0
  36. package/docs/schema/slice.schema.json +221 -0
  37. package/docs/specs/01-spec/01-slice/01-slice.json +36 -0
  38. package/docs/specs/01-spec/01-slice/01-slice.md +106 -0
  39. package/docs/specs/01-spec/01-slice/CLOSURE_BRIEF.md +80 -0
  40. package/docs/specs/01-spec/01-slice/EXECUTION_BRIEF.md +39 -0
  41. package/docs/specs/01-spec/02-slice/02-slice.json +36 -0
  42. package/docs/specs/01-spec/02-slice/02-slice.md +108 -0
  43. package/docs/specs/01-spec/02-slice/CLOSURE_BRIEF.md +88 -0
  44. package/docs/specs/01-spec/02-slice/EXECUTION_BRIEF.md +40 -0
  45. package/docs/specs/01-spec/03-slice/03-slice.json +36 -0
  46. package/docs/specs/01-spec/03-slice/03-slice.md +103 -0
  47. package/docs/specs/01-spec/03-slice/CLOSURE_BRIEF.md +54 -0
  48. package/docs/specs/01-spec/03-slice/EXECUTION_BRIEF.md +39 -0
  49. package/docs/specs/01-spec/04-slice/04-slice.json +36 -0
  50. package/docs/specs/01-spec/04-slice/04-slice.md +107 -0
  51. package/docs/specs/01-spec/04-slice/CLOSURE_BRIEF.md +46 -0
  52. package/docs/specs/01-spec/04-slice/EXECUTION_BRIEF.md +39 -0
  53. package/docs/specs/01-spec/05-slice/05-slice.json +36 -0
  54. package/docs/specs/01-spec/05-slice/05-slice.md +106 -0
  55. package/docs/specs/01-spec/05-slice/CLOSURE_BRIEF.md +84 -0
  56. package/docs/specs/01-spec/05-slice/EXECUTION_BRIEF.md +109 -0
  57. package/docs/specs/01-spec/06-slice/06-slice.json +36 -0
  58. package/docs/specs/01-spec/06-slice/06-slice.md +107 -0
  59. package/docs/specs/01-spec/06-slice/CLOSURE_BRIEF.md +67 -0
  60. package/docs/specs/01-spec/06-slice/EXECUTION_BRIEF.md +39 -0
  61. package/docs/specs/01-spec/07-slice/07-slice.json +36 -0
  62. package/docs/specs/01-spec/07-slice/07-slice.md +105 -0
  63. package/docs/specs/01-spec/07-slice/CLOSURE_BRIEF.md +71 -0
  64. package/docs/specs/01-spec/07-slice/EXECUTION_BRIEF.md +39 -0
  65. package/docs/specs/01-spec/08-slice/08-slice.json +36 -0
  66. package/docs/specs/01-spec/08-slice/08-slice.md +105 -0
  67. package/docs/specs/01-spec/08-slice/CLOSURE_BRIEF.md +114 -0
  68. package/docs/specs/01-spec/08-slice/EXECUTION_BRIEF.md +39 -0
  69. package/docs/specs/01-spec/CLOSURE_BRIEF.md +87 -0
  70. package/docs/specs/01-spec/spec.md +197 -0
  71. package/docs/workflows/full-ai-spec-to-pr.md +46 -3
  72. package/i18n/es/docs/GITFLOW_PR_GUIDE.md.template +38 -1
  73. package/package.json +27 -1
  74. package/pr.md +154 -0
  75. package/scripts/package-quiver.sh +82 -2
  76. package/scripts/release-quiver.sh +14 -3
  77. package/specs/[project-name]/slices/pr.md.template +19 -0
  78. package/specs/quiver-v43-cli-i18n-audit-release-readiness/command-language-mode-matrix.json +91 -0
  79. package/specs/quiver-v50-audit-trust-foundation/EVIDENCE_REPORT.md +151 -0
  80. package/specs/quiver-v50-audit-trust-foundation/EXECUTION_PLAN.md +34 -0
  81. package/specs/quiver-v50-audit-trust-foundation/SPEC.md +113 -0
  82. package/specs/quiver-v50-audit-trust-foundation/STATUS.md +26 -0
  83. package/specs/quiver-v50-audit-trust-foundation/pr.md +120 -0
  84. package/specs/quiver-v50-audit-trust-foundation/slices/slice-00-audit-baseline-and-resolved-findings/CLOSURE_BRIEF.md +20 -0
  85. package/specs/quiver-v50-audit-trust-foundation/slices/slice-00-audit-baseline-and-resolved-findings/EXECUTION_BRIEF.md +58 -0
  86. package/specs/quiver-v50-audit-trust-foundation/slices/slice-00-audit-baseline-and-resolved-findings/slice.json +57 -0
  87. package/specs/quiver-v50-audit-trust-foundation/slices/slice-01-runtime-minimum-and-package-metadata/CLOSURE_BRIEF.md +24 -0
  88. package/specs/quiver-v50-audit-trust-foundation/slices/slice-01-runtime-minimum-and-package-metadata/EXECUTION_BRIEF.md +67 -0
  89. package/specs/quiver-v50-audit-trust-foundation/slices/slice-01-runtime-minimum-and-package-metadata/slice.json +71 -0
  90. package/specs/quiver-v50-audit-trust-foundation/slices/slice-02-migrate-write-safety-contract/CLOSURE_BRIEF.md +24 -0
  91. package/specs/quiver-v50-audit-trust-foundation/slices/slice-02-migrate-write-safety-contract/EXECUTION_BRIEF.md +71 -0
  92. package/specs/quiver-v50-audit-trust-foundation/slices/slice-02-migrate-write-safety-contract/slice.json +81 -0
  93. package/specs/quiver-v50-audit-trust-foundation/slices/slice-03-security-reporting-channel/CLOSURE_BRIEF.md +22 -0
  94. package/specs/quiver-v50-audit-trust-foundation/slices/slice-03-security-reporting-channel/EXECUTION_BRIEF.md +57 -0
  95. package/specs/quiver-v50-audit-trust-foundation/slices/slice-03-security-reporting-channel/slice.json +56 -0
  96. package/specs/quiver-v50-audit-trust-foundation/slices/slice-04-user-facing-i18n-error-coverage/CLOSURE_BRIEF.md +23 -0
  97. package/specs/quiver-v50-audit-trust-foundation/slices/slice-04-user-facing-i18n-error-coverage/EXECUTION_BRIEF.md +68 -0
  98. package/specs/quiver-v50-audit-trust-foundation/slices/slice-04-user-facing-i18n-error-coverage/slice.json +84 -0
  99. package/specs/quiver-v50-audit-trust-foundation/slices/slice-05-init-analyze-progress-and-summaries/CLOSURE_BRIEF.md +25 -0
  100. package/specs/quiver-v50-audit-trust-foundation/slices/slice-05-init-analyze-progress-and-summaries/EXECUTION_BRIEF.md +73 -0
  101. package/specs/quiver-v50-audit-trust-foundation/slices/slice-05-init-analyze-progress-and-summaries/slice.json +72 -0
  102. package/specs/quiver-v50-audit-trust-foundation/slices/slice-06-contributor-and-architecture-docs/CLOSURE_BRIEF.md +22 -0
  103. package/specs/quiver-v50-audit-trust-foundation/slices/slice-06-contributor-and-architecture-docs/EXECUTION_BRIEF.md +66 -0
  104. package/specs/quiver-v50-audit-trust-foundation/slices/slice-06-contributor-and-architecture-docs/slice.json +74 -0
  105. package/specs/quiver-v50-audit-trust-foundation/slices/slice-07-ci-and-documentation-lint-baseline/CLOSURE_BRIEF.md +29 -0
  106. package/specs/quiver-v50-audit-trust-foundation/slices/slice-07-ci-and-documentation-lint-baseline/EXECUTION_BRIEF.md +74 -0
  107. package/specs/quiver-v50-audit-trust-foundation/slices/slice-07-ci-and-documentation-lint-baseline/slice.json +81 -0
  108. package/specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md +145 -0
  109. package/specs/quiver-v51-cli-ergonomics-automation-contracts/EXECUTION_PLAN.md +32 -0
  110. package/specs/quiver-v51-cli-ergonomics-automation-contracts/SPEC.md +109 -0
  111. package/specs/quiver-v51-cli-ergonomics-automation-contracts/STATUS.md +25 -0
  112. package/specs/quiver-v51-cli-ergonomics-automation-contracts/pr.md +69 -0
  113. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-00-cli-contract-baseline/CLOSURE_BRIEF.md +20 -0
  114. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-00-cli-contract-baseline/EXECUTION_BRIEF.md +58 -0
  115. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-00-cli-contract-baseline/slice.json +56 -0
  116. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-01-flow-json-compatibility/CLOSURE_BRIEF.md +21 -0
  117. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-01-flow-json-compatibility/EXECUTION_BRIEF.md +61 -0
  118. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-01-flow-json-compatibility/slice.json +68 -0
  119. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/CLOSURE_BRIEF.md +25 -0
  120. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/EXECUTION_BRIEF.md +65 -0
  121. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/pr.md +134 -0
  122. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-02-dashboard-section-validation-i18n/slice.json +80 -0
  123. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/CLOSURE_BRIEF.md +31 -0
  124. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/EXECUTION_BRIEF.md +80 -0
  125. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/pr.md +159 -0
  126. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/slice.json +102 -0
  127. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/CLOSURE_BRIEF.md +25 -0
  128. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/EXECUTION_BRIEF.md +74 -0
  129. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/pr.md +147 -0
  130. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json +91 -0
  131. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/CLOSURE_BRIEF.md +28 -0
  132. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/EXECUTION_BRIEF.md +73 -0
  133. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/pr.md +146 -0
  134. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-05-evidence-robustness-path-safety/slice.json +100 -0
  135. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/CLOSURE_BRIEF.md +36 -0
  136. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/EXECUTION_BRIEF.md +76 -0
  137. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/pr.md +155 -0
  138. package/specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-06-namespace-compatibility-windows-scripts/slice.json +111 -0
  139. package/specs/quiver-v52-schema-docs-release-hygiene/EVIDENCE_REPORT.md +95 -0
  140. package/specs/quiver-v52-schema-docs-release-hygiene/EXECUTION_PLAN.md +31 -0
  141. package/specs/quiver-v52-schema-docs-release-hygiene/SPEC.md +107 -0
  142. package/specs/quiver-v52-schema-docs-release-hygiene/STATUS.md +22 -0
  143. package/specs/quiver-v52-schema-docs-release-hygiene/pr.md +69 -0
  144. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-00-schema-docs-release-baseline/CLOSURE_BRIEF.md +21 -0
  145. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-00-schema-docs-release-baseline/EXECUTION_BRIEF.md +60 -0
  146. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-00-schema-docs-release-baseline/slice.json +62 -0
  147. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/CLOSURE_BRIEF.md +34 -0
  148. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/EXECUTION_BRIEF.md +71 -0
  149. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/pr.md +146 -0
  150. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-01-json-schema-for-slice-json/slice.json +106 -0
  151. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/CLOSURE_BRIEF.md +33 -0
  152. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/EXECUTION_BRIEF.md +67 -0
  153. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/pr.md +144 -0
  154. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-02-generated-cli-reference/slice.json +86 -0
  155. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/CLOSURE_BRIEF.md +38 -0
  156. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/EXECUTION_BRIEF.md +75 -0
  157. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/pr.md +159 -0
  158. package/specs/quiver-v52-schema-docs-release-hygiene/slices/slice-03-changelog-package-release-smoke-hygiene/slice.json +105 -0
  159. package/src/create-quiver/commands/changelog.js +93 -0
  160. package/src/create-quiver/commands/config.js +16 -5
  161. package/src/create-quiver/commands/evidence.js +33 -2
  162. package/src/create-quiver/commands/flow.js +1 -0
  163. package/src/create-quiver/commands/graph.js +8 -2
  164. package/src/create-quiver/commands/plan.js +6 -0
  165. package/src/create-quiver/commands/spec.js +28 -13
  166. package/src/create-quiver/index.js +294 -94
  167. package/src/create-quiver/lib/ai/github.js +5 -2
  168. package/src/create-quiver/lib/ai/spec-templates.js +19 -0
  169. package/src/create-quiver/lib/cli/command-registry.js +71 -0
  170. package/src/create-quiver/lib/cli/parser.js +14 -0
  171. package/src/create-quiver/lib/evidence.js +161 -6
  172. package/src/create-quiver/lib/git.js +99 -0
  173. package/src/create-quiver/lib/i18n/messages/en.js +52 -7
  174. package/src/create-quiver/lib/i18n/messages/es.js +54 -9
  175. package/src/create-quiver/lib/init-docs.js +1 -1
  176. package/src/create-quiver/lib/init-layout.js +9 -8
  177. package/src/create-quiver/lib/lifecycle.js +24 -26
  178. package/src/create-quiver/lib/readiness.js +67 -56
  179. package/src/create-quiver/lib/spec-worktrees.js +16 -34
@@ -0,0 +1,102 @@
1
+ {
2
+ "slice_id": "slice-03-base-branch-resolution-policy",
3
+ "ticket": "QUIVER-51-03",
4
+ "type": "feature",
5
+ "title": "Base branch resolution policy",
6
+ "objective": "Define and apply a consistent base branch resolution policy across commands.",
7
+ "description": "Audits and aligns commands that use --base or default base branches to prevent contradictory behavior.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v51-base-branch-policy",
12
+ "branch_name": "feature/QUIVER-51-03-v51-base-branch-policy"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/lib/git.js",
16
+ "src/create-quiver/lib/spec-worktrees.js",
17
+ "src/create-quiver/lib/readiness.js",
18
+ "src/create-quiver/lib/ai/github.js",
19
+ "src/create-quiver/lib/lifecycle.js",
20
+ "src/create-quiver/index.js",
21
+ "src/create-quiver/commands/spec.js",
22
+ "src/create-quiver/commands/ai-core.js",
23
+ "src/create-quiver/lib/i18n/messages/en.js",
24
+ "src/create-quiver/lib/i18n/messages/es.js",
25
+ "tests/commands/spec-close.test.js",
26
+ "tests/commands/ai-pr.test.js",
27
+ "tests/lib/git.test.js",
28
+ "tests/lib/check-slice.test.js",
29
+ "tests/lib/ai-github.test.js",
30
+ "docs/COMMANDS.md.template",
31
+ "docs/reference/commands.md",
32
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/**"
33
+ ],
34
+ "expected_read_paths": [
35
+ "src/create-quiver/lib/git.js",
36
+ "src/create-quiver/lib/spec-worktrees.js",
37
+ "src/create-quiver/lib/readiness.js",
38
+ "src/create-quiver/lib/ai/github.js",
39
+ "tests/commands/spec-close.test.js",
40
+ "tests/commands/ai-pr.test.js",
41
+ "docs/COMMANDS.md.template",
42
+ "docs/reference/commands.md"
43
+ ],
44
+ "allowed_write_paths": [
45
+ "src/create-quiver/lib/git.js",
46
+ "src/create-quiver/lib/spec-worktrees.js",
47
+ "src/create-quiver/lib/readiness.js",
48
+ "src/create-quiver/lib/ai/github.js",
49
+ "src/create-quiver/lib/lifecycle.js",
50
+ "src/create-quiver/index.js",
51
+ "src/create-quiver/lib/i18n/messages/en.js",
52
+ "src/create-quiver/lib/i18n/messages/es.js",
53
+ "tests/lib/git.test.js",
54
+ "tests/lib/check-slice.test.js",
55
+ "tests/lib/ai-github.test.js",
56
+ "docs/COMMANDS.md.template",
57
+ "docs/reference/commands.md",
58
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/STATUS.md",
59
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md",
60
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/CLOSURE_BRIEF.md",
61
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/slice.json",
62
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-03-base-branch-resolution-policy/pr.md"
63
+ ],
64
+ "depends_on": [
65
+ "slice-00-cli-contract-baseline"
66
+ ],
67
+ "parallel_safe": "no",
68
+ "parallel_safe_reason": "Base branch behavior is shared across Git, spec, slice, readiness, and PR commands.",
69
+ "must": [
70
+ "Define one base branch resolution policy.",
71
+ "Ensure --base explicit override always wins.",
72
+ "Audit spec close, ai pr, slice check, slice scope, and readiness behavior.",
73
+ "Cover main, master, develop, no remote, fetch fail, and explicit override."
74
+ ],
75
+ "not_included": [
76
+ "Changing branch naming conventions.",
77
+ "Changing GitFlow PR policy beyond base resolution."
78
+ ],
79
+ "acceptance": [
80
+ "Commands do not contradict each other on default base branch.",
81
+ "Remote HEAD detection works when available.",
82
+ "Fallback behavior is localized and documented.",
83
+ "ai pr preserves gh pr create contract."
84
+ ],
85
+ "tests": [
86
+ "node --test tests/lib/git.test.js",
87
+ "node --test tests/commands/spec-close.test.js",
88
+ "node --test tests/commands/ai-pr.test.js",
89
+ "node --test tests/lib/check-slice.test.js",
90
+ "node --test",
91
+ "git diff --check"
92
+ ],
93
+ "validation_hints": [
94
+ "Do not fix only spec close; audit every --base consumer."
95
+ ],
96
+ "estimated_hours": 8,
97
+ "status": "completed",
98
+ "blocked_reason": null,
99
+ "actual_hours": 8,
100
+ "started_at": "2026-06-02T14:00:00-0300",
101
+ "completed_at": "2026-06-02T15:09:20-0300"
102
+ }
@@ -0,0 +1,25 @@
1
+ # CLOSURE_BRIEF - slice-04 next/plan/graph UX edge cases
2
+
3
+ ## Summary
4
+
5
+ Secondary next/plan/graph UX edges are closed without refactoring stable read-only command logic. Existing `next --auto-start` prompt behavior was validated by tests; `plan` now emits a localized human-only missing-estimates note; `graph --level` empty states and `graph --json` precedence over `--format` are tested and documented.
6
+
7
+ ## Validation
8
+
9
+ - [x] `node --test tests/commands/next.test.js`
10
+ - [x] `node --test tests/commands/plan.test.js`
11
+ - [x] `node --test tests/commands/graph.test.js`
12
+ - [x] `node --test tests/commands/next.test.js tests/commands/plan.test.js tests/commands/graph.test.js tests/lib/i18n-catalog.test.js`
13
+ - [x] `node --test`
14
+ - [x] `npm run docs:check`
15
+ - [x] `git diff --check`
16
+
17
+ ## Closure Conditions
18
+
19
+ - [x] Missing UX edges closed.
20
+ - [x] Implemented behaviors protected by evidence/tests.
21
+ - [x] JSON safety preserved.
22
+
23
+ ## Open Items
24
+
25
+ - No open implementation items for this slice.
@@ -0,0 +1,74 @@
1
+ # EXECUTION_BRIEF - slice-04 next/plan/graph UX edge cases
2
+
3
+ ## Context
4
+
5
+ Some next/plan/graph audit findings may already be implemented. This slice must close gaps without unnecessary refactor.
6
+
7
+ ## Objective
8
+
9
+ Close or validate secondary CLI UX edge cases without reimplementing completed behavior.
10
+
11
+ ## Scope
12
+
13
+ - `next --auto-start` prompt behavior.
14
+ - `plan` missing-estimates note.
15
+ - `graph --level` empty state.
16
+ - `graph --json` vs `--format` docs.
17
+ - EN/ES and JSON safety.
18
+
19
+ ## Acceptance Criteria
20
+
21
+ - Implemented behaviors are closed by evidence/tests only.
22
+ - Missing behaviors are implemented with tests.
23
+ - JSON output is not polluted by human notes.
24
+ - Docs match runtime behavior.
25
+
26
+ ## Expected Files To Modify
27
+
28
+ - `src/create-quiver/commands/next.js`
29
+ - `src/create-quiver/commands/plan.js`
30
+ - `src/create-quiver/commands/graph.js`
31
+ - `src/create-quiver/lib/cli/selectors.js`
32
+ - `src/create-quiver/lib/i18n/messages/en.js`
33
+ - `src/create-quiver/lib/i18n/messages/es.js`
34
+ - `docs/reference/commands.md`
35
+ - `docs/CLI_UX_GUIDE.md`
36
+ - `tests/commands/next.test.js`
37
+ - `tests/commands/plan.test.js`
38
+ - `tests/commands/graph.test.js`
39
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md`
40
+
41
+ ## Validations Required
42
+
43
+ - `node --test tests/commands/next.test.js`
44
+ - `node --test tests/commands/plan.test.js`
45
+ - `node --test tests/commands/graph.test.js`
46
+ - `node --test`
47
+ - `git diff --check`
48
+
49
+ ## Risks
50
+
51
+ - Refactoring stable read-only command logic unnecessarily.
52
+ - Polluting JSON with human notes.
53
+ - Prompt behavior not respecting no-TTY.
54
+
55
+ ## Dependencies
56
+
57
+ - Depends on `slice-00-cli-contract-baseline`.
58
+
59
+ ## Instructions For Executor
60
+
61
+ 1. Check current tests before implementing.
62
+ 2. Add only missing behavior.
63
+ 3. Prefer evidence/docs for already-complete findings.
64
+ 4. Preserve read-only nature.
65
+
66
+ ## Completion Checklist
67
+
68
+ - [ ] Acceptance criteria satisfied.
69
+ - [ ] Required validations run or blockers documented.
70
+ - [ ] Closure brief updated.
71
+
72
+ ## Conditions Of Closure
73
+
74
+ - Secondary UX edges are closed without destabilizing read-only commands.
@@ -0,0 +1,147 @@
1
+ # PR - QUIVER-51-04 - Next/plan/graph UX edge cases
2
+
3
+ ## Title
4
+
5
+ QUIVER-51-04 next plan graph UX edge cases
6
+
7
+ ## Summary
8
+
9
+ Closes secondary read-only CLI UX gaps for `next`, `plan`, and `graph` without changing scheduling or graph algorithms. Existing `next --auto-start` prompt behavior is preserved by evidence, `plan` now reports missing estimates only in human output, and `graph` now has explicit empty-level and `--json` precedence coverage.
10
+
11
+ ## PR Policy
12
+
13
+ - [x] One slice only.
14
+ - [ ] Grouped PR exception: at most 2-3 slices, all docs-only, research-only, or low-risk mechanical cleanup.
15
+ - [x] No behavior changes in a grouped PR.
16
+ - [x] No mixed docs with UI, backend, refactor, or performance work.
17
+ - [x] Separate evidence for this slice is recorded in `EVIDENCE_REPORT.md`.
18
+ - [x] Whole PR is revertible without leaving partial state.
19
+
20
+ Individual PR required classification: functional CLI UX behavior, tests, and docs.
21
+
22
+ ### Merge Policy
23
+
24
+ - [x] Human merge expected.
25
+ - [ ] Assisted auto-merge explicitly authorized for this PR or documented category.
26
+ - [ ] Assisted auto-merge conditions met: docs-only or chore-only, low risk, no runtime changes, no production configuration changes, green checks, and no pending comments.
27
+
28
+ Assisted auto-merge is not requested.
29
+
30
+ ## Scope
31
+
32
+ - Preserve existing `next --auto-start` TTY/injected prompt behavior with test evidence.
33
+ - Add a human-only `plan` note for slices without positive `estimated_hours`.
34
+ - Keep `plan --json` free of human notes while reporting those hours as `0`.
35
+ - Add a localized human empty state for `graph --level <n>` when the selected level has no slices.
36
+ - Keep `graph --json --level <n>` machine-readable with empty `levels` and `conflicts`.
37
+ - Verify `graph --json` takes precedence over `--format tree|mermaid|dot`.
38
+ - Update command reference, UX guide, and command template docs.
39
+
40
+ ## Files
41
+
42
+ - `src/create-quiver/commands/plan.js`
43
+ - `src/create-quiver/commands/graph.js`
44
+ - `src/create-quiver/lib/i18n/messages/en.js`
45
+ - `src/create-quiver/lib/i18n/messages/es.js`
46
+ - `tests/commands/plan.test.js`
47
+ - `tests/commands/graph.test.js`
48
+ - `docs/reference/commands.md`
49
+ - `docs/CLI_UX_GUIDE.md`
50
+ - `docs/COMMANDS.md.template`
51
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/STATUS.md`
52
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md`
53
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json`
54
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/CLOSURE_BRIEF.md`
55
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/pr.md`
56
+
57
+ ## How to Test (DETAILED - REQUIRED)
58
+
59
+ ### Required Environment
60
+
61
+ - Node.js supported by the repo.
62
+ - npm.
63
+ - Git.
64
+
65
+ ### Worktree Access
66
+
67
+ ```bash
68
+ cd /Users/fabrijk/Documents/Work/Proyectos\ Personales/nika/frameworks/quiver
69
+ git switch feature/QUIVER-51-04-v51-next-plan-graph-ux
70
+ ```
71
+
72
+ ### Run the Project
73
+
74
+ No runtime server is required. This is CLI behavior, tests, docs, and spec evidence.
75
+
76
+ ### Use Cases
77
+
78
+ #### Case 1: plan missing estimates in human output
79
+
80
+ **Prerequisite:** a spec fixture or project slice without positive `estimated_hours`.
81
+
82
+ 1. Run `node bin/create-quiver.js plan --lang en`.
83
+ 2. Inspect stdout.
84
+
85
+ **Expected result:** stdout includes a human note that missing/non-positive estimates count as `0h`.
86
+
87
+ #### Case 2: plan missing estimates in JSON output
88
+
89
+ **Prerequisite:** same fixture as Case 1.
90
+
91
+ 1. Run `node bin/create-quiver.js plan --json`.
92
+ 2. Parse stdout as JSON.
93
+
94
+ **Expected result:** stdout is parseable JSON, affected slices report `hours: 0`, and no human note appears.
95
+
96
+ #### Case 3: graph empty level
97
+
98
+ **Prerequisite:** a project with pending slices but no selected graph level, for example level `99`.
99
+
100
+ 1. Run `node bin/create-quiver.js graph --level 99 --lang es`.
101
+ 2. Run `node bin/create-quiver.js graph --level 99 --json`.
102
+
103
+ **Expected result:** human output is localized empty-state text; JSON output has empty `levels` and `conflicts` arrays.
104
+
105
+ #### Case 4: graph JSON precedence over format
106
+
107
+ **Prerequisite:** a project with graphable slices.
108
+
109
+ 1. Run `node bin/create-quiver.js graph --json --format mermaid`.
110
+ 2. Parse stdout as JSON.
111
+
112
+ **Expected result:** stdout is JSON, not Mermaid, and contains the graph payload.
113
+
114
+ ### Technical Verification
115
+
116
+ ```bash
117
+ node --test tests/commands/next.test.js
118
+ node --test tests/commands/plan.test.js
119
+ node --test tests/commands/graph.test.js
120
+ node --test tests/commands/next.test.js tests/commands/plan.test.js tests/commands/graph.test.js tests/lib/i18n-catalog.test.js
121
+ node --test
122
+ npm run docs:check
123
+ git diff --check
124
+ node bin/create-quiver.js spec validate specs/quiver-v51-cli-ergonomics-automation-contracts
125
+ node bin/create-quiver.js check-slice specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json --local --gate validation
126
+ node bin/create-quiver.js check-scope specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json --base main --strict
127
+ node bin/create-quiver.js check-pr specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json --base main
128
+ ```
129
+
130
+ ## Evidence
131
+
132
+ - `node --test tests/commands/next.test.js tests/commands/plan.test.js tests/commands/graph.test.js tests/lib/i18n-catalog.test.js`: passed, 37 tests.
133
+ - `node --test`: passed, 632 tests.
134
+ - `npm run docs:check`: passed.
135
+ - `git diff --check`: passed.
136
+
137
+ ## Rollback
138
+
139
+ 1. Revert this slice commit with `git revert <commit-sha>`.
140
+ 2. Run the technical verification commands above.
141
+ 3. Confirm `plan` and `graph` return to the previous baseline behavior.
142
+
143
+ ## Risks / Notes
144
+
145
+ - `next --auto-start` did not require runtime changes; existing prompt/no-TTY behavior is covered by tests.
146
+ - `plan` JSON does not include the human missing-estimates note.
147
+ - `graph --json` intentionally remains the machine-readable contract even when a human `--format` is also provided.
@@ -0,0 +1,91 @@
1
+ {
2
+ "slice_id": "slice-04-next-plan-graph-ux-edge-cases",
3
+ "ticket": "QUIVER-51-04",
4
+ "type": "quality",
5
+ "title": "Next/plan/graph UX edge cases",
6
+ "objective": "Close or validate secondary CLI UX edge cases without reimplementing completed behavior.",
7
+ "description": "Covers next auto-start prompt reuse, plan missing estimates, graph empty levels, and graph JSON/format documentation.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v51-next-plan-graph-ux",
12
+ "branch_name": "feature/QUIVER-51-04-v51-next-plan-graph-ux"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/next.js",
16
+ "src/create-quiver/commands/plan.js",
17
+ "src/create-quiver/commands/graph.js",
18
+ "src/create-quiver/lib/i18n/messages/en.js",
19
+ "src/create-quiver/lib/i18n/messages/es.js",
20
+ "docs/COMMANDS.md.template",
21
+ "docs/reference/commands.md",
22
+ "docs/CLI_UX_GUIDE.md",
23
+ "tests/commands/plan.test.js",
24
+ "tests/commands/graph.test.js",
25
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/**"
26
+ ],
27
+ "expected_read_paths": [
28
+ "src/create-quiver/commands/next.js",
29
+ "src/create-quiver/commands/plan.js",
30
+ "src/create-quiver/commands/graph.js",
31
+ "tests/commands/plan.test.js",
32
+ "tests/commands/graph.test.js",
33
+ "docs/reference/commands.md",
34
+ "docs/CLI_UX_GUIDE.md",
35
+ "docs/COMMANDS.md.template"
36
+ ],
37
+ "allowed_write_paths": [
38
+ "src/create-quiver/commands/plan.js",
39
+ "src/create-quiver/commands/graph.js",
40
+ "src/create-quiver/lib/i18n/messages/en.js",
41
+ "src/create-quiver/lib/i18n/messages/es.js",
42
+ "tests/commands/plan.test.js",
43
+ "tests/commands/graph.test.js",
44
+ "docs/reference/commands.md",
45
+ "docs/CLI_UX_GUIDE.md",
46
+ "docs/COMMANDS.md.template",
47
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/STATUS.md",
48
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md",
49
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/CLOSURE_BRIEF.md",
50
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/slice.json",
51
+ "specs/quiver-v51-cli-ergonomics-automation-contracts/slices/slice-04-next-plan-graph-ux-edge-cases/pr.md"
52
+ ],
53
+ "depends_on": [
54
+ "slice-00-cli-contract-baseline"
55
+ ],
56
+ "parallel_safe": "yes",
57
+ "parallel_safe_reason": "These read-only command UX cases are mostly independent.",
58
+ "must": [
59
+ "Close already-implemented cases by evidence/tests only.",
60
+ "Use common selector/prompt behavior for next --auto-start if missing.",
61
+ "Keep plan missing-estimates note out of JSON.",
62
+ "Keep graph empty-level message out of JSON.",
63
+ "Document graph --json precedence over --format."
64
+ ],
65
+ "not_included": [
66
+ "Changing graph algorithms.",
67
+ "Changing plan scheduling semantics."
68
+ ],
69
+ "acceptance": [
70
+ "next --auto-start respects common prompt/i18n behavior.",
71
+ "plan missing-estimates behavior is tested and JSON-safe.",
72
+ "graph --level empty state is tested and JSON-safe.",
73
+ "Docs match real behavior."
74
+ ],
75
+ "tests": [
76
+ "node --test tests/commands/next.test.js",
77
+ "node --test tests/commands/plan.test.js",
78
+ "node --test tests/commands/graph.test.js",
79
+ "node --test",
80
+ "git diff --check"
81
+ ],
82
+ "validation_hints": [
83
+ "If plan/graph behavior already exists, do not refactor; record evidence and add missing docs/tests only."
84
+ ],
85
+ "estimated_hours": 5,
86
+ "status": "completed",
87
+ "blocked_reason": null,
88
+ "actual_hours": 4,
89
+ "started_at": "2026-06-02T16:30:00-0300",
90
+ "completed_at": "2026-06-02T16:46:10-0300"
91
+ }
@@ -0,0 +1,28 @@
1
+ # CLOSURE_BRIEF - slice-05 evidence robustness and path safety
2
+
3
+ ## Summary
4
+
5
+ Implemented evidence command hardening for failure preservation, safe output/read paths, signal metadata, JSON list/show, docs, and i18n audit matrix coverage.
6
+
7
+ ## Validation
8
+
9
+ - [x] `node --test tests/commands/evidence.test.js`
10
+ - [x] `node --test tests/lib/evidence.test.js`
11
+ - [x] `node --test tests/commands/evidence.test.js tests/lib/evidence.test.js tests/lib/i18n-catalog.test.js tests/commands/cli-contract.test.js`
12
+ - [x] `node --test tests/commands/i18n-audit-matrix.test.js tests/commands/evidence.test.js tests/lib/evidence.test.js tests/lib/i18n-catalog.test.js tests/commands/cli-contract.test.js`
13
+ - [x] `node --test`
14
+ - [x] `npm run docs:check`
15
+ - [x] `git diff --check`
16
+
17
+ ## Closure Conditions
18
+
19
+ - [x] Exit code and failure evidence behavior preserved.
20
+ - [x] Signal behavior tested and documented.
21
+ - [x] Direct child execution remains synchronous with `shell: false`; no shell-created child process is introduced.
22
+ - [x] Path safety enforced for traversal and symlink escapes.
23
+ - [x] Redaction/truncation preserved.
24
+ - [x] JSON list/show remain parseable.
25
+
26
+ ## Open Items
27
+
28
+ - None.
@@ -0,0 +1,73 @@
1
+ # EXECUTION_BRIEF - slice-05 evidence robustness and path safety
2
+
3
+ ## Context
4
+
5
+ Evidence is a trust artifact. It must remain reliable for success, failure, interruption, large output, secrets, and safe paths.
6
+
7
+ ## Objective
8
+
9
+ Make evidence run/list/show robust for failures, signals, output limits, redaction, JSON, and safe paths.
10
+
11
+ ## Scope
12
+
13
+ - `evidence run`.
14
+ - `evidence list`.
15
+ - `evidence show`.
16
+ - Output path policy.
17
+ - Path traversal and symlink safety.
18
+ - Exit code and signal behavior.
19
+ - Redaction/truncation.
20
+
21
+ ## Acceptance Criteria
22
+
23
+ - Failing child exit codes are preserved.
24
+ - Evidence is written for command failures.
25
+ - Signal behavior is documented and tested.
26
+ - No orphan child processes remain.
27
+ - Output/read paths cannot escape the allowed policy.
28
+ - Redaction and truncation still work.
29
+ - JSON list/show remain parseable.
30
+
31
+ ## Expected Files To Modify
32
+
33
+ - `src/create-quiver/commands/evidence.js`
34
+ - `src/create-quiver/lib/evidence.js`
35
+ - `src/create-quiver/lib/i18n/messages/en.js`
36
+ - `src/create-quiver/lib/i18n/messages/es.js`
37
+ - `tests/commands/evidence.test.js`
38
+ - `tests/lib/evidence.test.js`
39
+ - `docs/reference/commands.md`
40
+ - `specs/quiver-v51-cli-ergonomics-automation-contracts/EVIDENCE_REPORT.md`
41
+
42
+ ## Validations Required
43
+
44
+ - `node --test tests/commands/evidence.test.js`
45
+ - `node --test tests/lib/evidence.test.js`
46
+ - `node --test`
47
+ - `git diff --check`
48
+
49
+ ## Risks
50
+
51
+ - Breaking exit code semantics.
52
+ - Losing partial output on interruption.
53
+ - Allowing path escape through symlinks.
54
+
55
+ ## Dependencies
56
+
57
+ - Depends on `slice-00-cli-contract-baseline`.
58
+
59
+ ## Instructions For Executor
60
+
61
+ 1. Define output path policy before implementation.
62
+ 2. Preserve existing evidence format unless migration is compatible.
63
+ 3. Test failure, signal, traversal, symlink, truncation, and redaction cases.
64
+
65
+ ## Completion Checklist
66
+
67
+ - [ ] Acceptance criteria satisfied.
68
+ - [ ] Required validations run or blockers documented.
69
+ - [ ] Closure brief updated.
70
+
71
+ ## Conditions Of Closure
72
+
73
+ - Evidence commands are safe and reliable under production failure modes.