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

1.3 KiB

id type title tags importance confidence created updated relations
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-03-03T05:32:47.987847+00:00
target type direction strength edge_id
96a6c125-bb69-45af-b1b6-a9b48654fb7e RELATED_TO incoming 0.75 d0342cf0-b6f5-43c4-be5c-b1ec25216265
target type direction strength edge_id
1af571c5-cf7a-4e40-b324-6973b56f2502 RELATED_TO incoming 0.72 b5ed8a02-b4db-409b-b67f-8b9d7ff8041b

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}.