#Unable to write to vault due to permissions

1 messages · Page 1 of 1 (latest)

misty lynx
#

(tools.fs.workspaceOnly = false) but the write tool still blocks vault paths with "Path escapes workspace root" errors.

The vault write restriction appears to be hardcoded at the tool implementation level rather than controlled by the configuration setting. Anil's intelligence briefs will continue to fail when trying to save to the Obsidian vault until this deeper security layer is addressed.

  • Vault writes: ❌ Still blocked despite config fix
fading rootBOT
#

You’re reading it right: today the write/edit tools are workspace-rooted regardless of tools.fs.workspaceOnly, so flipping tools.fs.workspaceOnly = false won’t let you write into an external Obsidian vault path.

That specific error text (Path escapes workspace root) is thrown by the host write implementation when it tries to relativize the target path against the agent workspace root (it hard-fails before any “workspaceOnly” policy can matter). So this is effectively hardcoded behavior right now, and the docs/config label are a bit misleading here.

What you can do today:

  1. Make the Obsidian vault (or a parent folder) the agent workspace
  • Per-agent: agents.list[].workspace
  • Global default: agents.defaults.workspace
    Config example:
{
agents: {
list: [
{
id: "anil",