feat(app): add composition root

This commit is contained in:
syntaxbullet
2026-07-03 09:36:04 +02:00
parent d7406e803a
commit 9422494458
6 changed files with 47 additions and 17 deletions

7
app/AGENTS.md Normal file
View File

@@ -0,0 +1,7 @@
# App Composition Rules
- `app/` is the composition root for runtime wiring.
- Create registries, stores, command sets, input adapters, and renderer/view adapters here.
- Do not implement domain rules, command behavior, rendering backend logic, or React UI here.
- App composition may import from all layers, but lower layers must not import from `app/`.
- Keep factories testable; avoid module-level mutable singleton state unless explicitly required by the runtime entrypoint.