Configuration
Config fields
| Field | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Whether partio is active |
strategy | string | "manual-commit" | Capture strategy |
agent | string | "claude-code" | Name of the AI agent being tracked |
log_level | string | "info" | Log verbosity: debug, info, warn, error |
strategy_options.push_sessions | bool | true | Push checkpoint branch on git push |
Default settings.json
Created bypartio enable:
File locations
partio loads configuration from multiple sources, merged in order (later sources override earlier ones):| Priority | Location | Description |
|---|---|---|
| 1 (lowest) | Built-in defaults | Hard-coded in the binary |
| 2 | ~/.config/partio/settings.json | Global/user-level config |
| 3 | <repo>/.partio/settings.json | Repo-level config (committed) |
| 4 | <repo>/.partio/settings.local.json | Repo-level local overrides (git-ignored) |
| 5 (highest) | Environment variables | Runtime overrides |
Environment variables
| Variable | Overrides | Accepts |
|---|---|---|
PARTIO_ENABLED | enabled | true, 1 (case-insensitive) for enabled; anything else for disabled |
PARTIO_STRATEGY | strategy | Strategy name (e.g., manual-commit) |
PARTIO_LOG_LEVEL | log_level | debug, info, warn, error |
PARTIO_AGENT | agent | Agent name (e.g., claude-code) |
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