Skip to content

fix(codex): use native multiline hook output - #32

Open
Cakeyan wants to merge 1 commit into
12og3r:mainfrom
Cakeyan:fix/codex-native-multiline-hooks
Open

fix(codex): use native multiline hook output#32
Cakeyan wants to merge 1 commit into
12og3r:mainfrom
Cakeyan:fix/codex-native-multiline-hooks

Conversation

@Cakeyan

@Cakeyan Cakeyan commented Aug 17, 2026

Copy link
Copy Markdown

Summary

  • use native systemMessage newlines on Codex CLI 0.136.0+
  • retain terminal-width padding for Codex 0.135.x and older
  • add regression coverage for both rendering paths
  • update README and changelog to document the version-gated behavior

Tests

  • bash tests/coach-codex-fallback.test.sh
  • node --test tests/renderer-inject.test.mjs
  • bash -n plugins/redpen-codex/shared/coach_codex.sh plugins/redpen-codex/hooks/grammar_check.sh plugins/redpen/hooks/grammar_check.sh tests/coach-codex-fallback.test.sh

cargo test --workspace --locked (16 passed)

@Cakeyan
Cakeyan force-pushed the fix/codex-native-multiline-hooks branch from 9fa40b7 to 916e3ec Compare August 17, 2026 07:05
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.

1 participant