Search the documentation
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
…, so the runner's write-scope confine guard flags the session; with [`--confine-repo-settings enforce`](/docs/en/self-hosted-environments-reference#runner-cli-flags) it refuses to spawn the session in…
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
…| | `--confine-repo-settings <mode>` | `SELF_HOSTED_RUNNER_CONFINE_REPO_SETTINGS` | `warn` | Set…