desloppify icon indicating copy to clipboard operation
desloppify copied to clipboard

Native Windows triage requires UTF-8 subprocess streams and a non-Bash CLI helper

Open afiler-sp opened this issue 1 month ago • 0 comments

Two additional native Windows problems affect plan triage --run-stages --runner codex (1.0 / upstream 3a7735d, Python 3.14, Codex 0.163.0).

  1. After resolving Codex directly to its native .exe, strategize succeeds, but observe fails before model execution: Failed to read prompt from stdin: input is not valid UTF-8. The Python text pipe uses the Windows locale encoding. Running the same command with PYTHONUTF8=1 allows observe and reflect to run. Please explicitly use UTF-8 for prompt/stdout/stderr pipes.

  2. Organize receives a CLI command prefix invoking bash <run-dir>/run_desloppify.sh .... On a native Windows host, bash resolves to the WSL launcher, which is unavailable within the workspace sandbox (Bash/Service/CreateInstance/E_ACCESSDENIED). The stage stops without making changes, as instructed. The ordinary native desloppify.exe plan ... commands work in that same workspace.

Expected: a native Windows runner works without WSL. Please generate a platform-appropriate helper or supply an argv-based command invoking sys.executable -m desloppify, with correct shell-specific quoting. The existing helper executable-bit test also assumes POSIX permissions.

Supported manual stage commands provided a workaround without relaxing the workspace sandbox.

afiler-sp avatar Oct 30 '26 19:10 afiler-sp