store: Cognitive Memory automated maintenance with systemd timers

This commit is contained in:
Cal Corum 2026-02-13 15:09:52 -06:00
parent fa3acf4836
commit c1e84ee34e

View File

@ -0,0 +1,23 @@
---
id: d0313cb7-2f3b-485f-9b56-e8aaf656127a
type: configuration
title: "Cognitive Memory automated maintenance with systemd timers"
tags: [cognitive-memory, systemd, automation, maintenance, configuration]
importance: 0.8
confidence: 0.8
created: "2026-02-13T21:09:52.961436+00:00"
updated: "2026-02-13T21:09:52.961436+00:00"
---
Set up systemd user timers for automatic cognitive memory maintenance:
Daily timer (midnight): decay → core → embed
Weekly timer (Monday midnight): reflect
Service files at ~/.config/systemd/user/cognitive-memory-{daily,weekly}.{service,timer}
Both have Persistent=true so missed runs execute on next boot.
Updated client.py to reflect automation in CORE.md header (changed 'Next refresh: manual' to 'Next refresh: daily (systemd timer)').
Check status: systemctl --user list-timers cognitive-memory-*
View logs: journalctl --user -u cognitive-memory-daily.service