← Schema index / Config Reference
modes schema
Canonical generated docsThis section is generated from
caco config schema --json. The table below preserves the runtime field path, type, required/default markers, and canonical description for every value in this slice.Execution modes — reusable automation policies .
| Field path | Type | Required | Default | Canonical description |
|---|---|---|---|---|
modes | section | optional | Execution modes — reusable automation policies . | |
└ modes.<mode-name> | map | optional | Named mode with description and ordered rules. | |
└ modes.<mode-name>.description | string | optional | Human-readable description. | |
└ modes.<mode-name>.rules | list[map] | optional | Ordered list of rules evaluated top-to-bottom. | |
└ modes.<mode-name>.rules.when | expression | required | Boolean condition (all, any, not, eq, lt, gt, or predicate). | |
└ modes.<mode-name>.rules.then | action | required | Action: spawn, spawn_and_claim, refresh_checkout, notify, noop. | |
└ modes.<mode-name>.rules.cooldown_secs | u64 | optional | Minimum seconds between consecutive firings. | |
└ modes.<mode-name>.rules.max_concurrency | u32 | optional | Skip if this many actions from this rule are in flight. |