> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clawcontrol.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Approvals and Governance

This page documents policy enforcement behavior for protected actions.

## Governor Policy Model

Policies define:

* risk level (`safe`, `caution`, `danger`)
* confirm mode (`NONE`, `CONFIRM`, `WO_CODE`)
* approval requirement and approval type

## Enforcement Paths

Server-side enforcement:

* `withGovernor()` for approval + typed confirm gates
* `enforceActionPolicy()` for typed-confirm-only actions
* `enforceGovernor()` when a route cannot use the wrapper pattern

## Approval Lifecycle

Approvals are persisted with statuses:

* `pending`
* `approved`
* `rejected`

UI supports individual and batch approval decisions.

## Typical Error Patterns

Protected route failures return structured errors such as:

* `APPROVAL_REQUIRED`
* `APPROVAL_PENDING`
* `APPROVAL_REJECTED`
* `TYPED_CONFIRM_REQUIRED`
* `TYPED_CONFIRM_INVALID`

## Last updated

2026-02-13

## Related pages

* [Approval and Typed Confirm Model](/security/approvals-typed-confirm)
* [Work Orders and Operations](/features/work-orders-operations)
* [Work Orders, Operations, and Receipts (API)](/api/work-orders-operations-receipts)
