Skip to content

settings.json reference

worca configuration lives under a worca key in .claude/settings.json. The recommended way to edit it is the dashboard’s Settings panel — it writes every key below for you, validates as you go, and keeps secrets out of the committed file. This page is the underlying key map, for when you’re scripting settings.json, reviewing a diff, or reaching for a key the UI doesn’t surface. The UI panel column points to where each section lives in the dashboard.

FileScope
.claude/settings.jsonPer project, committed. The bulk of config.
.claude/settings.local.jsonPer project, gitignored. Secrets; deep-merged over settings.json.
~/.worca/settings.jsonGlobal. Cross-project preferences.

Sections marked † template-owned are stripped from the merge base when a template is in play at run launch (explicit --template or worca.default_template fallback) — the selected template’s config provides them instead. See Configuration precedence.

SectionControlsUI panelSee
worca.default_templateTemplate id pinned as the project default; every run uses it unless --template overrides at launch.Settings (per-project)Configuration precedence
worca.claude_md_modePer-run CLAUDE.md load mode (all / project / project+local / none). Cross-template.Pipeline Templates editor → Pipeline tab → CLAUDE.md Load ModeCLAUDE.md load mode
worca.stages Enable/disable stages; override the agent per stage. stages.preflight is a cross-template carve-out and survives strip.Pipeline Templates editor → Pipeline tabStages
worca.agents Per-agent model, max_turns, effort.Pipeline Templates editor → Agents tabAgents & models
worca.modelsAlias → model ID (string) or {id, env} profile.Models page (top-level)Models · Adding & routing models
worca.pricingPer-model rates + project-wide currency, budgets, and server_tools rates.Models page (per-alias accordion) + Settings → Costs & BudgetsModels
worca.effort auto_mode, auto_cap for adaptive effort.Pipeline Templates editor → Agents tab → Effort modeTuning effort
worca.loops Max iterations for the test / review / planning loops.Pipeline Templates editor → Pipeline tab → LoopsLoops & circuit breaker
worca.circuit_breaker Error classification and halt thresholds.Pipeline Templates editor → Pipeline tab → Circuit BreakerLoops & circuit breaker
worca.governance.dispatch Per-agent tools / skills / subagents allowlists.Pipeline Templates editor → Governance tabDispatch governance
worca.governance.guardsHook guards (e.g. block_graphify_mutation). Cross-template.Settings → Governance → Guard RulesDispatch governance
worca.milestones Approval gates (plan_approval, pr_approval, deploy_approval).Pipeline Templates editor → Pipeline tab → Approval GatesControlling a run
worca.webhooksOutbound event subscriptions.Settings → WebhooksWebhooks
worca.graphifyKnowledge-graph enabled / mode.Settings → GraphifyKnowledge graph
worca.guidemax_bytes cap on combined guide content.Settings → Fleet & guideGuides
worca.fleetFleet defaults (e.g. init_timeout_seconds).Settings → Fleet & guideFleet runs
worca.workspaceWorkspace defaults (max_parallel, context_cap_bytes, failure_threshold).File onlyWorkspace runs

These four keys live in ~/.worca/settings.json (under worca.), not the project file:

KeyDefaultMeaning
parallel.cleanup_policyneverWhen finished worktrees are auto-removed.
parallel.max_concurrent_pipelines10Host-wide concurrent-run cap.
ui.worktree_disk_warning_bytes2000000000Worktree disk-warning threshold (2 GB).
circuit_breaker.classifier_modelhaikuModel that classifies errors as retryable or fatal.

All four are editable in the dashboard — cleanup policy and the disk-warning threshold under Settings → Worktrees, the concurrency cap and classifier model under Settings → Pipeline Execution. The Settings panel also migrates them automatically if it finds them in the project file.