Skip to content

Field Reference

[defaults]

FieldTypeDefaultDescription
agentstring"claude"Agent to use. Currently only claude is supported.
base_branchstringrepo default branchBase branch for PRs.
timeout_msinteger1800000Agent timeout in milliseconds (default 30 min). Agents running longer are killed.
setup_commandstringnoneShell command run in the worktree before the agent starts (e.g. pnpm install).

[network]

FieldTypeDefaultScopeDescription
allowliststring[]see belowglobalDomains the sandbox can reach. Replaces the built-in list when set.
allowlist_extrastring[][]repo-localAdditional domains appended to the allowlist.

Built-in allowlist:

api.anthropic.com
claude.ai
statsig.anthropic.com
sentry.io
registry.npmjs.org
github.com
api.github.com

[sandbox]

FieldTypeDefaultScopeDescription
runtimestring"srt"globalSandbox runtime. Only "srt" is supported.
env_passthroughstring[][]globalHost env vars forwarded to the sandbox.
env_passthrough_extrastring[][]repo-localAdditional env vars to forward.
proxy_credentialsProxyCredential[](built-in)globalCredentials for the MITM auth proxy. Replaces the built-in list when set.
proxy_credentials_extraProxyCredential[][]repo-localAdditional proxy credentials to append.
ecosystems_disabledstring[][]repo-localEcosystem plugins to disable (e.g. ["npm", "go"]).

[[sandbox.proxy_credentials]] / [[sandbox.proxy_credentials_extra]]

Each entry defines a credential the auth proxy injects into requests. The sandbox never sees the real credential value.

FieldTypeDescription
domainstringDomain to intercept (e.g. "npm.pkg.github.com").
targetstringReal upstream URL (e.g. "https://npm.pkg.github.com").
hostEnv.keystringHost env var holding the credential (e.g. "GITHUB_TOKEN").
headerTemplatetableHeaders to inject. Use ${value} for the env var value. (e.g. authorization = "Bearer ${value}")
sandboxEnv.keystringEnv var name set inside the sandbox.
sandboxEnv.valuestringEnv var value set inside the sandbox (usually an HTTP URL through the proxy).

Example:

toml
[[sandbox.proxy_credentials_extra]]
domain = "npm.pkg.github.com"
target = "https://npm.pkg.github.com"
[sandbox.proxy_credentials_extra.hostEnv]
key = "GITHUB_TOKEN"
[sandbox.proxy_credentials_extra.headerTemplate]
authorization = "Bearer ${value}"
[sandbox.proxy_credentials_extra.sandboxEnv]
key = "NPM_CONFIG_REGISTRY"
value = "http://npm.pkg.github.com"

The sandbox receives NPM_CONFIG_REGISTRY=http://npm.pkg.github.com. The MITM proxy intercepts requests to npm.pkg.github.com, injects the real Authorization: Bearer <token> header, and forwards over HTTPS. The actual GITHUB_TOKEN never enters the sandbox.

Released under the MIT License.