ADR-0003 — Content-addressed filesystem store (S3 adapter deferred)
Status: accepted, 2026-12-04. Reversible.
Decision. Artifacts are immutable blobs named by their SHA-256 under <data>/blobs/ab/cd/<sha>,
written atomically and verified on upload. artifacts rows are the tenant-scoped references;
blobs rows are the physical objects. Deleting data removes references; a garbage collector
removes blobs nobody references.
Why. No S3-compatible service runs in the fleet; the available shared storage is an NFS volume without locks, which suits immutable files plus atomic rename and nothing more demanding. The store has five operations (put, get, exists, verify, delete): an S3 backend is a small adapter when a bucket exists.
Deduplication without leakage: a tenant can only address artifact rows it owns; identical content collected by two tenants gives two rows pointing at one blob, and no API answer depends on whether the blob already existed.