"""Phase 1 data pipeline (docs/03-data-pipeline.md). Stage logic lives here as pure, CPU-testable functions over the records in :mod:`nida.data.types`; model inference runs in isolated worker environments. """