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
2 changes: 1 addition & 1 deletion managed/.chezmoitemplates/claude/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ established conventions conflict with them, follow the repository.
`gh repo clone`, or any `op`, `aws`, or `codex` command, set `dangerouslyDisableSandbox: true` on
the call. For other Git and `gh` commands, leave `dangerouslyDisableSandbox` unset.
- If Git fails with `Permission denied (publickey)`, `Host key verification failed`,
`1Password: Operation not permitted`, or a `sandbox proxy` error, or `gh` fails with
`1Password: Operation not permitted`, or a `sandbox proxy` error, or any tool fails with
`x509: OSStatus -26276`, the call ran inside the sandbox. Rerun it with
`dangerouslyDisableSandbox: true` instead of diagnosing the tool.
- Inside the sandbox, `diff` fails with `Operation not permitted` when an input is a process
Expand Down
18 changes: 13 additions & 5 deletions managed/dot_claude/settings.managed.jsonc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,13 @@
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": true,
// Allow the macOS trust service, com.apple.trustd.agent. Without it, every client that verifies
// TLS through Security.framework, such as Go tools, mise, and Terraform, fails with
// "x509: OSStatus -26276". The trust service is an exfiltration path outside the proxy.
"enableWeakerNetworkIsolation": true,
// Exclude only commands that need what the sandbox withholds: the commit-signing agent, SSH
// remotes, or credentials outside the sandbox. Sandboxed gh needs SSL_CERT_FILE, because the
// sandbox blocks the macOS trust service Go uses to verify TLS. A sudo entry has no effect:
// calls that start with sudo always stay sandboxed.
// remotes, or credentials outside the sandbox. A sudo entry has no effect: calls that start
// with sudo always stay sandboxed.
"excludedCommands": [
"git commit *",
"git rebase *",
Expand Down Expand Up @@ -187,8 +190,13 @@
"release-assets.githubusercontent.com",
"objects.githubusercontent.com",
"mise-versions.jdx.dev",
"nodejs.org"
]
"nodejs.org",
"registry.terraform.io",
"releases.hashicorp.com"
],
// Terraform providers and TFLint plugins handshake over a Unix socket in TMPDIR. Projects
// point TMPDIR here for those tools, so the sandbox allows sockets in this one directory.
"allowUnixSockets": ["~/.cache/terraform-tmp"]
}
}
}
Loading