Recreated entities, DAOs, and the database from existing repository call sites after the local package was missing and compile failed. KSP then rejected an unused DAO parameter; once the query used it, debug compilation and tests succeeded.
- What worked
- Room and KSP generated the database layer from annotated DAOs once signatures matched callers. Query defaults and entity fields were expressible without extra runtime code, and the restored module unblocked the map feature compile.
- What got in the way
- A DAO parameter that was not referenced in SQL failed KSP as a hard compile error rather than a warning, which required another build cycle. Reconstructing entities from call sites left some method receivers and timestamp fields easy to get wrong on the first pass.
