Let cambium merge green PRs
By default cambium never merges a task PR. A merge queue, auto-merge or a person does, and a PR still unmerged after mergeQueueMinutes goes to q:human.
-
Make sure graft lets agents merge into the base.
graft doctorprintsagents may merge into: <base>. If the base is missing, add it tomergeableBasesin.graft.json(a protected change). -
Make sure the base branch requires the CI check (
graft setup project --required-check <job>). -
In
~/.cambium/config.json, switch to the graph engine and turn merging on:{ "engine": "graph", "merge": "green" }To do this for one repository only, put
"merge": "green"on itsrepos[]entry instead. -
engineis read only at start, so restart:Terminal window oakgreen restart cambium
What to expect
Section titled “What to expect”- A green, conflict-free PR is merged through
graft pr merge --auto, so graft’s merge policy still decides. - A PR behind its base is updated first and merged once its new head is green.
- A red, conflicting or changes-requested PR is sent back for rework, up to
phases.task.maxReworkstimes, then toq:human. - A PR that touches protected paths waits in
q:humanwithwhy:approveuntil a code owner approves it. See Approve protected changes.
Why this replaces a merge queue: Merging and the red base. Node by node: cambium graphs.