/** * packs-check — the mechanical guard of the pack tier's P contract * (docs/architecture/packs.md). Small on purpose: packs are exempt from the * acceptance matrix, NOT from discipline. * * Checks (all error-level): * P-3 no raw platform APIs in `src/packs/` — everything goes through the * injected ports (`SceneDom` etc.). Raw `requestAnimationFrame`, * `new ResizeObserver/IntersectionObserver/MutationObserver`, * `addEventListener`, `setTimeout/setInterval`, `matchMedia` = error. * S-1 no scoped `