You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: revert default agent working directory to /home/user (#1506)
Revert the /workspace default-pwd change in docs + examples back to /home/user
(including mount-path examples). Clarify in the filesystem doc that /home/user
is the agent's home directory and default pwd.
@@ -250,7 +250,7 @@ For heavier or untrusted workloads, run a full Linux [sandbox](/docs/sandbox) al
250
250
251
251
With no `mounts` configured, every VM boots an Alpine-based root filesystem with the standard POSIX directories:
252
252
253
-
-`/workspace`: the agent's default working directory and `pwd` when spawned, where it reads and writes (mounts land under it, e.g. `/workspace/data`).
253
+
-`/home/user`: the agent's home directory (`$HOME`) and default working directory (`pwd`) when spawned, where it reads and writes (mounts land under it, e.g. `/home/user/data`).
254
254
-`/bin`, `/sbin`, `/usr`: installed commands (common POSIX utilities by default, plus any [software](/docs/software) you add).
255
255
-`/etc`, `/lib`, `/opt`, `/root`, `/run`, `/srv`, `/tmp`, `/var`, `/mnt`: standard system paths.
Copy file name to clipboardExpand all lines: website/src/content/docs/docs/permissions.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,23 +89,23 @@ There is no typed `"ask"` mode. Interactive, human-in-the-loop approval lives in
89
89
For finer control, a scope can be a rule set instead of a bare mode: a `default` mode plus an ordered list of `rules`. The `fs` scope matches by `paths` (filesystem globs). Each rule names its `operations` (`read`, `write`, `stat`, `readdir`, `create_dir`, `rm`, `rename`, `symlink`, `readlink`, `chmod`, `truncate`, `mount_sensitive`, or `["*"]` for all). Last matching rule wins; if no rule matches, `default` applies.
90
90
91
91
```ts
92
-
// Allow the filesystem everywhere, but deny anything under /workspace/vault.
92
+
// Allow the filesystem everywhere, but deny anything under /home/user/vault.
0 commit comments