Implements ADR 7: an optional replicates ref on catalog.release and catalog.artist, replica classification that folds an original and its exact copies into one tally entry and one edit-inbox node, and appview capture of shared catalog records (signed CAR verified with atproto_repo, record taken from the proof, cover hash checked, per-version) triggered by foreign adoption or credit and gated by quota and a negative cache. A delete at source or account deletion keeps captured rows as held by the appview, race-free via a durable deleted-at-source marker, conditional writes and a sweep; reads and writes on those paths fail closed and the Jetstream consumer reports its health to readiness. Also hardens /api/cover and the new /api/held-cover to serve only sniffed, allowlisted images with nosniff and a sandbox CSP (commit c369f9e stands alone if that should ship first). Schema changes are additive and migrate existing databases in place; lexicon changes are non-breaking.
Something went wrong. Try again.
gotta store my records
Something went wrong. Try again.
feat: replicate shared catalog records with verified proofs when their author leaves #175
Open
mokkenstorm.dev
targeting main from feat/catalog-replicas
Open opened by
mokkenstorm.dev targeting main from feat/catalog-replicas
Commits 7
feat: capture verified proofs of shared catalog records and hold them when their author leaves
feat: add atproto_repo with a DAG-CBOR to JSON bridge and a DID-document key decoder
feat: let a guarded transport carry its own response cap
fix: serve proxied covers only as verified allowlisted images with hardening headers
feat: fold an original and its replicas into one node in the edit inbox
feat: classify catalog replicas and fold them into one tally entry
feat: add replicates to the catalog release and artist lexicons and custody to the release row