Skip to content

fix(composer): recognize the narrow Codex empty-editor hint - #77

Open
Juliusolsson05 wants to merge 3 commits into
mainfrom
fix/0172-narrow-composer-receipt
Open

Juliusolsson05 wants to merge 3 commits into
mainfrom
fix/0172-narrow-composer-receipt

Conversation

@Juliusolsson05

@Juliusolsson05 Juliusolsson05 commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Codex 0.172.0 retained its left-arrow agents shortcut on empty terminals at widths from 20 to 56 columns while omitting the shortcuts label. The parser returned unknown, preventing safe prompt delivery. A human draft removes the hint, including when it matches the placeholder word for word.

Recognize the installed CLI's exact compact hint at the left edge of the dedicated footer row. Reuse all existing settled-frame, status, draft and modal guards. Frames without either positive hint remain unverified. The live probe used fresh 0.172.0 sessions, locally scoped model configuration, narrow and wide terminals, and an unsent draft.

The recorded-shape regression failed with unknown before the fix and passed afterwards. Review also identified two-line status layouts at 20–32 columns. Both recorded cases failed against the initial fix and passed after validating the split status while reading the shortcut only from the final footer row. All 26 classifier checks passed locally. The branch starts at the downstream Agent Code pin so its companion PR can take only this fix.

Fixes #76

The 0.172 terminal removes the shortcuts label at narrow widths. Its left-arrow agents hint also requires an enabled, focused and empty editor. Accept that exact hint only at the existing footer anchor.

Refs #76
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(composer): recognize the narrow Codex 0.172 empty-editor hint

1 participant