Files
msd-core/.changeset/3808-codex-adapter-text-mode-fallback.md
Tom Boucher 2763d50939 fix(3808): codex adapter activates TEXT_MODE when request_user_input is unavailable (#84)
When Codex reports `request_user_input` as unavailable (Default mode), the
Codex skill adapter's Execute-mode-fallback section now explicitly instructs
the agent to append `--text` to `{{GSD_ARGS}}` to activate the workflow's
built-in TEXT_MODE branching. This ensures every AskUserQuestion gate is
handled consistently through the workflow's own text-mode mechanism rather
than ad-hoc plain-text fallback, and eliminates any path to silent-default
selection (#3018 / #3808).

Adds regression test bug-3808-codex-adapter-text-mode-fallback.test.cjs with
typed semantic-flag assertions covering gsd-plan-phase, gsd-discuss-phase,
gsd-execute-phase, and gsd-verify-work.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 11:23:58 -04:00

467 B

type, pr
type pr
Fixed 3808

Codex adapter now activates TEXT_MODE when request_user_input is unavailable — bin/install.js:getCodexSkillAdapterHeader previously told the agent only to "stop and present plain-text"; it now explicitly instructs the agent to append --text to {{GSD_ARGS}} so the workflow's built-in TEXT_MODE branching handles all AskUserQuestion gates consistently, eliminating silent-default selection in Codex Default mode (#3808).