[macos] Swift helper never appears in the Accessibility list on its own; users must manually dig out the helper binary
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- authorization, desktop, operating-systems, security
Research direction
Start by locating the macOS helper build configuration and the Python permission alert, then inspect how the helper is packaged and invoked. Verify the helper embeds the named bundle metadata, logs its identity once per launch, and presents clearer guidance; done means macOS lists “ActivityWatch Window Helper” without manual navigation.
Written by the indexing model from the issue text.
Description
Describe the bug
When aw-watcher-window-macos requests Accessibility access, macOS does not add a usable entry for it to System Settings > Privacy & Security > Device control and data access (macOS 26+) / Accessibility. The user must click +, navigate into the app bundle's hidden Contents/Frameworks/aw_watcher_window/ directory, and select the helper binary by hand.
Related: #147 (repeated prompt loop). Even once prompting is fixed to once-per-launch, the grant flow still requires Finder spelunking.
Root cause
The helper is a bare unix executable with no bundle identity (adhoc identifier along the lines of aw-watcher-window-macos-5555…, no Info.plist), so TCC has nothing clean to list when the prompt flow runs.
Expected behavior
Prompting should produce a named entry ("ActivityWatch Window Helper") in the permissions list automatically, so the user only has to toggle it — no manual navigation to the helper binary.
Proposed fix
Embed an Info.plist (CFBundleIdentifier net.activitywatch.aw-watcher-window-macos, CFBundleName) into the helper binary at build time (__TEXT,__info_plist section), plus a one-time log naming the helper and clearer guidance copy in the Python permission alert.
Caveats (out of scope)
- Nothing can self-grant TCC: the user still approves once; that is Apple's floor.
- On adhoc local builds, grants are keyed by cdhash, so rebuilding still invalidates them. Only a Developer ID signature gives persistence across rebuilds.
- Dominant language
- Python
- Stars
- 133
- Forks
- 92
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ActivityWatch/aw-watcher-window
-
[macos] Accessibility permission prompt reappears every ~10s even after granting accessPossibly taken @StreamOfRon claimed this 57 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
ActivityWatch/aw-watcher-window#163 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ActivityWatch/aw-watcher-window#123 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
ActivityWatch/aw-watcher-window#103 · 1 comment · 3 reactions ·
All issues in ActivityWatch/aw-watcher-window
Similar issues
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePossibly taken @jianyx1 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#8354 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
Maintainers usually reply within 1 day
-
comp/tools P2 tool/skills type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#159541 ·
Maintainers usually reply within 1 day