- The base (
features/main) core-databaseimportseach peer feature's core-database plugin, so all schemas coexist, persist, and sync while the base type stays decoupled. - The base reaches a peer only through a lazy element wrapper (dynamic import), so peers load on demand.
- The entry point creates the live database from
MainService.plugin(the base feature's assembled database — seefeatures/services/main-service/index.md) and mounts the root UI.
See features/index.md (one-app-many-features) for the wiring rules.