Configuration
Config fields
Default settings.json
Created bypartio enable:
File locations
partio loads configuration from multiple sources, merged in order (later sources override earlier ones):
Only fields actually present in a config file override the accumulated config. Unknown fields are ignored.
Environment variables
Choosing the agent
partio supports multiple AI coding agents — currently Claude Code and Codex. Whenagent is empty (the default), partio auto-detects whichever supported agent is running when you commit. Set agent (or PARTIO_AGENT) only when you want to pin a specific agent — for example, if you run more than one and want partio to prefer a particular one:
.partio/settings.json
Commit linking
When you commit with an AI session active, partio links that commit to the session and creates a checkpoint. Thecommit_linking setting controls whether it asks first:
With
ask, the prompt accepts:
- Y (default) — link this commit to the session
- n — skip linking for this commit only
- a — always link from now on (persists
commit_linking: alwaysto.partio/settings.json)
Secret redaction
Before any session data is written to the checkpoint branch, partio runs a two-layer secret redaction pass over all user-visible text fields (prompt, context, diff, JSONL transcript, and plan):- Pattern-based detection — gitleaks-compatible regular expressions detect common secret formats including AWS access keys, GitHub personal access tokens, Slack tokens, Stripe keys, Google API keys, npm/PyPI tokens, and generic
api_key=…/Bearer …assignments. Matched secrets are replaced with[REDACTED]. - Entropy-based detection — any whitespace-delimited token that is at least
entropy_min_lengthcharacters long and has a Shannon entropy ≥entropy_thresholdbits/char is also replaced with[REDACTED]. This catches high-entropy strings that match no known pattern, while leaving short version strings, commit hashes, URLs, and natural-language words intact.
redact block:
.partio/settings.json
Examples
Disable auto-push of sessions
If you don’t want checkpoint data to be pushed automatically:.partio/settings.json
Enable debug logging for a single command
Temporarily disable partio
Per-machine overrides
Use.partio/settings.local.json for settings that shouldn’t be committed (this file is automatically git-ignored):
.partio/settings.local.json