Skip to content

Desktop settings warns about unrecognized features.thread_tools from session-flags #47043

Open

Description

@YIFO98

What version of the Codex App are you using (From “About Codex” dialog)?

Desktop app: 26.915.31945 (build 9922).
Bundled runtime: codex-cli 0.155.0-alpha.9.2.

The desktop version was read from the installed app's Info.plist; the runtime version was checked with the bundled executable's --version command.

What subscription do you have?

Not specified in this report.

What platform is your computer?

macOS 27.0, Apple Silicon (arm64).

What issue are you seeing?

The Configuration page, under Agent default settings (Chinese UI: 配置 → 智能体默认设置), shows:

Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
session-flags: `features.thread_tools` is ignored.

The user's ~/.codex/config.toml does not contain thread_tools. The warning identifies its source as session-flags, rather than the user configuration file.

This report concerns the configuration warning. Any additional functional impact caused by this flag has not been established.

What steps can reproduce the bug?

Observed on the existing installation:

  1. Open the desktop app on the versions listed above.
  2. Navigate to Configuration → Agent default settings.
  3. Observe the unrecognized-setting warning for features.thread_tools from session-flags.

No clean-profile reproduction was performed, and thread_tools was not manually added to the user configuration.

What is the expected behavior?

Session feature flags generated by the desktop app should be compatible with its bundled runtime. An app-generated flag should not produce a user-facing warning suggesting a typo or deprecated user setting when it is absent from the user's configuration file.

Additional information

Read-only local checks found:

  • No thread_tools entry in ~/.codex/config.toml.
  • The installed desktop app code still references thread_tools in its feature-override/tool-enabling logic.
  • The bundled runtime's features list output does not include thread_tools.

The working hypothesis is a mismatch between desktop-provided session feature overrides and the bundled runtime's recognized feature keys. This is a hypothesis, not a confirmed root cause.

Potentially related: #29361 reports an unsupported thread_tools feature key on an older desktop/runtime version, with crashes. This report is specifically about the settings-page warning on the versions above; no crash caused by this warning has been established here.

Activity

  1. added
    bug
    app
    config
    on Sep 21, 2026
  2. SativaGuru commented on Sep 21, 2026

    @SativaGuru

    Adding another user report of this warning in the desktop app's Configuration settings:

    Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
    session-flags: features.thread_tools is ignored.

    The affected user reports ChatGPT desktop version 26.915.31945, first noticing this warning after the latest update, with no newer update offered. The update timing is user-reported; it has not been established by comparing installations before and after the update.

    In this affected session, task-management tools are still available, and a read-only list-tasks call succeeded. Therefore the warning alone should not be interpreted as confirmation that creating tasks or communicating with other tasks has been removed.

    Please investigate the unrecognized session flag and clarify whether the desktop app should stop forwarding it or the bundled runtime should recognize it. The warning currently suggests checking user configuration even though its reported source is session-flags, leaving users unsure whether they need to repair their settings.

  3. Skidudeaa commented on Sep 22, 2026

    @Skidudeaa

    Independent confirmation (macOS, Desktop 26.915.31945, runtime 0.155.0-alpha.9.2)

    This is not a user config.toml problem. Editing ~/.codex/config.toml cannot clear the warning.

    What we checked

    • ~/.codex/config.toml has no thread_tools key. The only [features] entries are memories = true, chronicle = true, and js_repl = false (a removed but still-recognized flag).
    • codex doctor --json reports feature flag overrides: memories=true, chronicle=true and active thread overrides: not inspected.
    • codex features list has no thread_tools entry at all (not stable, experimental, deprecated, or removed).

    Where the flag actually comes from

    Codex Desktop injects it as a session-flag on thread/start, thread/resume, and mcpServerStatus/list:

    load_with_cli_overrides: unknown feature key in config: thread_tools
    app_server.client_name="Codex Desktop"
    app_server.client_version="26.915.31945"
    

    The bundled desktop asar still maps a remote/feature-override named thread_tools (alongside codex_app / settings_tools) into defaultFeatureOverrides.thread_tools / threadToolsEnabled, then forwards features.thread_tools to the app-server. The bundled CLI at /Applications/ChatGPT.app/Contents/Resources/codex (0.155.0-alpha.9.2) no longer knows that key, so Configuration shows:

    session-flags: features.thread_tools is ignored.

    Expected fix

    Desktop should stop sending features.thread_tools (or the runtime should recognize/ignore it without surfacing it as an unrecognized user setting). No local config change will hide this.

  4. Wulfgardr commented on Sep 22, 2026

    @Wulfgardr

    Additional verified reproduction on macOS 27.2 (arm64), ChatGPT/Codex Desktop 26.915.31945 (build 9922), bundled runtime codex-cli 0.155.0-alpha.9.2.

    The warning is present in Configuration → Agent defaults. The user config parses successfully and contains no thread_tools key. The app's update checker reports that this is the latest available version.

    Controlled reproduction with the bundled runtime

    Using an isolated temporary configuration directory, an ephemeral thread, disabled analytics/feedback, no real prompt and no model execution, we initialized the app-server, called thread/start, then config/read and thread/loaded/list.

    Per-session config Warning for features.thread_tools Session/config/task-list operations
    {"features.thread_tools": true} Present Succeeded
    {"features.thread_tools": false} Present Succeeded
    {"features.thread_tools": true, "suppress_unstable_features_warning": true} Present Succeeded
    {} Absent Succeeded

    With the unsupported key, the server emits both configWarning and a thread warning, including:

    Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
      session-flags: `features.thread_tools` is ignored.
    

    This isolates the warning to the supplied session key; it is not evidence that the warning itself breaks task tools or crashes the app.

    Installed desktop code inspection

    The installed desktop bundle uses defaultFeatureOverrides.thread_tools / threadToolsEnabled for app-side behavior. Its feature-to-runtime-config filter strips an optional features. prefix, excludes app-only keys, then prefixes the remaining keys with features..

    The exclusion set in both inspected filter implementations contains:

    new Set([
      "auth_elicitation", "plugins", "apps", "tool_suggest",
      "tool_call_mcp_elicitation", "writing_blocks"
    ])

    It omits thread_tools. Consequently, that filter forwards features.thread_tools to the runtime. Filtering this key only at the app-to-runtime boundary appears to be the relevant fix candidate; the app-side gate and task-tool registration should remain intact.

    Separate failed workaround, now fully reverted

    A local Python stdio adapter was tested to remove only this key from session requests. Isolated RPC tests passed, but the real desktop run lost the codex_app MCP connection. Desktop logs showed:

    dynamic_app_tools_peer_rejected reason=missing-code-signing-identity
    MCP client for codex_app failed to start: Codex app tools pipe closed
    

    The adapter inserted a Python process into the launch chain. The peer-authorization failure was observed; we did not establish which identity check in the native authorizer failed. This was a regression of the local workaround, not a demonstrated effect of the original warning.

    The adapter and its launcher override have been disabled. The signed original runtime now runs directly under the desktop app, app signature verification passes, and read-only task-management tool calls succeed. The original settings warning remains.

    Please fix the desktop/runtime flag boundary and cover both the Configuration warning and the real desktop task-tool connection in regression testing. Raw logs, private config contents, local user paths, session IDs and unrelated data are intentionally omitted.

  5. CKJ2026 commented on Sep 23, 2026

    @CKJ2026

    Adding a follow-up from macOS / Apple Silicon.

    I previously captured the same session-flags: features.thread_tools is ignored warning. Read-only checks on September 23, 2026 found:

    • Desktop version: 26.917.51856, build 10492.
    • Bundled runtime: codex-cli 0.155.0-alpha.16.
    • The app’s update checker reports up_to_date.
    • The user configuration parses successfully and contains no thread_tools setting.
    • The bundled runtime’s features list does not include thread_tools.
    • The desktop bundle still uses thread_tools internally, and its feature-to-runtime configuration filter does not exclude this key.

    These findings suggest the same configuration-forwarding issue remains in the newer bundle. This is a code/configuration inspection, not a fresh UI reproduction on the newer version. The accompanying screenshot shows the original warning captured on September 20.

    Please confirm whether this desktop-only flag should be filtered before sending session configuration to the runtime, and whether a supported workaround or fix version is available.

    No crash or task-tool failure has been attributed to this warning in this report.

    Image
  6. silasthegoldenwizard commented on Sep 23, 2026

    @silasthegoldenwizard

    Linux reproduction and static trace of the Desktop → runtime configuration path

    I reproduced the warning on Debian 13 (amd64) and investigated the shipped Desktop bundle without modifying the installation or existing user configuration.

    Environment

    • Desktop package: chatgpt 26.917.62051
    • Bundled runtime: /usr/lib/chatgpt/resources/codex, version 0.155.0-alpha.16.3
    • Separately installed CLI: 0.155.1
    • dpkg -V chatgpt reported no discrepancies.

    Runtime observations

    Both binaries reject --enable thread_tools features list with:

    Error: Unknown feature flag: thread_tools
    

    Isolated experimentalFeature/enablement/set tests used a fresh process and temporary profile per case, without login, threads or model requests. Both versions behaved identically:

    Input enablement map Response enablement map Warning
    {"memories":false} {"memories":false} No
    {"thread_tools":false} {} Yes
    {"thread_tools":true} {} Yes
    {"memories":false,"thread_tools":true} {"memories":false} Yes

    Warning:

    ignoring invalid experimental feature enablement keys: thread_tools
    

    The request succeeds, but the unsupported key is discarded individually.

    Static Desktop trace

    The bundle contains a conditional path consistent with the settings warning:

    1. Gate 2395575782, when enabled, produces thread_tools=true.
    2. defaultEnableFeatures becomes defaultFeatureOverrides.
    3. A compatibility filter removes several unsupported features, but not thread_tools.
    4. Another function converts the remaining overrides into features.* request configuration. Its exclusion list also does not contain thread_tools; existing configuration takes precedence.
    5. This configuration feeds the thread/start construction path and, conditionally, thread/resume. Not every resume includes these overrides.

    These are static findings, not a capture of the actual outgoing requests.

    Locations in app.asar for Desktop 26.917.62051

    Offsets are zero-based bytes within the archive entry, not within the complete ASAR file.

    Archive entry Function / offset Finding
    webview/assets/app-initial-e8df4873f2e5.js qzn at 3177501; cgc at 10318006; bgc at 10320230 Feature-key alias and gate mapping
    .vite/build/main-C-Mhak1n.js AEe at 1408681 Default features → overrides
    .vite/build/src-DldfpmrL.js Aw at 444822 Compatibility filtering
    .vite/build/src-DldfpmrL.js jw at 445586; Mw at 445678 Request-config merge and features.* conversion
    .vite/build/main-C-Mhak1n.js hx at 912999; LSe at 1098901 Configuration construction and start path
    .vite/build/main-C-Mhak1n.js Uye at 938578; conditional config at 949800 Resume path; config inclusion depends on De&&!ke

    Important distinction: enablement/set

    The inspected Desktop path (_Ee at 1390283 and vEe.sendEnablement) constructs a restricted enablement map without thread_tools.

    The source review against commit ffa06df2317e3e65fc74da977a5884710c5382d5, associated with version 0.155.0-alpha.16.3, found that accepted enablement changes can reload configuration. Features::apply_map then warns about unknown keys.

    Therefore, a thread_tools warning inside an experimentalFeature/enablement/set RPC span does not establish that the incoming payload contained that key. The isolated tests above establish endpoint behavior, not the Desktop’s actual payload.

    The source-version association is not proof that the installed binary has an identical implementation.

    Hypothesis and remaining gaps

    A Desktop tool-control flag appears able to pass through incomplete filtering into runtime feature configuration. Separating Desktop-only controls from supported runtime features may be the relevant fix; simply disabling the Desktop flag could change tool functionality.

    Still unverified:

    • Actual gate value and outgoing Desktop request payloads.
    • Functional impact beyond the warning.
    • Whether this key should remain Desktop-local or be supported by the runtime.
  7. houjunhan commented on Sep 24, 2026

    @houjunhan

    Hi, and thank you for the clear report.

    I can confirm the same behavior on Windows as well.

    Environment

    • Platform: Windows x64
    • Codex CLI: 0.155.0-alpha.16.3
    • Codex Desktop

    Observed behavior

    In Settings → Configuration → Agent default settings, Codex shows:

    Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
    session-flags: features.thread_tools is ignored.
    

    I checked my user configuration file at:

    C:\Users\Administrator\.codex\config.toml
    

    and confirmed that thread_tools is not present anywhere in that file.

    The rest of the configuration is loading normally, and the warning specifically identifies the source as session-flags, which seems consistent with the original report.

    At the moment, this appears to be a warning only on my system; I have not observed a crash or other functional issue caused by it.

    I hope this Windows reproduction is useful. I’d be happy to provide any additional version details or logs if needed.

    Thank you very much for your work on Codex.

  8. kratosbackup commented on Sep 24, 2026

    @kratosbackup

    Additional macOS arm64 evidence collected on 24 September 2026 (Hong Kong time):

    The same forwarding issue was reproduced on both App 26.917.62051 / bundled CLI 0.155.0-alpha.16.3 and the signed production package 26.917.71314 / bundled CLI 0.155.0-alpha.16.4. The newer package was inspected without installing it; its code signature passed strict verification.

    Both packages contain the same bridge source, .vite/build/src-DldfpmrL.js, SHA-256 88ec69722b5d87a7081edf2e2d6a2e21c3f25300cee587363d74b8b87969a412. The client-only feature exclusion Set omits thread_tools, so the Mw serializer can forward it as features.thread_tools to the native runtime.

    An isolated candidate fix added only thread_tools to that existing exclusion Set. Six checks passed: omission for true, false and a prefixed-key case; preservation of the original client feature map; preservation of other forwarded settings; preservation of an unrelated unknown setting. The original App-side thread_tools value must remain available for client tool construction.

    Native app-server initialization with a temporary empty Codex home showed one configWarning with the unsupported flag on each package, zero without it, and one for a separate deliberately unknown flag. No model requests, account credentials or live conversations were required.

    This is isolated source-level and initialization evidence, not a deployed desktop fix or proof of a crash caused by the warning. The installed App and user configuration were left unchanged because app.asar is sealed by the official signature.

    Could the desktop engineering team confirm whether this compatibility filter is the intended fix location and identify a supported workaround or release containing a fix?

  9. lutaikang commented on Sep 24, 2026

    @lutaikang

    Additional confirmation from an installed macOS arm64 production app, checked on 2026-09-24:

    • Desktop: 26.917.71314, build 10954.
    • Bundled runtime: codex-cli 0.155.0-alpha.16.4.
    • Desktop updater reports up_to_date.
    • The user reports the exact session-flags: features.thread_tools is ignored warning. Their config.toml has no thread_tools entry.

    Using the bundled executable, three fresh, short-lived App Server processes produced these results (no task or model turn was started):

    Input Result
    Existing user configuration + --strict-config initialize and config/read succeeded; no configuration warning
    Add -c features.thread_tools=true Rejected: unknown configuration field features.thread_tools in -c/--config override
    Add -c features.thread_tools=false Rejected identically

    The installed .vite/build/src-DldfpmrL.js still omits thread_tools from exclusion Set xw. Running its extracted pure conversion helpers in an isolated VM maps {thread_tools:true,multi_agent:true,apps:true} to {"features.thread_tools":true,"features.multi_agent":true}. Adding only thread_tools to that Set in the isolated test removes the unsupported runtime key and preserves features.multi_agent.

    This corroborates the proposed app-to-runtime filtering fix. The original app-side flag should remain available for dynamic task-tool construction. No installed application or user configuration was modified, and no patched desktop end-to-end test was performed. The actual server-side assignment/outgoing live request was not captured; no crash or functional failure is attributed to this warning here.

    I first attempted the documented feedback/upload API with includeLogs:false and no transcript or attachments, but it returned Sentry rejected feedback upload with HTTP status 429 Too Many Requests. Adding this evidence to the existing issue as the fallback report. No private logs, account identifiers, user paths, or conversation contents are attached.

  10. 1yu-g commented on Sep 24, 2026

    @1yu-g

    Additional Windows reproduction on 2026-09-24.

    • Desktop package: OpenAI.Codex_26.917.9434.0_x64 (Windows).
    • Bundled Codex runtime: codex-cli 0.155.0-alpha.16.4.
    • The user reports this exact warning in the desktop app's agent configuration:
      Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
      session-flags: `features.thread_tools` is ignored.
      
    • Read-only checks found no thread_tools entry in the user config.toml or any applicable project/ancestor .codex/config.toml. codex features list has no thread_tools key; multi_agent is enabled.
    • Starting the bundled CLI independently does not show this warning. No app or configuration files were changed. The user has not reported a functional failure caused by this warning.

    This appears to persist on a newer Windows desktop package than the versions already reported here. Could a maintainer confirm whether the desktop-to-runtime session flag forwarding will be fixed, and identify a release containing the fix or a supported, low-risk workaround? The user wants to avoid editing the signed app package or changing working agent features.

  11. qijiu79-79 commented on Sep 25, 2026

    @qijiu79-79

    Confirming the same Configuration warning on macOS (Apple Silicon) with the installed ChatGPT/Codex Desktop 26.917.71314 and its bundled codex-cli 0.155.0-alpha.16.4 (observed on 2026-09-25).

    In Settings → Configuration → Agent default settings:

    Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
    session-flags: `features.thread_tools` is ignored.
    

    My user config.toml has no thread_tools entry, and the bundled runtime's codex features list does not include this key. The warning names session-flags, not the user config. I have not established any functional failure caused by the warning; this is a report of the settings-page warning itself. No local app or configuration files were modified.

    Could a maintainer confirm the intended fix and identify a release that resolves this warning?

  12. mashirou1234 commented on Sep 26, 2026

    @mashirou1234

    thread_tools warning during turn/start

    On Sep 26, I saw this warning in a normal Desktop turn on macOS (Desktop 26.917.71314, build 10954; bundled CLI 0.155.0-alpha.16.4):

    otel.name: turn/start
    client_name: Codex Desktop
    client_version: 26.917.71314
    target: codex_features
    message: load_with_cli_overrides: unknown feature key in config: thread_tools
    

    These are selected log fields; identifiers are omitted. I also saw the warning during thread/resume and mcpServerStatus/list. My config.toml has no thread_tools key, and the bundled CLI does not list it in codex features list.

    Could you include turn/start when testing the Desktop-to-runtime filtering fix? I did not capture the outgoing RPC payload or observe a failed turn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugconfig

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions