From dfbc8a7e4e3de71b8c41a8a27552ef987fb784da Mon Sep 17 00:00:00 2001 From: bchanot Date: Sun, 1 Nov 2026 12:08:48 +0100 Subject: [PATCH] =?UTF-8?q?docs(memory):=20=C2=A7=20WRITE=20says=20-C=20cd?= =?UTF-8?q?s=20first=20and=20--body-file=20is=20absolute;=20tour/deploy/au?= =?UTF-8?q?dit-delta=20point=20at=20=C2=A7=20WRITE;=20evals=20template=20L?= =?UTF-8?q?ater=20status=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 4a parked minors, doc half. --- lib/capitalize-commit.md | 6 ++++-- skills/audit-delta/SKILL.md | 1 + skills/deploy/SKILL.md | 1 + skills/tour/SKILL.md | 1 + templates/memory/evals.md | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) 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"`. -->