Add offline proximity spotter with priority audio #6

Merged
adam merged 3 commits from codex/local-spotter into main 2026-11-29 16:43:41 -05:00
Owner

Adds an optional local iRacing proximity spotter driven by CarLeftRight: left/right overlap and clearance, reminders, and all supported three-wide arrangements. It works without an OpenAI connection or microphone and gives traffic calls priority over engineer speech. The feature defaults to disabled; users prepare the complete voice cache offline before enabling it.

  • Keep telemetry sampling responsive during pit-command verification. Spotter interruptions revoke unfinished driver-turn authority while preserving the real results of commands already sent.
  • Share one output stream with separate engineer and spotter cancellation, revalidate traffic at playback, and discard obsolete speech on source freezes, disconnects, replay, pit transitions, and session changes.
  • Add persisted settings, temporary mute and independent bindings, preview, device recovery, timing diagnostics, recorded regression fixtures, and synthetic three-wide scenarios.

Validation passed after rebasing onto main (672a0f5): 145 tests, wheel build and installation outside the checkout, preparation/validation of all 15 voice clips, and the isolated desktop smoke test. Recorded replay covers all six retained overlap episodes; synthetic tests cover all 36 valid state pairs and the missing three-wide cases.

Live Windows acceptance remains open: SAPI setup, actual audible latency, headset/PTT behavior, SDK lifecycle gates, physical devices, and native-spotter settings. The validation report and checklist distinguish automated evidence from those pending checks. No new package release is included.

Adds an optional local iRacing proximity spotter driven by `CarLeftRight`: left/right overlap and clearance, reminders, and all supported three-wide arrangements. It works without an OpenAI connection or microphone and gives traffic calls priority over engineer speech. The feature defaults to disabled; users prepare the complete voice cache offline before enabling it. - Keep telemetry sampling responsive during pit-command verification. Spotter interruptions revoke unfinished driver-turn authority while preserving the real results of commands already sent. - Share one output stream with separate engineer and spotter cancellation, revalidate traffic at playback, and discard obsolete speech on source freezes, disconnects, replay, pit transitions, and session changes. - Add persisted settings, temporary mute and independent bindings, preview, device recovery, timing diagnostics, recorded regression fixtures, and synthetic three-wide scenarios. Validation passed after rebasing onto `main` (`672a0f5`): 145 tests, wheel build and installation outside the checkout, preparation/validation of all 15 voice clips, and the isolated desktop smoke test. Recorded replay covers all six retained overlap episodes; synthetic tests cover all 36 valid state pairs and the missing three-wide cases. Live Windows acceptance remains open: SAPI setup, actual audible latency, headset/PTT behavior, SDK lifecycle gates, physical devices, and native-spotter settings. The [validation report and checklist](https://git.pseudo.design/adam/crewbot/src/branch/codex/local-spotter/docs/spotter-validation.md) distinguish automated evidence from those pending checks. No new package release is included.
Document spotter validation evidence and pending Windows checks
Some checks failed
Test and build / build (push) Has been cancelled
Logging service / logging (push) Has been cancelled
Test and build / build (pull_request) Has been cancelled
Logging service / logging (pull_request) Has been cancelled
761cc16057
Describe current repository capabilities directly in README
All checks were successful
Test and build / build (push) Successful in 3m51s
Logging service / logging (push) Successful in 6m28s
Test and build / build (pull_request) Successful in 3m36s
Logging service / logging (pull_request) Successful in 6m27s
e5516dc50f
adam merged commit dab21a5574 into main 2026-11-29 16:43:41 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
adam/crewbot!6
No description provided.