feat: Add memory persistence functions (save/load-memory-to-disk)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s

- Add save-memory-to-disk and load-memory-from-disk to memory.lisp
- Integrate auto-save into heartbeat (every N intervals)
- Load memory on daemon startup, save on graceful shutdown/SIGINT
- Add exports to package.lisp

NOTE: Hash table serialization requires object walker for complex structures.
      Current implementation fails on load due to unreadable objects.
This commit is contained in:
2026-04-22 15:14:18 -04:00
parent b62b7f1095
commit 620267a8df
5 changed files with 133 additions and 8 deletions

View File

@@ -40,6 +40,8 @@
#:org-object-hash
#:snapshot-memory
#:rollback-memory
#:save-memory-to-disk
#:load-memory-from-disk
;; --- Context API (Peripheral Vision) ---
#:context-query-store