Configuration
Gump configuration follows a cascade: environment variables override user config, which overrides project config, which overrides defaults.Configuration cascade
| Priority | Source | Location |
|---|---|---|
| 1 (highest) | Environment variables | GUMP_* prefix |
| 2 | User config | ~/.gump/config.toml |
| 3 | Project config | gump.toml at repo root |
| 4 (lowest) | Defaults | Built into Gump |
Project config (gump.toml)
Place this file at the root of your repository:User config (~/.gump/config.toml)
Global settings that apply to all projects:Environment variables
| Variable | Overrides | Example |
|---|---|---|
GUMP_DEFAULT_AGENT | default_agent | GUMP_DEFAULT_AGENT=claude-opus |
GUMP_LOG_LEVEL | log_level | GUMP_LOG_LEVEL=debug |
compile_cmd, test_cmd, etc.) are intentionally not overridable via environment variables — they are project-specific and should live in gump.toml.
All settings
default_agent
The agent used when a step doesn’t specify one explicitly. Default:"claude-sonnet"
log_level
Log verbosity for Gump’s own output (not the agent’s output). Values:debug, info, warn, error. Default: "info"
display.verbose
Show detailed per-turn events during runs (same as--verbose flag).
Default: false
validation.compile_cmd
Shell command for thecompile gate. Overrides heuristic detection.
Default: auto-detected from project markers (go.mod → go build ./..., etc.)
validation.test_cmd
Shell command for thetest gate.
Default: auto-detected
validation.lint_cmd
Shell command for thelint gate.
Default: auto-detected (skipped if not found)
validation.coverage_cmd
Shell command for thecoverage gate.
Default: auto-detected with coverage flag
budget.max_budget
Default maximum cost per run in USD. Can be overridden per workflow with themax_budget YAML field.
Default: none (no budget limit)
error_context.max_error_chars
Maximum characters of gate stderr injected into{error} on retry.
Default: 2000
error_context.max_diff_chars
Maximum characters of the failed diff injected into{diff} on retry.
Default: 3000
analytics.enabled
Whether to send anonymous telemetry. See Privacy & Telemetry for details. Default:true (opt-in displayed on first run, first run doesn’t send)