Latency bug: Tracker._inference_worker read the camera and ran pose inference in the same synchronous loop, so a slow model frame backs up the camera driver queue and lag grows without bound - the same bug win_main.cpp fixed natively (dedicated capture thread, condition-variable wake, latest- frame-wins, no fixed poll). Added _capture_worker on its own thread, storing only the latest frame behind a lock+condvar; _inference_worker now waits for and consumes the newest capture, never a queued one. run()/stop() start and join both threads. Updated the regression test to drive capture then inference synchronously (both are plain methods, no real threading needed for a deterministic single-frame test). Full suite: 98/98 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.