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