docs: describe review status displays
CI / linux (push) Failing after 3s

This commit is contained in:
Julian lechner committed 2026-09-17 13:22:55 +02:00
1 parent 83929e856f
commit 8c7ede54a6
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -287,8 +287,8 @@ and uncertainty. A small change may need only focused inspection; builds, tests,
automatic. Explicit user and project requirements still apply.
Both status displays include model, effort, repository, branch, context-window size, context used, and tokens used.
Codex also shows its active permission profile and approval mode. Claude uses two colored lines, with context usage
turning yellow at 60% and red at 85%; its status-line input does not expose the active permission mode. See
Codex shows its review mode. Claude also shows its review mode in two colored lines, with context usage
turning yellow at 60% and red at 85%. See
[Configuration](docs/configuration.md) for details and limitations.
## Extending the Configuration
+2 -2
View File
@@ -16,7 +16,7 @@ Codex sets `approval_policy = "on-request"`, `approvals_reviewer = "auto_review"
## Status displays
Codex's native `tui.status_line` contains `model`, `reasoning`, `permissions`, `approval-mode`, `project-name`, `git-branch`, `context-window-size`, `context-used`, and `used-tokens`, in that order. `permissions` reports the active permission profile or sandbox summary, and `approval-mode` reports the active command approval mode. Rendering and colors are controlled by Codex; the adapter does not define custom colors per field.
Codex's native `tui.status_line` contains `model`, `reasoning`, `approval-mode`, `project-name`, `git-branch`, `context-window-size`, `context-used`, and `used-tokens`, in that order. `approval-mode` reports the active command review mode. Rendering and colors are controlled by Codex; the adapter does not define custom colors per field.
Claude runs `shared/statusline/statusline.ps1` for PowerShell or `statusline.sh` for Bash. Its two-line display is:
@@ -29,7 +29,7 @@ Model and context-window size are cyan, effort and cumulative tokens magenta, re
`Ctx` is the context-window capacity; `Used` is the reported percentage occupied. `Tokens` adds the session's reported total input and output tokens, not just the current context. Counts use `k` and `M` suffixes. Missing model, effort, context size, or percentage is shown as `-`; missing token totals start at zero. Repository names fall back to the Git root or current directory; unavailable branches show `-`.
Claude Code reruns its status-line command when the permission mode changes, but does not pass that mode in the status-line JSON. Its line therefore does not show a configured default as though it were the active mode.
Claude's status line displays `permission_mode` or `permissionMode` when Claude provides it, and otherwise shows the configured `auto` review mode.
## Verification and installation