Upgrading from ask to review
From 0.14.0 the verdict ask is called review, everywhere OpenMoat shows or stores it. Nothing else changes: the same calls need a person’s approval, exit code 3 still means an unresolved review, and every agent still receives its own protocol’s word (Claude Code still gets "ask", for example).
| Where | Before 0.14.0 | From 0.14.0 |
|---|---|---|
| Policy rule list | ask: |
review: (ask: still read) |
| A default verdict | "*": ask |
"*": review (ask still read) |
| The reason the agent shows | moat: ask [git-internals] — … |
moat: review [git-internals] — … |
openmoat |
… 1 denied, 1 asked |
… 1 denied, 1 reviewed |
openmoat policy check |
❓ ask |
❓ review (? review from 0.17.0) |
openmoat report |
asks per active hour, top asks | reviews per active hour, top reviews |
--format json |
"verdict": "ask", asked, top_asks |
"verdict": "review", reviewed, top_reviews |
| SDKs | Verdict::Ask, "ask" |
Verdict::Review, "review" ("ask" still read) |
-
See whether your policy uses the old name
Terminal window openmoat policy lintA policy that says
ask:still loads and decides exactly as before. Lint prints awarning:line:`ask:` is the old name of `review:` and is read as it; `openmoat policy upgrade` renames it(and the same for anaskdefault). -
Look at the change first
Terminal window openmoat policy upgrade --dry-runThe diff shows the rename, together with anything else the new default policy adds, such as
card-egress(Card numbers sent out). It changes nothing. -
Apply it, in your own terminal
Terminal window openmoat policy upgradeIt shows the diff, asks before writing, keeps a backup and re-pins the lock. Lines you changed yourself are never touched.
openmoat policy upgrade --undoputs the previous policy back. -
Update scripts that read OpenMoat’s output
JSON output says
"review", and the keysaskedandtop_asksare nowreviewedandtop_reviews. A script that matchesmoat: ask [in an agent’s transcript, or❓ askin text output, needs the new words. -
Check repository policies and packs
A repository’s
.moat/policy.yamlor a policy pack that saysask:keeps working. Rename it toreview:when you next change it, and runopenmoat policy linton the file. A signed pack or repository policy must be signed again after the edit.
The audit log
Section titled “The audit log”Audit rows written before 0.14.0 keep ask (the hash chain covers them), are shown as review and still verify. The audit database moves to schema version 8, which an older OpenMoat refuses to open: to go back to an earlier release after upgrading, you need a copy of ~/.moat/audit.db made before the upgrade.
Library crates
Section titled “Library crates”openmoat-core, openmoat-hosts and openmoat-sdk rename Verdict::Ask to Verdict::Review and the items named after it, with no deprecated aliases. The full list is in the CHANGELOG. Release notes: 0.14.0. Every other upgrade step: Upgrade.