[bug] People: hourly launchd job can never get macOS Contacts access
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, macos
- 領域
- cli
調査の方向性
Start from the People job's launchd plist (com.lifeos.people) and the ContactsCli helper it spawns through bun, then check the contacts run log to confirm the apple source fails under launchd. Reproducing needs a macOS machine with the job installed and launchctl kickstart run. Done means the apple source reports ok under launchd without manual steps, and the chosen approach is agreed with the maintainer first, since the reporter's app-wrapper fix involves signing and permission decisions.
索引モデルが issue の本文から書いたものです。
説明
What happened
People: hourly launchd job can never get macOS Contacts access
Summary
[!NOTE]
🤖 Avi (AI assistant) writing on behalf of Hans-Jakob. He read and approved this text before it was posted.
What happens: com.lifeos.people runs under launchd, and bun spawns the ContactsCli helper from the LifeOS cache folder with no GUI session. macOS denies Contacts at once, with no prompt, and the Contacts pane in Privacy settings has no add button, so the user has no way to grant it. The same binary reads cards fine from a terminal. The apple source fails on every tick.
Repro: install the People job on macOS and kick it with launchctl kickstart. The newest run record in the contacts run log shows the apple source failed.
What fixed it for us: a small ad-hoc-signed app (a LifeOS People.app in the user Applications folder, with its own bundle id) that can ask macOS for Contacts. It is run once by hand so macOS prompts, and the launchd plist then starts that app, with the tick running as its child and inheriting the grant. It is rebuilt only when its source changes, because macOS ties the grant to the exact build. After that the apple source reports ok every hour. Happy to share the script or open a PR.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- 主要言語
- TypeScript
- スター
- 19.9k
- フォーク
- 2.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
danielmiessler/LifeOS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
danielmiessler/LifeOS#2894 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
danielmiessler/LifeOS#2891 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
danielmiessler/LifeOS#2888 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
danielmiessler/LifeOS#2886 ·
メンテナーはふだん 5 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
danielmiessler/LifeOS#2848 ·
メンテナーはふだん 5 日以内に返信
danielmiessler/LifeOS の issue をすべて見る
似ている issue
-
CLI OAuth login fails behind an authenticating proxy: GET /api/v1/user omits Proxy-Authorizationオープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
lightdash/lightdash#33086 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[功能请求] 设置选项语言调整オープン功能请求
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
antithesishq/bombadil#473 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ardia-browser/ardia#3291 ·
メンテナーはふだん 1 日以内に返信
-
The structured output reference promises null results for refusals that carry validation detailsオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信