Repository navigation
Config compatibility regression: none → deny migration should not break the entire Codex App/CLI #23920
aifirstd3v
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I want to report a serious DX/UX regression around
config.tomlcompatibility after upgrading Codex.Environment:
0.132.0Version 26.519.22136 (3003)~/.codex/config.tomlAfter upgrading, a previously working Codex setup became effectively unusable. The App still launched, but the product surface was mostly broken:
codex mcp list/ config-dependent CLI behavior became unreliablecodex doctor --jsonreported only a genericconfig.loadfailure without telling me the exact offending key, line, table, or migration pathThe root cause appears to be filesystem permission entries using the old
nonespelling, for example:Changing these entries from
nonetodenyfixed the App-side failure in my case:I understand the intent behind making
denythe canonical spelling for filesystem permission entries. In fact, PR #23493 says the goal was to makedenycanonical while preserving compatibility for older configs that still send/usenone.However, from a user perspective, this is a poor failure mode. Whether the spelling is
noneordenyis not semantically important enough to justify breaking the entire App/CLI experience after an upgrade. This is especially painful because Codex itself previously suggested/accepted this kind of config structure, and the failure was not localized to the permission profile. It made unrelated surfaces appear broken, including hooks, MCP settings, and chat usage.The main issue is not the rename itself. The issue is that a small config schema/migration change can cascade into a near-total product failure without actionable diagnostics.
Expected behavior:
Legacy
nonefilesystem permission entries should continue to be accepted for at least a meaningful migration window.If
noneis deprecated, Codex should emit a precise warning, not fail hard:codex doctorshould report the actual config error instead of only:config could not be loadedfailed to load Codex configCodex App should degrade gracefully:
There should be a migration command, for example:
codex config validatecodex config migrate --checkcodex config migrate --writeBackward compatibility should be tested across mixed App/CLI versions, especially when the App and CLI are distributed separately.
If a config schema change is intentionally breaking, the release notes and docs should call it out with an explicit migration example.
Related references:
denycanonical for filesystem permission entries #23493: Makedenycanonical for filesystem permission entriesThis kind of config fragility is especially risky for power users who maintain advanced
config.tomlsetups for sandboxing, hooks, MCP, and permission profiles. Codex is increasingly becoming an agentic development environment, so config compatibility and diagnostic quality are not minor details. They are part of the core product reliability surface.I am not trying to argue that
denyis a bad name. It is arguably clearer thannone. The problem is that a naming/canonicalization change should not brick the App/CLI or force users to manually inspect the schema and reference docs line by line just to recover a working environment.Please consider treating this as a product-level config migration and diagnostics issue, not merely as a closed configuration edge case.
All reactions