CLAUDE_CODE_REPORT_REPO_PROVENANCE
Updated by Alex Sorokoletov
CLAUDE_CODE_REPORT_REPO_PROVENANCE is a Claude Code environment variable. Added between v2.1.326 and v2.1.331 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added between v2.1.326 and v2.1.331 |
| Category | Other |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_REPORT_REPO_PROVENANCE=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_REPORT_REPO_PROVENANCE": "<value>"
}
}Related variables
CLAUDE_CODE_HOLD_REPORT_PARK_AT_INIT: Reported a parked turn at initialization, but only when CLAUDE_CODE_RESUME_INTERRUPTED_TURN was also set; read until v2.1.309.CLAUDE_CODE_REPO_CHECKOUTS: Specifies a directory path (or paths) where Claude Code should create and manage git worktree checkouts.CLAUDE_CODE_REPORT_FINDINGS: Set to a truthy value to turn on the review findings mode that produces a list of findings; it stays off for text or json output and during skill preloads.CLAUDE_CODE_HANDBACK_PROVENANCECLAUDE_RUNNER_PRIMARY_REPO_REVISIONCLAUDE_RUNNER_REPO_REFCLAUDE_RUNNER_REPO_SOURCESANTHROPIC_BETAS: Comma-separated beta feature headers.
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_REPORT_REPO_PROVENANCE?
Added between v2.1.326 and v2.1.331 and still present in v2.1.332.
How do I set CLAUDE_CODE_REPORT_REPO_PROVENANCE?
Export it before starting Claude Code (export CLAUDE_CODE_REPORT_REPO_PROVENANCE=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.