Pattern
Adapter / DTO
Translating between layer shapes.
Where: ReelsPresenter (adapts app state to the
pixi-reels API), response mappers in infrastructure/.
The rule: when two layers have different shapes, put a thin adapter at the boundary. Don't leak the outer shape inward.
DTO note: network responses are DTOs. Validate them at the boundary
(NetworkManager) and hand domain-shaped data to the rest of the app.
Do not pass raw JSON through phases.