Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions config/agent-safehouse/common.sb
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@
(allow file-read* file-write*
(home-subpath "/.plannotator")
)

;; mcporter: scripts that call MCP servers through it read and refresh OAuth
;; tokens in its vault here, and write
;; schema caches, locks and daemon logs. The config is denied back: it names
;; stdio server commands that run unsandboxed on the next mcporter call outside.
(allow file-read* file-write*
(home-subpath "/.mcporter")
)
(deny file-write*
(home-literal "/.mcporter/mcporter.json")
(home-literal "/.mcporter/mcporter.jsonc")
)
4 changes: 3 additions & 1 deletion doc/adr/0060-agent-safehouse-wrapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ it (`safe pi`). It:
The split between files follows role, not convenience:

- `common.sb`: dotfiles' own symlink literals, agent `.pub` files and the
dedicated socket, and the plannotator pi extension.
dedicated socket, the plannotator pi extension, and mcporter's `~/.mcporter`
(vault and caches; its `mcporter.json[c]` config stays write-denied, since it
names commands that run unsandboxed later).
- `role-work.sb`: everything Gusto- or pickleton-specific: `~/pickleton`
read/write, pickletown config and dolt info file, `/pkg`, and the dotslash
cache for Gusto's managed pi.
Expand Down
Loading