[BUG] statusLine configuration ignored since v2.1.50 (macOS)
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?
Bug Report: statusLine configuration ignored since v2.1.50
Environment
- OS: macOS Darwin 23.6.0
- Current version: 2.1.71
- Last working version: 2.1.49
- First broken version: 2.1.50
Description
The statusLine configuration in ~/.claude/settings.json is completely ignored. The custom statusLine script is never executed.
What Should Happen?
Expected Behavior
- Log file should contain JSON entries showing statusLine was called
- Custom statusLine output should appear in the terminal
Actual Behavior
- Log file does not exist (script never executed)
- Only default "-- INSERT --" mode indicator appears
- No errors shown
Regression Testing
| Version | statusLine Works? |
|---------|-------------------|
| 2.1.40 | ✅ Yes |
| 2.1.45 | ✅ Yes |
| 2.1.49 | ✅ Yes |
| 2.1.50 | ❌ No |
| 2.1.71 | ❌ No |
Likely Cause
The regression occurred in v2.1.50 (Feb 20, 2026). Potentially related to:
CLAUDE_CODE_SIMPLEmode changes affecting hooks/config loading- Memory cleanup changes inadvertently affecting statusLine execution
- Hook-related refactoring
Additional Context
- Removing statusLine config entirely has no effect (same behavior)
- The script works correctly when tested manually with sample JSON
jqis installed and functional- Script has execute permissions
Error Messages/Logs
Steps to Reproduce
- Configure statusLine in
~/.claude/settings.json:
``json``
"statusLine": {
"type": "command",
"command": "/path/to/statusline.sh",
"padding": 0
}
- Create a debug script that logs when called:
``bash``
#!/bin/bash
INPUT=$(cat)
echo "$INPUT" | jq -c --arg ts "$(date '+%Y-%m-%d %H:%M:%S')" '. + {_logged_at: $ts}' >> /tmp/claude-statusline-debug.log
echo "test"
- Start Claude Code:
claude - Send a message and let Claude respond
- Check log file:
cat /tmp/claude-statusline-debug.log
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.49
Claude Code Version
2.1.49
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗