Skip to content

Lab devices: a refusal names the device it refused - #257

Merged
dayfine merged 1 commit into
lab/mainfrom
lab/device-refusal-names-device
Nov 8, 2026
Merged

dayfine merged 1 commit into
lab/mainfrom
lab/device-refusal-names-device

Conversation

@dayfine

@dayfine dayfine commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

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 current InputSource_Device key; the InputDevice key 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

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
@dayfine
dayfine marked this pull request as ready for review November 8, 2026 20:58
@dayfine
dayfine merged commit 036a05e into lab/main Nov 8, 2026
15 of 19 checks passed
@dayfine
dayfine deleted the lab/device-refusal-names-device branch November 8, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant