claude/skills
bastien 0fe6153ead fix(prune-memory): STEP 4 verify — prefix mapping bug (TDD RED→GREEN)
First end-to-end run of /prune-memory on real .claude/memory/ surfaced
a broken verify script:

Old: `prefix=$(basename "$f" .md | tr a-z A-Z | cut -c1-3)` derived
the prefix from the filename's first 3 letters → produced DEC / LEA /
BLO. Actual prefixes are BDR / LRN / BLK. The grep then matched zero
entries, no MISSING/ORPHAN was ever reported, and the script printed
its "OK if blank" footer regardless of real state. False clean signal.

Fixed: hard-mapped filename → prefix via `declare -A PREFIX_MAP`.
Verified against current registries — 14 BDR + 16 LRN + 2 BLK + 1 EVAL
entries all index-consistent, no false negatives.

Added EVAL prefix to the map (evals.md was missing from the loop in
v1). Footer line clarified to `(blank above = OK)`. `wc -l` excludes
`.original.md` backups from the output.

Note: caveat in skill body said "v1 ships without baseline TDD test —
STEP 2 approval gate is the safety net". First real test caught a
verify bug that bypassed STEP 2 entirely. Lesson: STEP 4 is its own
safety net and needs its own test.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-11 16:27:31 +02:00
..
analyze test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
bugfix test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
client-handover refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
close feat(capitalize): enforce English in all memory registry entries 2026-04-23 16:24:04 +02:00
code-clean test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
commit-change test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
doc refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
feat test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
geo refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
graphify chore(graphify): bump skill to 0.7.0 2026-05-06 17:08:47 +02:00
harden refactor(audits): route all report writes to .claude/audits/ 2026-04-23 16:06:54 +02:00
hotfix test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
init-project refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
onboard refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
plugin-check test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
profile feat(profile): partition skills/plugins/MCPs/CLIs by usage profile 2026-05-05 02:09:28 +02:00
prune-memory fix(prune-memory): STEP 4 verify — prefix mapping bug (TDD RED→GREEN) 2026-05-11 16:27:31 +02:00
refactor test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
seo refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
ship-feature refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00
skills-perso optimize(skills-perso): tri-signal detection (marker/agent-ref/allowlist) + empty fallback (d8 target) 2026-05-06 18:16:57 +02:00
status test(darwin-skill): add baseline test-prompts.json for 18 personal skills 2026-05-06 17:53:51 +02:00
validate refactor(skills): compress 8 SKILL.md descriptions per writing-skills spec 2026-05-11 16:09:21 +02:00