anthropics / anthropics/claude-code
Repeated "access data from other apps" (kTCCServiceSystemPolicyAppData) permission prompts every 2-3 minutes
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
**App version:** claude-code 2.1.258 (macOS desktop app)
**Description:**
The desktop app repeatedly triggers the macOS "'claude' would like to access data from other apps" privacy prompt (Automation/App Data permission), roughly every 2-3 minutes, even when the app is idle and not actively being used for a task.
**Diagnosis from system logs (`log show --predicate 'process == "tccd"'`):**
Each recurrence corresponds to a new internal subprocess PID spawned by the app (e.g. parent 14937 → child 14998 in one instance, parent 9695 → child 9733 in another), each triggering a fresh `kTCCServiceSystemPolicyAppData` prompt via sandboxd. TCC does not appear to remember a prior Allow/Don't Allow answer across these subprocess launches — suggesting the code signature/identity isn't stable between spawns, so macOS treats each one as an unverified requester.
**Impact:** Interrupts the user every 2-3 minutes regardless of whether Claude Code is in use.
**Expected:** Permission should be requested once and persist, or the background process triggering repeated `kTCCServiceSystemPolicyAppData` checks shouldn't need to re-request per subprocess launch.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the prompt and running `log show --predicate 'process == "tccd"'` while recording the parent and child subprocess PIDs. Compare the spawned processes' code-signing identity and TCC behavior around `kTCCServiceSystemPolicyAppData`. Done means an idle app no longer prompts every 2–3 minutes and an Allow or Don't Allow decision persists across subprocess launches.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, python
- 領域
- desktop, operating-systems, security
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100