"""Application services shared by /api/v1 and the legacy Gradio adapters. Each module owns one slice of behaviour, validates its own inputs, and raises the typed errors in ``src.api.errors``. Interfaces render those errors; they never re-implement the behaviour. """