claude-memory/graph/configurations/hourly-embedding-refresh-timer-with-if-changed-flag-7a3913.md

959 B

id type title tags importance confidence created updated
7a391397-2276-42bf-bca6-e1bb468029cd configuration Hourly embedding refresh timer with --if-changed flag
cognitive-memory
systemd
automation
embedding
configuration
0.7 0.8 2026-02-19T20:53:09.280113+00:00 2026-02-19T20:53:09.280113+00:00

Created systemd user timer cognitive-memory-embed.timer that runs hourly. Uses claude-memory embed --if-changed which compares memory IDs in _index.json vs _embeddings.json — skips in ~0.1s when nothing changed, full re-embed (~27s) only when memories were added or deleted. Removed embed from daily timer (cognitive-memory-daily.service) since hourly covers it. Daily timer now only runs decay, core, and symlinks. Both services need export PATH="/home/cal/.local/bin:$PATH" because systemd doesn't load user shell profile and uv lives in ~/.local/bin. Files: ~/.config/systemd/user/cognitive-memory-embed.{service,timer}.