Skip to content

Config Reference

Global config stores defaults, registered repos, and the workset registry.

KeyDescription
defaultsGlobal defaults for commands and thread/workset behavior
githubGitHub auth defaults and overrides
hooksHook execution defaults and repo trust list
reposRegistered repos for URL or local path sources
worksetsRegistry of named worksets
FieldDescription
remoteDefault remote name for repos
base_branchDefault branch for new worktrees
threadDefault thread name or absolute path
workset_rootBase directory for generated paths. Default: ~/.workset
repo_store_rootWhere URL-based repos are cloned
agentDefault agent for PR text generation (codex, claude)
agent_modelOptional model override for PR/commit text generation
terminal_idle_timeoutIdle timeout for desktop terminals (e.g., 30m, 0 to disable)
terminal_protocol_logEnable terminal service protocol logging (on/off)
terminal_debug_overlayShow the terminal debug overlay (on/off)
terminal_font_sizeTerminal text size in pixels (8–28, default 13)
terminal_cursor_blinkWhether the terminal cursor blinks (on/off)
FieldDescription
enabledEnable hook execution (default true)
on_errorDefault hook error handling (fail or warn)
repo_hooks.trusted_reposRepo names whose hooks can run without prompting
FieldDescription
cli_pathOptional override for the agent CLI binary path (e.g., /usr/local/bin/codex)
FieldDescription
cli_pathOptional override for the gh CLI path
FieldDescription
urlGit URL to clone
pathLocal repo path (saved as absolute)
remoteRemote name (defaults to defaults.remote)
default_branchDefault branch for this repo
FieldDescription
reposRegistered repo names associated with the workset
threadsMap of thread names to thread refs
defaults:
remote: origin
base_branch: main
thread: core
workset_root: ~/.workset
repo_store_root: ~/.workset/repos
agent: codex
# agent_model: gpt-5.1-codex-mini
terminal_idle_timeout: "0"
terminal_protocol_log: off
terminal_debug_overlay: off
terminal_font_size: "13"
terminal_cursor_blink: on
agent:
# cli_path: /usr/local/bin/codex
hooks:
enabled: true
on_error: fail
repo_hooks:
trusted_repos: [platform]
repos:
platform:
url: git@github.com:org/platform.git
remote: origin
default_branch: main
local-repo:
path: /Users/sean/src/local-repo
remote: origin
default_branch: main
worksets:
core:
repos: [platform]
threads:
feature-policy-eval:
path: ~/.workset/worksets/core/feature-policy-eval
workset: core

Thread config is the source of truth for a thread.

FieldDescription
nameThread display name
reposList of repo entries in the thread
FieldDescription
nameRepo alias name
repo_dirDirectory name under the thread
local_pathPath to the repo’s main working copy
managedtrue if Workset owns the clone
name: feature-policy-eval
repos:
- name: platform
repo_dir: platform
local_path: /Users/sean/src/platform
managed: false

Each repo worktree can define hooks:

hooks:
- id: bootstrap
on: [worktree.created]
run: ["npm", "ci"]
cwd: "{repo.path}"
on_error: fail