Files
Trevin Chow 1a67d0044e fix(ce-work-beta): tighten Codex CLI availability check to require absolute path
Same bug class as the resolved ce-setup feedback in this PR: the
availability gate accepted any "non-empty" output from the
`!` command -v codex 2>/dev/null `` pre-resolution, which on a
non-Claude harness that doesn't process `!` pre-resolution can be the
literal command text `command -v codex 2>/dev/null` — non-empty, but
not a real path. That produced a false positive where delegation
proceeded and `codex exec` failed downstream.

Tightened to require an absolute path (starts with `/`) for the "Codex
available" branch. Anything else — empty, unresolved command string, or
any non-path value — falls through to a runtime `command -v codex`
shell call that does the real availability check.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 00:13:36 -07:00
..
2026-04-22 14:21:19 -07:00