No commit subjects, so I need to inspect the diffs.## Fixes
- Mastra memory and storage now run on a dedicated service-principal Lakebase pool instead of the routing pool's per-request OBO identity. Threads, messages, and semantic recall live in the app-owned
mastra_*schemas, which a per-user role typically cannot create or share, so memory now connects reliably across users and during schema auto-creation.
Internals
- The memory builder takes an explicit service-principal
Poolresolved from the lakebase plugin'sgetPgConfig()outside anyasUserscope, dropping the previous lazyRoutingPoollookup. SP username falls back to an API lookup for local PAT-authenticated dev. - The plugin drains its memory pool on
abortActiveOperations, clearing the handle so a re-setup()rebuilds it. - Added a direct
pgdependency for the new pool construction.