agent: treat unrecognized codex features output as a failed probe

Commit

gtrrz-victor9h ago

knownFeatures only failed on an empty parse, so output in a format it did not expect (a header, a table, JSON) parsed as a non-empty set naming none of the real features. GenerateText then filtered every --disable out and ran codex exec with shell_tool, unified_exec, and code_mode_host enabled. Require shell_tool in the probe output; without it the full list is passed.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M48TSBXZ7MFPMPEDG2KKY8BV

Checkpoints

Fix Codex Features Recognition Issue

Claude CodeOpus 5.5
View session
Checkpoint 1