Acceptance Criteria
- A sandbox with
activation="visible" or "click" that is a cover media zone's guest emits a build warning naming the conflict (inert backdrop vs. activation affordance) and the fix (drop activation, i.e. eager). - Eager sandboxes under cover, and non-eager sandboxes outside cover, warn nothing — no regression to the WORK-381 paths.
- Unit test covers warn / no-warn cases.
Approach
SPEC-084-style validation in the engine's cover handling (packages/transform/src/engine.ts §6d already walks the cover media zone for posture demotion and the WORK-399 auto-fill — check the located rf-sandbox guest's data-activation there), following the existing warnInteractiveGuestInLink pattern.
References
- SPEC-101 §5 · SPEC-090 (posture) · WORK-381 (activation modes)
Resolution
Completed: 2026-06-11
Branch: claude/spec-101-hero-cover-prism
What was done
packages/transform/src/engine.ts — warnNonEagerCoverSandbox (warn-once per container:activation, following the warnInteractiveGuestInLink pattern), called from the §6d cover handling when a backdrop sandbox carries data-activation="visible"|"click". Message names the conflict and the fix (drop activation).packages/transform/test/cover.test.ts — warn/no-warn cases: visible warns, click warns, eager under cover silent, non-eager outside cover silent (WORK-381 paths untouched).