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

# Standing Orders (Governance)

> How standing orders function as governance policy in BossMode — conflict resolution, inheritance, and lifecycle management.

<Warning>🚧 Expanding soon — full Standing Orders governance documentation is in progress.</Warning>

## Standing orders as governance

Standing orders are covered in the [Getting Started guide](/standing-orders) from a usage perspective. This page covers the governance layer: how orders are evaluated, how conflicts are resolved, and how the Guardian enforces them.

## Order evaluation

On every directive execution, the Guardian evaluates:

1. Is there an active standing order that covers this action?
2. Does the action fall within the allowed scope?
3. Does the action exceed any thresholds defined in active orders?
4. If `requiresApproval: true`, is there an existing approval for this specific action?

If any check fails, the move is queued for approval rather than executed.

## Conflict resolution

When two standing orders conflict (one permits, one requires approval), the more restrictive order wins. The conflict is logged and surfaced in the morning brief.

```json theme={null}
{
  "conflict": {
    "orderId1": "ord_abc123",
    "orderId2": "ord_def456",
    "resolution": "most-restrictive",
    "note": "Order ord_def456 requires approval for email sends; ord_abc123 permits them. Approval required."
  }
}
```

## Order priority

Orders have three priority levels that affect escalation urgency, not restriction level:

* `"high"` — Violations trigger immediate escalation (Slack, email, or both)
* `"medium"` — Violations appear in the next morning brief
* `"low"` — Violations are logged but not escalated proactively

## Order lifecycle

| State      | Description                                   |
| ---------- | --------------------------------------------- |
| `active`   | Currently enforced by Guardian                |
| `paused`   | Exists but not enforced (useful during setup) |
| `expired`  | Past `expiresAt` date — no longer enforced    |
| `archived` | Manually archived — preserved in history      |

## Audit trail

Every standing order evaluation is logged:

```bash theme={null}
curl -sH "x-bossmode-token: $BOSSMODE_API_TOKEN" \
  "https://bossmode.ing/api/pro/audit?type=standing-order-eval&limit=50" | jq
```

This returns every instance where a standing order was evaluated, whether it permitted or blocked execution, and what happened next.
