# Configuration and environment inventory

Source: https://usecns.dev/hippocampus-topic-configuration-and-environment-inventory/

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

TOML settings have no environment overrides. Required top-level keys: `schema_version` (1), nonblank `controller`, `state_dir`, `destination`, `content_policy`, `retention`, `max_file_bytes`, `max_record_bytes`. Optional: `max_spool_bytes` (67,108,864), `max_archive_bytes` (absent/uncapped), `sources` (empty). Required source keys: `id`, `adapter`, `format`, `source_version`, `file`, `session_id`, `workspace`; optional `enabled` and `synthetic` (both false). The configuration and storage sections above specify validation, path binding and cap semantics. Receiver/sender/TLS setup structs are separate library inputs, not additional TOML keys.

The following environment variables apply **only with `fault-injection`**; matching values deliberately exit with status 86. They are test controls, not runtime configuration:

| Variable | Accepted crash labels |
| --- | --- |
| `HIPPOCAMPUS_TEST_CRASH` | `after-stage`, `after-journal`, `after-archive`, `after-ack`, `after-tombstone` |
| `HIPPOCAMPUS_SYNTHETIC_RECEIVER_TEST_CRASH` | `staged`, `object-installed`, `before-catalog-commit`, `catalog-committed`, `origin-revoked`, `suppression-fenced`, `erasure-unlinked`, `before-credential-commit`, `credential-initialized`, `credential-rotated`, `credential-revoked`, `before-credential-schema-commit`, `credential-schema-upgraded`, `before-receipt-policy-commit`, `receipt-key-rotated`, `receipt-key-compromised`, `before-receipt-schema-commit`, `receipt-schema-upgraded` |
| `HIPPOCAMPUS_SYNTHETIC_SENDER_TEST_CRASH` | `enqueued`, `receipt-verified`, `receipt-recorded`, `receipt-committed`, `cancelled`, `policy-bootstrapped`, `policy-migrated`, `policy-recorded`, `policy-committed` |
| `HIPPOCAMPUS_HTTPS_CRASH` | `before-accept`, `accepted-before-response` |

Unmatched values do not trigger an exit. Integration-test child-process variables are internal harness plumbing, not supported user configuration; run their parent tests rather than invoking ignored child drivers directly.