Summary
On macOS 27, CodexBar 0.37.2 cannot fetch Codex/OpenAI web usage even though Chrome is the only installed/signed-in browser for ChatGPT. The fetch path still enumerates previously removed browsers (ChatGPT Atlas, Comet, and Dia) while Chrome is not enumerated, then fails with either No matching OpenAI web session found in browsers. or OpenAI web dashboard fetch timed out.
This looks like stale browser discovery plus a macOS 27 browser profile / TCC compatibility issue around Chrome cookie import.
Environment
- CodexBar: 0.37.2 (build 92)
- macOS: 27 beta
- Browser state:
- Chrome is installed and signed in to
chatgpt.com
- ChatGPT Atlas was uninstalled earlier
- Comet was uninstalled during troubleshooting
- User expects CodexBar to use Chrome only
What I expected
CodexBar should enumerate Chrome as an OpenAI web session source and use the signed-in chatgpt.com session to fetch Codex/OpenAI web usage extras for the active Codex account.
What happened
CodexBar does not enumerate Chrome in the OpenAI web refresh logs. It only attempts:
browser=Dia
browser=ChatGPT Atlas
browser=Comet
browser=Dia
The fetch then fails with one of:
No matching OpenAI web session found in browsers.
or:
OpenAI web dashboard fetch timed out after 20/30/45 seconds.
This continues after granting Full Disk Access to both:
/Applications/CodexBar.app
/Applications/CodexBar.app/Contents/Helpers/CodexBarCLI
and after quitting/restarting CodexBar.
Diagnostic commands run
/Applications/CodexBar.app/Contents/Helpers/CodexBarCLI usage \
--provider codex \
--source web \
--web-timeout 20 \
--format json \
--pretty \
--log-level debug
Representative output:
2026-06-25T14:43:24+0800 debug com.steipete.codexbar.browser-cookie-gate: browser=Dia [CodexBarCore] Cookie access allowed
2026-06-25T14:43:24+0800 debug com.steipete.codexbar.browser-cookie-gate: browser=ChatGPT Atlas [CodexBarCore] Cookie access allowed
2026-06-25T14:43:24+0800 debug com.steipete.codexbar.browser-cookie-gate: browser=Comet [CodexBarCore] Cookie access allowed
2026-06-25T14:43:24+0800 debug com.steipete.codexbar.browser-cookie-gate: browser=Dia [CodexBarCore] Cookie access allowed
2026-06-25T14:43:26+0800 debug com.steipete.codexbar.openai-webview: [CodexBarCore] OpenAI webview show
2026-06-25T14:43:45+0800 debug com.steipete.codexbar.openai-webview: [CodexBarCore] OpenAI webview hide
[
{
"error" : {
"code" : 1,
"kind" : "provider",
"message" : "OpenAI web dashboard fetch timed out after 20 seconds."
},
"provider" : "codex",
"source" : "web"
}
]
Earlier runs also returned:
No matching OpenAI web session found in browsers.
diagnose output:
{
"appVersion": "0.37.2",
"auth": {
"configured": false,
"modes": []
},
"displayName": "Codex",
"error": {
"category": "unknown",
"safeDescription": "An unexpected error occurred"
},
"fetchAttempts": [
{
"errorCategory": "unknown",
"kind": "oauth",
"wasAvailable": true
}
],
"platform": "macOS",
"provider": "codex",
"schemaVersion": "1.0",
"settings": {
"sourceMode": "auto"
},
"source": "failed",
"sourceMode": "auto"
}
Additional observations
- Before Comet/Atlas cleanup, their local cookie databases contained OpenAI/ChatGPT cookies, but the Atlas
__Secure-next-auth.session-token was expired.
- After switching to Chrome as the only intended browser, CodexBar still did not enumerate Chrome.
- Reading
~/Library/Application Support/Google/Chrome from the troubleshooting shell returns Operation not permitted; however Full Disk Access was granted to both the app and helper and CodexBar was restarted.
CodexBarCLI is separately signed with identifier CodexBarCLI, while the main app is com.steipete.codexbar, so this may be related to helper-level TCC behavior on macOS 27.
Possible root cause
macOS 27 may have changed how browser profile directories or Keychain-backed Chromium cookie stores are protected. CodexBar's OpenAI web cookie importer appears to:
- Keep enumerating stale/uninstalled browser sources.
- Not enumerate Chrome even when Chrome is installed and signed in.
- Fall back to WebKit probing that times out or cannot prove a matching signed-in OpenAI session.
Acceptance criteria
- OpenAI web refresh enumerates Chrome when Chrome is installed and signed in to
chatgpt.com.
- Removed browsers such as Atlas/Comet are not preferred or repeatedly enumerated when their app/data is no longer present.
- If Chrome profile access is blocked by macOS 27/TCC, diagnostics should say that directly and name the exact bundle/helper that needs permission.
- Codex provider web extras should fetch successfully from the Chrome session or fail with a specific actionable error instead of generic timeout / no matching session.
Summary
On macOS 27, CodexBar 0.37.2 cannot fetch Codex/OpenAI web usage even though Chrome is the only installed/signed-in browser for ChatGPT. The fetch path still enumerates previously removed browsers (
ChatGPT Atlas,Comet, andDia) while Chrome is not enumerated, then fails with eitherNo matching OpenAI web session found in browsers.orOpenAI web dashboard fetch timed out.This looks like stale browser discovery plus a macOS 27 browser profile / TCC compatibility issue around Chrome cookie import.
Environment
chatgpt.comWhat I expected
CodexBar should enumerate Chrome as an OpenAI web session source and use the signed-in
chatgpt.comsession to fetch Codex/OpenAI web usage extras for the active Codex account.What happened
CodexBar does not enumerate Chrome in the OpenAI web refresh logs. It only attempts:
The fetch then fails with one of:
or:
This continues after granting Full Disk Access to both:
/Applications/CodexBar.app/Applications/CodexBar.app/Contents/Helpers/CodexBarCLIand after quitting/restarting CodexBar.
Diagnostic commands run
Representative output:
Earlier runs also returned:
diagnoseoutput:{ "appVersion": "0.37.2", "auth": { "configured": false, "modes": [] }, "displayName": "Codex", "error": { "category": "unknown", "safeDescription": "An unexpected error occurred" }, "fetchAttempts": [ { "errorCategory": "unknown", "kind": "oauth", "wasAvailable": true } ], "platform": "macOS", "provider": "codex", "schemaVersion": "1.0", "settings": { "sourceMode": "auto" }, "source": "failed", "sourceMode": "auto" }Additional observations
__Secure-next-auth.session-tokenwas expired.~/Library/Application Support/Google/Chromefrom the troubleshooting shell returnsOperation not permitted; however Full Disk Access was granted to both the app and helper and CodexBar was restarted.CodexBarCLIis separately signed with identifierCodexBarCLI, while the main app iscom.steipete.codexbar, so this may be related to helper-level TCC behavior on macOS 27.Possible root cause
macOS 27 may have changed how browser profile directories or Keychain-backed Chromium cookie stores are protected. CodexBar's OpenAI web cookie importer appears to:
Acceptance criteria
chatgpt.com.