# 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

```text
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

1. Run `claude --debug` in the folder and look for this line in the debug output.
2. Restart Claude Code in that folder and accept the workspace trust dialog; trusting a parent folder whose trust extends to it also works.
3. 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:

- [code.claude.com/docs/en/statusline](https://code.claude.com/docs/en/statusline)
- [code.claude.com/docs/en/statusline](https://code.claude.com/docs/en/statusline)
- [github.com/anthropics/claude-code/issues/86824](https://github.com/anthropics/claude-code/issues/86824)

## Keep reading

- [Claude Code](https://envhaven.com/agents/claude-code)
- [Is Claude Code down?](https://envhaven.com/status/claude-code)
- [Every agent error](https://envhaven.com/errors)

Source: https://envhaven.com/errors/claude-code/status-line-skipped-workspace-trust
