# Configure enrollments and storage

Source: https://usecns.dev/hippocampus-topic-configure-enrollments-and-storage/

[Start here](https://usecns.dev/manual-hippocampus/)
[CLI commands](https://usecns.dev/commands-hippocampus/)
[Configuration & integration](https://usecns.dev/hippocampus-topics/)

Start with the manual's inactive TOML example. The only content policy is `unredacted-synthetic-only` and retention is `manual-until-delete`. Complete synthetic records, including unknown fields and reasoning-like content, are intentionally preserved. There is no encryption layer, organizational ownership classifier or real-data authorization policy. `synthetic = true` is an operator assertion, never a detector or permission to enroll real activity.

Each source needs a nonempty unique alias, adapter/format, source-version label, file, native session ID and expected workspace. Session IDs must be unique per adapter/controller. Source version is operator provenance, not vendor-version detection. `workspace` is a metadata expectation; the collector never opens it. `sources` may be omitted for no enrollments. Omitted `enabled` and `synthetic` default false; explicitly enable only a confirmed synthetic fixture before inspection or capture.

For the other checked-in fixture, copy `tests/fixtures/claude-experimental.jsonl` to a dedicated fixture directory and use `adapter = "claude"`, `format = "claude-jsonl-experimental-v1"`, `session_id = "synthetic-claude"`, `workspace = "/synthetic/work"` and its explicit absolute file path. Pi uses `adapter = "pi"` and `format = "pi-v3"`. Neither adapter discovers linked sessions or certifies real vendor versions, Claude Desktop/web or subagent completeness.

Keep configuration protected from untrusted repository edits. Paths must be absolute, non-root, without dot components or symlinks. State and destination must be separate non-nested directories; source must be outside both. No `~`, variable, glob or include expansion is performed. File limit must be 1..16,777,216 bytes; record limit must be positive and no greater than file limit. Aggregate limits, if supplied, must be positive. Unsupported schemas, policies and formats fail closed along with unknown fields.

New storage directories/files use private 0700/0600 permissions. Existing storage directories with unsuitable permissions are rejected, not silently repaired. Controller, state/destination and policy identities are bound on disk; changing destinations is not a supported migration or fallback. Separate controllers need separate storage roots. Permission checks do not defend against an administrator or hostile same-account process.