Core Architecture & Invariant CI / validate (pull_request) Successful in 21s
- Replace recursive _wait_backoff() tail call with iterative loop (CR-01) - Clear _wake_requested in _run_wake() try/finally and on PAIRING_REQUIRED in _connection_loop() so failed wakes cannot busy-spin (CR-02) - Add _reload_requested flag and clear event before flag checks in _wait_backoff() (CR-05) - Replace private _ui_lock access in timeout test with concurrent screenshot() contention (CR-03) - Add regression and contract tests for wake PAIRING_REQUIRED backoff, type_text, list_inputs, switch_input, and raw_ssap (CR-02, CR-04)