Skip to content

Troubleshooting

Start with read-only evidence, then choose the relevant repair.

Updated View as Markdown

Start with diagnostics

incodex --version
incodex status --json
incodex doctor --json

These commands do not repair or request permission. On macOS, doctor --deep adds nested-signing, entitlement, and Gatekeeper evidence. Ad-hoc signing is expected after install; Gatekeeper output alone is not proof of a failed install.

macOS refuses to launch after install

Codex build 26.1007.21159 includes a restricted communication-notification entitlement that an ad-hoc signature cannot retain. Affected earlier installations can pass signature verification but fail to launch with Code 163. Run inc update; if already affected, run incodex uninstall to restore the official app, then incodex install. Updating the CLI and Runtime alone does not re-sign the app. This does not diagnose a dots HTTP 409.

A locally re-signed official app can fail to launch with AMFI -413 No matching profile found, even when deep signature verification passes. A local signature cannot inherit the official provisioning profile for the app’s Associated Domains declaration. Incodex’s macOS re-signing filter removes this declaration when signing. This is not an Accessibility, Screen Recording, or Keychain grant failure. Run inc update to install the fixed CLI and publish its Runtime; this does not re-sign the host. Running incodex install alone is not enough because an already-verified install skips signing. Save work and quit Codex normally. Then run incodex uninstall to restore the verified original backup for the same Codex build, followed by incodex install to reapply the integration. The installer reuses the local signing identity when it is already registered. An older ad-hoc install receiving its first local identity may need initial system authorization; signing does not guarantee permission continuity. This uninstall/install sequence applies only to the default /Applications/ChatGPT.app install. For custom --app or --clone installs, keep the original target selection for both uninstall and install. The restored official app may show its permission guide; skip it if you are immediately installing again. This sequence does not reset TCC automatically; do not reset macOS privacy permissions manually. The next real official Codex update has not been verified. This recovery is for an already affected installation, not the normal update procedure.

macOS remote-control key creation fails before the browser opens

This recovery applies to the existing classic login Keychain fallback for local key creation when the official remote-control module reports missing entitlement (-34018). Run inc update, fully quit and reopen Codex, then retry authorization. Updating Runtime does not re-sign Codex. After a Sparkle update, the registered default install attempts recovery; if integration remains missing, run incodex install against the current app. --app and --clone use their original install flow. These startup instructions describe key creation, not the separate device-key signing path below.

This targets local device-key creation, not dots HTTP 409 or every remote-control failure. The official web and cloud authorization flow remains in place. Local create/read/sign/delete tests cover those operations only. They do not prove remote enrollment or authorization continuity after a real official Codex update. Existing inaccessible keys are not automatically migrated or deleted. See permissions for the Keychain protection boundary.

Stable local signing identity: the compatibility adapter accepts the existing ad-hoc host or a strictly verified host whose leaf certificate matches the private public-certificate registration. This identity check does not grant Accessibility, Storage Key or remote-control access. To migrate an existing ad-hoc-signed default macOS install, explicitly run incodex uninstall then incodex install once; the new identity may need an initial grant. Do not reset permissions or regenerate device IDs to repair an identity check. Permission continuity across signing changes remains unverified.

macOS remote-control device-key signing waits for system approval

The installed macOS Runtime routes only the official module’s existing OS-protected, nonextractable P-256 device-key public/sign operations through incodex-device-key-helper. Other keys and APIs remain on the official path. This does not create or migrate a key. Do not apply the key-creation recovery steps above to this signing path.

When macOS shows an authorization dialog, verify that it names incodex-device-key-helper and that the request occurs during Remote Control. Enter your Mac login password only in the system dialog. Always Allow applies only to the current key/helper pair; a different key or changed helper identity may need approval again. Authorization continuity after a real official Codex update has not been tested.

Do not treat a repeated prompt for the same unchanged key/helper pair as normal. Verify which key and helper the request uses.

Public-key requests, helper verification and complete request transfer retain the five-minute machine deadline. After the helper receives a complete signing request, it waits for the system/helper response, helper exit or host shutdown instead of ending the approval wait at the deadline. Denial and cancellation still fail. The helper does not retry or switch to another signer.

A successful local signature does not prove remote enrollment, connection or server acceptance. A remote-environment offline message does not identify a local Keychain failure. Use the official remote-control state to determine whether enrollment or connection completed.

No hat after an update

Check whether integration is installed and which Runtime is selected. Run inc update to update the CLI and publish its bundled Runtime. Compatible UI/action changes apply live; other Runtime changes require reopening. The registered default macOS install attempts recovery after a Sparkle update; if the entry remains missing, run incodex install against the current app. Runtime publication alone does not install the app entry.

Private-window Banner after a Codex UI update

The v1.5.13 adapter supports both older and newer official Banner components, reusing Codex’s own layout, styling and dismissal action. Run inc update to update the CLI and publish its bundled Runtime.

No installation authorization card

The setup guide checks Accessibility and Screen Recording separately. Use incodex perm or inc perm to resume; accessibility and permissions are not aliases. The guide opens only for confirmed missing access; unknown stays pending. A reset requires explicit Allow and a locked fresh check that confirms access is still missing. Do not reset unrelated permissions.

Open fails or takes unusually long

Read the terminal result and check the official app’s own startup and network availability. On macOS, verify the launching terminal’s Accessibility. On Windows, check the current user’s Store package with doctor. Retrying does not justify copying a package, deleting official configuration, or bypassing ownership checks.

Unexpected language or onboarding

The private window should inherit the normal Codex language and configuration. Compare the normal app first. Report repeated failures with CLI version, official app version, launch path, and sanitized diagnostics. Do not publish auth.json, config secrets, chat databases, or private logs. A fresh survey is not accepted as the intended private-window behavior.

Windows install refuses while running

Finish active tasks, quit using Ctrl+Q or tray Quit, then retry. Incodex does not force the official app to exit. Experimental Store-update observation is not a guarantee of the first post-update cold launch.

Windows recovery helper and updated sidebar (v1.5.14)

In v1.5.14, starting a replacement recovery helper can keep inc update waiting at Publishing Runtime after publication. Interrupt that update command once and run inc update again; completed CLI and Runtime files remain installed. The inherited-handle fix is being prepared. This is separate from the older-controller migration and real Store-update limits below.

Run inc update to publish the Runtime and hand off an incompatible recovery helper. If the old running controller reports a fixed-verifier migration boundary, quit Codex normally and retry inc update; do not force-close the host or overwrite an immutable helper directory. Records from a different installation operation still require explicit uninstall/install migration.

The release adapts the sidebar, tooltip and private notice to the current official module layout, and routes private-window exit through a normal native close request. A first post-update window that was launched without integration still needs a normal exit and explicit incodex install against the current package. Real Store-update first-window recovery remains experimental; the system installation error is not proven resolved.

Session leftovers or interrupted installation

Inspect doctor. Never delete the normal ~/.codex databases. For interrupted macOS mutations, use the exact transaction’s recover. Uncertain state is retained rather than blindly destroyed.

Getting help

Open a project issue with sanitized facts. For vulnerabilities, follow SECURITY.md, not a public issue.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close