What's New
- MEMORY.md capacity management — 5000 char soft cap with usage% tracking, warns at 80%, blocks writes at 100%
- USER.md auto-update —
--user "preference"writes to USER.md with 1500 char cap - Auto-snapshot before compaction/GC — stored in
memory/snapshots/, keeps last 10 - Integrity monitoring — cron detects accidental MEMORY.md wipe (<100 bytes) and auto-restores from latest snapshot
- Periodic snapshots every 6h via cron
--consolidatecommand — analyze and deduplicate MEMORY.md entries with snapshot safety--snapshotcommand — manual MEMORY.md snapshot- Boot shows capacity% (
📊 MEMORY XX%) - Health check includes capacity info for both MEMORY.md and USER.md + snapshot count
- Gap alerting in cron (>2 consecutive days missing)
Install
clawhub install memory-engine-3layer
# or
git clone https://github.com/ZackO2o/memory-engine.gitInspired by Hermes Agent bounded memory design + OpenClaw Dreaming separation.
Full changelog: CHANGELOG.md