Skip to content

v6.0.0 — Capacity Management + Integrity Protection

Latest

Choose a tag to compare

@ZackO2o ZackO2o released this 17 Apr 14:26

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
  • --consolidate command — analyze and deduplicate MEMORY.md entries with snapshot safety
  • --snapshot command — 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.git

Inspired by Hermes Agent bounded memory design + OpenClaw Dreaming separation.

Full changelog: CHANGELOG.md