mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
The Manager sets XDG_DATA_HOME to <workspace>/.opencode/state, so OpenCode workspace worktrees land at <data>/worktree and opencode-forge loop worktrees at <data>/forge/worktrees. Neither was a project root, so an enforced session in a forge worktree was refused with "working directory is outside the sandboxed project roots". Both directories are now mounted and accepted as working directories; their parents (auth.json, forge.db) stay outside the guest.