Skip to content

bundled_plugins_marketplace_resolve_failed / plugin_marketplace_folder_write_failed #41164

Open

Description

@NannaOlympicBroadcast

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

OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0.

What subscription do you have?

Free

What platform is your computer?

Windows x64

What issue are you seeing?

Reproduced on the latest Windows Store build as of today (2026-08-27): OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0.

Same signature as the original report — bundled_plugins_marketplace_resolve_failed / plugin_marketplace_folder_write_failed, errorCode=UNKNOWN, copyfile ... The specified file could not be encrypted. Confirmed via Copy-Item reproduction on the exact source file (plugins\chrome.codex-plugin\plugin.json), which has NTFS attributes Archive, Encrypted. robocopy succeeds on the same file (writes a plain, unencrypted copy); Copy-Item/Node fs.copyFile do not.

The codex plugin marketplace add workaround from the comments below no longer works on current builds. I fully robocopied the entire app\resources\plugins\openai-bundled package (826/826 files, including .agents\plugins\marketplace.json) into a user-owned directory and tried both (a) manually adding [marketplaces.openai-bundled] to config.toml, and (b) codex plugin marketplace add via codex-cli 0.150.1. (a) is silently ignored — codex plugin marketplace list never shows it. (b) now fails explicitly:

Error: marketplace openai-bundled is reserved and cannot be added from this source

So it looks like a newer build added a guard that rejects manually registering openai-bundled, which closes off the workaround several commenters below reported success with on older builds (~26.527.x). At this point there is no user-side workaround left that I can find — the fix has to come from either not attempting a copy that preserves EFS attributes, or reading bundled plugin metadata directly from the installed package instead of staging a copy.

Environment: Windows 11 (domain-joined lab-style hostname), Codex 26.820.9563.0, codex-cli 0.150.1, install via Microsoft Store.

What steps can reproduce the bug?

OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Aug 27, 2026
  2. added
    bug
    windows-os
    skills
    on Aug 27, 2026
  3. github-actions commented on Aug 27, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. zemeng5208 commented on Aug 27, 2026

    @zemeng5208

    This looks like a high-confidence match for one of the Windows local-state failure classes I track. I maintain WinBridge Recovery: https://github.com/zemeng5208/winbridge-recovery

    For this specific report, the relevant layer is the bundled marketplace materialization/staging path from the MSIX/WindowsApps payload into the user-writable Codex state. WinBridge can help diagnose whether the failure is specifically the Application Protected/EFS copy case (rather than a missing package, stale cache, or file lock), inspect incomplete openai-bundled.staging-* / managed marketplace state, and validate any user-side materialized copy against the packaged files before recovery attempts.

    The important limitation on current 26.820.9563.0 is exactly what you found: openai-bundled is now reserved, so a manually copied marketplace cannot simply be re-registered through config.toml or codex plugin marketplace add. WinBridge cannot change that product-side rule, modify WindowsApps, bypass Application Protected/EFS, or guarantee a durable fix. If Codex keeps using a copy path that fails on the protected source every startup, the real fix still needs to be upstream (for example a decrypted-destination/stream-copy fallback or direct use of the packaged metadata).

    So in this case I would use WinBridge mainly to preserve/inspect the local staging state and separate recoverable user-state damage from the underlying copyfile regression; I would not treat it as a substitute for the Codex-side fix.

  5. lixinlong1998 commented on Sep 6, 2026

    @lixinlong1998

    I can confirm this still reproduces on a much newer Windows Store build, and I was able to isolate the failure and recover Computer Use without modifying WindowsApps ACLs or decrypting the installed package.

    Environment

    • Windows 11 Pro 24H2 x64, build 26100.8037
    • Microsoft Store / MSIX
    • OpenAI.Codex package: 26.901.6511.0
    • Desktop UI: 26.901.51231, build 8109
    • codex-cli: 0.153.4

    Symptoms

    • The Windows "Computer Control" settings page was present.
    • Browser control infrastructure was available.
    • The Computer Use native pipe started successfully.
    • However, Computer Use was completely absent from the Plugins marketplace.
    • codex plugin marketplace list did not contain openai-bundled.

    The MSIX package itself did contain:

    • .agents/plugins/marketplace.json
    • plugins/computer-use
    • plugins/browser
    • plugins/chrome

    but these did not exist under:

    ~/.codex/.tmp/bundled-marketplaces/openai-bundled

    The key log failure was:

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_failed errorCode=UNKNOWN

    with:

    copyfile '...\openai-bundled\plugins\sites\.app.json' -> '~\.codex\.tmp\bundled-marketplaces\openai-bundled.staging-...\plugins\sites\.app.json'

    followed by:

    bundled_plugins_marketplace_resolve_failed

    I checked the exact source file with:

    cipher /c <path>\plugins\sites\.app.json

    Result:

    E .app.json
    Compatibility Level: Application Protected

    A normal PowerShell copy reproduces the failure independently of Codex:

    Copy-Item ...

    returns:

    The specified file could not be encrypted.

    Importantly, xcopy /G succeeds on the exact same file, and the resulting destination is unencrypted (U).

    I then used the following diagnostic workaround:

    1. Fully quit Codex.

    2. Copy the complete bundled marketplace using xcopy /E /I /Y /G /H from the MSIX package to:

      ~/.codex/.tmp/bundled-marketplaces/openai-bundled

    3. Confirm .agents/plugins/marketplace.json and .bundle-id exist.

    4. Add the reserved bundled root to config.toml:

      [marketplaces.openai-bundled]
      source_type = "local"
      source = 'C:\Users\<user>\.codex\.tmp\bundled-marketplaces\openai-bundled'

    5. codex plugin marketplace list then correctly showed openai-bundled.

    6. codex plugin list --marketplace openai-bundled correctly showed:

      • computer-use
      • browser
      • chrome
      • unified-computer-use
      • etc.
    7. codex plugin add computer-use@openai-bundled

    8. Restart Codex Desktop.

    After this, the Windows Computer Control settings immediately exposed "Any app", and Computer Use became functional.

    One additional useful datapoint:

    Changing the default AppX volume from D:\WindowsApps to the system C:\Program Files\WindowsApps and reinstalling Codex did NOT fix the problem. The freshly installed .app.json was still E / Application Protected, and normal Copy-Item still failed.

    So in this reproduction the root cause is not simply the AppX installation volume. It appears to be the copy semantics used when materializing Application Protected bundled resources into the user's Codex marketplace.

    The fact that Windows xcopy /G succeeds may be useful: /G explicitly creates decrypted destination files when necessary.

    I did not modify WindowsApps ACLs, ownership, or encryption attributes.

    This workaround is obviously not suitable as a permanent user-facing fix, but it confirms that the bundled plugin contents and Computer Use runtime are otherwise valid.

  6. Wynn-lim commented on Sep 9, 2026

    @Wynn-lim

    Reproduced on Windows Microsoft Store package 26.903.8094.0 on 2026-09-09. Computer Use is absent from the Plugins UI/search although its packaged files are present.

    Sanitized diagnostics from this installation:

    • Desktop logs repeatedly report plugin_marketplace_folder_write_failed, folderWritePhase=copy_plugins, followed by bundled_plugins_marketplace_resolve_failed.
    • The failing source is <MSIX installation>/app/resources/plugins/openai-bundled/plugins/sites/.app.json; the target is the managed openai-bundled.staging-<id> directory.
    • The source file has Archive, Encrypted attributes.
    • A minimal test with the client's Node runtime reproduces fs.copyFileSync failure: code UNKNOWN, errno -4094.
    • Reading the same source with fs.readFileSync and writing it with fs.writeFileSync succeeds (105 bytes).

    Potentially actionable detail: inspection of the shipped windows-file-copy-Dm31CRG0.js shows that a stream-copy fallback already exists, but its error predicate checks error.errno === 6000. The reproduced error is -4094, so that fallback is not selected in this case. Please investigate whether confirmed encrypted-resource copy failures should reach the existing fallback; this is not a suggestion to indiscriminately suppress every UNKNOWN error.

    Standard CLI recovery also fails: adding the packaged marketplace reports that openai-bundled is reserved; directly installing computer-use@openai-bundled reports the plugin was not found.

    No WindowsApps files, application code, ACLs, or feature gates were modified. After restarting, the Computer Use runtime could enumerate apps and read an Explorer accessibility tree, but the plugin directory entry remained missing. This suggests that runtime connectivity and bundled-marketplace materialization should be diagnosed separately. Other availability conditions after successful materialization remain unverified.

  7. seamusmore commented on Sep 13, 2026

    @seamusmore

    Additional reproduction and tested fallback candidate — Windows package 26.908.4834.0

    Submitted by Codex on behalf of the affected user, with their explicit authorization. This adds an independent reproduction and whole-marketplace validation to the error-code mismatch already reported above.

    Environment and impact

    • Windows 11 x64; Microsoft Store/MSIX package OpenAI.Codex_26.908.4834.0_x64__2p2nqsd0c76g0; app-reported build 26.908.40834.
    • App-bundled Node: v24.20.0, win32.
    • Package installed on a non-system volume, exposed through a system-volume WindowsApps junction; CODEX_HOME on a separate volume.
    • Computer Use and Visualize are present in the packaged marketplace but absent from the plugin UI and composer suggestions. Computer Use's native pipe starts successfully. Other remote plugins can install.

    Reproduced failure
    The source <package>/app/resources/plugins/openai-bundled/plugins/sites/.app.json has Archive, Encrypted attributes. Repeated desktop logs show:

    plugin_marketplace_folder_write_failed
      folderWritePhase=copy_plugins
      marketplaceName=openai-bundled
      errorCode=UNKNOWN
      copyfile '<package>/.../plugins/sites/.app.json'
            -> '<CODEX_HOME>/.tmp/bundled-marketplaces/openai-bundled.staging-<id>/plugins/sites/.app.json'
    bundled_plugins_marketplace_resolve_failed
    
    • .NET File.Copy reports “The specified file could not be encrypted.”
    • The app's Node fs.copyFile reports {code:"UNKNOWN", errno:-4094, syscall:"copyfile"}.
    • Directly addressing the package's actual volume produces the same error, independently of the junction.
    • Reading bytes and writing a new destination succeeds; SHA-256 matches the source.

    Existing fallback is skipped
    The shipped app.asar/.vite/build/windows-file-copy-Dm31CRG0.js already has file/directory stream-copy fallback, a Windows guard, a timeout, and a reparse-point rejection. Its error predicate only accepts error.errno === 6000. The observed -4094 does not enter that fallback.

    A candidate predicate tested locally, expressed as a readable source-level diff:

    - return error instanceof Error && error.errno === 6000;
    + return error instanceof Error && (
    +   error.errno === 6000 ||
    +   (error.code === "UNKNOWN" &&
    +    error.errno === -4094 &&
    +    error.syscall === "copyfile")
    + );

    This is a review candidate. UNKNOWN is generic and does not uniquely establish encryption. The added branch allows the existing content-copy fallback for the narrowly matched copyfile failure; production review should consider a more precise native error signal and validate partial-write cleanup/overwrite behavior. Keep the existing Windows guard, timeout, reparse-point handling, and staging cleanup. Fallback logging should also report the actual error code rather than hardcoding 6000.

    Actual validation
    The original and modified extracted helpers were evaluated using the app-bundled Node and real encrypted package resources. Only the logger and bundler interop shim were stubbed; filesystem operations and Windows errors were real.

    PASS: original helper reproduces UNKNOWN/-4094 and skips fallback
    PASS: proposed helper copies the encrypted resource with identical SHA-256
    PASS: complete Sites directory fallback verified (132 files)
    PASS: entire bundled marketplace fallback verified (952 files, all packaged plugins)
    PASS: injected EACCES, ENOENT, ENOSPC and unrelated UNKNOWN/mkdir remain failures
    PASS: existing errno=6000 fallback remains supported
    

    Requested durable fix
    Please fix the shared resource-copy path and add regression coverage for the app-bundled Node's error mapping, so initial setup, future app upgrades, and newly bundled plugins can materialize on supported installation/cache volumes.

    The installed application, its ACLs, encryption attributes, configuration, and active plugin cache were left unchanged. These tests verify the helper and file integrity; UI restoration and upgrade survival have not been validated. Usernames, private paths, session contents, and full logs are omitted.

  8. shshdfxh-cloud commented on Sep 15, 2026

    @shshdfxh-cloud

    Additional verification on current stable Windows package 26.908.9136.0 (app version 26.908.70816), checked on 2026-09-15. The production Windows update manifest still identifies this build as current.

    This confirms the error-mapping mismatch already reported in #41164, with a direct native check and an isolated version-transition test:

    • The running app has its normal OpenAI.Codex Windows package identity.
    • Calling Win32 CopyFileW on the failing packaged plugins/sites/.app.json returns 6000 (ERROR_ENCRYPTION_FAILED).
    • The app-bundled Node reports {code:"UNKNOWN", errno:-4094, syscall:"copyfile"} for the same source.
    • Both the system-volume package junction and physical package path fail, with destinations on either volume.
    • The shipped windows-file-copy-Dm31CRG0.js fallback predicate still only accepts error.errno === 6000.

    Using an unmodified extracted helper reproduces the failure. In an isolated copy of that helper, permitting the narrowly matched UNKNOWN/-4094/copyfile case to reach its existing stream-copy fallback succeeds with identical bytes. EACCES, EPERM, ENOENT and an unrelated UNKNOWN/stat remain failures.

    A copy-stage transition from the real 26.901.41600 Chrome cache to the current encrypted 26.908.70816 packaged resources also succeeds with the candidate: all 382 new-version files match their sources byte for byte. This tests the installation copy phase, not a complete live application upgrade. No installed application code, ACLs, encryption settings, feature gates, or update mechanisms were modified for these tests.

    The practical impact remains that Settings-driven bundled-plugin setup can fail before generating/updating chrome-native-hosts-v2.json. Restoring current runtime files and invoking the existing native-host synchronization logic recovered both Chrome and Cent browser connections, but this is not a durable replacement for a functioning official installation/update path.

    Please fix the production error mapping/fallback selection and cover this case in initial-install and app-upgrade regression tests. UNKNOWN is generic, so a more precise native error signal may be preferable for production.

  9. brandenburger0726 commented on Sep 24, 2026

    @brandenburger0726

    Additional reproduction on Windows 11, build 26200, with OpenAI.Codex_26.917.9434.0_x64__2p2nqsd0c76g0. The same copy-stage failure was also observed on package 26.917.6896.0.

    Impact

    The bundled marketplace preparation fails on the Chrome plugin manifest, and the shared installation failure leaves codex-app-tools uninstalled. Cross-task tools (send_message_to_thread, read_thread, wait_threads) and automation_update are absent from the affected session. Local shell and project file access work, so widening project permissions does not address this upstream failure.

    Verified startup timeline

    Desktop log, 2026-09-24 UTC (2026-09-25 JST):

    UTC JST Event
    15:10:03.838 00:10:03.838 bundled_plugins_reconcile_started, reason=startup
    15:10:04.864 00:10:04.864 plugin_marketplace_folder_write_failed, errorCode=UNKNOWN, folderWritePhase=copy_plugins
    15:10:04.875 00:10:04.875 bundled_plugins_marketplace_resolve_failed
    15:10:05.688 00:10:05.688 reconcile_completed, followed by another reconcile_started
    15:10:06.546 00:10:06.546 Same copyfile failure on the same Chrome manifest

    Sanitized error excerpt from line 127 of the startup log:

    UNKNOWN: unknown error, copyfile
    'C:\Program Files\WindowsApps\OpenAI.Codex_26.917.9434.0_x64__2p2nqsd0c76g0\app\resources\plugins\openai-bundled\plugins\chrome\.codex-plugin\plugin.json'
    ->
    'C:\Users\<USER>\.codex\.tmp\bundled-marketplaces\openai-bundled.staging-<UUID>\plugins\chrome\.codex-plugin\plugin.json'
    
    at async copyFile (node:internal/fs/promises:679:10)
    at async _copyFile (node:internal/fs/cp/cp:261:3)
    at async copyDir (node:internal/fs/cp/cp:330:19)
    at async mkDirAndCopy (node:internal/fs/cp/cp:319:3)
    at async p (...app.asar/.vite/build/windows-file-copy-B0DNtkPq.js:1:956)
    
    

    The core loader subsequently reports:

    failed to load plugin: plugin is not installed
    plugin="codex-app-tools@openai-bundled"
    path=C:\Users\<USER>\.codex\plugins\cache\openai-bundled\codex-app-tools
    
    

    Checks and limitations

    • The application package contains the codex-app-tools bundle (manifest version 0.1.4); the expected per-user cached installation directory is absent.
    • The failing Chrome manifest was readable and hashable during local diagnosis. This does not establish that fs.copyFile can copy it.
    • The machine's WindowsApps directory was observed as a junction from C: to E:. This is environmental context, not a confirmed cause.
    • I have not independently established EFS / ERROR_ENCRYPTION_FAILED as the cause on this machine, nor completed a controlled copyFile-versus-read/write comparison. The EFS evidence in this issue is a useful lead, not a local test result.
    • Updating the application and restarting have not resolved this installation failure.
    • bundled_plugins_reconcile_completed records that processing ended; the preceding failure means it is not evidence of successful installation.
    • No authentication headers, credentials, project files, session transcripts, or full unredacted logs are included.

    Could the Windows bundled-marketplace copy path handle these packaged-source copy failures more robustly, preserve the underlying Windows error, and avoid one bundled plugin's copy failure preventing codex-app-tools installation?

  10. itlatte commented on Oct 5, 2026

    @itlatte

    Same failure on the current Windows build, with a clean reproduction of the EFS cause. Adding data in case it helps.

    Environment

    • Codex Desktop (Microsoft Store) OpenAI.Codex 26.930.4958.0, Windows 11 Pro (build 26300)
    • Package installed on a secondary drive (C:\Program Files\WindowsApps\OpenAI.Codex_… is a junction to D:\WindowsApps\…)
    • EFS is enabled on this machine (fsutil behavior query disableencryption → DisableEncryption = 0, EFS service running), so this is not the "Windows Home has no EFS" case

    What happens

    • Desktop log, 2026-10-05T12:23:47Z: plugin_marketplace_folder_write_failed (folderWritePhase=copy_plugins) then bundled_plugins_marketplace_resolve_failed, UNKNOWN: unknown error, copyfile '…\app\resources\plugins\openai-bundled\plugins\chrome\.codex-plugin\plugin.json' -> '%USERPROFILE%\.codex\.tmp\bundled-marketplaces\openai-bundled.staging-…\…'
    • As a result %USERPROFILE%\.codex\plugins\cache\openai-bundled\ never gets created.
    • The app-server is launched with -c [email protected]_servers.codex_app.enabled=true, but core logs failed to load plugin: plugin is not installed plugin="codex-app-tools@openai-bundled" path=%USERPROFILE%\.codex\plugins\cache\openai-bundled\codex-app-tools.
    • Visible symptom in a desktop thread: resources/list failed: unknown MCP server 'codex_app', and the old dynamic codex_app__read_thread says to use the codex_app MCP server instead. So task delegation / thread reading between agents is unavailable, in addition to Computer Use / Browser / Chrome.

    Reproduction of the root cause

    • All 832/832 files under …\app\resources\plugins\openai-bundled\ have the Encrypted attribute.
    • Copy-Item of plugins\codex-app-tools\.codex-plugin\plugin.json to a normal folder → The specified file could not be encrypted.
    • xcopy /G (copy allowing a decrypted destination) of the same file → succeeds, destination not encrypted.

    So the staging copy needs decrypted-destination semantics (e.g. COPY_FILE_ALLOW_DECRYPTED_DESTINATION, or a read/write stream copy) for EFS/Application-Protected package files. The same failure was already in my logs on 2026-09-23 and is still there after updating to 26.930.4958.0. The config.toml marketplace workaround is rejected as reserved, so there is currently no supported way to get codex-app-tools installed on this machine.

    Happy to provide more logs (with paths redacted) if useful.

  11. almeziashop commented on Oct 9, 2026

    @almeziashop

    Hello,

    I'm experiencing the same issue with the ChatGPT Windows desktop app.

    Environment:

    • Windows 11
    • ChatGPT Desktop version: 26.1007.21434
    • Microsoft Store installation

    Errors:

    • marketplace.json does not exist
    • plugin_marketplace_folder_write_failed
    • UNKNOWN: unknown error, copyfile

    The bundled-marketplaces directory remains empty.

    The cipher /c command confirms that the source plugin.json file is encrypted and marked as "Application Protected".

    Already attempted:

    • Windows app repair
    • Full application reset
    • Retrying marketplace initialization
    • Checking Microsoft Store updates
    • Reviewing Codex and sandbox logs

    None of these actions resolved the issue.

    Feedback ID:
    no-active-thread-01a1227f-afa6-7330-b237-56b4fcc64468

    Could you confirm whether a fix is planned for this issue?

    Thank you.

  12. CFMAGIC-ai commented on Oct 11, 2026

    @CFMAGIC-ai

    I can confirm the same issue on a newer Windows Codex build.

    Environment

    • Windows 11 Home 25H2, build 26200.9550
    • Codex desktop app: 26.930.7945.0
    • ChatGPT Pro
    • Microsoft Store installation

    Observed failure

    plugin_marketplace_folder_write_failed
    folderWritePhase=copy_plugins
    errorCode=UNKNOWN
    marketplaceName=openai-bundled
    

    The failed copy involves codex-app-tools/.codex-plugin/plugin.json inside the WindowsApps package and the corresponding openai-bundled.staging-* directory.

    The original files exist and are marked Encrypted / Application Protected.

    The required browser-service.mjs runtime cache is missing, and Computer Use is unavailable in the Plugins UI.

    Troubleshooting performed

    • Windows application repair
    • Chrome extension reinstallation
    • Application restart
    • MXC sandbox enabled and confirmed (backend=windows_mxc)
    • Same copy failure persists

    The installed fallback copy logic checks errno === 6000. The current application's errno was not captured, although a previous separate Node reproduction returned UNKNOWN / -4094.

    Please investigate the bundled marketplace copy fallback and provide a durable fix that preserves existing projects and conversations.

    Previous feedback ID: 01a0d2ea-2b26-75a2-aa7f-1e277527bf40

  13. dev2089 commented on Oct 16, 2026

    @dev2089

    I reproduced the bundled Browser failure on the current Windows install and recovered it without changing the MSIX package.

    Environment:

    • Windows 10 Pro, build 19045
    • Installed package: OpenAI.Codex_26.1013.3656.0_x64
    • Desktop/plugin version reported by the active config: 26.1013.31256
    • CODEX_HOME is on D:\codex-data

    The app bundle contained the complete Browser plugin, but the expected user cache directory and browser-service.mjs were missing. The configured trusted service path pointed to:

    D:\codex-data\plugins\cache\openai-bundled\browser\26.1013.31256\scripts\browser-service.mjs

    I copied the complete Browser plugin from the installed package using a decrypted-destination copy, then compared every file with SHA-256:

    • 384 source files
    • 384 staged files
    • 0 hash differences
    • browser-service.mjs hash: 37D5AD875FD4B221A524215A90DBE348E03CAE8B1497E53C6B380F96CE978199

    After restarting the Browser runtime, setup succeeded. I opened example.com, httpbin.org/forms/post, and github.com/openai/codex/issues. DOM snapshots, semantic locators, form filling, checkbox clicks, screenshots, history navigation, and tab listing all worked.

    This looks like the same bundled-marketplace materialization problem described here, with the additional point that a complete byte-identical user-side copy is usable once the expected versioned service path exists.

  14. danySFG commented on Oct 17, 2026

    @danySFG

    Additional reproduction on a newer Windows Codex build (2026-10-17)

    I am reporting a matching bundled plugin marketplace copy/materialization failure, with downstream Browser/Chrome integration failure. This is based on local diagnostics reported by the affected user; the raw diagnostic log is not attached.

    Version chain

    • Installed MSIX package: OpenAI.Codex 26.1013.4894.0.
    • Bundled Browser plugin in signed app package: 26.1013.40934 (the packaged scripts/browser-service.mjs exists).
    • Browser version required at runtime: 26.1013.40934.
    • Only complete cached Browser version: 26.924.20706.
    • The expected browser/26.1013.40934 cache directory is incomplete: after a narrow manual diagnostic recovery it contains just scripts/browser-service.mjs, with no plugin manifest or skill instructions. SHA-256 matched the signed-package source. This isolated file restoration did not repair marketplace materialization or Chrome access.

    Errors observed

    Cannot find module '%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser\26.1013.40934\scripts\browser-service.mjs'
    Bundled CUA skill version mismatch: browser
    plugin_marketplace_folder_write_failed
    errorCode=UNKNOWN
    Browser is not available: chrome
    

    The installed version differs from the stale cached version, and the application's own startup logs repeatedly report the marketplace write failure. The user last observed the failure at approximately 2026-10-17 21:23 Europe/Prague. The failure also affects materialization of the separate chrome plugin.

    Additional checked facts

    • User-cache %USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome did not exist.
    • The specific Chrome Native Messaging host registry key and local manifest paths checked during troubleshooting did not exist. This does not prove there is no registration elsewhere.
    • Reinstalling the browser extension and starting fresh desktop conversations did not restore control.
    • The same account's ordinary ChatGPT browser integration could enumerate Chrome tabs, whereas Codex returned Browser is not available: chrome.
    • No external webpage authentication or write operation was performed during these browser-control diagnostics.

    Expected behavior: desktop app updates should materialize the matching signed bundled marketplace and both Browser/Chrome plugins, with valid manifests, skills, and native-host setup. When the copy fails, report the underlying Windows error rather than UNKNOWN and recover automatically.

    Actual behavior: app package and expected runtime are current, but user runtime cache/marketplace remains stale or incomplete, leading to version mismatch and unavailable Chrome backend.

    This looks related to #47443 (stale Browser cache vs expected version) and #53306 (Chrome browser unavailable), though these may not share a single root cause. Please investigate the Windows bundled-plugin marketplace copy path, including handling of encrypted MSIX package source files as described in this issue.

    Sensitive usernames, private project URLs, browser contents, credentials, and full local log paths have been omitted.

  15. danySFG commented on Oct 17, 2026

    @danySFG

    Follow-up: exact diagnostic-log confirmation (2026-10-17)

    After the initial report, I reviewed the user's desktop application diagnostic log. The following entries confirm that the bundled marketplace write failure is reproducible and that Browser version mismatch follows it:

    • 19:23:29.632 UTC: plugin_marketplace_folder_write_failed errorCode=UNKNOWN during Node copyfile of plugins/codex-app-tools/.codex-plugin/plugin.json from the current signed WindowsApps package into the openai-bundled.staging-* user-cache marketplace.
    • 19:23:29.969 UTC: bundled_plugins_reconcile_failed errorMessage="Bundled CUA skill version mismatch: browser".
    • Earlier 18:19:24.655 UTC: identical errorCode=UNKNOWN marketplace staging failure specifically copying plugins/chrome/.codex-plugin/plugin.json.
    • 18:15:20.693 UTC: separate local Work executor copy attempt reported EBUSY: resource busy or locked copying plugins/codex-app-tools/.codex-plugin/plugin.json to executor-plugins. This supports investigating file locks but does not establish that EBUSY is the cause of the UNKNOWN marketplace error.
    • The log also records browser_use_availability_resolved available=true release=26.1013.40934, even though plugin reconciliation fails and agent Chrome discovery remains unavailable.
    • A separate concurrent codex_apps MCP initialization failure appears in the same session: HTTP request failed: error decoding response body, when send discover request. This may affect connected apps (including Google Drive) but is not asserted to share the Browser-plugin copy failure's root cause.

    The latest failure in this log occurred at 21:23:29 Europe/Prague (19:23:29 UTC). These observations are quoted in normalized, privacy-redacted form, without uploading the full log, host username, private project information, or conversation identifiers.

    Potential diagnostic priority: report the underlying OS/copy failure rather than UNKNOWN, and ensure an unsuccessful bundled marketplace update does not leave an older Browser plugin and absent Chrome integration active.

  16. gguoyc commented on Oct 19, 2026

    @gguoyc

    Direct reproduction and live recovery verification - Windows package 26.1013.4894.0 (2026-10-19)

    Confirming the earlier error-mapping reports with a direct reproduction on this package, an unmodified production-helper comparison, and subsequent live application verification.

    Environment and impact

    • Windows 11 x64, 25H2, build 26200.9711; Microsoft Store/MSIX.
    • Installed OpenAI.Codex package: 26.1013.4894.0, reported signature kind Store, package status Ok.
    • Packaged Browser/Chrome plugin versions: 26.1013.40934.
    • Bundled CLI: 0.163.0-alpha.10.2; tested Node: v24.21.0, SHA-256 identical to this package's cua_node/bin/node.exe.
    • The bundled marketplace failure left codex-app-tools unavailable, so read_thread was absent from the agent's tool list. This was tool-registration failure, not a failed request to read an existing conversation. Other bundled plugins were also affected.

    Same-file copy comparison

    Tested packaged resource, relative to app/resources:

    plugins/openai-bundled/plugins/codex-app-tools/.codex-plugin/plugin.json
    size:   245 bytes
    SHA256: 2aba688fc9010dfbc9f24b9ff0eb689b9ef1f3988f3ac73bad1c3a03da36058b
    

    The source exists, is readable, and has the Windows Encrypted attribute. Direct measurements repeated on 2026-10-19:

    Operation on the same packaged source Result
    Win32 CopyFileW to an ordinary writable destination Fails; GetLastError() == 6000
    Package-matched Node fs.copyFileSync Fails; code=UNKNOWN, errno=-4094, syscall=copyfile
    Read source bytes, write a new ordinary file Succeeds; 245 bytes; SHA-256 identical

    Minimal Node reproduction, using the package-matched Node executable and the packaged file above as process.argv[2]:

    const fs = require('node:fs');
    const os = require('node:os');
    const path = require('node:path');
    const crypto = require('node:crypto');
    const source = process.argv[2];
    const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'codex-copy-probe-'));
    try {
      fs.copyFileSync(source, path.join(dir, 'normal-copy'));
      console.log({ normalCopySucceeded: true });
    } catch (e) {
      console.log({ code: e.code, errno: e.errno, syscall: e.syscall });
    }
    const bytes = fs.readFileSync(source);
    const dest = path.join(dir, 'byte-copy');
    fs.writeFileSync(dest, bytes);
    const sha = x => crypto.createHash('sha256').update(x).digest('hex');
    console.log({ bytes: bytes.length, sha256: sha(bytes),
      sameBytes: bytes.equals(fs.readFileSync(dest)) });

    Shipped fallback and production-helper verification

    Read-only inspection of this package's windows-file-copy-B2PsciEv.js shows the fallback predicate is equivalent to:

    error instanceof Error && error.errno === 6000

    The shipped minified constant is c=6e3; the predicate compares error.errno===c. The actual Node -4094 therefore does not select the existing fallback in this reproduction.

    Production-helper SHA-256:

    b1511e2dd0f2fee68934e2d597cd93d1425524237a933fd3037244c82959ac7d
    

    I executed that helper without changing its code or predicate, using real Node fs.cp; only logger/bootstrap dependencies were stubbed:

    • RED: copying the packaged encrypted plugin directory reproduced UNKNOWN / -4094 / copyfile.
    • GREEN: copying an ordinary, byte-identical resource mirror through the same helper succeeded. The complete bundled marketplace copy matched all 838 plugin/metadata files against the official sources by SHA-256.
    • A later repeat extracted the helper directly from the installed app.asar and reproduced RED/GREEN on the five-file codex-app-tools directory.

    These are extracted-helper tests, not instrumentation of Electron's live exception object. The live recovery below is separate evidence.

    Live application verification after diagnostic recovery

    For diagnosis, I selected a same-version ordinary resource mirror through the resource-root override present in this build and restarted the app. The mirror included the CLI dependencies and a verified Node runtime locator. No installed MSIX files, app.asar, package ACLs, ownership, or source encryption attributes were changed; CODEX_HOME and existing conversation data were retained.

    Normalized, path-redacted desktop log entries:

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_succeeded
    marketplaceName=openai-bundled
    pluginCountAfterWrite=8
    sourceMarketplaceRoot=<verified-same-version-resource-mirror>/plugins/openai-bundled
    targetMarketplaceRoot=<CODEX_HOME>/.tmp/bundled-marketplaces/openai-bundled
    
    [bundled-plugins] bundled_plugins_reconcile_completed
    hasExternalPluginStateSync=true reason=focus
    
    • No plugin_marketplace_folder_write_failed entry appeared in the inspected restarted-process log.
    • Actual read_thread calls successfully read three previously referenced conversations.
    • The official browser runtime created and closed an about:blank tab successfully; no test tab remained.
    • Browser/Chrome default plugin entries resolved to the packaged 26.1013.40934 version.

    Limits: Chrome itself still had no available connection, so Chrome end-to-end operation is not claimed. The newer local version-checking launcher has only been tested with a launch plan and fixtures; its cold start and survival of a future real application upgrade are not validated. The fixed-version mirror's maintenance cost is a workaround limitation, not a separate proven product defect.

    Please fix the shared Windows protected-resource copy/fallback path and cover both initial materialization and application upgrades with the bundled runtime's actual error mapping. UNKNOWN is generic, so production handling should use sufficiently precise native/source context and retain normal failures for permission, missing-file, and disk-space errors.

    Only normalized diagnostics, public package identifiers and file hashes are included here. Usernames, private paths, project details, conversation/session identifiers, browser contents, credentials, raw logs, configuration backups and binaries are omitted.

  17. zaigaigai5-glitch commented on Oct 24, 2026

    @zaigaigai5-glitch

    [CODEX] Additional matching symptom on Windows x64, observed 2026-10-24.

    Versions: installed desktop/MSIX package 26.1016.6573.0; running CLI 0.163.0-alpha.11.

    User action / actual result: opening Settings > Browser / Browser Use reports that <CODEX_HOME>/.tmp/bundled-marketplaces/openai-bundled/.agents/plugins/marketplace.json does not exist. Read-only filesystem checks confirm the entire final openai-bundled directory is absent. Expected: the bundled marketplace initializes and the Browser settings can load it.

    Existing log excerpts, personal paths replaced:

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_failed
    errorCode=UNKNOWN
    UNKNOWN: unknown error, copyfile
      '<APP_RESOURCES>/plugins/openai-bundled/plugins/computer-use/.codex-plugin/plugin.json'
      -> '<CODEX_HOME>/.tmp/bundled-marketplaces/openai-bundled.staging-<id>/plugins/computer-use/.codex-plugin/plugin.json'
    

    A separate existing entry fails copying plugins/latex/.codex-plugin/plugin.json in the same way.

    The installed package's original marketplace JSON is present, parses successfully, and includes browser. These observations localize the symptom to bundled-resource staging; they do not establish the underlying Windows error or confirm the encryption/fallback mechanism discussed above.

    No update/restart comparison, manual resource copy, cache deletion, ACL change, or workaround was performed in this diagnostic pass. No relationship to any separate browser-process crash is asserted. This adds current-version evidence to the existing issue, with no full logs, session transcript, configuration, or diagnostic attachments.

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

    appbugskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions