[Bug]: openlogi-agent calls TCCAccessRequest for Accessibility in a rapid ~1.2s loop on macOS
- Dominant language
- Rust
- Stars
- 21k
- Forks
- 675
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 172
Description
### Which part of OpenLogi?
Agent
### Operating system
macOS (Apple Silicon, macOS 26.x)
### OpenLogi version
0.8.1
### Description
In macOS unified logs (`log show --predicate 'process CONTAINS "openlogi"'`), `openlogi-agent` is observed calling `TCCAccessRequest() IPC` repeatedly every ~1.2 seconds:
```text
openlogi-agent: (TCC) TCCAccessRequest() IPC
openlogi-agent: (TCC) TCCAccessRequest() IPC
tccd: [com.apple.TCC:access] TCCDProcess: identifier=org.openlogi.openlogi attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
```
### Steps to reproduce
1. Launch OpenLogi / openlogi-agent on macOS.
2. Observe system logs with `/usr/bin/log show --predicate 'process CONTAINS "openlogi"' --last 5m`.
### Expected Behavior
Accessibility status should be queried via `AXIsProcessTrusted()` / cached without continuous IPC spam to `tccd`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the openlogi-agent code that checks macOS Accessibility status, then reproduce the behavior with /usr/bin/log show --predicate 'process CONTAINS "openlogi"' --last 5m. Trace why TCCAccessRequest is called every ~1.2 seconds and verify that status uses AXIsProcessTrusted or caching without continuous IPC messages to tccd.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- accessibility, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100