Claude Code: Status line command skipped: workspace trust not accepted
A custom statusLine runs a shell command, so Claude Code only runs it in folders whose workspace trust dialog you accepted. The exact message, why Claude Code prints it, and the fix.
Updated November 23, 2026
The message
Status line command skipped: workspace trust not accepted
What it means
A custom statusLine runs a shell command, so Claude Code only runs it in folders whose workspace trust dialog you accepted. Until then the status line row stays blank and the reason appears only in the debug log. Since v2.1.232 a nested git repository needs its own trust, so folders that used to inherit a parent’s trust lost their status line without a prompt.
Fix
- Run
claude --debugin the folder and look for this line in the debug output. - Restart Claude Code in that folder and accept the workspace trust dialog; trusting a parent folder whose trust extends to it also works.
- If the line isn’t there, check the other causes: the script must be executable (
chmod +x ~/.claude/statusline.sh), print to stdout and exit 0, and disableAllHooks or a managed allowManagedHooksOnly setting also hide a custom status line.
In an EnvHaven workspace
It can: workspace folders still need Claude Code’s usual trust step, which the setting on its full-access page answers.
Where this comes from
From Claude Code’s documentation and issue tracker: