diff --git a/lib/capitalize-commit.md b/lib/capitalize-commit.md index bc3c47a..b228519 100644 --- a/lib/capitalize-commit.md +++ b/lib/capitalize-commit.md @@ -32,14 +32,16 @@ tune it there. ## WRITE (before the commit) Registry entries and journal lines are written only by `lib/memory.sh`, -never by Edit or append; there is no `## Index` to update. +never by Edit or append; there is no `## Index` to update. Every verb takes +`-C ` when the cwd is not the project root; it `cd`s first, so +give `--body-file` an absolute path. - Entry: caveman body to a scratch file, then `bash "$HOME/.claude/lib/memory.sh" [-C ] add --title "" --body-file <file> [--status <status>] [--supersedes <ID>]`. One call per entry; it allocates the ID under a lock and prints it. A blocker body quotes ≥1 - error in backticks. `-C` when the cwd is not the project root. + error in backticks. - Status change on an existing entry: `bash "$HOME/.claude/lib/memory.sh" status <ID> "<word> …"`, the text starting with a status word (`resolved abc1234`, `open, reopened by …`, diff --git a/skills/audit-delta/SKILL.md b/skills/audit-delta/SKILL.md index c2a2ee0..95de729 100644 --- a/skills/audit-delta/SKILL.md +++ b/skills/audit-delta/SKILL.md @@ -249,6 +249,7 @@ AUDIT-DELTA COMPLETE — 2026-06-11 Then offer to capitalize (per CLAUDE.md): recurring finding patterns → `learnings.md`, audit verdicts → `evals.md`. Behind approval, never silent. +Approved entries per `lib/capitalize-commit.md` § WRITE. ## Axis specs (subagent prompts) diff --git a/skills/deploy/SKILL.md b/skills/deploy/SKILL.md index ac40682..c70066f 100644 --- a/skills/deploy/SKILL.md +++ b/skills/deploy/SKILL.md @@ -448,6 +448,7 @@ The deploy succeeded. Lay the oracle and close out. 7. Report: deployed SHA, tag (+ push result), state committed, any `DEP-NNN` learned this deploy. Then offer to capitalize per CLAUDE.md (recurring failure pattern → `learnings.md`; deploy verdict → `evals.md`), gated, never silent. + Approved entries per `lib/capitalize-commit.md` § WRITE. --- diff --git a/skills/tour/SKILL.md b/skills/tour/SKILL.md index 44ad537..49f99ee 100644 --- a/skills/tour/SKILL.md +++ b/skills/tour/SKILL.md @@ -275,6 +275,7 @@ TOUR COMPLETE — 2026-07-04 Then offer to capitalize (gated, per CLAUDE.md): recurring cross-project patterns → learnings, tour verdict → evals. Never write registries without that approval — neither this repo's nor any target project's. +Approved entries per `lib/capitalize-commit.md` § WRITE. ## Rules diff --git a/templates/memory/evals.md b/templates/memory/evals.md index 176701d..4065069 100644 --- a/templates/memory/evals.md +++ b/templates/memory/evals.md @@ -28,4 +28,5 @@ rules: - **Anomalies**: <what is wrong, missing, surprising> - **Action**: <keep | correct | deprecate> +Later status: `bash ~/.claude/lib/memory.sh status EVAL-NNN "deprecate, see BDR-NNN"`. -->