Skip to content

fix(codex): deliver Root Management prompts to empty narrow panes - #1569

Open
Juliusolsson05 wants to merge 4 commits into
mainfrom
fix/codex-terminal-root-prompt
Open

Juliusolsson05 wants to merge 4 commits into
mainfrom
fix/codex-terminal-root-prompt

Conversation

@Juliusolsson05

@Juliusolsson05 Juliusolsson05 commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Root Management reported fresh Codex terminal panes as occupied while the same pane in Agent view immediately accepted the prompt. The display switch changed the PTY width. Native Codex 0.172.0 shows its left-arrow agents hint on an empty, focused, enabled editor even when the shortcuts label no longer fits. Some narrow panes also wrap the status onto two physical rows.

Pin the isolated provider fix and run the ordinary app delivery path through SessionManager against the installed Codex. A draft still causes a refusal before paste or Enter, including a draft typed to match the placeholder. Unsettled frames and ambiguous hints remain guarded. The scoped SDK PR is Juliusolsson05/codex-headless#77.

The opt-in real CLI test uses a disposable home, a loopback-only endpoint and six panes covering empty and drafted cases at 24, 40 and 120 columns. On the released source, 24 and 40 refused the empty prompt and 120 passed. On the fix all three widths passed. For successful delivery the test checks the exact synthetic user message in the CLI's own rollout. For rejected delivery it checks the before-write receipt and the untouched draft. All 26 classifier checks passed.

Independent review found that 20–32 columns wrap the status and need a second recorded shape. Fixed in the pinned SDK commit db20263 and verified by native 24-column delivery. This PR uses the focused public SDK commit descended directly from the previous pin.

Fixes #1568

Final integration check: combined this branch locally with the exact PR heads from #1566 and #1567. Four installed-CLI tests passed together, covering distinct transcripts plus prompt readback and real drafts; the Chromium narrow-card regression also passed on the combined tree. No combined branch was published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(codex): Root Management refuses empty terminal panes at narrow widths

1 participant