Hippocampus · Configuration & integration
Manage capacity without eviction
max_spool_bytes bounds logical serialized payload bytes across all episodes in spool, defaulting to 67,108,864 bytes. The complete envelope counts: raw evidence, events and manifest. An exact fit succeeds; an oversized bundle is rejected whole, not split or evicted. Ingest attempts its own pending delivery first, then checks admission before staging/checkpoint advance. An inspect preview reserves no capacity.
max_archive_bytes separately bounds finalized serialized payload files under destination episodes; omission means uncapped. Inventory includes regular untracked/restored final files, but occupancy does not authorize adopting them. Regular .tmp files are excluded. Invalid/unreadable inventory blocks accounting. New capture must fit both limits. Delivery must fit a missing target, but an already identical target can finish acknowledgment and spool cleanup even above a subsequently lowered cap.
On spool capacity exhausted or archive capacity exhausted, inspect content-free used/required/limit counts. Preserve committed payloads and denied new input. Explicitly raise an authorized cap or delete an authorized episode, then retry; nothing auto-evicts. Lowering caps does not erase data or disable verification/deletion. Pending delivery can recover without source; denied new capture still needs it.
Status reports usage, limits and available bytes; archive limit/availability are null when uncapped. Its state priority is spool-capacity-exhausted, archive-capacity-exhausted, pending-delivery, idle. Below-ceiling usage does not prove the next bundle fits: ingest admission is authoritative. Tail counts are last observations, not live collector health.
Neither cap is a total-disk quota or reservation. SQLite/control/tombstone files, directory/filesystem overhead, archive temporary double-writes and other excluded storage can still fill the disk. There is no automatic expiry, backup lifecycle, compression, legal hold or physical disk-full qualification. Retention remains indefinite manual-until-delete.