Hippocampus · Configuration & integration
Receiver admission and lifecycle
receiver::Setup { identity, grants, limits } is explicit trusted-local authorization. Identity fixes controller/receiver/archive and 32-hex generation. Each of 1–16 distinct Grants fixes origin, positive enrollment revision, native session, source version, workspace and 64-hex enrollment binding. Session/version are 1–128 UTF-8 bytes, workspace 1–1024, with no controls. Only pi/pi-v3, unredacted-synthetic-only, manual-until-delete are admitted; labels assert synthetic input, not detect it. Claude collector support does not imply receiver support.
Limits::default() sets active payload 64 MiB, lifetime accepted bundles 1024, episode/control rows 4096 and catalog data 4 MiB. Positive maxima are those same values; catalog data can be 64 KiB–4 MiB in 4096-byte pages, with total catalog ceiling 8 MiB reserving control space. Suppressed rows/receipts still count; cumulative raw prefix is at most 16 MiB. Logical ceilings are not disk reservations or power-loss guarantees.
| Callable | Input → output / failure boundary |
|---|---|
SyntheticReceiver::create_synthetic(root, setup) |
New independent root under private trusted parent → exclusive receiver. Existing/foreign/insecure/symlink roots and invalid setup refuse. |
open(root, &identity, minimum_lifecycle_sequence) |
Audit/recover existing root; wrong identity/generation or sequence below independently retained floor refuses. May finish fenced erasure and upgrade credential schema. |
accept(&binding, metadata, body, trusted_now_ms) |
Validate trusted grant, wire, Pi archive and contiguous cumulative evidence; install exact object before FULL-synchronous catalog/receipt transaction → Acceptance. Same key/exact full envelope returns original receipt even at data capacity; different bytes conflict. Revocation/suppression checks precede replay success. |
lookup(&binding) |
Authorized audited historical lookup → Option<Acceptance>; absence is None, revoked/unknown grant is denial, corrupt active evidence is failure, not absence. Suppressed history may still be observed by an authorized grant. |
revoke_origin(origin) |
Irreversible idempotent local fence → current lifecycle sequence; preserves historical receipts, denies all credentials/ingress/lookups for origin. |
suppress_episode(origin, episode) |
Commit fence/erase intent before unlink+directory sync → sequence. Works after origin revocation; accepted episodes retain reserved control capacity, unknown episodes consume bounded control rows. |
Acceptance separates original historical_receipt bytes from current_disposition (Active, ErasurePending, Suppressed) and current_lifecycle_sequence. Finishing erasure need not allocate another sequence. Suppressed is not physical erasure, backup deletion or continuous detection of restored files. Reopen reaps uncommitted staging and reconciles authorized erasure, never silently adopts conflicting evidence.
PUBLIC_TEST_KEY remains slot zero's public key; all eight signing seeds are public. Profile SYNTHETIC_PROFILE (PUBLIC-TEST-KEY-synthetic-process-only-v1) is unchanged. Neither pins an operational identity. This supports the lab sender's bookkeeping only. ReceiverError: InvalidSetup, InvalidRoot, Locked, LifecycleMismatch, Denied, InvalidIngress, InvalidArchive, Quota, Conflict, Suppressed, Integrity, Storage; Display/Debug/source do not wrap inputs or OS/SQLite/parser secrets. Stop on integrity/conflict; preserve roots, policy floors and evidence rather than resetting them.