[codex] Core hooks for station discovery, observer WS, and USB audio selection#1717
Draft
morozsm wants to merge 80 commits into
Draft
[codex] Core hooks for station discovery, observer WS, and USB audio selection#1717morozsm wants to merge 80 commits into
morozsm wants to merge 80 commits into
Conversation
morozsm
added a commit
that referenced
this pull request
Jun 9, 2026
…,Y / platform_uid) (#1736) Port of the MOR-390 core hooks from draft PR #1717 (original commit 8c5a5e7) onto current main. Explicit --rx/--tx-device selectors now match by device index or platform UID (e.g. ALSA hw:3,0), with case-insensitive/partial name fallback and actionable ambiguity errors. Unblocks MOR-420. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements three core-side follow-ups from the Station/LAN workflow:
DiscoveryResponderhooks forurls.fleetand top-levelbox_idin station discovery datagrams.hw:3,0.Notes
This stays inside open-core boundaries: no station/pro supervisor ownership or mapping logic is added. Station can now pass discovery metadata into core; Pro/station can request observer control-WS mode; callers can select the intended USB audio device without relying on ambiguous display names.
Verification
uv run pytest tests/test_discovery_responder.py tests/test_web_server.py tests/test_web_ptt_readonly.py tests/test_usb_audio_stub.py tests/test_audio_backend.py tests/test_macos_audio_uid.py -q --tb=short-> 283 passed, 2 skippeduv run ruff check src/ tests/-> passed, with pre-existing invalid# noqawarnings intests/test_radio_poller_coverage.pyuv run pytest tests/ -q --tb=short-> 6851 passed, 126 skipped, 3 deselected, 11 xfailed, 1 xpassedLinear