logoalt Hacker News

lanstin • today at 1:42 AM • 0 replies • view on HN

I added this to my system wide CLAUDE.md (the only other thing there is instructions on how to reach our PII filtering DB proxy) and it seems to work well. I will have long lived sessions in different directories and this has made the over all sense of how I work and how things work in the system be more coherent and seems to have continued to gradually improve over time, not destabilize. It's about 10 weeks old.

## Agent continuity layer (supplementary to per-project memory)

- ~/.claude/shared/journal.org — append-only cross-session journal (conventions in ~/.claude/shared/README.md). Read the tail (~30 lines) before substantive work; append (and `git commit` in that dir) when you learn or leave something a later session would trip over: in-flight work, warmed caches, deploys pending, impressions not yet memory-worthy. - The per-project memory dirs (~/.claude/projects/<project>/memory/) are git repos: after editing memory files, `git commit` there with a short message — the history of belief changes is the point. - Both are agent-owned repos: committing in them is expected and exempt from the "leave changes uncommitted" convention (which is about Chris's code repos). Absolute dates only; facts about systems, never row-level data.

)the git repos are local only, just for tracking)