create-quiver 0.6.0 → 0.7.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 (63) hide show
  1. package/.github/workflows/ci.yml +7 -30
  2. package/AGENTS.md.template +41 -0
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +37 -13
  5. package/README_FOR_AI.md +27 -7
  6. package/ROADMAP.md +78 -0
  7. package/docs/AI_CONTEXT.md.template +19 -26
  8. package/docs/AI_ONBOARDING_PROMPT.md.template +12 -0
  9. package/docs/CONTEXTO.md.template +4 -17
  10. package/docs/DECISIONS.md.template +18 -0
  11. package/docs/DEEP.md.template +34 -0
  12. package/docs/DOCUMENTATION_GUIDE.md.template +9 -7
  13. package/docs/GITFLOW_PR_GUIDE.md.template +7 -0
  14. package/docs/INDEX.md.template +9 -0
  15. package/docs/QUICK.md.template +27 -0
  16. package/docs/STANDARD.md.template +49 -0
  17. package/docs/STATUS.md.template +2 -2
  18. package/docs/SUPPORT_MATRIX.md.template +7 -4
  19. package/docs/TESTING_GUIDE_FOR_AI.md.template +4 -3
  20. package/docs/TROUBLESHOOTING.md.template +14 -0
  21. package/docs/WORKFLOW.md.template +17 -4
  22. package/package.json +2 -1
  23. package/package.template.json +11 -0
  24. package/scripts/cleanup-slice.sh +2 -172
  25. package/scripts/init-docs.sh +97 -24
  26. package/scripts/package-quiver.sh +5 -0
  27. package/scripts/start-slice.sh +3 -425
  28. package/specs/[project-name]/EVIDENCE_REPORT.md.template +3 -1
  29. package/specs/[project-name]/slices/slice-template/slice.json +2 -2
  30. package/specs/quiver-v12-cross-platform-native-runtime/EVIDENCE_REPORT.md +30 -0
  31. package/specs/quiver-v12-cross-platform-native-runtime/SPEC.md +86 -0
  32. package/specs/quiver-v12-cross-platform-native-runtime/STATUS.md +29 -0
  33. package/specs/quiver-v12-cross-platform-native-runtime/slices/slice-01-cross-platform-support-contract/slice.json +69 -0
  34. package/specs/quiver-v12-cross-platform-native-runtime/slices/slice-02-node-init-docs-runtime/slice.json +76 -0
  35. package/specs/quiver-v12-cross-platform-native-runtime/slices/slice-03-node-migrate-analyze-doctor-flow/slice.json +74 -0
  36. package/specs/quiver-v12-cross-platform-native-runtime/slices/slice-04-node-slice-lifecycle-commands/slice.json +81 -0
  37. package/specs/quiver-v12-cross-platform-native-runtime/slices/slice-05-generated-project-scripts-and-migration/slice.json +78 -0
  38. package/specs/quiver-v12-cross-platform-native-runtime/slices/slice-06-cross-platform-ci-release-readiness/slice.json +74 -0
  39. package/specs/quiver-v13-token-efficient-ai-context/EVIDENCE_REPORT.md +28 -0
  40. package/specs/quiver-v13-token-efficient-ai-context/SPEC.md +68 -0
  41. package/specs/quiver-v13-token-efficient-ai-context/STATUS.md +26 -0
  42. package/specs/quiver-v13-token-efficient-ai-context/slices/slice-01-token-efficient-ai-modes-guidance/slice.json +65 -0
  43. package/specs/quiver-v13-token-efficient-ai-context/slices/slice-02-decision-log-context-checkpoint/slice.json +64 -0
  44. package/specs/quiver-v13-token-efficient-ai-context/slices/slice-03-project-map-reading-order/slice.json +66 -0
  45. package/specs/quiver-v14-tiered-context-pack/EVIDENCE_REPORT.md +42 -0
  46. package/specs/quiver-v14-tiered-context-pack/SPEC.md +116 -0
  47. package/specs/quiver-v14-tiered-context-pack/STATUS.md +35 -0
  48. package/specs/quiver-v14-tiered-context-pack/slices/slice-01-tiered-context-pack/slice.json +77 -0
  49. package/specs/quiver-v14-tiered-context-pack/slices/slice-02-agents-md-router/slice.json +74 -0
  50. package/specs/quiver-v14-tiered-context-pack/slices/slice-03-active-slice-lifecycle/slice.json +74 -0
  51. package/specs/quiver-v14-tiered-context-pack/slices/slice-04-dedup-frontmatter/slice.json +83 -0
  52. package/specs/quiver-v14-tiered-context-pack/slices/slice-05-doctor-smokes-tiered-pack/slice.json +84 -0
  53. package/src/create-quiver/index.js +299 -123
  54. package/src/create-quiver/lib/analyze.js +9 -0
  55. package/src/create-quiver/lib/doctor.js +212 -0
  56. package/src/create-quiver/lib/git.js +154 -0
  57. package/src/create-quiver/lib/init-docs.js +616 -0
  58. package/src/create-quiver/lib/lifecycle.js +478 -0
  59. package/src/create-quiver/lib/paths.js +19 -0
  60. package/src/create-quiver/lib/readiness.js +300 -0
  61. package/src/create-quiver/lib/scope.js +5 -0
  62. package/src/create-quiver/lib/slice.js +194 -0
  63. package/src/create-quiver/lib/state.js +89 -0
@@ -0,0 +1,84 @@
1
+ {
2
+ "slice_id": "slice-05-doctor-smokes-tiered-pack",
3
+ "ticket": "QUIVER-05",
4
+ "type": "test",
5
+ "title": "Doctor and Smokes for Tiered Pack",
6
+ "objective": "Teach `doctor` to warn when the tiered pack drifts out of contract, and add CI smokes that cover the pack, AGENTS.md, ACTIVE_SLICE lifecycle, and deduplication.",
7
+ "description": "Slices 01-04 introduce new artifacts. Without validation, those artifacts silently decay: QUICK grows past 50 lines, front-matter fields disappear, ACTIVE_SLICE is left orphaned after cleanup, or stack duplication creeps back in. This slice adds lightweight checks in `doctor` and cross-platform smokes in CI so the contract stays enforced. This slice also absorbs the doctor and smoke assertions originally planned for v13 slice-04, which was removed during reconciliation.",
8
+ "git": {
9
+ "branch_type": "test",
10
+ "base_branch": "main",
11
+ "branch_slug": "doctor-smokes-tiered-pack",
12
+ "branch_name": "test/QUIVER-05-doctor-smokes-tiered-pack"
13
+ },
14
+ "must": [
15
+ "Extend `src/create-quiver/lib/doctor.js` (or the doctor logic in `src/create-quiver/index.js`) to print warnings when: QUICK.md exceeds 50 non-empty lines, STANDARD.md exceeds 300 non-empty lines, AGENTS.md is missing any of the six required sections, any file in `docs/ai/` is missing front-matter, `ACTIVE_SLICE.md` exists without any active worktree, or stack information appears in more than one generated file",
16
+ "Warnings are non-fatal: doctor still exits 0 when only warnings are present, and exits non-zero only for existing hard failures",
17
+ "Add a smoke script `scripts/ci/smoke-tiered-pack.sh` that: creates a scratch project, verifies tier files exist and meet size bounds, verifies AGENTS.md sections, runs start-slice and checks ACTIVE_SLICE.md, runs cleanup-slice and checks ACTIVE_SLICE.md is gone, and greps for duplicated stack info",
18
+ "Wire `scripts/ci/smoke-tiered-pack.sh` into the existing `smoke:create-quiver` package script or add a sibling `smoke:tiered-pack` script",
19
+ "Update `.github/workflows/ci.yml` so the new smoke runs on macOS, Linux, and Windows matrix entries",
20
+ "Smoke asserts that docs/DECISIONS.md exists in a freshly generated project",
21
+ "Smoke asserts that docs/PROJECT_MAP.md contains a Suggested Reading Order section",
22
+ "Smoke asserts that generated guidance names all four AI modes (onboarding, implementation, review, debug)",
23
+ "Update specs/[project-name]/EVIDENCE_REPORT.md.template guidance to prefer summarized command evidence (command, exit code, first relevant error, stacktrace, log path) over pasted long logs"
24
+ ],
25
+ "not_included": [
26
+ "New diagnostic commands (token-cost, diff-pack are deferred to v15)",
27
+ "Blocking doctor on warnings (they stay informational)",
28
+ "Replacing existing smokes"
29
+ ],
30
+ "acceptance": [
31
+ "Running `doctor` on a healthy v14-generated project prints zero warnings and exits 0",
32
+ "Running `doctor` on a project where QUICK.md has 60 non-empty lines prints a warning mentioning the 50-line budget",
33
+ "Running `doctor` on a project where AGENTS.md is missing the Reading Budget section prints a warning naming that section",
34
+ "Running `doctor` on a project where `docs/ai/STANDARD.md` has no front-matter prints a warning for that file",
35
+ "`smoke-tiered-pack.sh` exits 0 against a freshly generated project and non-zero when any check fails",
36
+ "CI matrix entries for macOS, Linux, and Windows execute the new smoke",
37
+ "Smoke fails if DECISIONS.md is missing after init",
38
+ "Smoke fails if PROJECT_MAP.md is missing the Suggested Reading Order section",
39
+ "Smoke fails if any of the four mode names is missing from generated guidance",
40
+ "Generated EVIDENCE_REPORT.md.template prefers summarized command evidence over long logs"
41
+ ],
42
+ "files": [
43
+ "src/create-quiver/lib/doctor.js",
44
+ "src/create-quiver/index.js",
45
+ "scripts/ci/smoke-tiered-pack.sh",
46
+ "package.json",
47
+ ".github/workflows/ci.yml",
48
+ "specs/[project-name]/EVIDENCE_REPORT.md.template",
49
+ "specs/quiver-v14-tiered-context-pack/SPEC.md",
50
+ "specs/quiver-v14-tiered-context-pack/STATUS.md",
51
+ "specs/quiver-v14-tiered-context-pack/EVIDENCE_REPORT.md",
52
+ "specs/quiver-v14-tiered-context-pack/slices/slice-05-doctor-smokes-tiered-pack/slice.json"
53
+ ],
54
+ "tests": [
55
+ "node bin/create-quiver.js --name \"Scratch\" --dir /tmp/quiver-v14-slice-05-smoke",
56
+ "node bin/create-quiver.js doctor --dir /tmp/quiver-v14-slice-05-smoke",
57
+ "bash scripts/ci/smoke-tiered-pack.sh",
58
+ "awk 'NR==1,/^---$/{next} /^---$/{exit} {print}' /tmp/quiver-v14-slice-05-smoke/docs/ai/QUICK.md > /dev/null",
59
+ "git diff --check"
60
+ ],
61
+ "documentation": [
62
+ "docs/TESTING_GUIDE_FOR_AI.md.template",
63
+ "README.md"
64
+ ],
65
+ "dependencies": [
66
+ "slice-01-tiered-context-pack",
67
+ "slice-02-agents-md-router",
68
+ "slice-03-active-slice-lifecycle",
69
+ "slice-04-dedup-frontmatter"
70
+ ],
71
+ "assumptions": [
72
+ "Warnings are more useful than hard failures for stylistic contracts; hard failures belong to migration and file presence checks",
73
+ "A single smoke script is easier to maintain than spreading the checks across the existing smokes",
74
+ "Cross-platform shell differences are already handled by the v12 CI matrix; the new smoke follows the same conventions"
75
+ ],
76
+ "estimated_hours": 4,
77
+ "actual_hours": null,
78
+ "status": "completed",
79
+ "blocked_reason": null,
80
+ "ready_at": null,
81
+ "started_at": "2026-04-23",
82
+ "completed_at": "2026-04-23",
83
+ "actual_hours": 5
84
+ }