docs: security gate — data rule in § WRITE, spike probe header, redaction set

capitalize-commit § WRITE: captured text only via a quoted heredoc body
file. Spike probe flagged do-not-load, job path generic. noise.py port
scope stated. README, USAGE, CHANGELOG list the 6-bis redaction shapes.
This commit is contained in:
bchanot committed 2026-11-04 14:42:15 +01:00
1 parent d5dd34fc68
commit a403df2472
7 files changed
+17 -9

No files matched your search

+4 -1
View File
@@ -34,7 +34,10 @@ tune it there.
Registry entries and journal lines are written only by `lib/memory.sh`,
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.
give `--body-file` an absolute path. Captured text (memory_pending lines,
commands, excerpts) goes into the body file only, written through a quoted
heredoc with a unique delimiter (`MEMCAP_EOF_<random>`), never `echo`/`printf`,
never a shell argument.
- Entry: caveman body to a scratch file, then
`bash "$HOME/.claude/lib/memory.sh" [-C <project root>] add