docs(memory): § WRITE says -C cds first and --body-file is absolute; tour/deploy/audit-delta point at § WRITE; evals template Later status line

Phase 4a parked minors, doc half.
This commit is contained in:
bchanot committed 2026-11-01 12:08:48 +01:00
1 parent c92381e492
commit dfbc8a7e4e
5 files changed
+8 -2

No files matched your search

+4 -2
View File
@@ -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 <project root>` 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 <project root>] add
<decision|learning|blocker|eval> --title "<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 …`,
+1
View File
@@ -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)
+1
View File
@@ -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.
---
+1
View File
@@ -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
+1
View File
@@ -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"`.
-->