> ## Documentation Index
> Fetch the complete documentation index at: https://docs.entire.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Local and Project Settings

> Configure shared repository behavior, personal overrides, and the files Entire writes under .entire.

Entire uses a layered configuration system that allows project-wide settings to be shared via Git while supporting personal overrides.

Use this page when you are deciding whether a setting should apply to everyone on the project, only to your machine, or only to your clone.

> [tab] Local Settings
>
> Local settings have the highest priority and are used for personal preferences, private rules, machine-specific paths, and temporary debugging.
>
> ## Local Settings File
>
> Local settings are stored in `.entire/settings.local.json` and are automatically ignored by Git.
>
> Local settings are merged with project settings. You only need to specify the settings you want to override. A few values are replaced as a whole rather than merged field by field:
>
> * `checkpoints`: a local block replaces the project block, because it selects a storage backend.
> * `strategy_options`: only its top-level keys merge, so a nested object such as `summarize` or `checkpoint_remote` in the local file replaces the project one.
> * `review_profiles`: profiles merge by name, so a local profile replaces the project profile with the same name. The deprecated pre-profile `review` block is replaced as a whole.
>
> ```json .entire/settings.local.json theme={null}
> {
>   "log_level": "debug",
>   "telemetry": false
> }
> ```
>
> ## Local Settings Reference
>
> Use these settings locally when the behavior should not affect teammates.
>
> | Setting path | Type | Use for | Learn more |
> | - | - | - | - |
> | `commit_linking` | string | Personal commit-linking behavior during `git commit` | [Capture Sessions and Their Checkpoints](https://docs.entire.com/guides/checkpoints/capture-checkpoints.md#link-future-commits-automatically) |
> | `strategy_options.push_sessions` | boolean | Checkpoint push behavior only on your machine | [Checkpoint Storage](https://docs.entire.com/guides/checkpoints/keep-checkpoints-local.md) |
> | `strategy_options.checkpoint_remote` | object | Personal checkpoint remote while testing storage behavior | [Checkpoint Storage](https://docs.entire.com/guides/checkpoints/store-checkpoints-in-another-repo.md) |
> | `redaction.pii.enabled` | boolean | Optional PII redaction for your own captured sessions | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#pii-redaction) |
> | `redaction.custom_redactions` | object | Private regex redaction rules that should not be committed | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#user-defined-redaction) |
> | `redaction.externalize_images` | boolean | Move inline base64 images into the checkpoint asset store on your machine | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#externalized-images) |
> | `redaction.openai_privacy_filter` | object | Personal OpenAI Privacy Filter settings, including `prompt_default` | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#openai-privacy-filter) |
> | `redaction.openai_privacy_filter.command` | string | Path to your `opf` binary. Read only from an untracked local settings file | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#the-command-setting) |
> | `telemetry` | boolean/null | Personal analytics preference in this repository | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#telemetry) |
> | `sign_checkpoint_commits` | boolean | Personal checkpoint commit signing preference | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#checkpoint-commit-signing) |
> | `log_level` | string | Temporary debug logging without changing team settings | [Logging and Diagnostics](https://docs.entire.com/guides/configuration/logging-and-diagnostics.md#log-level) |
> | `external_agents` | boolean | Agent integration discovery only on your machine | [Set Up an Agent](https://docs.entire.com/agents/setup.md#agent-integrations) |
> | `absolute_git_hook_path` | boolean | Full `entire` binary path in Git hooks for GUI Git clients on your machine | [Git Hooks](https://docs.entire.com/guides/configuration/git-hooks.md#gui-git-clients) |
>
> ## Modify Local Settings
>
> > [tab] Use the CLI
> >
> > Add `--local` when the command should write to `.entire/settings.local.json`.
> >
> > ```bash theme={null}
> > entire configure --local --telemetry=false
> > entire configure --local --skip-push-sessions
> > entire configure --local --absolute-git-hook-path
> > ```
> >
> > If a setting does not have a CLI flag, edit `.entire/settings.local.json` directly.
>
> > [tab] Edit JSON
> >
> > Edit `.entire/settings.local.json` directly:
> >
> > ```bash theme={null}
> > vim .entire/settings.local.json
> > ```
> >
> > Top-level settings are written directly:
> >
> > ```json .entire/settings.local.json theme={null}
> > {
> >   "log_level": "debug"
> > }
> > ```
> >
> > Dotted setting paths are written as nested objects:
> >
> > ```json .entire/settings.local.json theme={null}
> > {
> >   "redaction": {
> >     "custom_redactions": {
> >       "private_codename": "PROJECT_[A-Z]{4}"
> >     }
> >   }
> > }
> > ```
>
> ## Verify Local Settings
>
> After editing local settings, run:
>
> ```bash theme={null}
> entire status --detailed
> ```
>
> Use this to confirm Entire is still reading the repository configuration. If the behavior does not match `.entire/settings.local.json`, check the setting name and JSON nesting. Local settings override project and global settings for the same setting path.

> [tab] Project Settings
>
> Project settings apply to the current repository and are used for shared behavior such as checkpoint storage, team redaction rules, and default repository behavior.
>
> ## Project Settings File
>
> Project settings are stored in `.entire/settings.json`.
>
> When a first-time `entire enable` creates project settings, the file starts with the following, plus your `telemetry` answer:
>
> ```json .entire/settings.json theme={null}
> {
>   "enabled": true,
>   "checkpoints": {
>     "primary": {
>       "type": "git-refs"
>     }
>   }
> }
> ```
>
> Most projects can start here. Add settings only when the repository should share that behavior.
>
> ## Project Settings Reference
>
> Use these settings in `.entire/settings.json` when the behavior should apply to the whole project.
>
> | Setting path | Type | Default | Description | Learn more |
> | - | - | - | - | - |
> | `enabled` | boolean | `true` | Whether Entire is active in this repository | [Local and Project Settings](https://docs.entire.com/guides/configuration/settings-layers.md#project-settings-file) |
> | `commit_linking` | string | `"prompt"` | Controls whether Entire prompts before linking a Git commit to recent agent session context | [Capture Sessions and Their Checkpoints](https://docs.entire.com/guides/checkpoints/capture-checkpoints.md#link-future-commits-automatically) |
> | `strategy_options.push_sessions` | boolean | `true` | Automatically push checkpoint data when someone runs `git push` | [Session Storage](https://docs.entire.com/guides/checkpoints/checkpoint-storage.md#store-checkpoints-with-your-code) |
> | `strategy_options.checkpoint_remote` | object | `null` | Push checkpoint data to a separate repository | [Checkpoint Storage](https://docs.entire.com/guides/checkpoints/store-checkpoints-in-another-repo.md) |
> | `strategy_options.summarize.enabled` | boolean | `false` | Auto-generate checkpoint summaries at commit time | [Session Storage](https://docs.entire.com/guides/checkpoints/checkpoint-storage.md#auto-generate-checkpoint-summaries) |
> | `summary_timeout_seconds` | number | unset | Hard deadline in seconds for `entire checkpoint explain --generate`. Unset or `0` means no deadline. Set with `entire configure --summarize-timeout-seconds` | [checkpoint explain](https://docs.entire.com/cli-reference/checkpoint.md#checkpoint-explain) |
> | `redaction.betterleaks.enabled` | boolean | `true` | Run Betterleaks for secret pattern matching | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#secret-scanner-engines) |
> | `redaction.goredact.enabled` | boolean | `false` | Run goredact for secret pattern matching | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#secret-scanner-engines) |
> | `redaction.pii.enabled` | boolean | `false` | Enable optional PII redaction on top of always-on secret redaction | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#pii-redaction) |
> | `redaction.custom_redactions` | object | `{}` | Add shared regex rules that replace matches with `REDACTED` | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#user-defined-redaction) |
> | `redaction.externalize_images` | boolean | `false` | Move inline base64 images out of transcripts into the checkpoint asset store | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#externalized-images) |
> | `redaction.openai_privacy_filter.enabled` | boolean | `false` | Run the OpenAI Privacy Filter over checkpoints at push time | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#openai-privacy-filter) |
> | `strategy_options.filtered_fetches` | boolean | `false` | Fetch checkpoint data with `--filter=blob:none` | [Session Storage](https://docs.entire.com/guides/checkpoints/checkpoint-storage.md) |
> | `strategy_options.checkpoint_ref_list_timeout_seconds` | number | `5` | How long `entire checkpoint list` waits for each remote to list checkpoints that aren't local yet (capped at 120). Raise it if checkpoints pushed from another machine are missing because the remote answers slowly | [checkpoint list](https://docs.entire.com/cli-reference/checkpoint.md#checkpoint-list) |
> | `checkpoints.primary.type` | string | `git-refs` on first-time setup | Checkpoint storage backend: `git-refs` or `git-branch` | [Session Storage](https://docs.entire.com/guides/checkpoints/checkpoint-storage.md) |
> | `telemetry` | boolean | unset (off) | Send anonymous usage analytics. `entire enable` asks and saves your answer | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#telemetry) |
> | `sign_checkpoint_commits` | boolean | `true` | Sign checkpoint commits using your existing Git signing key | [Privacy and Redaction](https://docs.entire.com/guides/configuration/privacy-and-redaction.md#checkpoint-commit-signing) |
> | `log_level` | string | `"info"` | Log verbosity: `debug`, `info`, `warn`, `error` | [Logging and Diagnostics](https://docs.entire.com/guides/configuration/logging-and-diagnostics.md#log-level) |
> | `external_agents` | boolean | `false` | Ignored in project settings. Set it in `.entire/settings.local.json` instead | [Set Up an Agent](https://docs.entire.com/agents/setup.md#agent-integrations) |
> | `absolute_git_hook_path` | boolean | `false` | Embed the full `entire` binary path in Git hooks for GUI Git clients | [Git Hooks](https://docs.entire.com/guides/configuration/git-hooks.md#gui-git-clients) |
>
> ## Modify Project Settings
>
> > [tab] Use the CLI
> >
> > Add `--project` when the command should write to `.entire/settings.json`.
> >
> > ```bash theme={null}
> > entire configure --project --checkpoint-remote github:owner/repo
> > entire configure --project --skip-push-sessions
> > entire configure --project --telemetry=false
> > ```
> >
> > If a setting does not have a CLI flag, edit `.entire/settings.json` directly.
>
> > [tab] Edit JSON
> >
> > Edit `.entire/settings.json` directly:
> >
> > ```bash theme={null}
> > vim .entire/settings.json
> > ```
> >
> > Top-level settings are written directly:
> >
> > ```json .entire/settings.json theme={null}
> > {
> >   "telemetry": false
> > }
> > ```
> >
> > Dotted setting paths are written as nested objects:
> >
> > ```json .entire/settings.json theme={null}
> > {
> >   "strategy_options": {
> >     "push_sessions": false
> >   }
> > }
> > ```
>
> ## Verify Project Settings
>
> After editing project settings, run:
>
> ```bash theme={null}
> entire status --detailed
> ```
>
> Use this to confirm Entire is still reading the repository configuration. If the behavior does not match `.entire/settings.json`, check for an override in `.entire/settings.local.json`. Local settings have higher priority than project settings.

> [tab] Clone Preferences
>
> Clone preferences are personal choices that `entire review` setup saves for one clone. They are stored inside the Git directory at `<git-common-dir>/entire/preferences.json` (usually `.git/entire/preferences.json`), so they are never committed and are shared by every worktree of the clone.
>
> Entire applies them after `.entire/settings.json` and before `.entire/settings.local.json`. As a settings layer they supply review profile choices (`review_profiles`, `review_default_profile`, and per-reviewer agent configs). Entire also caches per-clone state there, such as whether Trails are enabled. You do not normally edit this file by hand.
>
> Entire has no global settings file. Settings that should apply to every repository have to be set in each repository's `.entire/settings.json` or `.entire/settings.local.json`.
