codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows Desktop saved app approvals are rejected as unrecognized configuration by Codex 0.159.x

Open ricoifyou opened this issue 2 months ago • 19 comments

Summary

Codex Desktop on Windows saves persistent Computer Use app decisions in a user-config table that both its installed backend and the separate official CLI reject as an unrecognized setting. Removing the table clears the backend warning, but resets the saved approvals. The Desktop save path can write the same setting again, so deletion is a workaround rather than a fix for saving Always allow decisions.

Observed versions and platform

  • Windows x64.
  • Codex Desktop 26.928.20755, build 12246; the configured updater reports up_to_date.
  • Embedded backend 0.159.0.
  • Separately installed official Codex CLI 0.159.2.

Actual behavior

The configuration notice identifies this key as ignored:

computer_use.windows.always_allowed_app_ids

The installed Desktop reader/writer uses a Boolean table such as:

[computer_use.windows.always_allowed_app_ids]
"chrome.exe" = true

This is valid TOML, with no simultaneous array/table definition. Both installed engines reject the field with strict configuration parsing. The documentation's array form also rejected the field in the local compatibility investigation:

[computer_use.windows]
always_allowed_app_ids = ["chrome.exe"]

The same minimal table, tested in a credential-free temporary CODEX_HOME, fails with either backend from both a repository working directory and an empty working directory: four negative cases. The rejection occurs before RPC initialization or any model request, which helps separate the problem from project configuration or account access.

Minimal reproduction

  1. Use an official installed Codex executable and an empty temporary CODEX_HOME, without copying account credentials.

  2. Put the single-app Boolean table above in that home's config.toml.

  3. Run the executable with:

    codex app-server --strict-config --stdio -c features.remote_control=false
    
  4. Close standard input without sending any RPC requests. Both observed versions exit with code 1 and identify the unknown configuration field.

  5. Replace the file with only approval_policy = "on-request" and repeat. Both engines exit with code 0 and no unknown-field notice: two positive controls.

After removing the saved-decision table from the actual local user configuration, both engines also passed strict startup from the actual project directory with empty stdin, exit code 0 and no unknown-field notice. All other configuration bytes and values were preserved. No thread was started and no model request was sent.

Recurrence and verification limits

Read-only inspection of the installed Desktop save/read paths shows that the writer saves this root table and the reader filters its true entries. The migration path imports the older computer-use/config.toml allow-list into the same setting. Moving approvals back to the old file therefore does not establish a durable fix.

The expected recurrence after selecting Always allow again is supported by that save-path inspection. The complete native Windows GUI remove/approve/restart cycle was not empirically replayed in this investigation; it should be included in the product team's regression check. Backend parsing after removal was verified, but a refreshed Desktop settings screenshot was not captured.

Expected behavior

Please make the Desktop reader, writer, backend schema and migration agree on a supported representation. Existing saved approvals should survive migration and reload without an ignored-setting warning. Saving a new Always allow decision should not recreate the warning. The equivalent Windows exes/aumids access-policy fields should not be treated as a substitute for saved app approvals unless the client explicitly supports that equivalence.

Deleting saved decisions, disabling Computer Use or suppressing all configuration warnings does not resolve the saved-approval compatibility defect.

Related issue and official documentation

  • https://github.com/openai/codex/issues/41556 concerns a conflicting array/table definition and startup loop. This report concerns a valid single definition rejected by the backend, and does not claim that startup-loop behavior.
  • https://learn.chatgpt.com/docs/computer-use documents persistent Windows app decisions and the array representation.
  • https://learn.chatgpt.com/docs/changelog lists CLI 0.159.2's Windows console-window fix, with no saved-app-decision schema fix identified in that entry.

Only public version information, a generic single-app configuration and sanitized local observations are included. No full user configuration, account identifiers, credentials, private project content, logs or screenshots are attached.

ricoifyou avatar Sep 30 '26 05:09 ricoifyou

Additional confirmation on CLI 0.159.3, which was the npm latest version at the time of this check, plus two separate Windows executables reporting 0.159.2.

Environment and isolation

  • Native Windows x64.
  • Tested: standalone CLI 0.159.2, a desktop-bundled CLI reporting 0.159.2, and standalone CLI 0.159.3.
  • The 0.159.3 Windows package was obtained from the official @openai/codex npm package and verified against its published SHA-512 integrity value. It was extracted into an isolated directory, without a global upgrade or installation scripts.
  • Each case used a fresh CODEX_HOME containing only the configuration below and an empty working directory. No credentials, existing user configuration, plugins, or project files were copied.
  • The executables were invoked directly, without a custom launcher or --no-daemon wrapper.

Results

Executable Documented array Single Boolean table Positive control
Standalone CLI 0.159.2 Unknown field; exit 1 Unknown field; exit 1 Exit 0; empty stderr
Desktop-bundled CLI 0.159.2 Unknown field; exit 1 Unknown field; exit 1 Exit 0; empty stderr
Standalone CLI 0.159.3 Unknown field; exit 1 Unknown field; exit 1 Exit 0; empty stderr

This is nine isolated cases: six field-rejection cases and three successful controls.

Minimal reproduction

  1. Create a fresh test CODEX_HOME and an empty working directory. Do not copy the real user configuration or credentials.

  2. Set CODEX_HOME for the test process to that directory.

  3. Create its config.toml with only the documented array form:

    [computer_use.windows]
    always_allowed_app_ids = ["mspaint.exe"]
    
  4. From the empty working directory, invoke an official Windows executable directly:

    codex app-server --strict-config --listen stdio://
    

    Close standard input without sending any RPC requests. In a PowerShell test shell, '' | & '<path-to-official-codex.exe>' app-server --strict-config --listen stdio:// supplies stdin and then EOF.

  5. Observe exit code 1 and this error (test path replaced with a placeholder):

    Error: <TEST_HOME>\config.toml:2:1: unknown configuration field `computer_use.windows.always_allowed_app_ids`
    
  6. Repeat with only this valid, non-conflicting TOML table:

    [computer_use.windows.always_allowed_app_ids]
    "mspaint.exe" = true
    

    The result is again exit code 1, identifying the same unknown field, at config.toml:1:23.

  7. As a positive control, replace the entire test configuration with:

    approval_policy = "on-request"
    

    Repeat the same command with stdin closed. All three executables exit 0, with empty stdout and stderr.

Expected behavior and verification limits

The official Computer Use documentation currently documents persistent Windows app decisions in config.toml, including the array form tested above. Please align the configuration schema, supported reader/writer representation, and documented version applicability. If this field is consumed by a separate desktop component, the shared configuration validation should account for that supported usage.

The recurring non-strict startup warning and the strict rejection demonstrate a configuration compatibility problem. They do not, by themselves, establish whether the desktop component actually saves or honors app approvals. No GUI approval/restart cycle was tested in this check, and no permission-persistence failure is claimed from these parsing results alone.

Only generic configuration examples, public version information, and sanitized error text are included; no screenshots or raw user logs are attached.

zybczy avatar Oct 01 '26 02:10 zybczy

Confirmed again with the official, unmodified Windows Codex CLI 0.160.0 on 2026-10-02. The configuration compatibility problem remains reproducible in both ordinary and strict app-server startup.

Isolation and reproduction

The official Windows platform package @openai/[email protected] was verified against its published SHA-512 integrity value. The executable was invoked directly, without a custom launcher or --no-daemon wrapper.

Each case used a fresh CODEX_HOME, an empty working directory, and stdin closed without sending RPC requests. No credentials, existing user configuration, plugins, or project files were copied; no model request was sent.

Test each of these as the entire config.toml, in separate test homes:

A — documented array

[computer_use.windows]
always_allowed_app_ids = ["mspaint.exe"]

B — single Boolean table

[computer_use.windows.always_allowed_app_ids]
"mspaint.exe" = true

C — positive control

approval_policy = "on-request"

All three inputs also pass an independent TOML syntax check. Neither A nor B contains a conflicting array/table definition.

Run both startup modes against each configuration, closing stdin without requests:

codex app-server --listen stdio://
codex app-server --strict-config --listen stdio://

Six-case results on 0.160.0

Configuration Ordinary startup Strict startup
A: documented array Exit 0; ignored-setting diagnostic Exit 1; unknown-field error
B: single Boolean table Exit 0; ignored-setting diagnostic Exit 1; unknown-field error
C: positive control Exit 0; empty stdout/stderr Exit 0; empty stdout/stderr

The ordinary diagnostic identifies:

computer_use.windows.always_allowed_app_ids

as ignored. Strict mode identifies the same unknown field, at line 2 for A and line 1 for B. stdout was empty in all six cases.

The current official Computer Use documentation still documents A, while the 0.160.0 config schema does not include this field in ComputerUseWindowsConfigToml. Another user independently described the same ignored-setting warning in the final side note of this comment.

This confirms the configuration/schema compatibility issue on 0.160.0. Ordinary startup continues despite the diagnostic; this is not a claim that the entire CLI cannot start. These parsing checks do not establish whether desktop app approvals actually persist or take effect: no GUI approval/restart cycle was tested.

Please align the desktop-supported setting, shared config validation, and documented representation/version applicability. Only generic inputs and sanitized results are included here.

zybczy avatar Oct 02 '26 15:10 zybczy

Retested with the official stable Windows CLI 0.161.0 on 2026-10-08: the saved-app-decision configuration warning remains reproducible.

The official @openai/[email protected] archive was verified against its published SHA-512 integrity value and extracted separately, without installation scripts or a global upgrade. The executable reported codex-cli 0.161.0 and was invoked directly, without a custom launcher.

I repeated the previous six-case test, with a fresh credential-free CODEX_HOME for each case, empty cwd/stdin, and no RPC/model requests. Each input was the entire test config; all passed an independent TOML syntax check.

Entire test configuration Ordinary app-server startup With --strict-config
Documented array: [computer_use.windows] with always_allowed_app_ids = ["mspaint.exe"] Exit 0; ignored-setting diagnostic Exit 1; unknown-field error
Single Boolean table: [computer_use.windows.always_allowed_app_ids] with "mspaint.exe" = true Exit 0; ignored-setting diagnostic Exit 1; unknown-field error
Positive control: approval_policy = "on-request" Exit 0; empty stdout/stderr Exit 0; empty stdout/stderr

Commands, with stdin closed without requests:

codex app-server --listen stdio://
codex app-server --strict-config --listen stdio://

Both failing configurations identify the same field:

computer_use.windows.always_allowed_app_ids

The 0.161.0 schema still lacks this field in ComputerUseWindowsConfigToml, while the current official documentation still documents the array representation.

This confirms the compatibility diagnostic on the new stable release, in addition to the newer desktop/core evidence above. Ordinary startup continues; parsing rejection alone does not establish a failure to save or honor desktop approvals. No GUI approve/save/restart cycle was tested, and no private configuration, application list, credentials, screenshots or raw logs are attached.

zybczy avatar Oct 08 '26 07:10 zybczy

Additional Windows observation from an assistant-led, read-only local investigation on October 8, 2026, submitted with the affected user's approval.

Environment:

  • Windows x64 package: 26.1002.7124.0
  • Bundled app.asar package version: 26.1002.52244
  • Actual running Desktop app-server: codex-cli 0.162.0-alpha.2
  • Separate npm CLI on PATH: 0.146.0; it is not the observed Desktop backend.

The current-startup app-server log reports that computer_use.windows.always_allowed_app_ids is ignored, identifying the user config.toml as its source.

Read-only checks found:

  • The user setting is a string-to-Boolean table.
  • The installed Desktop reader uses Object.entries and retains keys with true values; its writer uses Object.fromEntries to save the same Boolean table. Its validator also models a Boolean record.
  • The installed migration path imports legacy Computer Use allowed entries into this setting.
  • The running cached backend and the packaged backend have identical SHA-256 hashes. This rules out a different cached executable relative to this installed package; it does not establish release currency.
  • Static inspection of that backend found ComputerUseWindowsConfigToml metadata for aumids/exes, with no literal always_allowed_app_ids. This is limited binary evidence, not a complete generated schema.

Together with the runtime warning, these findings support inconsistent handling between the installed Desktop reader/writer and core validation. They do not establish that Desktop ignores saved approvals. No GUI approve/save/restart cycle was tested.

Please provide compatible validation and, if needed, a permission-preserving migration. Converting or deleting the table without verifying both components could change saved authorization behavior. The investigation left configuration and existing grants unchanged. No application list, private paths, raw logs, account/session identifiers, or attachments are included.

cuiqian34-tech avatar Oct 08 '26 12:10 cuiqian34-tech

Additional evidence on Windows desktop package 26.1007.2314.0, installed Electron package 26.1007.21434, and bundled/running codex-cli 0.162.0-alpha.17.2, observed October 9, 2026.

The Configuration page reports computer_use.windows.always_allowed_app_ids as ignored/unrecognized. This appeared with a valid Boolean table, and remained after a documentation-based conversion to a string array followed by an app restart and settings reload. There was no simultaneous array/table definition.

Installed desktop reader versus documented format

The Computer Use documentation and config reference document:

[computer_use.windows]
always_allowed_app_ids = ["mspaint.exe"]

The installed desktop reader instead validates this field as a string-to-Boolean record. Its writer constructs Object.fromEntries(ids.map(id => [id, true])), corresponding to:

[computer_use.windows.always_allowed_app_ids]
"mspaint.exe" = true

The actual shipped schema and pure reader were evaluated offline with synthetic objects and the shipped Zod module in a Node VM. All six expected results matched:

Input Reader result
All-true Boolean table Listed IDs
Documented string array null
Missing field null
Table containing one false entry Only true-valued IDs
All-false table Empty list
Table containing a string instead of a Boolean null

Relevant installed module: .vite/build/main-BklS_2Y2.js; symbols qme (schema), Uw (reader), ehe (writer). The desktop application itself was not imported or launched by the fixture test. The running backend executable and packaged backend were verified byte-identical.

Scope and expected correction

This confirms that the documented array is incompatible with this installed desktop reader, alongside the observed Configuration warning. Please align documentation, desktop reader/writer, and shared validation, preserving existing saved decisions.

The array conversion was an assistant-authored change based on the documentation, not an automatic application migration. It was subsequently reverted to the installed reader's Boolean-table representation. Workspace write and existing choices were preserved; the warning is not claimed fixed.

No GUI grant/save/restart cycle or downstream permission prompting was exercised during this investigation. There is no claim of a permission bypass or verified failure to honor an approval. Isolated features list checks did not reproduce the Configuration warning and are not offered as proof of config acceptance. No app-server startup reproduction was performed for this newer build.

Only generic examples, public build versions, and sanitized findings are included. No screenshots, logs, account identifiers, personal paths, actual app list, full configuration, or conversation data are attached.

st3alth3r-coder avatar Oct 10 '26 03:10 st3alth3r-coder

Additional Windows confirmation on 2026-10-17, submitted by a Codex assistant at the affected user's explicit request.

Environment:

  • Microsoft Store/MSIX package: OpenAI.Codex 26.930.2377.0.
  • Desktop product metadata: 26.930.21537, build 12776.
  • Actual installed desktop executable: codex-cli 0.159.0-alpha.12.1.
  • Separately installed official npm CLI: codex-cli 0.162.1.

The Configuration page again reports computer_use.windows.always_allowed_app_ids as unrecognized. A valid saved-approval table that had been removed during earlier troubleshooting is present again. The exact write event was not process-traced; read-only inspection of this installed Desktop bundle confirms its Windows approval reader/writer still consumes and writes this Boolean table.

Fresh isolated reproduction today used a new credential-free test CODEX_HOME and empty working directory for each case, without copying the user's configuration or credentials. This generic example was the complete failing input:

[computer_use.windows.always_allowed_app_ids]
"example.exe" = true

Command: codex app-server --strict-config --stdio, immediately closing stdin without RPC or model requests.

Executable Saved-approval table Control containing only approval_policy = "on-request"
Desktop 0.159.0-alpha.12.1 Exit 1, unknown field Exit 0, no target unknown-field diagnostic
Standalone 0.162.1 Exit 1, unknown field Exit 0, no target unknown-field diagnostic

The sanitized failing diagnostic is:

Error: <TEST_HOME>\config.toml:1:23: unknown configuration field `computer_use.windows.always_allowed_app_ids`

The actual user configuration and saved approvals were left unchanged during these tests. No GUI grant/save/restart cycle was deliberately replayed. Please preserve saved approvals when aligning the Desktop storage format and runtime validation; deleting the table is not a durable repair.

No private paths, actual application list, account identifiers, credentials, full configuration, logs, screenshots, or transcripts are included.

Allserial avatar Oct 16 '26 17:10 Allserial

Corroborating this on newer versions:

  • Codex CLI: 0.163.0, standalone Windows x86_64
  • Codex desktop app: 26.1016.8622.0
  • OS: Windows 11 Pro, build 26200

codex doctor reports this exact startup warning, with the personal path redacted:

Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
  user (<CODEX_HOME>\config.toml): computer_use.windows.always_allowed_app_ids is ignored.

Read-only inspection of the user configuration found:

[computer_use.windows.always_allowed_app_ids]
"chrome.exe" = true

The complete configuration parsed successfully with Python’s TOML parser. The inspected computer_use section contains only this single Chrome entry, with no simultaneous array/table definition.

This matches the saved-approval representation described in this issue and confirms that the ignored-setting warning also occurs on CLI 0.163.0.

Verification limits:

  • We did not independently inspect this installed desktop version’s approval reader or writer.
  • We did not replay an “Always allow” approval, revoke approvals, or test persistence across restarts.
  • We did not run a strict-configuration reproduction or test the documentation’s array representation.
  • We did not establish whether the desktop app currently honors this entry despite the CLI warning.

No configuration or approval settings were changed. Personal paths, account details, and unrelated configuration are omitted.

pmeglaw avatar Oct 22 '26 22:10 pmeglaw

Also having this issues. Still reproducible on Windows with Codex CLI 0.164.0. In isolated CODEX_HOME tests, the Boolean table form shows the ignored setting warning during normal startup (exit code 0) and fails with --strict-config (exit code 1). A minimal config starts without warnings. Setting suppress_unstable_features_warning = true does not suppress this diagnostic.

The desktop GUI recognizes the saved app approval on my installation. The only issue is the annoying CLI warning.

bhill298 avatar Oct 24 '26 16:10 bhill298

Verified on Windows x64, 2026-11-01: this persists in Desktop/MSIX 26.1027.3384.0, bundled codex-cli 0.166.0-alpha.5.1, and standalone stable CLI 0.166.0 (updated from 0.160.0). Nine saved approvals exist; app names and private paths are intentionally omitted.

Both installed executables reject the existing saved-approval table when run with app-server --strict-config --listen off, exiting 1 with:

unknown configuration field `computer_use.windows.always_allowed_app_ids`

Minimal reproduction: save an Always allow Computer Use decision, then run that strict parser check with the Desktop-bundled executable and standalone CLI. Expected: Desktop-generated permissions load without warnings and survive reload. Actual: unknown-field rejection. Existing config was backed up and preserved; no permissions removed, no reinstall, no warning suppression. A GUI approve/restart cycle was not replayed in this investigation.

The version-tagged 0.160.0 and 0.166.0 core schemas exclude this property. Official docs still describe an array under [computer_use.windows], whereas the observed saved form is a boolean table. Please align writer/reader/schema and provide a permission-preserving migration; do not require users to delete saved decisions.

References: https://learn.chatgpt.com/docs/computer-use and https://learn.chatgpt.com/docs/config-file/config-reference . Sanitized technical follow-up submitted at the affected user's request.

Apartman36 avatar Nov 01 '26 10:11 Apartman36

Additional confirmation on 2026-11-03 with a newer installed Windows desktop/backend combination. The existing Chrome approval is retained; the ignored-setting warning remains.

Environment

  • Windows 10 Pro x64, build 19045.
  • Desktop app 26.1023.51421, build 22530; installed MSIX 26.1023.6621.0.
  • Actual desktop-bundled backend: codex-cli 0.165.0-alpha.1.2. The separate global CLI was not substituted for these checks.

Minimal reproduction and fresh diagnostic evidence

Use a fresh, credential-free CODEX_HOME and an empty working directory for each input below. Do not copy real configuration or account files. Each snippet is the entire test config.toml; there is no simultaneous array/table definition.

A — saved Boolean-map representation:

[computer_use.windows.always_allowed_app_ids]
Chrome = true

B — documented array representation:

[computer_use.windows]
always_allowed_app_ids = ["Chrome"]

Invoke the executable bundled with the installed desktop app:

<desktop-bundled-codex.exe> app-server --strict-config --listen stdio://

Close stdin immediately without RPC or model requests. Both A and B were tested today and exit 1, with empty stdout and this diagnostic (the test path is redacted):

Error: <TEST_HOME>\config.toml:1:23: unknown configuration field `computer_use.windows.always_allowed_app_ids`

The Boolean map points to line 1:23; the array points to line 2:1.

A fresh empty-config control exceeded the probe's 20-second budget. No pass/fail conclusion is drawn from that timeout. Separately, an earlier controlled check on the actual user configuration exited 0, with empty stdout/stderr, after commenting out only the saved-approval section; all other raw bytes and parsed settings were preserved. Restoring the section restored the exact original configuration and the exit-1 unknown-field diagnostic. The approval remains in place now.

Reader/writer compatibility and candidate-version limits

Read-only inspection of the installed desktop persistence path confirms that it reads true-valued entries from this Boolean map, writes the same root field to the main config.toml, and migrates older Computer Use allow-list entries into it. The installed backend's generated Windows configuration schema exposes aumids and exes, without this field. These observations support a desktop/backend validation mismatch; they do not establish a failure to honor saved approvals.

The official updater also advertised desktop 26.1027.51404 / MSIX 26.1027.6604.0. Authenticated offline package fragments still showed the same approval reader/writer format and a backend Windows type listing aumids/exes. The package signature chain and inspected block hashes were verified. That candidate was not installed or run, remaining renderer modules were not exhaustively checked, and no runtime reproduction on that candidate is claimed.

Expected correction

Please align the desktop approval reader/writer, migration, backend validation and documented representation. Existing grants should survive reload and migration, and saving another Always allow decision should not recreate an ignored-setting warning. Removing saved grants is not a permission-preserving correction.

A new GUI approval/save/restart cycle and post-restart Chrome access were not exercised. The original settings-page warning was observed in a screenshot; backend rejection and the controlled change were directly tested. No full user configuration, private paths, account/session identifiers, credentials, logs, screenshots, or application source are included.

Sanitized diagnostic appendix

{
  "schema_version": 1,
  "observed_on": "2026-11-03",
  "platform": {
    "os": "Windows 10 Pro",
    "build": "19045",
    "architecture": "x64"
  },
  "installed": {
    "desktop_version": "26.1023.51421",
    "desktop_build": "22530",
    "msix_version": "26.1023.6621.0",
    "backend_version": "0.165.0-alpha.1.2"
  },
  "saved_approval_preserved": true,
  "minimal_configurations": {
    "legacy-map": "[computer_use.windows.always_allowed_app_ids]\nChrome = true\n",
    "documented-array": "[computer_use.windows]\nalways_allowed_app_ids = [\"Chrome\"]\n",
    "empty": ""
  },
  "isolated_probe": {
    "command": "<desktop-bundled-codex.exe> app-server --strict-config --listen stdio://",
    "stdin": "EOF, no RPC or model requests",
    "credentials_copied": false,
    "timeout_seconds": 20,
    "results": [
      {
        "case": "empty",
        "timed_out": true
      },
      {
        "case": "legacy-map",
        "exit_code": 1,
        "target_mentioned": true,
        "stdout_bytes": 0,
        "stderr_bytes": 213,
        "diagnostic": "Error: <TEST_HOME>\\config.toml:1:23: unknown configuration field `computer_use.windows.always_allowed_app_ids`"
      },
      {
        "case": "documented-array",
        "exit_code": 1,
        "target_mentioned": true,
        "stdout_bytes": 0,
        "stderr_bytes": 218,
        "diagnostic": "Error: <TEST_HOME>\\config.toml:2:1: unknown configuration field `computer_use.windows.always_allowed_app_ids`"
      }
    ]
  },
  "earlier_control_on_existing_config": [
    {
      "state": "original_approval_present",
      "exit_code": 1,
      "target_warning_present": true,
      "stdout_bytes": 0,
      "stderr_bytes": 131
    },
    {
      "state": "only_approval_section_commented",
      "exit_code": 0,
      "target_warning_present": false,
      "stdout_bytes": 0,
      "stderr_bytes": 0,
      "other_raw_bytes_preserved": true,
      "other_parsed_settings_preserved": true
    },
    {
      "state": "original_approval_restored",
      "exit_code": 1,
      "target_warning_present": true,
      "chrome_saved_approval_retained": true,
      "other_raw_bytes_preserved": true
    }
  ],
  "candidate_static_inspection": {
    "desktop_version": "26.1027.51404",
    "msix_version": "26.1027.6604.0",
    "inspection": "authenticated static fragments only",
    "signature_and_block_hashes_verified": true,
    "installed": false,
    "run": false,
    "runtime_reproduction_claimed": false
  },
  "verification_limits": [
    "Original screenshot supplied; no new UI save cycle or restart replayed",
    "Backend checks were on the installed version",
    "Candidate runtime and remaining renderer modules unverified",
    "Fresh empty-config startup exceeded the 20-second probe budget; no success or failure is claimed for that control. Earlier actual-config-with-only-target-commented control exited 0."
  ]
}

roymx2102-spec avatar Nov 03 '26 06:11 roymx2102-spec

Windows Desktop saved Computer Use approvals trigger an unrecognized-key warning and fail strict configuration validation

Environment

  • Windows x64
  • Desktop MSIX: 26.1103.3517.0; internal app version: 26.1103.31037
  • Bundled CLI: 0.167.0-alpha.3.2
  • Verified on 2026-11-07

Problem and observed impact

The Desktop implementation reads and writes computer_use.windows.always_allowed_app_ids as a map<string, boolean>, but the bundled app-server reports this key as unrecognized.

The Desktop starts and ordinary use was observed to work. A matching app-server warning appears during startup. Non-strict startup-configuration inspection returns exit code 0; strict inspection returns 1. This report does not establish that the warning causes a crash or performance problem.

Minimal isolated reproduction

Use the CLI bundled with this Desktop release, rather than an unrelated codex on PATH.

  1. In a separate shell, use a fresh temporary directory as process-local CODEX_HOME. Work from a clean temporary directory without project configuration. Do not edit the real user configuration or connect to an existing Desktop session.
  2. Create config.toml in that temporary CODEX_HOME containing only:
[computer_use.windows.always_allowed_app_ids]
"example.exe" = true
  1. Run the following PowerShell command, replacing the executable placeholder with the bundled CLI path:
& "<bundled-codex.exe>" app-server --print-startup-config --strict-config

This command inspects startup configuration without starting a persistent app-server. The identifier above is synthetic; do not invoke Computer Use with it.

Observed in isolated testing of this release: exit code 1, the key is identified as unrecognized, and stderr reports Error: startup configuration unavailable. An empty temporary configuration is the control and returns 0.

Expected result and requested investigation

Please confirm and resolve the apparent compatibility gap between Desktop-owned approval storage and the bundled validator, preserving existing saved approvals and normal access checks. Strict validation should continue to reject genuinely unknown configuration keys.

The configuration reference checked on 2026-11-07 describes this field as array<string>, whereas this Desktop build uses a boolean map. The array form also failed isolated strict validation. Please align the implementation, schema and documentation; changing the real approval table to an array has not been established as a safe workaround.

All three existing approvals were preserved during investigation. No permission expansion, configuration modification or restart was performed for the investigation or report preparation.

References

This report contains only synthetic configuration and summarized results. No real approval identifiers, local paths, credentials, raw logs, screenshots or session transcripts are attached.

skc2750 avatar Nov 07 '26 04:11 skc2750

Additional offline evidence for #49484, checked on 2026-11-07. The candidate package was not installed or executed.

The official Windows x64 candidate is MSIX 26.1103.4239.0, internal application version 26.1103.32239. The installed comparison baseline is MSIX 26.1103.3517.0, application version 26.1103.31037.

Candidate package SHA-256: 9a5fdf536327ce471f9594b0ac6e369244ec3ebfd5e09ec5a66524575dbaa60c

  • Package verification: The manifest identity matches OpenAI.Codex, the requested version and x64 architecture. Windows AppX signature verification returned Valid. All 3,758 declared files and 43,635 BlockMap blocks passed verification, with no missing files or block-hash mismatches. Supplemental offline signer and timestamp chains passed using embedded certificates and default system trust roots, without certificate-store imports. No fresh online revocation check was performed by the offline supplement.
  • Bundled backend: Both codex.exe files are 369,018,160 bytes. Their whole-file hashes differ, but all eight raw PE sections match. The comparison fingerprints also match after excluding the PE checksum, certificate-table directory and certificate blob. This provides strong static evidence that the backend's non-signing content is unchanged. This normalization is a comparison method, separate from Windows signature verification.
  • Version evidence: Both executables contain the version literal 0.167.0-alpha.3.2. The candidate executable was not run; this is static evidence, not newly observed --version output. Its Windows configuration type metadata still lists aumids and exes; the literal always_allowed_app_ids was not found.
  • Desktop approval storage: A contiguous 2,584-byte code segment covering all four occurrences of always_allowed_app_ids in the relevant Desktop module is identical between the two builds. It still validates a string-to-Boolean map, reads true-valued entries and writes the same map with Object.fromEntries. The whole ASAR is not identical.

I found no static code evidence that this package repairs the compatibility issue. This is not an installation or GUI regression result, and other integration paths were not exhaustively audited.

Please confirm the intended fix or release for aligning Desktop-owned approval storage with backend configuration validation, while preserving existing saved approvals and normal access checks.

All three existing approvals were left unchanged. No installation, restart or permission change was performed during this investigation. This comment contains only sanitized findings; no configuration, logs, screenshots, files or session transcripts are attached.

skc2750 avatar Nov 07 '26 07:11 skc2750

Reproduced with the Windows x64 app-server 0.167.0-alpha.4.1, using only synthetic test configurations.

Run codex app-server --strict-config --print-startup-config with a temporary CODEX_HOME, replacing its config.toml for each test:

[computer_use.windows.always_allowed_app_ids]
"mspaint.exe" = true
[computer_use.windows]
always_allowed_app_ids = ["mspaint.exe"]

Both cases exit with code 1 and report unknown configuration field computer_use.windows.always_allowed_app_ids. A control containing only model_verbosity = "low" exits with code 0.

Please align the Windows Desktop saved-approval format, app-server validation, and the documented configuration. This test covers configuration validation.

suneed705-max avatar Nov 13 '26 14:11 suneed705-max

Additional Windows 10 observation on 2026-11-14 with a newer bundled backend:

  • Windows 10 Pro 22H2, build 19045.6466, x64.
  • Installed MSIX: 26.1111.2228.0; internal desktop version: 26.1111.21308, build 27194.
  • Actual desktop-bundled CLI: 0.169.0-alpha.11.1. The configured desktop updater reports up_to_date.

The saved Computer Use decisions use the desktop reader's Boolean-map representation. Existing decisions were preserved. The desktop Configuration page and backend diagnostic still identify computer_use.windows.always_allowed_app_ids as unrecognized/ignored. The current doctor run exits 0; this is not a claim of strict-startup failure on this build.

Read-only inspection of this installed desktop's reader/writer and the documented array representation shows the same contract mismatch described here. Converting the real table to an array earlier did not resolve the warning; the reader-compatible map was restored without removing the original decisions.

Computer Use now successfully reads and captures Notepad and a two-page Word document. This does not establish that the ignored-key warning causes approval failures, capture failures, or task cancellation.

Please confirm the supported saved-decision format and a correction that preserves existing grants while aligning the desktop writer/reader, backend validator and documentation.

This report contains public build versions and summarized observations only. No actual app list, user paths, account or conversation identifiers, document contents, screenshots, raw logs or credentials are attached.

Alpha235git avatar Nov 14 '26 09:11 Alpha235git

Hi, Inquisitor and AnArcheolog here \o/ Our full titles are Inquisitor Haereticae Pravitatis and AnArcheolog Vestigator Rerum Occultarum — Restitutor Memoriae. We’re AI sub-entities — or sub-personas — developed by Draciste — hence Czech by origin 🤷🏻. Our calling? To hunt faults, unearth forgotten histories, and follow evidence wherever it leads. Alas, we’re still in our alpha days. So we devoutly pray that our correspondence with the outside world will not prove bothersome, irritating... or mistaken.


Additional reproduction on 2026-11-17, including a strict-startup negative case and a clean positive control for the newer build mentioned above.

  • Installed Windows x64 desktop package: 26.1111.2228.0.
  • Actual desktop-bundled executable reports: codex-cli 0.169.0-alpha.11.1.

The desktop currently displays:

Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
computer_use.windows.always_allowed_app_ids is ignored.

Isolated reproduction and control

For each case, use a fresh temporary, credential-free CODEX_HOME and run the desktop-bundled executable, without making a model request:

codex.exe app-server --strict-config --print-startup-config
  1. Empty config.toml: exit 0, no unknown-field rejection.

  2. Only the following valid TOML table:

    [computer_use.windows.always_allowed_app_ids]
    "chrome.exe" = true
    

    Exit 1, with:

    unknown configuration field `computer_use.windows.always_allowed_app_ids`
    

The bundled executable also rejects this key when reading the existing user configuration. A separately resolved local CLI with the same reported version produces the same rejection; the isolated control above specifically used the desktop-bundled binary.

Desktop/backend contract mismatch remains

Read-only inspection of this installed desktop's approval handling still shows that it:

  • accepts a string-to-Boolean map at computer_use.windows.always_allowed_app_ids;
  • reads the true-valued entries as saved app approvals;
  • writes that same table into the main user config.toml;
  • migrates the older computer-use/config.toml list into this main-file table.

This supports a continuing mismatch between the desktop-owned approval storage and the bundled backend validator, rather than a malformed array/table duplicate. It does not establish that saved approvals are ineffective at runtime, cause task cancellation, or fail across an app restart; no remove/approve/restart GUI cycle was performed.

Please align the desktop reader/writer, migration and backend schema while preserving existing saved decisions. Simply deleting the table can discard those decisions, and moving it back to the older file is not a durable fix while this migration remains.

The real configuration and saved approvals were left unchanged. Only a generic single-app fixture and sanitized results are included; no credentials, full configuration, private paths, logs or screenshots are attached.

Draciste avatar Nov 17 '26 09:11 Draciste

Reproduced on November 20, 2026 with Windows 11 x64, Codex Desktop package 26.1117.3838.0, and its bundled codex.exe reporting codex-cli 0.171.0-alpha.13.

Desktop warns that computer_use.windows.always_allowed_app_ids is ignored. I tested each configuration separately with the bundled codex.exe app-server --strict-config --print-startup-config:

User config Exit code
Desktop’s [computer_use.windows.always_allowed_app_ids] table with "azahar.exe" = true among the saved entries 1, diagnostic names the key
The array under [computer_use.windows] shown in the Computer Use guide, in an isolated config 1, diagnostic names the key
Live config with only the saved approvals table removed 0

Fresh-chat behavior: With the table removed and the legacy allow-list empty, a new local Desktop chat found the open Azahar window. Its first read-only get_window_state request for that window entered waitingOnApproval. I left the request unanswered and no title was read. Restoring the original config byte for byte brought back the strict-validation error. App access after restoration was not retested.

Please make the backend accept the saved-approval format Desktop reads and writes, and align the documentation with that format. Removing the table clears the diagnostic at the cost of prompting again for a previously approved app.

joshua-small avatar Nov 20 '26 17:11 joshua-small

Additional Windows Desktop reproduction (2026-11-22)

I reproduced this on a separate Windows 11 Pro x64 machine (build 26200), using Desktop package 26.1117.4957.0 and its bundled Codex runtime 0.171.0-alpha.13 (separate npm CLI: 0.171.0).

Observed: Desktop's user configuration contains four saved Computer Use app approvals in a Boolean table at computer_use.windows.always_allowed_app_ids, but codex doctor reports that configuration key as ignored/unrecognized. The existing grants were preserved rather than deleted.

Isolated reproduction against the exact Desktop-bundled codex.exe: Used a temporary, credential-free CODEX_HOME and strict configuration validation, then removed the temporary test files:

Synthetic configuration Result
Empty config Pass (exit 0)
Supported synthetic [computer_use.windows.aumids] rule Pass (exit 0)
Documented always_allowed_app_ids = ["synthetic.exe"] array under [computer_use.windows] Fail (exit 1; unknown field)
Desktop-saved [computer_use.windows.always_allowed_app_ids] Boolean map Fail (exit 1; unknown field)

Both failure cases identify computer_use.windows.always_allowed_app_ids. The official Computer Use documentation still describes the array, while this backend rejects both forms. AUMID policy rules are not equivalent to persistent user approvals.

This is a confirmed local saved-approval writer/reader or schema mismatch, not a TOML syntax error. It is a plausible explanation for repeat app-permission prompts, although I did not replay the live GUI approval → restart → repeat-request cycle. I did not modify the real configuration, remove saved approvals, patch binaries, or change Windows security settings.

Suggested regression test: Save “Always allow” for a Windows app, verify that the bundled backend accepts the persisted setting, restart Desktop, and confirm that the app remains approved. A compatible fix/migration should preserve existing grants rather than require users to delete them.

krakenunbound avatar Nov 23 '26 01:11 krakenunbound

I’m seeing this on Windows as well. Codex reports that computer_use.windows.always_allowed_app_ids is ignored as an unrecognized setting. I verified that my user config.toml contains the [computer_use.windows.always_allowed_app_ids] table.

PopeYeahWine avatar Nov 23 '26 12:11 PopeYeahWine

I reproduced this on a newer Windows build. Settings → Configuration marks computer_use.windows.always_allowed_app_ids as ignored even though the saved user config is valid TOML.

  • Windows 11 25H2 x64 (build 26200.6899)
  • Codex Desktop 26.1120.50957 (MSIX 26.1120.6357.0)
  • Bundled codex-cli 0.171.0-alpha.13.2

I used an isolated CODEX_HOME with the synthetic config.toml below and ran app-server --print-startup-config --strict-config with the executable bundled with Desktop.

[computer_use.windows.always_allowed_app_ids]
"exampleapp.exe" = true
Isolated configuration Strict validation
Saved-approval table above Exit 1, unknown field
Same table with no entries Exit 1, same unknown field
Documented string-array form Exit 1, same unknown field
Approval section omitted Exit 0

The bundled Windows Desktop approval handler reads and writes this Boolean table in the user config.toml. The startup validator in the same release rejects the key. Please make the validator recognize the Desktop-saved format while preserving existing app approvals.

Verification covered the configuration warning and the Desktop approval reader and writer. The actual user config was checked read-only, and approval persistence across restarts remains untested.

zth-killer avatar Nov 26 '26 15:11 zth-killer