Repository navigation
v0.2.0 — full rule coverage and Codex CLI support
Every rule the hook injects now has a check behind it, and the plugin runs on Codex CLI as well as Claude Code.
New rules
| Rule | Limit |
|---|---|
| buried lead | first sentence opens with a preamble (Let me, I'll, Sure,, Based on) |
| prose table | 3 or more consecutive Label: value lines outside a list |
| long list item | bullet or numbered item over paragraphWords |
prose table fires on the hand-rolled shape only. A comparison spread across flowing sentences goes unreported, because the broader heuristic hit ordinary prose.
Fixed
Bullets and numbered items were dropped before counting, so an overlong list item never reported.
The sentence splitter cut at e.g. The. That turned one long sentence into two short ones and hid the violation.
Codex CLI
Install with ./install.py --codex. Verified against the Codex binary at 0.153.4.
The hook registers under ~/.codex/hooks.json, emits hookSpecificOutput.additionalContext, and reads the rollout schema where the message nests under payload.
Config precedence
limits.json lives in the marketplace cache, which an update overwrites. Thresholds now resolve from .readable-responses.json in the project, then ~/.claude, then ~/.codex, then the shipped defaults.
Breaking
install.sh is gone. Use install.py, which covers both hosts and works on Windows.