claudemd-cli 0.28.0 → 0.30.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 (2) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -8,6 +8,27 @@ All notable changes to the `claudemd` plugin. This changelog tracks plugin artif
8
8
  - **Canonical spec version source**: `spec/CLAUDE.md` top-line title (`# AI-CODING-SPEC vX.Y.Z — Core`) + `spec/CLAUDE-changelog.md` top `##` entry.
9
9
  - **Plugin semver vs spec semver** are independent: plugin patch (0.2.0 → 0.2.1) may ship when spec is unchanged (this release); plugin minor (0.1.9 → 0.2.0) ships when spec minor updates (v0.2.0 shipped spec v6.10.0).
10
10
 
11
+ ## [0.30.0] - 2026-07-10
12
+
13
+ **Minor — E2 cross-layer memory maintenance report (doctor checks).** Fourth implementation tranche of `docs/spec-optimization-plan-2026-07-10.md` (P5 item E2). Wrong-layer memory placement fails silently; these checks make it observable. Candidates only — no auto-migration (a §5-scoped write, operator's call).
14
+
15
+ - **`scripts/lib/memory-maintenance.js`** + three `/claudemd-doctor` checks:
16
+ - `memory-maintenance:promote` — claude-mem-lite lessons cited ≥3× and alive ≥30d (reads `~/.claude-mem-lite/claude-mem-lite.db` read-only via `node:sqlite`, project-scoped by the mem-lite `parent--name` convention; degrades to `skipped: …` when the DB or `node:sqlite` is absent). High-frequency recall = de-facto durable knowledge → MEMORY.md candidate.
17
+ - `memory-maintenance:recall-repatriation` — durable `recall_*.md` plugin-absent fallback files older than 30d (migrate into mem-lite or delete).
18
+ - `memory-maintenance:stale` — durable files >90d with zero `*.md` keyword mentions in the telemetry log window (review tags per §11-EXT or retire).
19
+ - **Tests**: new `tests/scripts/memory-maintenance.test.js` (3 cases: in-window vs out-of-window mention liveness, promote filter matrix — young / under-cited / superseded / foreign-project all excluded, missing-dir graceful empty). Relative timestamps throughout (absolute-date fixtures are time bombs).
20
+ - First live run: 1 promote candidate (#8264 "jq -R required for JSONL parsing", cited ≥3×), 0 recall-repatriation, 0 stale across 47 durable files.
21
+
22
+ ## [0.29.0] - 2026-07-10
23
+
24
+ **Minor — C1 over-ceremony detector (superpowers collision cost measurement).** Third implementation tranche of `docs/spec-optimization-plan-2026-07-10.md` (P3 item C1).
25
+
26
+ - **`overCeremony` section** in `scripts/sampling-audit.js` (same event-stream scan): segments the main-line transcript into tasks at typed user messages (bare `继续`/`next`/`怎么停了`/`why did you stop` continuations extend the current segment, mirroring §1.5), classifies a segment L0/L1-shaped when it edited ≥1 file, ≤2 distinct files, <80 estimated LOC (Edit old+new / Write content line sums), and counts model-initiated ceremony `Skill` calls (sp `brainstorming` / `test-driven-development` / `systematic-debugging` / `writing-plans` / `executing-plans`) landing in those segments. Q&A segments (0 edits) are not opportunities — ceremony there can be correct §2.1 routing. User-typed /commands are not counted.
27
+ - **C2 pre-registered threshold** exported as `OVER_CEREMONY_THRESHOLD = 0.05` (test-pinned): after 30d collection, rate < 5% → keep superpowers, close P3; ≥ 5% → evaluate uninstall (§EXT §12 fallback table) / fork / hook-level disable. Fixed before data collection.
28
+ - Markdown report gains an `## Over-ceremony (C1)` section; `--global` aggregates the measure across project dirs.
29
+ - **Tests**: sampling-audit 17 → 19 (segmentation + continuation-no-split + large-task-ceremony-excluded + threshold pin).
30
+ - First live run (this repo, 30d): 281 segments / 11 L0/L1-shaped / 0 over-ceremony (brainstorming×2, writing-plans×2 all in large or Q&A segments).
31
+
11
32
  ## [0.28.0] - 2026-07-10
12
33
 
13
34
  **Minor — sampling-audit detector expansion 4 → 8, opportunity denominators, self/external stratification, pre-registered calibration gate.** Second implementation tranche of `docs/spec-optimization-plan-2026-07-10.md` (P1 items A2–A5).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudemd-cli",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "Standalone CLI for §10-V banned-vocab + transcript scanning. Companion to the claudemd Claude Code plugin (github.com/sdsrss/claudemd) for use in git pre-commit hooks, GitHub Actions, and other agents.",
5
5
  "type": "module",
6
6
  "bin": {