You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
The desktop app's configuration page keeps displaying:
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
The local config.toml no longer contains any thread_context or guardianv2 configuration, and there are no profile overrides. The warning still appears after completely quitting and reopening the app.
Environment
macOS
ChatGPT / Codex desktop version: 26.930.31730
App-bundled codex-cli: 0.160.0
Observation date: 2026-10-03
Steps to reproduce
Confirm that neither the user configuration nor profile overrides contain features.guardianv2.thread_context.
Completely quit and reopen the app.
Resume an existing local chat, then open the configuration page.
The same deprecation warning appears again.
Verified diagnostics
The current user configuration parses successfully as TOML, and a new app-server does not find this deprecated field when reading the effective configuration.
App logs after restarting show that the warning is generated again during thread/resume.
The current server-side Guardian experiment configuration still sends thread_context: true.
The desktop client merges the Guardian experiment configuration into feature overrides for chat requests.
Comparison using temporary chats with the same bundled app-server: passing features.guardianv2 = { enabled: true } produces no warning; passing features.guardianv2 = { enabled: true, thread_context: true } produces the same warning. Both configurations successfully start temporary chats.
Expected behavior
The server-side experiment configuration stops sending the deprecated thread_context field.
The client filters out this deprecated field when submitting chat configuration overrides.
Configuration warnings accurately distinguish between local configuration and app-injected overrides, so users are not asked to modify a file that already does not contain the field.
Current tasks still run normally; the issue is that the app keeps displaying a warning that cannot be resolved through the suggested local actions.
This report does not include account identifiers, credentials, raw logs, or chat history.
The warning persists after fully quitting and restarting the app:
[features.guardianv2].thread_context is deprecated and ignored. Thread-owned Guardian context is always enabled.
Local checks:
Searched the user config.toml and the only named profile file; neither contains thread_context or guardianv2.
CODEX_HOME is unset in the environment scopes checked.
Local diagnostic logs repeat the warning but do not identify a source file.
Read-only inspection of the packaged desktop code found a path that reads dynamic Guardian experiment configuration, merges it into guardianv2 feature overrides without filtering deprecated keys, and passes the experimental overrides to thread/start. This is consistent with a similar mechanism on Windows, but the actual experiment payload was not captured, so injection of thread_context remains unconfirmed here.
Could maintainers check whether the experiment payload should omit thread_context, and/or whether the desktop merge should filter out this deprecated field?
I’m seeing the same behavior in the ChatGPT / Codex desktop app.
The configuration page continues to show:
[features.guardianv2].thread_context is deprecated and ignored.
However, I cannot find thread_context in the local Codex configuration, so there is no obvious local setting to remove. Restarting the desktop app does not make the warning disappear.
This appears consistent with the issue described above: the warning may be coming from an app- or experiment-injected override rather than the user’s local config.toml.
I’m adding this as another independent report of the same symptom.
Location of the warning: Settings → Configuration → Codex configuration
The page continuously shows:
[features.guardianv2].thread_context is deprecated and ignored.
I had also seen this warning in earlier desktop versions, but previously, fully quitting and restarting the ChatGPT desktop app would make the warning disappear.
After updating to version 26.930.31730, that behavior changed. The warning now remains even after fully quitting and restarting the desktop app.
I cannot confirm the root cause, but this change in behavior across versions may help narrow down a possible regression window.
I am seeing the same warning on two Macs even though the deprecated key is absent from the base configuration and all eight profile files on each Mac.
I submitted this through Codex /feedback. Feedback reference supplied for the OpenAI team to correlate with this report: 01a09568-b462-7821-b11c-26b27a9e339f.
Checks performed on October 5:
A fresh bundled app-server config/read, including configuration layers, contains no guardianv2 / thread_context setting.
Desktop logs emit new deprecation notices after these checks, so this is not just an old warning remaining on screen.
An isolated ephemeral thread/start produces no warning when the override contains only features.guardianv2 = { enabled: true }. Adding thread_context: true reproduces the exact warning. Both requests start successfully; no inference turn is needed.
The installed desktop client has a path that merges Guardian experiment configuration into request-level feature overrides. We have not captured the offending live desktop request, so experiment injection remains a suspected cause in my environment, rather than independently confirmed.
The practical problem is that the warning asks users to edit a configuration that is already clean. Please remove the deprecated field at its source, or filter it from desktop request overrides, while preserving “Approve for me” and existing approval protections. Warnings should also distinguish local configuration from app-supplied overrides.
Confirmed still reproducible on macOS on 2026-10-06 with ChatGPT / Codex desktop 26.930.61225 (build 13232, prod). The app's configured updater reports up_to_date. Fully quitting and reopening the app does not resolve the warning.
Additional evidence from this installation:
The user config parses successfully and contains neither guardianv2 nor thread_context. A fresh bundled app-server config/read (including layers) also has no such setting.
An authenticated read of the app's current Statsig bootstrap response returned the following relevant values (no credentials or account identifiers included):
Read-only inspection of the installed desktop bundle shows the Guardian experiment config being deep-merged into default feature overrides and then passed to chat requests. The live outgoing desktop request itself was not captured.
Controlled tests against the same bundled app-server, using isolated temporary CODEX_HOME directories and ephemeral thread/start requests, produced:
Same request, plus local [features.guardianv2] enabled=true
Yes
Yes
features.guardianv2 = {enabled:true}
Yes
No
Supplying thread_context:false also emits the notice. No model inference turn was needed for these tests.
Could maintainers remove the obsolete thread_context field from the experiment payload, and/or filter it from desktop-generated overrides for backend versions where it is removed? The test above preserves Guardian enabled=true; disabling Guardian is unnecessary.
The persistent settings banner is distracting and directs users to edit an already-clean config file. Please also distinguish app-supplied overrides from user-file configuration in this notice.
No raw logs, chat history, credentials, or account identifiers are attached.
The desktop application emits the same deprecationNotice even though neither the base user config.toml nor the named profile configuration contains guardianv2 or thread_context:
`[features.guardianv2].thread_context` is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove `thread_context` from [features.guardianv2] in config.toml, including profile overrides.
I tested the bundled app-server using separate empty temporary CODEX_HOME directories, no credentials, and ephemeral thread/start requests. No inference turn was started. After the initialize / initialized handshake, the relevant request is:
This confirms that setting the obsolete key to false does not resolve the warning; omitting it does, while keeping Guardian enabled.
Read-only inspection of the installed desktop bundle also found a path that merges Guardian experiment configuration into request-level feature overrides. I have not captured the current experiment payload or the offending live desktop request, so experiment injection remains a suspected source in this installation.
Please remove the obsolete key from app-supplied configuration and filter deprecated fields from desktop-generated overrides, while preserving existing Guardian approval protections. The notice should identify an app/session override when applicable instead of directing users to edit an already-clean config.toml.
No credentials, account identifiers, raw logs, or chat history are included.
The same features.guardianv2.thread_context deprecation warning persists after fully restarting the app, even though my local config.toml contains neither thread_context nor a [features.guardianv2] section.
An isolated test with the bundled app-server also reproduced the exact warning: starting an ephemeral thread with an empty configuration produces no such warning, while passing features.guardianv2 = { thread_context: true } as a thread-start override produces it. This supports the possibility of an app-injected override, although I have not independently confirmed the live server-side experiment value for my account.
The warning's instruction to remove the setting from config.toml is therefore not actionable in my case.
Confirmed on Windows 10 (build 19045) with Codex desktop package 26.1002.6548.0 and bundled codex-cli 0.162.0-alpha.2.
The warning persists even though the local config.toml, project/ancestor configs, and profile/overlay configuration contain neither thread_context nor guardianv2. Restarting is not a solution in this case.
Using the same bundled app-server in an isolated ephemeral thread, I reproduced the exact deprecation notice only when the request-level override included:
features.guardianv2.thread_context = true
The same request without thread_context started successfully and produced no notice. No model inference was started.
This suggests the deprecated field may be reintroduced by a desktop- or experiment-supplied request override rather than the local config file. Please remove thread_context from the Guardian experiment payload or filter it from desktop-generated overrides while preserving Guardian protections.
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
Hello. It says this issue was fixed on October 6, but it hasn’t been fixed. The strange thing is this: if you go directly to Settings without opening any chat, it doesn’t show a warning; if you open a new chat, there’s still no warning; but when you open an old chat, this error occurs. So, in my opinion, this is related to the session files—when I searched for it, it turned out exactly as I thought: there’s an issue with the session files, and it throws an error when opening past chats.
October 12, 2026 — injection-path and cache findings; request for read-only production diagnostics
Following my alpha.20 recurrence report, I investigated the same macOS installation further: desktop 26.1007.30912 / build 20156, with the running backend still using 0.162.0-alpha.20.
The actual runtime value has not been captured. These findings do not establish that the server is currently sending thread_context.
Installed-client code path — static inspection
In app-initial-6350d04672d0.js, _zr() posts to /wham/statsig/bootstrap; rZs() receives statsigPayload. The post-login client calls dataAdapter.setData(payload). The inspected SDK implementation seeds its in-memory cache at that point without writing that payload to the persistent cache.
NZs() reads dynamic config 1055689174, selecting min_app_server_version and config.
In app-shared-8bd9d0399038.js, Awt() merges that config under guardianv2 when the backend-version condition passes. The inspected Pwt() compatibility handling does not individually strip thread_context.
Thread creation obtains execution assignments and merges feature defaults into request configuration. Resume code also constructs request-level configuration overrides. This provides a forwarding path for the deprecated field if it is present, but I did not capture the offending outbound request.
Read-only cache and configuration checks
Process-open-file inspection identified three active Local Storage stores. Only statsig.cached.* records were selected for inspection. The reader followed the current LevelDB manifest, sequence numbers and deletion records, validated checksums, and checked that the files remained stable during each read.
One store had a live Statsig cache entry received on September 18, 2026 at 05:29:51.028 UTC. Its payload contained the experiment identifier, but neither the raw payload nor the parsed fields contained thread_context. The other two stores had no matching Statsig cache entries.
These results do not implicate the inspected persistent caches; they do not rule out current in-memory data, other sources, or an override applied after receipt.
The running backend arguments contained no Guardian/thread_context override. The global configuration and applicable configuration locations associated with the open rollout files remained clean. This does not cover every paginated, closed or unrelated thread.
The inspected alpha.20 cold-resume metadata restoration handles model, reasoning and permission settings; it does not itself restore this Guardian field. Already-running threads can still retain in-memory configuration.
The available tools did not expose the live frontend experiment values. The SDK has provenance metadata, but a normal diagnostic entry point for reading it was not available in this production session. I did not enable debug switches, restart the application, modify configuration, patch the bundle, intercept authenticated traffic, or alter Guardian's operation.
Request to maintainers
Could you provide a supported read-only, narrowly redacted diagnostic for production builds that reports:
Whether the received Guardian experiment configuration contains thread_context, and its value.
Whether it exists in the effective configuration after client-side overrides, so a local override is not mistaken for server delivery.
Source/provenance and receipt time, such as Network, Bootstrap, or Cache.
Whether the deprecated field is included in the relevant outgoing thread configuration.
The diagnostic should preserve normal Guardian review and context behavior and avoid exposing credentials, account/chat identifiers, full configuration or full network captures.
This remains a source-path investigation with an unconfirmed live value, not a claimed fix. Prepared with Codex assistance at my request; no private paths, raw caches, logs, screenshots or credentials are attached.
Checked on October 12, 2026 (UTC+8), macOS Apple Silicon.
Desktop: 26.1007.30912, build 20156, production distribution.
Bundled backend: codex-cli 0.162.0-alpha.17.2.
The maintained desktop update checker now returns up_to_date. An earlier check failed; this successful result supersedes that check for current update eligibility.
The owner continues to report these exact Configuration notices:
Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
session-flags: features.code_mode_tool_description_first is ignored.
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
Verified evidence and limits
Targeted reads of the user configuration and separate profile found neither key. A fresh bundled app-server config/read including layers also found neither key in its user/system layers. This is not an inspection of every unrelated project or all live desktop session overrides.
Installed desktop code constructs a code_mode_tool_description_first property in its default feature overrides. The bundled backend does not register that feature.
Isolated ephemeral thread-start tests reproduce both notices when the corresponding keys are supplied. No model inference turn is required.
An official alpha.20 provisioned package was separately verified against the release SHA-256 and its native executable's OpenAI Developer ID signature. A controlled alpha.20 test with both keys completes initialization and thread start, with zero matching Code Mode configWarning events and one Guardian deprecationNotice. It also emits the expected experimental-feature warning.
The desktop has NOT been switched to the candidate. Its GUI runtime override remains unset. Candidate tests do not prove desktop integration or a complete repair.
The live offending Guardian override and its actual supplying layer have not been captured. We do not claim a confirmed server-side injection source.
The latest two notices are owner-reported; current Configuration UI absence/presence was not independently rechecked by automation.
Requested supported correction
Align desktop-generated feature overrides with the bundled backend: omit the new description-ordering key on unsupported versions, or ship a matching supported backend.
Remove/filter the deprecated Guardian thread_context key at its actual supplying layer while preserving other Guardian settings and approval protections.
Identify the actual app/session source in notices instead of directing users to remove an absent local field.
Please identify the supported desktop release or user-facing recovery procedure. We have not found a maintainer-endorsed procedure that resolves both notices.
Acceptance
Both exact notices must disappear from Configuration and remain absent after normal chat continuation. A clean independent config read or an isolated candidate test alone is insufficient.
Additional affected Windows installation: Guardian deprecation notice persists with the original desktop backend (October 13, 2026, UTC+8)
Environment
Desktop product version: 26.1007.21434, build 13901, production distribution.
Windows package: OpenAI.Codex 26.1007.2314.0.
Actual desktop backend: codex-cli 0.162.0-alpha.17.2.
The desktop update checker reports up_to_date.
The affected user's Configuration screenshots show:
`[features.guardianv2].thread_context` is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove `thread_context` from [features.guardianv2] in config.toml, including profile overrides.
Verified evidence and limits
The inspected user configuration contains neither guardianv2 nor thread_context, and no profile override is configured. A fresh instance of the same desktop backend returned user and system layers without this field from config/read, without the matching deprecation notification.
The user reports the same notice after completely restarting the desktop application. Desktop logs collected after restoring the original official launch path still contain the Guardian deprecationNotice; the latest matching records were at 2026-10-13 07:20:20 UTC.
Official codex doctor checks passed installation consistency, configuration loading, and desktop app-server initialization. These checks do not establish that every feature works or identify the source of the live Guardian override.
A local compatibility wrapper was attempted, failed full desktop verification, and was withdrawn. The current user-level launch override is unset, no wrapper process is running, and the desktop launch log identifies the original official backend. That attempt is not being reported as a desktop repair.
The actual supplying layer of the Guardian field on this installation has not been conclusively established. Other reports' cloud-configuration findings should not be treated as confirmed provenance for this installation.
Requested correction
Please provide a supported client or configuration-delivery correction that removes the deprecated field while preserving Guardian behavior and approval protections, and identify the release containing that correction. If the field comes from a non-editable app/session override, the notice should identify that source instead of asking the user to remove an absent local setting.
Acceptance requires the notice to disappear from Configuration and remain absent after resuming an existing chat and continuing normal work.
This comment contains only versions, warning text, and diagnostic conclusions. It includes no account or chat identifiers, credentials, personal local paths, raw logs, configuration files, screenshots, or transcripts.
The Configuration page continues to show the exact Guardian deprecation warning after fully quitting and restarting the desktop app, even though the checked user configuration and separate profile file contain neither guardianv2 nor thread_context.
Environment
Desktop app: 26.1007.30912, build 20156.
Bundled backend: 0.162.0-alpha.17.2, verified in the isolated app-server initialization response.
macOS 27.0.1, Apple Silicon / arm64.
Controlled reproduction using that same bundled backend
Five separate synthetic Codex homes were used. Each app-server ran over stdio inside a macOS sandbox that denied networking and access to the real Codex home. Both restrictions were checked with probes that returned permission-denied errors. The baseline configuration used file-based credential storage and disabled analytics; no credentials were supplied.
Each case performed initialize, initialized, config/read, and an ephemeral thread/start. No turn/start, model inference, or tool execution was requested.
The runtime-only cases had no Guardian field in their saved configuration, yet emitted the identical notification:
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
This confirms that the field's presence triggers the notice for either boolean value, and that the instruction to edit config.toml is emitted even when the field was supplied only through a runtime override.
Live-client evidence and limits
The post-restart desktop log recorded the notice again during chat resumption. Checked configuration files, macOS managed-preference payloads, and running backend arguments did not contain the deprecated key. Installed-client source provides a path that merges Guardian experiment configuration into thread-request feature overrides without explicitly filtering thread_context.
The actual offending live override payload and its exact supplying layer were not captured. These results reproduce the mechanism; they do not establish that a particular remote configuration currently supplies the field on this installation. The tests also do not establish complete Guardian functionality.
Please remove or filter the deprecated field at its actual supplying layer while preserving the other Guardian settings, and make the notice identify that layer rather than directing users to edit a clean local file.
The real user configuration and separate profile file remained byte-for-byte unchanged. No local paths, raw logs, full user configuration, credentials, or conversation history are attached.
Additional reproduction on macOS 27.0.1 arm64, observed 2026-10-14. This confirms the Guardian warning on a newer desktop build and isolates the related unknown feature warning in #52747. This report is limited to configuration diagnostics; it does not report a tool-policy failure.
Versions and observations
Desktop: 26.1007.30912, build 20156, production channel. The built-in updater returned up_to_date.
Bundled backend: 0.162.0-alpha.17.2.
Separately installed CLI: 0.162.1.
Neither deprecated key was found in the inspected local user/profile/project/system config files.
Full access remained selected through the built-in :danger-full-access profile with approval_policy="never".
Minimal backend reproduction
Save the following as repro.py, then run python3 repro.py /path/to/codex against either backend version above. It creates isolated temporary HOME and CODEX_HOME directories, supplies no credentials, starts only an ephemeral thread, and does not start a model turn or touch the production configuration.
The clean case completes initialize/config-read/thread-start without either warning. The injected_false case also successfully starts, but emits:
configWarning:
Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.
session-flags: `features.code_mode_tool_description_first` is ignored.
deprecationNotice:
`[features.guardianv2].thread_context` is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove `thread_context` from [features.guardianv2] in config.toml, including profile overrides.
Additional control results
Case
Result
Bundled backend, clean config
No warnings
Bundled backend, both injected values false
Both warnings
Bundled backend, both local values false plus session overrides true
Session values win; the unknown key is reported for both user config and session flags
Standalone 0.162.1, clean config
No warnings
Standalone 0.162.1, both injected values false
Both warnings
The last two cases demonstrate that simply switching to the tested standalone CLI does not remedy these injected keys. Setting a retired key to false is not equivalent to omitting it.
Desktop provenance and evidence limits
Read-only inspection of the installed desktop bundle found that webview/assets/app-initial-6350d04672d0.js constructs the code_mode_tool_description_first feature override unconditionally, including when its gate returns false. The same feature-override builder forwards a dynamic Guardian configuration dictionary. The exact live Guardian payload was not captured in this follow-up; the isolated test establishes the warning behavior when that retired key is present, rather than claiming a live network trace.
No signed application files, feature-service caches, permission settings, or production configuration were modified. No raw logs, chat history, account identifiers, private paths, or network identifiers are attached.
Requested fix
Please stop emitting the removed code_mode_tool_description_first override and filter/migrate deprecated guardianv2.thread_context before passing app-generated settings to the backend. For app/remote-injected values, the diagnostic should identify that source instead of only directing the user to edit an already-clean config.toml.
Desktop emits obsolete feature overrides and an approval-policy conflict with clean configuration
Observed October 15, 2026 on macOS arm64, desktop version 26.1007.71326 (build 20398, prod), bundled backend 0.162.0-alpha.17.2. The configured updater reports up_to_date.
The Configuration page displays three notices:
session-flags: features.code_mode_tool_description_first is ignored.
An approval_policy: Never request is disallowed by machine requirements, with a fallback to UnlessTrusted.
features.guardianv2.thread_context is deprecated and ignored.
The user configuration and inspected named profiles contain neither obsolete feature key. Saved permissions are approval_policy = "on-request", approvals_reviewer = "auto_review", and sandbox_mode = "workspace-write". Machine requirements allow untrusted and on-request; the user does not authorize loosening that policy. The allowlist still naming retired untrusted is a separate policy compatibility concern.
A fresh bundled-backend config/read with includeLayers and strict validation returns the expected permissions, no obsolete fields, and no configuration notices. The read used an isolated runtime, a symlink to the live config, configuration-read requests, and the normal system configuration. No credentials were copied and no inference turn was started; this does not capture the running client's request overrides or prove identical cloud policy.
Read-only bundle inspection found:
A frontend feature override explicitly includes code_mode_tool_description_first, sourced from gate 3414371058.
Background ephemeral read-only thread creation paths specify approvalPolicy: never. This is a possible source of the policy notice; the exact offending live request was not captured.
Please omit retired feature keys at the supplying client/experiment layer, honor machine approval constraints for background requests, and distinguish app/session overrides from user-file configuration in the warnings. Preserve Guardian automatic review and the existing sandbox and approval requirements.
No credentials, account identifiers, local usernames, raw logs, full config, screenshots, or chat history are included. Prepared from a local Codex-assisted inspection and submitted at the affected user's explicit request.
Bundled/running backend verified as 0.159.0-alpha.12.1.
The user confirmed the warning survives a full Desktop restart on October 14; it remains visible in the user's Configuration screenshot on October 17.
Neither guardianv2 nor thread_context is present in the inspected user config. During the October 14 investigation, a fresh instance of this same backend successfully initialized and answered config/read with user/system layers without the deprecated field or matching notice. The restarted Desktop logs nevertheless recorded the exact Guardian deprecation notice during chat restoration.
A controlled backend comparison on October 14 created only ephemeral threads, with no model turn:
No request-level Guardian override: no matching notice.
config: {"features.guardianv2": {"thread_context": true}}: the identical deprecationNotice was emitted; thread creation succeeded.
Read-only installed-client inspection found the path merging Guardian dynamic/experiment configuration into thread-request feature overrides. The actual offending live Desktop request and its exact supplying layer were not captured on this machine. Remote/app injection remains a supported hypothesis for this installation, not a claimed payload capture.
Please omit obsolete fields from supplied overrides and make notices identify the actual supplying layer instead of directing users to remove a field absent from their file. Guardian behavior and approval protections should remain intact.
No private configuration, account/chat identifiers, credentials, personal paths, raw logs, screenshots, or transcripts are included.
Additional Windows reproduction on October 16, 2026, submitted with Codex assistance at the affected user's explicit request.
Environment
Desktop: 26.1013.31256, build 20586, production channel.
Desktop app-server: 0.163.0-alpha.10.2.
Windows x64; the configured desktop updater reports up_to_date.
Reproduction and result
Confirm the user config.toml and profile overrides contain neither guardianv2 nor thread_context.
Fully quit and reopen the desktop, then resume an existing local chat.
Open Settings > Configuration.
The same warning persists:
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
The new desktop process logged that exact notice at 2026-10-16T20:05:35.994Z, immediately before a successful local thread/resume response. The chat remains usable.
Verified diagnostic evidence
The actual host user's configuration parses as TOML and has no matching key or profile override.
A fresh app-server config/read with layers contains no deprecated Guardian setting or corresponding origin in its user/system layers.
The desktop app-server launch arguments do not set thread_context.
A separately approved, fresh, read-only request to the installed app's /backend-api/wham/statsig/bootstrap endpoint returned these selected values:
Installed-client source traces the Guardian dynamic/experiment configuration into defaultFeatureOverrides.guardianv2 and explicit local thread configuration. The actual outgoing desktop thread request was not intercepted; the fresh bootstrap response above and static forwarding path are the evidence for the supplying layer.
Please confirm and remove/filter the obsolete key for affected runtime versions while preserving Guardian behavior. The expected result is no deprecated-option notice after normal restart/resume, and source-aware guidance when an app-supplied override is responsible.
No credentials, account/device/chat identifiers, personal paths, screenshots, raw logs, full configuration, or conversation history are included. No app binaries, account settings, or local configuration were modified.
Desktop injects deprecated Guardian configuration despite clean user config
Environment
macOS, Apple Silicon
Desktop: 26.1013.31256, build 20586
Bundled engine: codex-cli 0.163.0-alpha.10.2
Verified October 16, 2026, after updating and restarting
Problem
Settings → Configuration repeatedly displays a deprecation warning for features.guardianv2.thread_context and instructs the user to remove it from config.toml. The inspected user config contains neither guardianv2 nor thread_context. Fresh desktop logs confirm that the warning recurs after restart.
Verified findings
Static inspection of the installed desktop bundle shows that it reads Guardian dynamic configuration 2553103476, merges experiment 1055689174 and applicable version rules, and passes the resulting Guardian object into thread configuration overrides without filtering thread_context.
The current account-specific Statsig payload was not captured, so the exact upstream assignment supplying the key remains unconfirmed.
Controlled tests against the bundled engine used isolated temporary configurations and ephemeral threads. No account credentials or model inference were used.
Request override
Thread start
Matching warning
{enabled: true}
Successful
No
{enabled: true, thread_context: true}
Successful
Yes
{enabled: true, thread_context: false}
Successful
Yes
Same true override, with a clean local Guardian section
Successful
Yes
Expected fix
Remove the obsolete field from upstream configuration or filter it from desktop-generated overrides, preserving all other Guardian and approval settings. The warning should identify the actual configuration source rather than direct users to edit a clean local file.
No credentials, account identifiers, private paths, chat content, or raw logs are included.
Additional Windows x64 evidence verified on October 17, 2026, submitted with Codex assistance at the affected user's explicit authorization.
This corroborates the existing reports on a newer desktop build; no local workaround or configuration change was applied.
Environment
Desktop product version: 26.1013.40934, build 20770, production channel.
Windows package version: 26.1013.4894.0.
Desktop app-server: codex-cli 0.163.0-alpha.10.2.
The configured desktop updater reports up_to_date.
Current evidence
The user configuration and inspected project/profile configuration do not supply guardianv2.thread_context. A fresh diagnostic app-server config/read with includeLayers: true likewise contains no effective Guardian field or corresponding origin in the baseline layers.
A targeted read-only inspection of the running desktop process found the actual experiment object below. This is a runtime snapshot, not a newly fetched bootstrap response:
The installed desktop bundle reads experiment 1055689174, merges applicable experiment configuration into Guardian feature overrides, prefixes those overrides with features., and applies them to local thread/start and thread/resume request configuration. The actual outgoing desktop request was not intercepted.
Current-process logs show the exact deprecation notice followed by a successful resume:
2026-10-17T05:28:08.899Z warning [electron-message-handler]
summary="[features.guardianv2].thread_context is deprecated and ignored."
details="Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides."
2026-10-17T05:28:08.901Z info [AppServerConnection]
method=thread/resume errorCode=null
The notice also recurs later in this desktop process. The bundle retains configuration/deprecation notices and replays them in initialization snapshots to renderer windows, which is relevant to the persistent Settings banner.
Source-attribution control and limits
In a separate diagnostic app-server process, the clean baseline has no Guardian origin. Supplying only the temporary process-level override -c features.guardianv2.thread_context=true makes the field appear with origin sessionFlags. This comparison establishes how an injected override is attributed; it is not an independent model-turn reproduction of the warning. No new chat or model turn was created for this comparison.
The user configuration's SHA-256 remained unchanged throughout diagnosis. The main desktop process stayed running. Official Doctor checks reported successful configuration loading and app-server initialization, healthy local database, passing HTTP/WebSocket checks, and zero failed checks.
Requested upstream resolution
Please remove the obsolete field from the remote experiment or filter it from desktop-generated overrides for affected engines, while preserving Guardian, approval/security settings, and useful configuration warnings. Source-aware diagnostics would also avoid directing users to edit a clean config.toml.
This comment includes no credentials, account/device/chat/request identifiers, personal paths, conversation content, raw memory dumps, full configuration, or raw log attachments. No application files, local configuration, experiment assignment, or security controls were modified.
I'm experiencing the same deprecation warning in ChatGPT Desktop on macOS (Apple Silicon), version 26.1013.40934.
The warning appears under Settings > Configuration:
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled.
Remove thread_context from [features.guardianv2] in config.toml,
including profile overrides.
Configuration checks
I've verified that the deprecated setting isn't present in my local configuration.
This confirms that the warning persists in a newer macOS release despite the deprecated setting being absent from the inspected local configuration files.
The existing reports suggest that the setting may be supplied through an application-generated configuration override rather than the user's config.toml.
It would be helpful if the deprecated field could be removed or filtered at its source, rather than directing users to modify configuration files that don't contain it.
补充 Windows x64 上 2026-10-18 仍持续复现 的排查结果。本反馈经受影响用户授权,由 Codex 协助整理。
配置页反复提示:
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
Desktop temporary helpers still request disallowed approvalPolicy: never
Observed October 21, 2026 on macOS arm64, Desktop 26.1016.51333 (build 21161, production), bundled backend 0.163.0-alpha.11. The configured updater reports up_to_date.
Saved configuration uses approval_policy="on-request" and approvals_reviewer="auto_review". Managed requirements allow only "untrusted" and "on-request". Configuration displays a Never-disallowed warning with an UnlessTrusted fallback.
Read-only inspection of the installed Desktop JavaScript identified these request paths in .vite/build/src-CsH31EEu.js:
Ln, used by ambient suggestion generation and safety evaluation, creates an ephemeral thread/start with approvalPolicy: never and permissions: :read-only.
W2 invokes XJ for automatic title/description generation. XJ supplies the same policy in fresh temporary thread requests and ordinary temporary forks.
Configuration warnings are retained and replayed to windows, so the displayed notice can outlive its originating request.
Live log correlation identified a title-generation helper by matching timestamp, model, reasoning effort, and exact total token count between Desktop title telemetry and backend temporary-thread telemetry. Its effective approval policy was UnlessTrusted with a read-only sandbox. The visible chat retained OnRequest and AutoReview. Concurrent ambient generation was also logged. The original outgoing RPC and a unique request-to-banner association were not captured; this does not establish which helper first populated the visible notice.
A controlled comparison using two isolated homes and the installed backend under the unchanged machine requirements produced:
ephemeral read-only thread/start
Result
approvalPolicy omitted
on-request; no warning
approvalPolicy="never"
untrusted; exact reported warning
Both succeeded and exited cleanly, with no persisted rollout path. No model turn was started and no authentication files were copied. Hash checks confirmed that live config, machine policy, and the app archive were unchanged.
PR #49912 fixes this pattern in the TUI by inheriting server policy and rejecting unexpected interaction from hidden structured threads. Please apply the equivalent policy-aware behavior to Desktop title, description, and ambient helpers while retaining their sandbox boundaries. Please also identify app-generated request overrides accurately in Configuration notices instead of directing users to a clean config.toml.
No supported Desktop repair was verified. The installed archive was not patched, policy was not loosened, and the warning was not suppressed. This draft contains no credentials, account/session/request identifiers, personal paths, raw logs, chat contents, or attachments.
Please include warning lifecycle in the fix: after the supplying override is corrected, a cached warning should not keep directing users to edit an already-clean file.
A focused regression could load a deprecated app-supplied override, observe the warning, remove it at that source, refresh effective configuration, and verify that the notice resolves without changing user permissions. Also check that a separate still-active managed-policy warning remains visible.
This is a proposed regression, not another local reproduction. Source attribution and stale-warning retirement both matter: otherwise users cannot distinguish a fixed configuration problem from a continuing approval restriction.
November 14 update: temporary-helper approval conflict persists in Desktop 26.1111.21308
Following up on my October 21 report, the installed macOS Desktop build still contains temporary-helper requests that explicitly select an approval policy disallowed by the machine's requirements. This update concerns the Never warning, not a new reproduction of the separate Guardian deprecation warning.
Environment
Desktop: 26.1111.21308, build 27194, production distribution.
The configured app updater reported up_to_date; this establishes no eligible update through that updater.
Read-only inspection of app.asar, entry .vite/build/early-bootstrap-631-c364c4eef36b8fb5.js, identified this path:
Description generator uo calls uu with feature: "thread_description" and a source thread.
uu calls temporary-generation helper a6.
The ordinary temporary-fork branch of a6 explicitly passes approvalPolicy: "never", permissions: ":read-only", empty runtime workspace roots, and ephemeral: true.
Its fresh-thread branch also explicitly passes never. The description caller does not enable the alternative prediction-mode branch.
An independent read-only review matched the saved excerpts against the installed archive.
Runtime observations and limits
An earlier read-only backend-log query returned a warning at 2026-11-14 10:01:23 UTC during thread/fork configuration loading: Never was rejected by the machine requirements, with UnlessTrusted as the fallback. A nearby temporary turn used GPT-6 Luna Low and read-only access. At 10:01:28.044 UTC, Desktop telemetry reported successful thread_description generation with the same model and reasoning effort.
These observations correlate with the installed helper path. They do not constitute an intercepted outgoing RPC or uniquely identify the request that originally populated the visible Configuration banner.
The warning record was captured in the earlier query output but was no longer returned by a later query of the same log database. Its disappearance is unexplained; the captured record cannot currently be independently re-read there. The installed-code evidence and Desktop event remain separately verifiable.
The main chat's turn-start log continued to resolve on-request, automatic approval review, and workspace-write. The helper's fallback is not evidence that the main chat adopted Never.
Requested repair
Please make Desktop temporary helpers inherit or select an approval policy compatible with enforced requirements, retaining their read-only restrictions and safely handling unexpected approval requests. Please also attribute Configuration warnings to the app-generated override and retire notices after their actual source is corrected.
No supported local repair was established. Configuration, instructions, reviewer configuration, system requirements, and the app archive remained unchanged by hash comparison. No protections were loosened, app/cache files patched, or warnings suppressed. No raw logs, chat contents, credentials, account identifiers, private paths, or attachments are included.
Activity
github-actions commentedon Oct 3, 2026
English translation:
Problem
The desktop app's configuration page keeps displaying:
The local config.toml no longer contains any thread_context or guardianv2 configuration, and there are no profile overrides. The warning still appears after completely quitting and reopening the app.
Environment
Steps to reproduce
Verified diagnostics
Expected behavior
Current tasks still run normally; the issue is that the app keeps displaying a warning that cannot be resolved through the suggested local actions.
This report does not include account identifiers, credentials, raw logs, or chat history.
jecyqaz commentedon Oct 3, 2026
Also seeing the same warning on Windows:
The warning persists after fully quitting and restarting the app:
[features.guardianv2].thread_context is deprecated and ignored. Thread-owned Guardian context is always enabled.
Local checks:
Read-only inspection of the packaged desktop code found a path that reads dynamic Guardian experiment configuration, merges it into guardianv2 feature overrides without filtering deprecated keys, and passes the experimental overrides to thread/start. This is consistent with a similar mechanism on Windows, but the actual experiment payload was not captured, so injection of thread_context remains unconfirmed here.
Could maintainers check whether the experiment payload should omit thread_context, and/or whether the desktop merge should filter out this deprecated field?
tengzikeji commentedon Oct 5, 2026
I’m seeing the same behavior in the ChatGPT / Codex desktop app.
The configuration page continues to show:
[features.guardianv2].thread_context is deprecated and ignored.However, I cannot find
thread_contextin the local Codex configuration, so there is no obvious local setting to remove. Restarting the desktop app does not make the warning disappear.This appears consistent with the issue described above: the warning may be coming from an app- or experiment-injected override rather than the user’s local
config.toml.I’m adding this as another independent report of the same symptom.
tengzikeji commentedon Oct 5, 2026
Additional behavior that may help narrow down the regression window:
In earlier desktop versions, I had seen this warning before, but fully restarting the desktop app would make it disappear.
After updating to the current version, the behavior changed: the same warning now persists even after fully quitting and restarting the app.
So the user-visible behavior appears to have changed across versions from intermittent / restart-cleared to persistent / restart-resistant.
I cannot confirm the exact root cause, but this version-to-version change may be useful for identifying when the behavior regressed.
tengzikeji commentedon Oct 5, 2026
Additional details from my Windows setup:
The page continuously shows:
[features.guardianv2].thread_context is deprecated and ignored.I had also seen this warning in earlier desktop versions, but previously, fully quitting and restarting the ChatGPT desktop app would make the warning disappear.
After updating to version 26.930.31730, that behavior changed. The warning now remains even after fully quitting and restarting the desktop app.
I cannot confirm the root cause, but this change in behavior across versions may help narrow down a possible regression window.
TheAngryPit commentedon Oct 5, 2026
I am seeing the same warning on two Macs even though the deprecated key is absent from the base configuration and all eight profile files on each Mac.
I submitted this through Codex
/feedback. Feedback reference supplied for the OpenAI team to correlate with this report:01a09568-b462-7821-b11c-26b27a9e339f.Checks performed on October 5:
config/read, including configuration layers, contains noguardianv2/thread_contextsetting.thread/startproduces no warning when the override contains onlyfeatures.guardianv2 = { enabled: true }. Addingthread_context: truereproduces the exact warning. Both requests start successfully; no inference turn is needed.The practical problem is that the warning asks users to edit a configuration that is already clean. Please remove the deprecated field at its source, or filter it from desktop request overrides, while preserving “Approve for me” and existing approval protections. Warnings should also distinguish local configuration from app-supplied overrides.
masonjian commentedon Oct 6, 2026
Confirmed still reproducible on macOS on 2026-10-06 with ChatGPT / Codex desktop 26.930.61225 (build 13232, prod). The app's configured updater reports
up_to_date. Fully quitting and reopening the app does not resolve the warning.Additional evidence from this installation:
guardianv2northread_context. A fresh bundled app-serverconfig/read(including layers) also has no such setting.2553103476:{"enabled":true}1055689174:{"min_app_server_version":"0.155.0-alpha.9","config":{"thread_context":true}}Controlled tests against the same bundled app-server, using isolated temporary
CODEX_HOMEdirectories and ephemeralthread/startrequests, produced:features.guardianv2 = {enabled:true, thread_context:true}[features.guardianv2] enabled=truefeatures.guardianv2 = {enabled:true}Supplying
thread_context:falsealso emits the notice. No model inference turn was needed for these tests.Could maintainers remove the obsolete
thread_contextfield from the experiment payload, and/or filter it from desktop-generated overrides for backend versions where it is removed? The test above preserves Guardianenabled=true; disabling Guardian is unnecessary.The persistent settings banner is distracting and directs users to edit an already-clean config file. Please also distinguish app-supplied overrides from user-file configuration in this notice.
No raw logs, chat history, credentials, or account identifiers are attached.
MarkSong2020 commentedon Oct 6, 2026
Independent confirmation on 2026-10-06 with:
The desktop application emits the same
deprecationNoticeeven though neither the base userconfig.tomlnor the named profile configuration containsguardianv2orthread_context:I tested the bundled app-server using separate empty temporary
CODEX_HOMEdirectories, no credentials, and ephemeralthread/startrequests. No inference turn was started. After theinitialize/initializedhandshake, the relevant request is:{"id":1,"method":"thread/start","params":{"cwd":"/private/tmp","ephemeral":true,"config":{"features.guardianv2":{"enabled":true,"thread_context":true}}}}Results:
{ "enabled": true, "thread_context": true }{ "enabled": true, "thread_context": false }{ "enabled": true }This confirms that setting the obsolete key to
falsedoes not resolve the warning; omitting it does, while keeping Guardian enabled.Read-only inspection of the installed desktop bundle also found a path that merges Guardian experiment configuration into request-level feature overrides. I have not captured the current experiment payload or the offending live desktop request, so experiment injection remains a suspected source in this installation.
Please remove the obsolete key from app-supplied configuration and filter deprecated fields from desktop-generated overrides, while preserving existing Guardian approval protections. The notice should identify an app/session override when applicable instead of directing users to edit an already-clean
config.toml.No credentials, account identifiers, raw logs, or chat history are included.
pdurlej commentedon Oct 7, 2026
I'm also experiencing this on macOS, so this is not isolated to the original reporter.
Environment: desktop app 26.930.61225 (build 13232), bundled codex-cli 0.160.1.
The same
features.guardianv2.thread_contextdeprecation warning persists after fully restarting the app, even though my localconfig.tomlcontains neitherthread_contextnor a[features.guardianv2]section.An isolated test with the bundled app-server also reproduced the exact warning: starting an ephemeral thread with an empty configuration produces no such warning, while passing
features.guardianv2 = { thread_context: true }as a thread-start override produces it. This supports the possibility of an app-injected override, although I have not independently confirmed the live server-side experiment value for my account.The warning's instruction to remove the setting from
config.tomlis therefore not actionable in my case.timirabm commentedon Oct 7, 2026
Confirmed on Windows 10 (build 19045) with Codex desktop package 26.1002.6548.0 and bundled codex-cli 0.162.0-alpha.2.
The warning persists even though the local config.toml, project/ancestor configs, and profile/overlay configuration contain neither thread_context nor guardianv2. Restarting is not a solution in this case.
Using the same bundled app-server in an isolated ephemeral thread, I reproduced the exact deprecation notice only when the request-level override included:
The same request without thread_context started successfully and produced no notice. No model inference was started.
This suggests the deprecated field may be reintroduced by a desktop- or experiment-supplied request override rather than the local config file. Please remove thread_context from the Guardian experiment payload or filter it from desktop-generated overrides while preserving Guardian protections.
timirabm commentedon Oct 7, 2026
哈哈
emserdar78-lang commentedon Oct 7, 2026
[features.guardianv2].thread_context is deprecated and ignored.
Thread-owned Guardian context is always enabled. Remove thread_context from [features.guardianv2] in config.toml, including profile overrides.
Hello. It says this issue was fixed on October 6, but it hasn’t been fixed. The strange thing is this: if you go directly to Settings without opening any chat, it doesn’t show a warning; if you open a new chat, there’s still no warning; but when you open an old chat, this error occurs. So, in my opinion, this is related to the session files—when I searched for it, it turned out exactly as I thought: there’s an issue with the session files, and it throws an error when opening past chats.
https://blakecrosley.com/guides/codex#hooks
10 remaining items
YIFO98 commentedon Oct 12, 2026
October 12, 2026 — injection-path and cache findings; request for read-only production diagnostics
Following my alpha.20 recurrence report, I investigated the same macOS installation further: desktop
26.1007.30912/ build20156, with the running backend still using0.162.0-alpha.20.The actual runtime value has not been captured. These findings do not establish that the server is currently sending
thread_context.Installed-client code path — static inspection
app-initial-6350d04672d0.js,_zr()posts to/wham/statsig/bootstrap;rZs()receivesstatsigPayload. The post-login client callsdataAdapter.setData(payload). The inspected SDK implementation seeds its in-memory cache at that point without writing that payload to the persistent cache.NZs()reads dynamic config1055689174, selectingmin_app_server_versionandconfig.app-shared-8bd9d0399038.js,Awt()merges thatconfigunderguardianv2when the backend-version condition passes. The inspectedPwt()compatibility handling does not individually stripthread_context.Read-only cache and configuration checks
statsig.cached.*records were selected for inspection. The reader followed the current LevelDB manifest, sequence numbers and deletion records, validated checksums, and checked that the files remained stable during each read.thread_context. The other two stores had no matching Statsig cache entries.thread_contextoverride. The global configuration and applicable configuration locations associated with the open rollout files remained clean. This does not cover every paginated, closed or unrelated thread.Production diagnostic access
The current launch log records:
The available tools did not expose the live frontend experiment values. The SDK has provenance metadata, but a normal diagnostic entry point for reading it was not available in this production session. I did not enable debug switches, restart the application, modify configuration, patch the bundle, intercept authenticated traffic, or alter Guardian's operation.
Request to maintainers
Could you provide a supported read-only, narrowly redacted diagnostic for production builds that reports:
thread_context, and its value.Network,Bootstrap, orCache.The diagnostic should preserve normal Guardian review and context behavior and avoid exposing credentials, account/chat identifiers, full configuration or full network captures.
This remains a source-path investigation with an unconfirmed live value, not a claimed fix. Prepared with Codex assistance at my request; no private paths, raw caches, logs, screenshots or credentials are attached.
luomeng119 commentedon Oct 12, 2026
macOS Desktop: unsupported session feature and deprecated Guardian key despite clean local configuration
Related issues: #52747 and #50526.
Environment and current observation
up_to_date. An earlier check failed; this successful result supersedes that check for current update eligibility.Verified evidence and limits
config/readincluding layers also found neither key in its user/system layers. This is not an inspection of every unrelated project or all live desktop session overrides.code_mode_tool_description_firstproperty in its default feature overrides. The bundled backend does not register that feature.Requested supported correction
Acceptance
Both exact notices must disappear from Configuration and remain absent after normal chat continuation. A clean independent config read or an isolated candidate test alone is insufficient.
Hugh-JM314 commentedon Oct 13, 2026
Additional affected Windows installation: Guardian deprecation notice persists with the original desktop backend (October 13, 2026, UTC+8)
Environment
26.1007.21434, build13901, production distribution.OpenAI.Codex 26.1007.2314.0.codex-cli 0.162.0-alpha.17.2.up_to_date.The affected user's Configuration screenshots show:
Verified evidence and limits
guardianv2northread_context, and no profile override is configured. A fresh instance of the same desktop backend returned user and system layers without this field fromconfig/read, without the matching deprecation notification.deprecationNotice; the latest matching records were at2026-10-13 07:20:20 UTC.codex doctorchecks passed installation consistency, configuration loading, and desktop app-server initialization. These checks do not establish that every feature works or identify the source of the live Guardian override.The actual supplying layer of the Guardian field on this installation has not been conclusively established. Other reports' cloud-configuration findings should not be treated as confirmed provenance for this installation.
Requested correction
Please provide a supported client or configuration-delivery correction that removes the deprecated field while preserving Guardian behavior and approval protections, and identify the release containing that correction. If the field comes from a non-editable app/session override, the notice should identify that source instead of asking the user to remove an absent local setting.
Acceptance requires the notice to disappear from Configuration and remain absent after resuming an existing chat and continuing normal work.
This comment contains only versions, warning text, and diagnostic conclusions. It includes no account or chat identifiers, credentials, personal local paths, raw logs, configuration files, screenshots, or transcripts.
randomusername21349 commentedon Oct 13, 2026
Additional macOS reproduction on 10-13-2026
The Configuration page continues to show the exact Guardian deprecation warning after fully quitting and restarting the desktop app, even though the checked user configuration and separate profile file contain neither
guardianv2northread_context.Environment
26.1007.30912, build20156.0.162.0-alpha.17.2, verified in the isolated app-server initialization response.27.0.1, Apple Silicon / arm64.Controlled reproduction using that same bundled backend
Five separate synthetic Codex homes were used. Each app-server ran over stdio inside a macOS sandbox that denied networking and access to the real Codex home. Both restrictions were checked with probes that returned permission-denied errors. The baseline configuration used file-based credential storage and disabled analytics; no credentials were supplied.
Each case performed
initialize,initialized,config/read, and an ephemeralthread/start. Noturn/start, model inference, or tool execution was requested.guardianv2 = { enabled = true }guardianv2 = { enabled = true, thread_context = false }features.guardianv2 = { enabled = true, thread_context = false }features.guardianv2 = { enabled = true, thread_context = true }The saved-setting rows refer to the
[features.guardianv2]TOML table. The runtime rows use the dotted JSON configuration key"features.guardianv2".All five ephemeral thread starts succeeded and all five backend processes exited with code 0.
A representative runtime-only request, with the working directory anonymized, was:
{ "id": 3, "method": "thread/start", "params": { "cwd": "<isolated working directory>", "ephemeral": true, "approvalPolicy": "on-request", "sandbox": "read-only", "config": { "features.guardianv2": { "enabled": true, "thread_context": false } } } }The runtime-only cases had no Guardian field in their saved configuration, yet emitted the identical notification:
This confirms that the field's presence triggers the notice for either boolean value, and that the instruction to edit
config.tomlis emitted even when the field was supplied only through a runtime override.Live-client evidence and limits
The post-restart desktop log recorded the notice again during chat resumption. Checked configuration files, macOS managed-preference payloads, and running backend arguments did not contain the deprecated key. Installed-client source provides a path that merges Guardian experiment configuration into thread-request feature overrides without explicitly filtering
thread_context.The actual offending live override payload and its exact supplying layer were not captured. These results reproduce the mechanism; they do not establish that a particular remote configuration currently supplies the field on this installation. The tests also do not establish complete Guardian functionality.
Please remove or filter the deprecated field at its actual supplying layer while preserving the other Guardian settings, and make the notice identify that layer rather than directing users to edit a clean local file.
Submitted feedback ID:
01a1366d-c8d6-7b33-a762-aff294e68909The real user configuration and separate profile file remained byte-for-byte unchanged. No local paths, raw logs, full user configuration, credentials, or conversation history are attached.
semantic-craft commentedon Oct 13, 2026
Additional reproduction on macOS 27.0.1 arm64, observed 2026-10-14. This confirms the Guardian warning on a newer desktop build and isolates the related unknown feature warning in #52747. This report is limited to configuration diagnostics; it does not report a tool-policy failure.
Versions and observations
up_to_date.:danger-full-accessprofile withapproval_policy="never".Minimal backend reproduction
Save the following as
repro.py, then runpython3 repro.py /path/to/codexagainst either backend version above. It creates isolated temporaryHOMEandCODEX_HOMEdirectories, supplies no credentials, starts only an ephemeral thread, and does not start a model turn or touch the production configuration.The
cleancase completes initialize/config-read/thread-start without either warning. Theinjected_falsecase also successfully starts, but emits:Additional control results
falsefalseplus session overridestruefalseThe last two cases demonstrate that simply switching to the tested standalone CLI does not remedy these injected keys. Setting a retired key to false is not equivalent to omitting it.
Desktop provenance and evidence limits
Read-only inspection of the installed desktop bundle found that
webview/assets/app-initial-6350d04672d0.jsconstructs thecode_mode_tool_description_firstfeature override unconditionally, including when its gate returns false. The same feature-override builder forwards a dynamic Guardian configuration dictionary. The exact live Guardian payload was not captured in this follow-up; the isolated test establishes the warning behavior when that retired key is present, rather than claiming a live network trace.No signed application files, feature-service caches, permission settings, or production configuration were modified. No raw logs, chat history, account identifiers, private paths, or network identifiers are attached.
Requested fix
Please stop emitting the removed
code_mode_tool_description_firstoverride and filter/migrate deprecatedguardianv2.thread_contextbefore passing app-generated settings to the backend. For app/remote-injected values, the diagnostic should identify that source instead of only directing the user to edit an already-cleanconfig.toml.Submitted by a Codex assistant at the affected user's explicit request. Official configuration precedence: https://learn.chatgpt.com/docs/config-file/config-basic
editbyjunior commentedon Oct 15, 2026
Desktop emits obsolete feature overrides and an approval-policy conflict with clean configuration
Observed October 15, 2026 on macOS arm64, desktop version 26.1007.71326 (build 20398, prod), bundled backend 0.162.0-alpha.17.2. The configured updater reports up_to_date.
The Configuration page displays three notices:
session-flags: features.code_mode_tool_description_first is ignored.approval_policy: Neverrequest is disallowed by machine requirements, with a fallback toUnlessTrusted.features.guardianv2.thread_contextis deprecated and ignored.The user configuration and inspected named profiles contain neither obsolete feature key. Saved permissions are
approval_policy = "on-request",approvals_reviewer = "auto_review", andsandbox_mode = "workspace-write". Machine requirements allowuntrustedandon-request; the user does not authorize loosening that policy. The allowlist still naming retireduntrustedis a separate policy compatibility concern.A fresh bundled-backend
config/readwith includeLayers and strict validation returns the expected permissions, no obsolete fields, and no configuration notices. The read used an isolated runtime, a symlink to the live config, configuration-read requests, and the normal system configuration. No credentials were copied and no inference turn was started; this does not capture the running client's request overrides or prove identical cloud policy.Read-only bundle inspection found:
code_mode_tool_description_first, sourced from gate3414371058.guardianv2overrides. The exact current payload was not captured locally; this appears consistent with issue Desktop: Guardian experiment reintroduces deprecated thread_context despite clean config.toml #50526.approvalPolicy: never. This is a possible source of the policy notice; the exact offending live request was not captured.Please omit retired feature keys at the supplying client/experiment layer, honor machine approval constraints for background requests, and distinguish app/session overrides from user-file configuration in the warnings. Preserve Guardian automatic review and the existing sandbox and approval requirements.
No credentials, account identifiers, local usernames, raw logs, full config, screenshots, or chat history are included. Prepared from a local Codex-assisted inspection and submitted at the affected user's explicit request.
Allserial commentedon Oct 16, 2026
Additional Windows observation, submitted by a Codex assistant at the affected user's explicit request.
OpenAI.Codex 26.930.2377.0.26.930.21537, build12776.0.159.0-alpha.12.1.Neither
guardianv2northread_contextis present in the inspected user config. During the October 14 investigation, a fresh instance of this same backend successfully initialized and answeredconfig/readwith user/system layers without the deprecated field or matching notice. The restarted Desktop logs nevertheless recorded the exact Guardian deprecation notice during chat restoration.A controlled backend comparison on October 14 created only ephemeral threads, with no model turn:
config: {"features.guardianv2": {"thread_context": true}}: the identicaldeprecationNoticewas emitted; thread creation succeeded.Read-only installed-client inspection found the path merging Guardian dynamic/experiment configuration into thread-request feature overrides. The actual offending live Desktop request and its exact supplying layer were not captured on this machine. Remote/app injection remains a supported hypothesis for this installation, not a claimed payload capture.
Please omit obsolete fields from supplied overrides and make notices identify the actual supplying layer instead of directing users to remove a field absent from their file. Guardian behavior and approval protections should remain intact.
No private configuration, account/chat identifiers, credentials, personal paths, raw logs, screenshots, or transcripts are included.
crissangelavitua-web commentedon Oct 16, 2026
Additional Windows reproduction on October 16, 2026, submitted with Codex assistance at the affected user's explicit request.
Environment
26.1013.31256, build20586, production channel.0.163.0-alpha.10.2.up_to_date.Reproduction and result
config.tomland profile overrides contain neitherguardianv2northread_context.The same warning persists:
The new desktop process logged that exact notice at
2026-10-16T20:05:35.994Z, immediately before a successful localthread/resumeresponse. The chat remains usable.Verified diagnostic evidence
config/readwith layers contains no deprecated Guardian setting or corresponding origin in its user/system layers.thread_context./backend-api/wham/statsig/bootstrapendpoint returned these selected values:{ "dynamic_configs.2553103476.value": { "enabled": true }, "layer_configs.1055689174.value": { "min_app_server_version": "0.155.0-alpha.9", "config": { "thread_context": true }, "config_rules": [] } }Installed-client source traces the Guardian dynamic/experiment configuration into
defaultFeatureOverrides.guardianv2and explicit local thread configuration. The actual outgoing desktop thread request was not intercepted; the fresh bootstrap response above and static forwarding path are the evidence for the supplying layer.Please confirm and remove/filter the obsolete key for affected runtime versions while preserving Guardian behavior. The expected result is no deprecated-option notice after normal restart/resume, and source-aware guidance when an app-supplied override is responsible.
No credentials, account/device/chat identifiers, personal paths, screenshots, raw logs, full configuration, or conversation history are included. No app binaries, account settings, or local configuration were modified.
BorisRaw commentedon Oct 17, 2026
Desktop injects deprecated Guardian configuration despite clean user config
Environment
26.1013.31256, build20586codex-cli 0.163.0-alpha.10.2Problem
Settings → Configuration repeatedly displays a deprecation warning for
features.guardianv2.thread_contextand instructs the user to remove it fromconfig.toml. The inspected user config contains neitherguardianv2northread_context. Fresh desktop logs confirm that the warning recurs after restart.Verified findings
Static inspection of the installed desktop bundle shows that it reads Guardian dynamic configuration
2553103476, merges experiment1055689174and applicable version rules, and passes the resulting Guardian object into thread configuration overrides without filteringthread_context.The current account-specific Statsig payload was not captured, so the exact upstream assignment supplying the key remains unconfirmed.
Controlled tests against the bundled engine used isolated temporary configurations and ephemeral threads. No account credentials or model inference were used.
{enabled: true}{enabled: true, thread_context: true}{enabled: true, thread_context: false}trueoverride, with a clean local Guardian sectionExpected fix
Remove the obsolete field from upstream configuration or filter it from desktop-generated overrides, preserving all other Guardian and approval settings. The warning should identify the actual configuration source rather than direct users to edit a clean local file.
No credentials, account identifiers, private paths, chat content, or raw logs are included.
scorm88 commentedon Oct 17, 2026
Additional Windows x64 evidence verified on October 17, 2026, submitted with Codex assistance at the affected user's explicit authorization.
This corroborates the existing reports on a newer desktop build; no local workaround or configuration change was applied.
Environment
26.1013.40934, build20770, production channel.26.1013.4894.0.codex-cli 0.163.0-alpha.10.2.up_to_date.Current evidence
guardianv2.thread_context. A fresh diagnostic app-serverconfig/readwithincludeLayers: truelikewise contains no effective Guardian field or corresponding origin in the baseline layers.{ "name": "1055689174", "value": { "min_app_server_version": "0.155.0-alpha.9", "config": { "thread_context": true }, "config_rules": [] } }1055689174, merges applicable experiment configuration into Guardian feature overrides, prefixes those overrides withfeatures., and applies them to localthread/startandthread/resumerequest configuration. The actual outgoing desktop request was not intercepted.The notice also recurs later in this desktop process. The bundle retains configuration/deprecation notices and replays them in initialization snapshots to renderer windows, which is relevant to the persistent Settings banner.
Source-attribution control and limits
In a separate diagnostic app-server process, the clean baseline has no Guardian origin. Supplying only the temporary process-level override
-c features.guardianv2.thread_context=truemakes the field appear with originsessionFlags. This comparison establishes how an injected override is attributed; it is not an independent model-turn reproduction of the warning. No new chat or model turn was created for this comparison.The user configuration's SHA-256 remained unchanged throughout diagnosis. The main desktop process stayed running. Official Doctor checks reported successful configuration loading and app-server initialization, healthy local database, passing HTTP/WebSocket checks, and zero failed checks.
Requested upstream resolution
Please remove the obsolete field from the remote experiment or filter it from desktop-generated overrides for affected engines, while preserving Guardian, approval/security settings, and useful configuration warnings. Source-aware diagnostics would also avoid directing users to edit a clean
config.toml.This comment includes no credentials, account/device/chat/request identifiers, personal paths, conversation content, raw memory dumps, full configuration, or raw log attachments. No application files, local configuration, experiment assignment, or security controls were modified.
coradia commentedon Oct 17, 2026
Additional confirmation on macOS, 17 October 2026
I'm experiencing the same deprecation warning in ChatGPT Desktop on macOS (Apple Silicon), version
26.1013.40934.The warning appears under Settings > Configuration:
Configuration checks
I've verified that the deprecated setting isn't present in my local configuration.
First, I checked the main configuration file:
I then searched all TOML files within the Codex configuration directory, including any profile overrides:
Both commands returned no matches.
Findings
This confirms that the warning persists in a newer macOS release despite the deprecated setting being absent from the inspected local configuration files.
The existing reports suggest that the setting may be supplied through an application-generated configuration override rather than the user's
config.toml.It would be helpful if the deprecated field could be removed or filtered at its source, rather than directing users to modify configuration files that don't contain it.
zlbdhe commentedon Oct 18, 2026
补充 Windows x64 上 2026-10-18 仍持续复现 的排查结果。本反馈经受影响用户授权,由 Codex 协助整理。
配置页反复提示:
环境
26.1013.40934,build20770,production channel(应用更新接口返回)。26.1013.4894.0。codex-cli 0.163.0-alpha.10.2。up_to_date。本机直接验证的事实
config.toml能通过 TOML 解析,不包含guardianv2或thread_context,没有 profile 覆盖。检查到的项目及父目录配置也未提供该字段。features list,退出码为 0,未产生这条弃用警告。--no-daemon app-server --stdio,初始化后只调用config/read(includeLayers: true,指定本地项目 cwd)。返回的用户、系统配置层及有效配置均不包含该字段,也未收到相关弃用通知。该检查未创建任务或发起模型请求。2026-10-18T20:31:12.655Z。因此不是仅剩一条旧界面提示。只读代码检查与证据边界
安装的桌面代码存在一条动态配置路径:将
guardianV2Experiment.config及适用的config_rules合并进guardianv2默认功能配置,再转换为线程请求的features.*覆盖项;检查到的合并路径没有专门移除废弃的thread_context。还追踪了
defaultFeatureOverrideKeys:检查到的resumeThread调用并未提供该排除参数,也未找到从用户config.toml生成它的设置入口。普通配置读取干净,不能排除后续构造线程请求时再次加入动态覆盖项。本机没有捕获当前账号的实时实验分配,也没有截获桌面的实际
thread/start或thread/resume请求,因此动态覆盖项是与证据一致的解释,尚不能据此确认本机实际下发载荷。其他报告中的载荷和隔离测试没有被当作本机已完成的验证。请修复废弃字段的来源或在客户端提交线程配置前仅过滤
guardianv2.thread_context,保留其他 Guardian、审批和沙箱配置;同时让警告标明实际配置来源,避免继续要求用户修改已不含该字段的文件。也请提供修复版本或受支持的本地处理方式。本反馈不包含账号凭据、设备标识、私人路径、聊天内容或原始日志文件。
editbyjunior commentedon Oct 21, 2026
Desktop temporary helpers still request disallowed approvalPolicy: never
Observed October 21, 2026 on macOS arm64, Desktop 26.1016.51333 (build 21161, production), bundled backend 0.163.0-alpha.11. The configured updater reports up_to_date.
Saved configuration uses approval_policy="on-request" and approvals_reviewer="auto_review". Managed requirements allow only "untrusted" and "on-request". Configuration displays a Never-disallowed warning with an UnlessTrusted fallback.
Read-only inspection of the installed Desktop JavaScript identified these request paths in
.vite/build/src-CsH31EEu.js:Ln, used by ambient suggestion generation and safety evaluation, creates an ephemeralthread/startwithapprovalPolicy: neverandpermissions: :read-only.W2invokesXJfor automatic title/description generation.XJsupplies the same policy in fresh temporary thread requests and ordinary temporary forks.Live log correlation identified a title-generation helper by matching timestamp, model, reasoning effort, and exact total token count between Desktop title telemetry and backend temporary-thread telemetry. Its effective approval policy was UnlessTrusted with a read-only sandbox. The visible chat retained OnRequest and AutoReview. Concurrent ambient generation was also logged. The original outgoing RPC and a unique request-to-banner association were not captured; this does not establish which helper first populated the visible notice.
A controlled comparison using two isolated homes and the installed backend under the unchanged machine requirements produced:
Both succeeded and exited cleanly, with no persisted rollout path. No model turn was started and no authentication files were copied. Hash checks confirmed that live config, machine policy, and the app archive were unchanged.
PR #49912 fixes this pattern in the TUI by inheriting server policy and rejecting unexpected interaction from hidden structured threads. Please apply the equivalent policy-aware behavior to Desktop title, description, and ambient helpers while retaining their sandbox boundaries. Please also identify app-generated request overrides accurately in Configuration notices instead of directing users to a clean config.toml.
No supported Desktop repair was verified. The installed archive was not patched, policy was not loosened, and the warning was not suppressed. This draft contains no credentials, account/session/request identifiers, personal paths, raw logs, chat contents, or attachments.
NonTrivialLiu commentedon Oct 22, 2026
Please include warning lifecycle in the fix: after the supplying override is corrected, a cached warning should not keep directing users to edit an already-clean file.
A focused regression could load a deprecated app-supplied override, observe the warning, remove it at that source, refresh effective configuration, and verify that the notice resolves without changing user permissions. Also check that a separate still-active managed-policy warning remains visible.
This is a proposed regression, not another local reproduction. Source attribution and stale-warning retirement both matter: otherwise users cannot distinguish a fixed configuration problem from a continuing approval restriction.
editbyjunior commentedon Nov 14, 2026
November 14 update: temporary-helper approval conflict persists in Desktop 26.1111.21308
Following up on my October 21 report, the installed macOS Desktop build still contains temporary-helper requests that explicitly select an approval policy disallowed by the machine's requirements. This update concerns the
Neverwarning, not a new reproduction of the separate Guardian deprecation warning.Environment
26.1111.21308, build27194, production distribution.up_to_date; this establishes no eligible update through that updater.approval_policy = "on-request",approvals_reviewer = "auto_review",sandbox_mode = "workspace-write".["untrusted", "on-request"]and sandbox modes["read-only", "workspace-write"].Installed-code evidence
Read-only inspection of
app.asar, entry.vite/build/early-bootstrap-631-c364c4eef36b8fb5.js, identified this path:uocallsuuwithfeature: "thread_description"and a source thread.uucalls temporary-generation helpera6.a6explicitly passesapprovalPolicy: "never",permissions: ":read-only", empty runtime workspace roots, andephemeral: true.never. The description caller does not enable the alternative prediction-mode branch.An independent read-only review matched the saved excerpts against the installed archive.
Runtime observations and limits
An earlier read-only backend-log query returned a warning at 2026-11-14 10:01:23 UTC during
thread/forkconfiguration loading:Neverwas rejected by the machine requirements, withUnlessTrustedas the fallback. A nearby temporary turn used GPT-6 Luna Low and read-only access. At 10:01:28.044 UTC, Desktop telemetry reported successfulthread_descriptiongeneration with the same model and reasoning effort.These observations correlate with the installed helper path. They do not constitute an intercepted outgoing RPC or uniquely identify the request that originally populated the visible Configuration banner.
The warning record was captured in the earlier query output but was no longer returned by a later query of the same log database. Its disappearance is unexplained; the captured record cannot currently be independently re-read there. The installed-code evidence and Desktop event remain separately verifiable.
The main chat's turn-start log continued to resolve
on-request, automatic approval review, and workspace-write. The helper's fallback is not evidence that the main chat adoptedNever.Requested repair
Please make Desktop temporary helpers inherit or select an approval policy compatible with enforced requirements, retaining their read-only restrictions and safely handling unexpected approval requests. Please also attribute Configuration warnings to the app-generated override and retire notices after their actual source is corrected.
No supported local repair was established. Configuration, instructions, reviewer configuration, system requirements, and the app archive remained unchanged by hash comparison. No protections were loosened, app/cache files patched, or warnings suppressed. No raw logs, chat contents, credentials, account identifiers, private paths, or attachments are included.