How to design and ship a shared core that powers multiple codebases with one identity, one database, and unified primitives—without coupling or chaos.