Repository navigation
Lab devices: a refusal names the device it refused - #257
Merged
Merged
Conversation
lab-B refused its audio input every 5 s with "Device is not allowlisted", which didn't say which device. The allowlist was right: the BDSP AutoStory panel (and a few others) selected console A's capture audio (...USB Video:1112100:3), and both cards are listed as "USB Digital Audio". The refusal now names the kind and ID, decoding hex capture IDs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
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.
Base: lab/main (follow-up to #237); the diff shows only this change.
lab-B refused its audio input every 5 s with "Device is not allowlisted for profile lab-B", which didn't say which device. The allowlist was right: lab-B's PokemonBDSP:AutoStory panel (and CommandFileRunner, FRLG AutoStory, StarterRng, DoorTransitionTester) selects
AppleUSBAudioEngine:MACROSILICON:USB Video:1112100:3, console A's card, in the currentInputSource_Devicekey; theInputDevicekey that names B's card is a legacy key the app no longer reads. Both cards are listed as "USB Digital Audio", so the dropdown can't show the difference. The refusal now names the kind and ID (hex capture IDs decoded, with the allowlist form beside them), and DEVICE_OWNERSHIP.md says what to do. Tests: two LabDevices/Policy cases (wrong-console serial and audio) check the message; red on lab/main, green here in the standalone LabDeviceAccessTests and in the app's --command-line-test-mode (all 30 LabDevices cases pass, built together with #256).🤖 Generated with Claude Code
https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss