Koder Drive — `products/horizontal/drive/app`

Role in the stack

Area Sector Consumers
products/horizontal drive All Koder apps needing file sync / backup / snapshot storage

Primary couplings

Module Nature
engines/sdk/koder_kit Flutter SDK for Drive UI (KoderDataTable pending #060)
services/foundation/id User identity / OAuth (koder-id auth)
infra/data/kdb Future RLS migration path (drive#010)

Status

v1.4.1 (2026-05-07) — in development.

Feature Status Notes
Snapshot namespace (drive#001) ✅ done Content-addressed dedup'd blob store + per-user quota + erasure scheduling
Erasure event consumer (drive#006) ✅ done Redis Streams XREADGROUP for identity.user.erased → PurgeNamespace
Migration ordering fix (drive#007) ✅ done Fresh DB bootstrap works
Orphan-blob GC (drive#008) ✅ done (2026-05-27) Background sweeper for blobs orphaned by cascading user deletes
Readiness probe (drive#009) ✅ done (2026-05-27) GET /healthz with DB ping (503 when unreachable)
RLS tenancy (drive#010) 🟡 in-progress Multi-phase: RLS policies + GUC middleware + non-superuser role. Needs owner ratification on isolation axis