"""The core domain: packets, projects and units, documents, the write pipeline. Pure SQL helpers over one connection."""