Repository navigation
Description
Problema
Dopo l’aggiornamento della Codex CLI alla versione 0.161.0, proposto tra le 14:59 e le 15:02 dell’8 ottobre 2026, Codex su Windows ha iniziato a fallire nell’esecuzione dei comandi locali.
Errore:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
Il problema si verifica prima dell’avvio di PowerShell o CMD e può impedire anche comandi semplici come:
Get-Location
Get-Content
pwd
git status --short
Ambiente
- Windows
- Codex CLI 0.161.0
- Progetto: C:\Users\cuomo\Desktop\ATHLON
- Modalità sandbox: workspace-write
Log
Il log sandbox mostra:
runtime read/execute validation failed
Percorso coinvolto:
C:\Users\cuomo\AppData\Local\OpenAI\Codex\runtimes\cua_node\1b30f7d4d73226ca\bin\node_repl.exe
Errore Windows:
Impossibile accedere al file. Il file è utilizzato da un altro processo.
(os error 32)
Erano presenti contemporaneamente diversi processi:
- codex.exe
- codex-code-mode-host
- codex-command-runner
- codex-computer-use-swift
- node.exe
- node_repl.exe
Comportamento
Il problema è intermittente. Alcuni comandi Git possono funzionare, mentre PowerShell o la lettura dei file falliscono. PowerShell esterno funziona correttamente nello stesso progetto, quindi il problema sembra limitato al sandbox/runtime di Codex.
Sono stati provati:
- chiusura e riapertura di Codex;
- riavvio di Windows;
- chiusura forzata dei processi Codex e Node;
- riavvio del servizio sandbox;
- rimozione del runtime CUA;
- verifica delle cartelle temporanee;
- esecuzione dei comandi da PowerShell esterno.
Workaround
Il problema scompare avviando Codex con:
codex --sandbox danger-full-access
Con questa modalità Get-Location e la lettura dei file funzionano correttamente.
Tuttavia, danger-full-access è solo un workaround e non una soluzione definitiva, perché disabilita le protezioni del sandbox.
Problemi aggiuntivi
Codex mostra inoltre:
WARNING: failed to clean up stale arg0 temp dirs: Accesso negato
e occasionalmente:
Hook failed
hook exited with code 1
Risultato atteso
Il sandbox dovrebbe consentire l’esecuzione dei comandi in modalità workspace-write senza errori ACL, senza conflitti con node_repl.exe e senza richiedere danger-full-access.
Il problema sembra collegato alla validazione ACL del runtime CUA mentre node_repl.exe è ancora utilizzato da un altro processo.
Activity
[-][Windows] helper_unknown_error: setup refresh had errors dopo aggiornamento Codex CLI 0.161.0[/-][+][Windows] helper_unknown_error: setup refresh had errors after updating to Codex CLI 0.161.0[/+]github-actions commentedon Oct 8, 2026
English translation:
Problem
After updating Codex CLI to version 0.161.0, which was offered between 14:59 and 15:02 on October 8, 2026, Codex on Windows began failing to execute local commands.
Error:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
The problem occurs before PowerShell or CMD starts and can prevent even simple commands such as:
Get-Location
Get-Content
pwd
git status --short
Environment
Logs
The sandbox log shows:
runtime read/execute validation failed
Affected path:
C:\Users\cuomo\AppData\Local\OpenAI\Codex\runtimes\cua_node\1b30f7d4d73226ca\bin\node_repl.exe
Windows error:
Cannot access the file. The file is being used by another process.
(os error 32)
Several processes were running simultaneously:
Behavior
The problem is intermittent. Some Git commands may work, while PowerShell or file reads fail. External PowerShell works correctly in the same project, so the problem appears to be limited to the Codex sandbox/runtime.
The following were tried:
Workaround
The problem disappears when starting Codex with:
codex --sandbox danger-full-access
In this mode, Get-Location and file reads work correctly.
However, danger-full-access is only a workaround and not a permanent solution, because it disables sandbox protections.
Additional problems
Codex also displays:
WARNING: failed to clean up stale arg0 temp dirs: Access denied
and occasionally:
Hook failed
hook exited with code 1
Expected result
The sandbox should allow commands to run in workspace-write mode without ACL errors, without conflicts with node_repl.exe, and without requiring danger-full-access.
The problem appears to be related to ACL validation of the CUA runtime while node_repl.exe is still being used by another process.
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action