Repository navigation
fix(automation): require screen recording only on macos - #867
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 16, 2026 10:03
This was referenced Nov 16, 2026
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.
Change
[email protected]reportsscreen_recording: unknownon Linux because Screen Recording is a macOS TCC permission. The worker incorrectly treated that state as a readiness failure, so installation ended with “Grant Screen Recording permission for desktop screenshots”.Desktop preflight now enforces Screen Recording only on macOS. Linux and Windows can report
unknown; Accessibility and the platform check remain required. Documentation and platform-specific readiness tests are included.The Claude live permission integration test now waits for the gateway to persist the target turn as
runningbefore sending the live permission update. This removes a CI-only race between the fixture trace and WorkerLink ingestion.Fixes: #846
Verification
bun run check:tmp apps/worker/src/agent-tools/adapters.test.ts— 18 tests passedbun run check:tmp tests/integration/claude-live-permissions.test.ts— 3 tests passedbun run lint -- apps/worker/src/agent-tools/preflight.ts apps/worker/src/agent-tools/fixtures.test-support.ts apps/worker/src/agent-tools/adapters.test.tsbun run lint -- tests/integration/claude-live-permissions.test.tsbun run --filter @canopy/worker typecheckbun run format -- apps/worker/src/agent-tools/preflight.ts apps/worker/src/agent-tools/fixtures.test-support.ts apps/worker/src/agent-tools/adapters.test.ts tests/integration/claude-live-permissions.test.tsgit diff --check