Machine policy
A machine's local policy decides what Andon may do on it. The board can ask for anything; the machine's policy is the last word. Change it on the machine with andon policy.
Subcommands
Section titled “Subcommands”The most a run may use. A run that asks for more runs in this mode.
Whether this machine merges a reviewed pull request when its team turns auto merge on. Off: reviewed PRs wait as “Ready to merge”.
Whether runs may clone repositories and start new ones from a folder.
Whether replies and decisions from the board are typed into this machine’s sessions.
Which agent CLIs may run here. A run for another one fails with a policy error.
Whether the agent installs the board’s signed build once a day. Off: update with andon update.
Presets
Section titled “Presets”andon policy preset locked|standard|open sets four keys at once and leaves every other key as it is.
| Preset | recipes.mode |
allowAutoMerge |
allowNewRepo |
terminalInput |
|---|---|---|---|---|
locked |
approve |
false |
false |
false |
standard |
approve |
true |
true |
true |
open |
trust_org |
true |
true |
true |
See the policy
Section titled “See the policy”Prints each part of the policy as a row: ✓ allows, ~ limits, ✗ blocks, with the command that changes it.
Prints the whole policy object as JSON.
On the machine
Section titled “On the machine”# approve a recipe at its current hashandon policy approve <recipe-slug>