"""Data-access layer for the novel app. Each module exposes plain functions taking an explicit sqlite3 connection (row_factory=sqlite3.Row) and returning plain dicts. No Flask imports. """