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
sandboxkey: 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
$schemaline, and each default from the reader, so they list what the reader accepts.
Top level
| Setting | Type | Allowed values | Default | What it does, and when to change it |
|---|---|---|---|---|
$schema | string | none | The address of this schema, so an editor checks and completes the file. Keep the line setup writes. | |
schemaVersion | number | 3 | none | The version of the file format, 3. Keep it as setup wrote it: any other value makes the file unreadable. |
startLabel | string | none | The 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. | |
trustedAuthors | array of string | none | Logins 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. | |
workersPerProject | integer | 1 to 32 | none | Ignored. The computer shares its workers between projects; cap one project in host.json (projects.<project>.maxWorkers). |
hostWorkerLimit | integer | 1 to 64 | none | Ignored. The computer's worker limit is maxWorkers in host.json. |
stallMinutes | integer | 1 to 1440 | 20 | Minutes 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. |
issuesPerWorker | integer | 1 to 16 | 1 | How many startable issues one supervised worker takes as a batch. Raise it for many small issues; an automatic worker always takes one. |
mode | string | supervised, automatic | supervised | How workers run: supervised, or automatic with a settings file that bounds each worker. Switch to automatic only in an isolated environment. |
minPlugin | string | none | The 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. | |
riskyPaths | array of string | none | Paths 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. | |
closeIssue | boolean | false | A 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. | |
deleteMergedBranch | boolean | false | Lets 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.
| Setting | Type | Allowed values | Default | What it does, and when to change it |
|---|---|---|---|---|
issues.labels | array of string | none | Labels 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.
| Setting | Type | Allowed values | Default | What it does, and when to change it |
|---|---|---|---|---|
models.roles | object | none | Named 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 } | none | One role: its name, then its model and effort. | |
models.roles.<role>.model | string | haiku, sonnet, opus, fable | none | Which model runs the step. Use a stronger one for planning, building and review, a cheaper one for reading and lookups. |
models.roles.<role>.effort | string | low, medium, high, xhigh, max | none | How much thinking the model spends. Raise it for a step that misses problems, lower it to save time and cost. |
models.tasks | object | none | The role or pair each task uses. Change one task, such as review, to run it on a stronger model. | |
models.tasks.coordinate | a role name or { model, effort } | none | The project bot's own runs: picking issues, catching up and routing pull request events. | |
models.tasks.plan | a role name or { model, effort } | none | Planning an issue or task before any code is written. | |
models.tasks.review | a role name or { model, effort } | none | Reviewing a pull request or a change. | |
models.tasks.recheck | a role name or { model, effort } | none | Reviewing a fix against the findings that came before it. | |
models.tasks.verify | a role name or { model, effort } | none | Checking review findings, a plan or a research answer before they are used. | |
models.tasks.zoom-out | a role name or { model, effort } | none | Checking a plan or design for a simpler route. | |
models.tasks.fresh-read | a role name or { model, effort } | none | Reads by a session that starts without the work's history. | |
models.tasks.audit | a role name or { model, effort } | none | Audits of docs, agent instructions or code. | |
models.tasks.research | a role name or { model, effort } | none | Research and design consults. | |
models.tasks.implement | a role name or { model: opus, effort } | none | Writing the change. Runs only on opus. | |
models.tasks.fix | a role name or { model: opus, effort } | none | Fixing review findings. Runs only on opus. | |
models.tasks.test | a role name or { model, effort } | none | Running the full checks and trying to break the change. | |
models.tasks.docs | a role name or { model, effort } | none | Docs passes, where several documents are checked against the code. | |
models.tasks.triage | a role name or { model, effort } | none | Sorting new issues. | |
models.tasks.digest | a role name or { model, effort } | none | Writing the digest of the bot's work. | |
models.tasks.merge | a role name or { model, effort } | none | The steps of a merge. | |
models.tasks.gather | a role name or { model, effort } | none | Read-only lookups of files, logs and pull request status. | |
models.tasks.lookup | a role name or { model, effort } | none | Looking up one fact. | |
models.tasks.cleanup | a role name or { model, effort } | none | The cleanup bot's passes. | |
models.depth | object | none | Overrides by depth. They lower or raise a task's pair for quick or deep work. | |
models.depth.quick | object | none | Task overrides for quick work, with the task names of models.tasks. | |
models.depth.deep | object | none | Task overrides for deep work, with the task names of models.tasks. | |
models.risk | object | none | Overrides by risk class. | |
models.risk.critical | object | none | Task 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.
| Setting | Type | Allowed values | Default | What it does, and when to change it |
|---|---|---|---|---|
review.depth | string | low, medium, high, xhigh | high | How 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.sensitiveDepth | string | low, medium, high, xhigh | high | How 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.reviewer | string | none | The 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.soloOwner | boolean | none | Ignored. The project bot approves its own pull requests; remove the key. | |
review.sensitivePaths | array of string | none | Paths 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.
| Setting | Type | Allowed values | Default | What it does, and when to change it |
|---|---|---|---|---|
merge.allowed | boolean | false | Lets the bot merge a reviewed pull request. Off by default: turn it on when you want changes to land without you. | |
merge.requiredChecks | array of string | none | Checks 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.mode | string | strict, disjoint | strict | strict: 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.autoMergeMax | string | routine, elevated | elevated | The highest risk class the bot merges, routine or elevated. Critical is always yours. Lower it to routine to keep elevated changes for yourself. |
merge.additivePaths | array of string | none | Paths that a pull request and the default branch may both change in disjoint mode, such as a changelog. Add append-only files. | |
merge.ownerOnlyPaths | array of string | built in | Paths 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.
| Setting | Type | Allowed values | Default | What it does, and when to change it |
|---|---|---|---|---|
cleanup.daysKept | integer | 0 to 365 | 7 | Days a finished work folder stays on disk after its last pull request closed. Raise it to keep folders longer for inspection. |
cleanup.diskFloorGB | integer | 1 to 100000 | 20 | Free 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.
supervised | automatic | |
|---|---|---|
| Worker | A 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. |
| Questions | Every 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 worker | issuesPerWorker | always 1 |
| Before each start | the usual checks | the usual checks, and once a day a probe worker that proves the bounds hold |
| When a check fails | A 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.
| Setting | Type | Default | What it does, and when to change it |
|---|---|---|---|
maxWorkers | "auto", or 1 to 64 | "auto": the performance cores | The most workers at once on the computer. Lower it to keep the computer usable for other work. |
projects.<project>.maxWorkers | 1 to 64 | no cap | The most workers of one project at once. Set it so one project cannot hold every slot. |
memory.reservePct | percent | 10 | Memory kept free. Raise it if the computer swaps while workers run. |
usage.enabled | false or "auto" | "auto": on when cswap answers | false turns the account-usage check off. |
usage.weeklyReservePct | percent | 10 | The 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.
| Automation | Runs | Does | Settings it reads |
|---|---|---|---|
| pick | every 30 minutes, when work is waiting | Starts the next labeled issues, within the machine's limits. | startLabel, issues.labels, issuesPerWorker, riskyPaths, mode |
| catch-up | every 15 minutes, and on each failed check | Finds 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 main | on a failed check | When the default branch fails, tells you, starts a fix and holds every merge until you name the pull request that fixes it. | none |
| reconcile | daily, at the time you choose | Compares what the bot recorded with GitHub and reports each difference. It also files the fix issues from the security alert checks. | stallMinutes, startLabel |
| maintain | weekly, per repository, on the weekday and time you choose | Runs the maintenance pass and proposes a batch of issues to close. Nothing changes before you answer. | none |
| security alert | on each Dependabot alert | Checks 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 |
| cleanup | daily, and a weekly batch you turn on and answer once | Hides 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.