Structs§
- Memory
Entry - A scored memory record with confidence, trust, and graph links.
- Memory
Graph - In-memory graph of memory entries keyed by ID.
- Reinforcement
- A single reinforcement event (positive or negative feedback).
Enums§
- Memory
Category - Classifies the kind of information a memory entry represents.
- Trust
Level - Indicates the trustworthiness of a memory entry’s source.
Functions§
- available_
disk_ bytes - Available bytes on the filesystem holding
path(best-effort;Noneif it can’t be determined). Unix usesstatvfs; other platforms returnNone. - disk_
aware_ max_ entries - Disk-aware memory cap: never exceeds
configured, but on a small/full disk it shrinks further (≤5% of free space, ~600 bytes/entry, ≤64 MB budget), while always keeping a useful floor so some user content is still remembered. Memory is cheap (a few MB) and must not be skimped — only a genuinely tiny disk shrinks it, and even then it keeps a healthy floor.