3 pages for --confine-repo-settings.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…workload your `spawn-runner` hook starts. Start these runners with [`--confine-repo-settings enforce`](/docs/en/self-hosted-environments-deploy#harden-your-deployment). It refuses sessions on reposit…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…. * **Enforce the repo-settings guard**: choose the guard mode with [`--confine-repo-settings`](/docs/en/self-hosted-environments-reference#runner-cli-flags). The default `warn` logs a violation and s…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…re git](/docs/en/self-hosted-environments-deploy#configure-git). | | `--confine-repo-settings <mode>` | `SELF_HOSTED_RUNNER_CONFINE_REPO_SETTINGS` | `warn` | Sets the mode of the guard that flags a se…