Problem
The repo has solid unit and property-based tests for core physics, but the motion integration work needs browser-facing coverage for pointer, scroll, and device-motion flows. Browser sensor APIs also need explicit mock seams so tests can prove behavior without physical devices.
Scope
- Add a small browser test or demo harness for interaction behavior.
- Mock device motion/orientation events and permission responses.
- Cover pointer coordinate mapping, scroll stickiness, motion permission gating, and cleanup.
- Document manual test steps for actual mobile devices.
Validation
- New test command or clearly documented browser harness.
- Existing
pnpm test, pnpm check, pnpm build, Bazelisk build, and npm dry-runs still pass.
Problem
The repo has solid unit and property-based tests for core physics, but the motion integration work needs browser-facing coverage for pointer, scroll, and device-motion flows. Browser sensor APIs also need explicit mock seams so tests can prove behavior without physical devices.
Scope
Validation
pnpm test,pnpm check,pnpm build, Bazelisk build, and npm dry-runs still pass.