The in-game skeleton/cursor tracking was left/right reversed. Root cause: tracker-native's win_main.cpp physically mirrors the captured frame (pixel-level horizontal flip) before pose inference, but publishes the raw unmirrored frame as the color stream, and runs its mapper with cal_mapping_cfg.mirror=false (verified by reading win_main.cpp and core/mapping.cpp directly). The shim's unconditional L/R joint swap (fallback/windows-nui/src/sensor.cpp) then corrects MediaPipe's resulting left/right mislabeling. The Python tracker never physically mirrored the capture - it only applied a coordinate-level flip (1-u) in joint_mapping.py, with FrameContractPublisher defaulting mirror=True. That left joint identity already correct on its own (no image mirror -> no MediaPipe mislabeling -> no swap needed), so the shim's unconditional swap then flipped it backwards: the exact "tracking is backwards" symptom. Fix: Tracker._inference_worker now mirrors the frame (cv2.flip) before handing it to the pose provider, exactly like win_main.cpp, while keeping the raw frame for self._latest_frame (the published color stream). FrameContractPublisher's mirror default changes to False to match cal_mapping_cfg.mirror=false, so the physical flip isn't double-applied. New regression test calls the real Tracker._inference_worker directly (not a reimplementation) with an asymmetric synthetic frame and asserts the pose provider receives the mirrored version while the stored/published frame stays unmirrored. Updated test_publish_and_read_back_fake_pose to compute its independent expectation with the publisher's actual mirror setting instead of assuming it matches joint_mapping's own default. Full suite: 11/11 passing. Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
tests/ — cross-cutting test targets
test_core.cpp— GoogleTest smoke test linked againstlibnui_core, run via CTest.test_smoke.py— pytest smoke test proving collection + a passing case.
Per-module unit tests (mapping golden vectors, synth pack/unpack, contract layout) are added alongside their todos.