24 lines
906 B
Markdown
24 lines
906 B
Markdown
# Architecture overview
|
|
|
|
This Mermaid view is a repository-local implementation projection. The
|
|
`PASS_SCOPED` reviewer evidence applies to the canonical draw.io diagram named
|
|
in `review-ledger.json`, not automatically to edits in this file.
|
|
|
|
```mermaid
|
|
flowchart LR
|
|
Bootstrap[bootstrap / composition root] --> Presentation[presentation]
|
|
Bootstrap --> Adapters[adapters]
|
|
Presentation --> Application[application]
|
|
Adapters --> Application
|
|
Application --> Domain[domain]
|
|
Contracts[contract registries] --> Bootstrap
|
|
Contracts --> Adapters
|
|
Contracts --> Presentation
|
|
```
|
|
|
|
Dependencies point inward. Presentation calls application use cases, adapters
|
|
implement application ports, and only the composition root selects concrete
|
|
adapters. Contract registries are the single named source for routes, API
|
|
operations, environment values, storage keys, errors, queries, telemetry, and
|
|
release tokens.
|