Omniscio

OmniscioGuidesWorkspace not trusted

Workspace not trusted

Last checked against Anthropic's documentation on November 21, 2026. By the Omniscio team. Updated .

What is the exact message?

Workspace not trusted. Run `claude` in /path/to/project once and accept the trust prompt, then retry.

Two variants name a different cause with the same refusal:

The home directory is trusted one session at a time
<path> could not be resolved on disk

What does it mean?

You started or restarted a background session in a folder you have not trusted, and the trust dialog could not appear to ask you. Claude Code does not start the session.

The dialog normally appears when you run Claude Code by hand in that folder. This message is what you get where no dialog can appear, such as in a script, or when you restart a session from a folder other than its own.

What causes it?

  • The folder has never been trusted, and the session was started somewhere that cannot show the prompt.
  • The folder is your home directory. Anthropic documents that Claude Code never saves trust for the home directory, so accepting the dialog there in an earlier session does not count for a new one.
  • The path could not be resolved on disk. The variant with that wording means Claude Code could not find the session's folder.
  • On Windows before v2.1.286, a trust record saved with the path in a different letter case could fail to match, and the message appeared in a folder you had already trusted.

How do I fix it?

  1. Run claude in the folder the message names. From a terminal, open that directory, start Claude Code, and accept the trust prompt. That records the trust — except in your home directory, where it is never saved.
  2. Run your command again. If the session was a background or Remote Control session, start or restart it once the trust is recorded.
  3. For the home-directory variant, run the command from a terminal in your home directory so the dialog can appear, or start the session from a project directory instead.
  4. For the could not be resolved on disk variant, recreate the directory, or start a new session from a directory that exists.
  5. On Windows, update Claude Code to v2.1.286 or later if the folder was already trusted; Anthropic names this case as fixed in that version.

How do I know it is fixed?

  • Running claude in that folder shows the trust prompt, and the session starts after you accept.
  • The background or Remote Control session starts without the refusal.
  • No Workspace not trusted line appears in the session's output.

Where these answers come from

Common questions

What does Workspace not trusted mean?

You started or restarted a background session in a folder Claude Code has not been trusted with, and the trust dialog could not appear to ask you. Claude Code refuses to start the session rather than run untrusted.

How do I fix it?

Run claude in the folder the message names and accept the trust prompt once, then run the command again. Anthropic gives exactly that sequence.

Why does my home directory keep failing?

Because Claude Code never saves trust for your home directory. The home-directory variant says it is trusted one session at a time, so accepting the dialog there in an earlier session does not count for a new one.

It worked before. Why now?

If you are on Windows and already trusted the folder, this could be the bug Anthropic fixed in v2.1.286, where a trust record saved with a different letter case was not found. There is also an open public report of this message in a project whose trust record says accepted, raised by /fork after a long session; /branch or --fork-session copies the conversation in the meantime. Update Claude Code and try again.

Is this the same as the Remote Control trust prompt?

It is the same trust system. Remote Control asks Trust <directory>? before it starts, never saves the answer for your home directory, and with no terminal to answer on it exits with a Workspace not trusted error.