-- Fleet-wide object-store taxonomy sweep evidence. This is an independent -- observability record: community deletion inventories only the target's owned -- prefixes and does not gate submission or execution on sweep state. CREATE TABLE storage_taxonomy_sweeps ( id UUID PRIMARY KEY DEFAULT gen_random_uuid(), started_at TIMESTAMPTZ NOT NULL, completed_at TIMESTAMPTZ NOT NULL DEFAULT now(), listed_objects BIGINT NOT NULL CHECK (listed_objects >= 0), unknown_object_count BIGINT NOT NULL CHECK (unknown_object_count >= 0), unknown_key_sample JSONB NOT NULL DEFAULT '[]'::jsonb, object_cap BIGINT NOT NULL CHECK (object_cap > 0), CHECK (completed_at >= started_at) ); CREATE INDEX storage_taxonomy_sweeps_latest ON storage_taxonomy_sweeps (completed_at DESC);