[BUG] statusLine command receives "high" instead of "xhigh" for effort level

Open 💬 4 comments Opened Jun 17, 2026 by cfchris

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When effort is configured to xhigh, the JSON passed to a statusLine command reports "level": "high" in the .effort.level field instead of "xhigh". This makes it impossible for a status line script to distinguish between high and xhigh effort.

What Should Happen?

Expected: .effort.level = "xhigh"
Actual: .effort.level = "high"

Error Messages/Logs

Steps to Reproduce

  1. Set effort to xhigh (/effort xhigh)
  2. Configure a statusLine command that reads .effort.level from the piped JSON
  3. Observe the value is "high", not "xhigh"

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.179 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗