Deterministic, offline citation router for UK legislation: maps a query to the exact Act or SI provision, or explains why it can't. Zero dependencies, built for legal RAG.
Proof of concept: sentence-level verification for legal RAG during generation, with KV-cache rollback. An LLM judge as the auditor improved answers; the packaged DeBERTa head did not.