Skip to main content

Settings reference

Everything the project bot reads or runs, with nothing left out: each cedarloom.json setting, the two worker modes, the machine's host.json and each automation. For ready-made combinations of settings, see What you can set up.

cedarloom.json​

The file sits at the root of the repository. The bot reads it from the default branch, so a change counts once you merge it. A file the schema rejects starts nothing until it is fixed.

  • A path entry names a file or folder from the repository root and covers everything below it. There are no wildcards.
  • A key that starts with // is a comment.
  • The reader refuses a sandbox key: CedarLoom does not support the Claude Code sandbox.
  • A setting you leave out takes its default. These tables come from the schema that editors read from the $schema line, and each default from the reader, so they list what the reader accepts.

Top level​

SettingTypeAllowed valuesDefaultWhat it does, and when to change it
$schemastringnoneThe address of this schema, so an editor checks and completes the file. Keep the line setup writes.
schemaVersionnumber3noneThe version of the file format, 3. Keep it as setup wrote it: any other value makes the file unreadable.
startLabelstringnoneThe label that lets the bot start an issue. Pick it at setup; a CedarLoom label other than cl:ready-for-agent is refused. Without it nothing starts.
trustedAuthorsarray of stringnoneLogins whose issue, review and comment text workers may follow, besides you and the members and collaborators with write access. Add a review bot only if you trust its text; a bot counts only when listed.
workersPerProjectinteger1 to 32noneIgnored. The computer shares its workers between projects; cap one project in host.json (projects.<project>.maxWorkers).
hostWorkerLimitinteger1 to 64noneIgnored. The computer's worker limit is maxWorkers in host.json.
stallMinutesinteger1 to 144020Minutes without a commit, pull request or message before the bot counts a worker as stalled and releases it. Raise it for work with long silent steps, such as slow builds.
issuesPerWorkerinteger1 to 161How many startable issues one supervised worker takes as a batch. Raise it for many small issues; an automatic worker always takes one.
modestringsupervised, automaticsupervisedHow workers run: supervised, or automatic with a settings file that bounds each worker. Switch to automatic only in an isolated environment.
minPluginstringnoneThe oldest plugin version that may run this file; an older plugin refuses it. Set it to the version that knows the newest key you use.
riskyPathsarray of stringnonePaths whose change makes a pull request at least elevated and sensitive. List folders, such as deploy scripts or migrations, that deserve more care than their size suggests.
closeIssuebooleanfalseA worker's pull request closes its issue when it merges, whoever merges it, and the bot closes one left open. Turn it off to close issues yourself.
deleteMergedBranchbooleanfalseLets the bot delete a branch once its pull request is merged. Turn it on to keep old branches from piling up.

issues​

Rules for which issues the bot may start.

SettingTypeAllowed valuesDefaultWhat it does, and when to change it
issues.labelsarray of stringnoneLabels an issue must carry besides startLabel. Use them to start only issues you have triaged.

models​

The model and effort of each step in this project, over CedarLoom's defaults and your user file. Change a step only when its cost or quality needs it.

SettingTypeAllowed valuesDefaultWhat it does, and when to change it
models.rolesobjectnoneNamed model and effort pairs that tasks can use by name. Add a role to reuse one pair for several tasks.
models.roles.<role>{ model, effort }noneOne role: its name, then its model and effort.
models.roles.<role>.modelstringhaiku, sonnet, opus, fablenoneWhich model runs the step. Use a stronger one for planning, building and review, a cheaper one for reading and lookups.
models.roles.<role>.effortstringlow, medium, high, xhigh, maxnoneHow much thinking the model spends. Raise it for a step that misses problems, lower it to save time and cost.
models.tasksobjectnoneThe role or pair each task uses. Change one task, such as review, to run it on a stronger model.
models.tasks.coordinatea role name or { model, effort }noneThe project bot's own runs: picking issues, catching up and routing pull request events.
models.tasks.plana role name or { model, effort }nonePlanning an issue or task before any code is written.
models.tasks.reviewa role name or { model, effort }noneReviewing a pull request or a change.
models.tasks.rechecka role name or { model, effort }noneReviewing a fix against the findings that came before it.
models.tasks.verifya role name or { model, effort }noneChecking review findings, a plan or a research answer before they are used.
models.tasks.zoom-outa role name or { model, effort }noneChecking a plan or design for a simpler route.
models.tasks.fresh-reada role name or { model, effort }noneReads by a session that starts without the work's history.
models.tasks.audita role name or { model, effort }noneAudits of docs, agent instructions or code.
models.tasks.researcha role name or { model, effort }noneResearch and design consults.
models.tasks.implementa role name or { model: opus, effort }noneWriting the change. Runs only on opus.
models.tasks.fixa role name or { model: opus, effort }noneFixing review findings. Runs only on opus.
models.tasks.testa role name or { model, effort }noneRunning the full checks and trying to break the change.
models.tasks.docsa role name or { model, effort }noneDocs passes, where several documents are checked against the code.
models.tasks.triagea role name or { model, effort }noneSorting new issues.
models.tasks.digesta role name or { model, effort }noneWriting the digest of the bot's work.
models.tasks.mergea role name or { model, effort }noneThe steps of a merge.
models.tasks.gathera role name or { model, effort }noneRead-only lookups of files, logs and pull request status.
models.tasks.lookupa role name or { model, effort }noneLooking up one fact.
models.tasks.cleanupa role name or { model, effort }noneThe cleanup bot's passes.
models.depthobjectnoneOverrides by depth. They lower or raise a task's pair for quick or deep work.
models.depth.quickobjectnoneTask overrides for quick work, with the task names of models.tasks.
models.depth.deepobjectnoneTask overrides for deep work, with the task names of models.tasks.
models.riskobjectnoneOverrides by risk class.
models.risk.criticalobjectnoneTask overrides for critical work, with the task names of models.tasks. They can only raise a pair, never lower it.

review​

How changes are reviewed and who approves them.

SettingTypeAllowed valuesDefaultWhat it does, and when to change it
review.depthstringlow, medium, high, xhighhighHow deep the review of a routine change goes: low, medium, high or xhigh. Raise it for riskier code. xhigh runs only for the first review of a critical change, or when you ask.
review.sensitiveDepthstringlow, medium, high, xhighhighHow deep the review of a sensitive change goes (CI, guards, data formats, money, agent instructions and your sensitivePaths). Raise it above depth where a mistake costs more.
review.reviewerstringnoneThe GitHub login the project bot runs under. The bot merges only a commit that login approved. Required for any merge: without it nothing merges.
review.soloOwnerbooleannoneIgnored. The project bot approves its own pull requests; remove the key.
review.sensitivePathsarray of stringnonePaths that make a change sensitive, besides the built-in kinds (CI, guards, data formats, money, agent instructions). Add folders where a mistake costs more.

merge​

When and how the bot lands pull requests.

SettingTypeAllowed valuesDefaultWhat it does, and when to change it
merge.allowedbooleanfalseLets the bot merge a reviewed pull request. Off by default: turn it on when you want changes to land without you.
merge.requiredChecksarray of stringnoneChecks that must be green before a merge, named as GitHub shows them. List only checks that run on pull requests, not only on the default branch.
merge.modestringstrict, disjointstrictstrict: the merged commit must contain the default branch's latest commit. disjoint: a pull request that changed other files than the default branch may merge without an update. Choose disjoint when many pull requests touch separate files.
merge.autoMergeMaxstringroutine, elevatedelevatedThe highest risk class the bot merges, routine or elevated. Critical is always yours. Lower it to routine to keep elevated changes for yourself.
merge.additivePathsarray of stringnonePaths that a pull request and the default branch may both change in disjoint mode, such as a changelog. Add append-only files.
merge.ownerOnlyPathsarray of stringbuilt inPaths you add to the built-in owner-only list: a pull request that touches one stays open for you. Add the trigger paths of a deploy workflow and anything the bot must never land.

cleanup​

What the cleanup bot keeps and when it warns about disk space.

SettingTypeAllowed valuesDefaultWhat it does, and when to change it
cleanup.daysKeptinteger0 to 3657Days a finished work folder stays on disk after its last pull request closed. Raise it to keep folders longer for inspection.
cleanup.diskFloorGBinteger1 to 10000020Free disk space in GiB below which the cleanup report warns and no new worker starts on the computer. Raise it on a small disk.

Modes​

mode is supervised unless you set automatic. Nothing raises it on its own.

supervisedautomatic
WorkerA Claude Code session in auto mode, with a rule file that refuses what its job does not need. A worker of another agent runs under Orca's own permission setting.A Claude Code session that starts only with its own settings file: auto mode, bypass mode switched off, reads and writes kept to its worktree, and no gh, git push, web or MCP tools.
QuestionsEvery question that needs an answer goes to you.Only owner-only questions go to you. Any other question takes the safe, reversible default and is named in the report.
Issues per workerissuesPerWorkeralways 1
Before each startthe usual checksthe usual checks, and once a day a probe worker that proves the bounds hold
When a check failsA failed read-back of one issue's settings file, or a failed worktree check at a later start: that issue is blocked and no worker starts. Any other failure, such as a Claude Code version that is too old, the daily probe or writing a settings file: no worker of any agent starts in the project for the rest of the run, or of the day after a failed daily check. The report names the check.

An automatic project starts no Codex worker: automatic mode is for Claude Code only. Automatic mode removes the question, not the risk: a shell command a worker runs reaches whatever your account reaches. Run it on a computer you can wipe and restore, or in a dev container, with GitHub tokens that reach only the repositories the bot needs.

host.json​

The machine's own settings, in host.json in the folder $HOME/.cedarloom-host-limit. They are not part of cedarloom.json: a repository cannot know which computer runs it. Every setting is optional, and an invalid file starts nothing until it is fixed.

SettingTypeDefaultWhat it does, and when to change it
maxWorkers"auto", or 1 to 64"auto": the performance coresThe most workers at once on the computer. Lower it to keep the computer usable for other work.
projects.<project>.maxWorkers1 to 64no capThe most workers of one project at once. Set it so one project cannot hold every slot.
memory.reservePctpercent10Memory kept free. Raise it if the computer swaps while workers run.
usage.enabledfalse or "auto""auto": on when cswap answersfalse turns the account-usage check off.
usage.weeklyReservePctpercent10The share of each account's week kept for sessions that are not workers.

Automations​

Each automation is a schedule or a GitHub event that starts a short run of the project bot. Setup creates them once its checks pass.

AutomationRunsDoesSettings it reads
pickevery 30 minutes, when work is waitingStarts the next labeled issues, within the machine's limits.startLabel, issues.labels, issuesPerWorker, riskyPaths, mode
catch-upevery 15 minutes, and on each failed checkFinds work an earlier event missed: a stalled worker, a pull request ready to merge, an answered question. In automatic mode it runs the daily probe.mode, stallMinutes, merge
red mainon a failed checkWhen the default branch fails, tells you, starts a fix and holds every merge until you name the pull request that fixes it.none
reconciledaily, at the time you chooseCompares what the bot recorded with GitHub and reports each difference. It also files the fix issues from the security alert checks.stallMinutes, startLabel
maintainweekly, per repository, on the weekday and time you chooseRuns the maintenance pass and proposes a batch of issues to close. Nothing changes before you answer.none
security alerton each Dependabot alertChecks the alert. For one with a patched version in a private repository, the next reconcile run files a fix issue with the start label; otherwise you get a report. It never dismisses an alert.none
cleanupdaily, and a weekly batch you turn on and answer onceHides and releases finished workspaces, worktrees, clones and merged branches, and reports disk use. It deletes a folder only after your answer.cleanup

Besides these, /cl-orchestration:coordinate . shows where everything stands, and /cl-orchestration:digest sums up what the bot did and what waits for you.