Files
metabuilder/dbal/shared
johndoe6345789 9a8083d3f4 Document root DBAL seed architecture: minimal bootstrap only
Add README to /dbal/shared/seeds/database explaining:
- Philosophy: Root seed = minimal, Packages = everything
- Structure: Only installed_packages.yaml and package_permissions.yaml
- Data flow: How bootstrap loads package entity folders
- What NOT to put here (all entity-specific data goes in packages)
- Idempotency guarantees
- How to add new core packages

This establishes the architecture:
1. DBAL seed contains only:
   - List of 12 core packages to install
   - System permissions and roles

2. Everything else goes in packages:
   - PageConfig (pages/routes)
   - Workflows
   - Credentials
   - Notifications
   - Components
   - Package-specific seed data

This clean separation means:
- Root DBAL is minimal and stable
- Packages are self-contained
- Easy to add/remove packages
- Clear organization

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-16 14:56:39 +00:00
..