Skip to content

Fix macOS accessibility reset flow#544

Merged
basnijholt merged 1 commit into
mainfrom
codex/fix-accessibility-reset-relaunch
May 29, 2026
Merged

Fix macOS accessibility reset flow#544
basnijholt merged 1 commit into
mainfrom
codex/fix-accessibility-reset-relaunch

Conversation

@basnijholt
Copy link
Copy Markdown
Owner

Summary

  • Stop the Fn-aware event tap before resetting the app's Accessibility TCC grant.
  • Run tccutil reset Accessibility off the main thread and avoid prompting from the live reset menu action.
  • Relaunch AgentCLI after a successful reset so the normal startup permission prompt happens from a clean process.

Test Plan

  • uv run pytest tests/test_macos_app.py -k 'accessibility'
  • swift test from macos/AgentCLI
  • uv run pytest tests/test_macos_app.py
  • uv sync --all-extras
  • uv run pytest
  • pre-commit run --all-files

@basnijholt basnijholt merged commit 5a572a4 into main May 29, 2026
9 of 10 checks passed
@basnijholt basnijholt deleted the codex/fix-accessibility-reset-relaunch branch May 29, 2026 05:27
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