/** * Source capability resolver — pure, no DB, no side effects. * * Maps a `DesignSourceType` (inline | localhost | fusion) to the concrete * `DesignSourceCapabilities` map. Callers that have already proven a richer * capability set (e.g. a localhost bridge that has verified `readFile`) should * override the defaults after calling this function. * * The canonical tier semantics live in `DESIGN-STUDIO-PLAN.md` §5: * * - **inline** — HTML/CSS preview + controlled writes via the deterministic * `replace-document-content` / `apply-tweaks` path; `previewMotion` + Tier-A * `writeMotion` (managed `