locus config

View and manage Locus project settings stored in .locus/config.json.

View and update local project settings. Configuration is stored in .locus/config.json and is generated during locus init.

Usage

locus config <subcommand> [args]

If no subcommand is provided, show is used by default.


Subcommands

show

Display the current configuration organized by section.

locus config show
locus config           # Same as 'locus config show'

Sections displayed:

Section
Keys

GitHub

owner, repo, defaultBranch

AI

provider, model

Agent

maxParallel, autoLabel, autoPR, baseBranch, rebaseBeforeTask

Sprint

stopOnFailure

Logging

level, maxFiles, maxTotalSizeMB

Sandbox

enabled, extraWorkspaces, readOnlyPaths

set

Update a specific configuration value using dot-notation paths.

Examples:

get

Read a specific configuration value. Output goes to stdout for scripting.

Examples:

For nested objects, the output is formatted as JSON.


Configuration Keys

Path
Type
Default
Description

github.owner

string

(detected)

GitHub repository owner

github.repo

string

(detected)

GitHub repository name

github.defaultBranch

string

(detected)

Default branch (e.g., main)

ai.provider

string

"claude"

AI provider: claude or codex

ai.model

string

(provider default)

AI model identifier

agent.maxParallel

number

3

Maximum parallel issue execution

agent.autoLabel

boolean

true

Automatically manage labels during execution

agent.autoPR

boolean

true

Automatically create PRs after task completion

agent.baseBranch

string

(detected)

Branch that sprint and worktree branches are based on

agent.rebaseBeforeTask

boolean

true

Rebase sprint branch before each task

sprint.stopOnFailure

boolean

false

Stop sprint execution when a task fails (default: continue to next task)

logging.level

string

"normal"

Log level: silent, normal, verbose, debug

logging.maxFiles

number

10

Maximum number of log files to keep

logging.maxTotalSizeMB

number

50

Maximum total log size in MB

sandbox.enabled

boolean

true

Enable Docker sandbox isolation by default

sandbox.extraWorkspaces

string[]

[]

Additional workspace paths to sync into sandbox

sandbox.readOnlyPaths

string[]

[]

Paths mounted as read-only in sandbox


Examples

Last updated