Skip to main content

Find My Data — actual-code architecture

This diagram reflects the code as built (not aspiration). One deployable server process hosts the API and an embedded durable worker; the worker can also run as a separate process against the same queue (bun run worker). All stores are SQLite tables behind role interfaces (ADR-0003); projections are rebuildable.

The staged pipeline (scan/pipeline.ts + intelligence/inference.ts)

Stage-cache keys encode the invalidation matrix: an eTag-only change (rename, permission, label) reuses content/features as cache hits with zero content fetches (tested); a cTag change re-fetches; an ensemble release re-scores from retained features with no connector dependency at all (tested).

What is real vs. gated here