Windows: make grok + codex implementer lanes work headless#4
Conversation
- run_capped: cross-platform hard wall-clock; Windows tree-kills via taskkill //T //F on the winpid; *nix uses validated GNU coreutils timeout (never trusts system32 timeout.exe). Foreground-only to avoid orphaned marker-poll loops. - grok --permission-mode auto (was acceptEdits, which silently drops every write headless on Windows). - codex --sandbox read-only on Windows (no OS sandbox there): runs as a read-only reviewer returning a git-apply-able patch (STATUS: proposal); grok is the Windows writer. macOS/Linux keep workspace-write. *nix behavior unchanged. Tested headless on Windows 11 / Git Bash.
…ac180#4 DannyMac180#5 DannyMac180#6 DannyMac180#7 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Re-tested this today against a newer codex-cli, since "just update codex" is the obvious objection to the read-only branch in this PR. Still broken on No file was written. Same behavior previously confirmed on 0.143.0 and 0.144.1, so this isn't a transient regression: Also worth flagging that #2 and #5 hit these same bugs independently from different setups: #2 makes the same Can rework this along #5's lines, or split the wall-clock/timeout fix into its own PR, if either is easier to review independently. |
*nix behavior unchanged. Tested headless on Windows 11 / Git Bash.