JS mirror of the desktop tests/test_hazard.py section 5 (the declared accessor contract) plus the analytic momentum pin. Also see the physics parity harness.