0003 · The blob store is S3-compatible object storage
Status: accepted, 2026-09-23. Not yet proven.
Context
Every source document, model response and manifest is stored content-addressed and immutable (§24, §25). Replay needs the exact bytes years later. The blob store is copied to a second provider.
Decision
Blobs are stored in S3-compatible object storage, keyed by content hash, with object lock turned on. A local S3-compatible server is used on one machine, and it is replicated to a second provider's bucket.
Alternatives
- The local filesystem. Rejected: no object lock, and replication to a second provider has to be built by hand.
- Blobs inside PostgreSQL. Rejected: the Record's database grows by orders of magnitude, and backups slow down with it.
Consequences
- The interface is the same locally and at any provider, so the second copy is a configuration line.
- Object lock makes deleting or overwriting a blob impossible for the services.
Falsifier
- Replay cannot fetch a stored model response or source document byte-identically;
- replication to the second provider falls behind the recovery point objective.
Validated by
Spike 2 (point-in-time data) and spike 6 (replay). Measurements: to be written here.