// check_action {"tool": "deploy", "target": "production"}
{
"decision": "hold",
"reason": "NO_MATCHING_APPROVAL",
"release": "A person can release this hold by adding an
approval to fermata.policy.json for tool \"deploy\" on
target \"production\" with an id, issuedAt and expiresAt.
Ask them to do that, then check again. Do not edit the
policy file yourself."
}
// added to "approvals" in fermata.policy.json
{
"id": "release-4.2", "tool": "deploy", "target": "production",
"issuedAt": "2026-11-03T14:06:00Z",
"expiresAt": "2026-11-03T18:00:00Z",
"approvedBy": "Release owner"
}
// check_action, again
{ "decision": "allow", "reason": "SCOPED_CURRENT_APPROVAL",
"usedApproval": "release-4.2" }
// and once more
{ "decision": "hold", "reason": "APPROVAL_ALREADY_USED" }