Track D: stabilize per-display coverage rest
Track D of #28.
This keeps coverage rest opt-in while making the decision path conservative and testable:
- 95% enter / 85% resume hysteresis with two stable samples in either direction
- alpha < 0.98 windows excluded from opaque coverage
- stale coverage state discarded after long sampling gaps and surface rebuilds
- every sample logs raw coverage, pending transition state, and filtered-window counts
- desktop qualification JSON records per-display coverage-rest state alongside submitted/presented/GPU counters
- focused policy tests run from
test.sh
Validation on the final head (5473c26): macOS-15 app/saver build passed, settings smoke passed, and test.sh passed including the new coverage checks. The workflow remains red only at codesign --verify --strict build/Idlesse.app with a sealed resource is missing or invalid; current main at 46ea41b fails at the same bundle-verification step after its build and tests pass, so that packaging failure is outside Track D.
Verdict at this stage: keep experimental. The branch documents the remaining rectangle-model risk for alpha-1 transparent content and the exact real-desktop matrix needed for fullscreen, overlapping windows, multi-display, Mission Control, Stage Manager, system chrome, and GPU deltas.
The execution session used to prepare this branch has no logged-in macOS desktop or attached multi-display Mac runner, so those real-desktop observations are deliberately left unclaimed. The feature remains off by default. A real Mac pass that shows false rests or trivial GPU savings should remove it instead of adding more compositor-specific exceptions.