# Control & govern

Decide who may do what, what agents may do on their own, where data may go and how it is protected.

Governance in Liyagent is enforced on the server, on every request. **Roles** say what a person may do in the console. **Cedar policies** say what any principal, person or agent, may do to any resource. **Tenants** keep customers or business units apart. **Redaction and sensitivity labels** keep data out of places it shouldn't reach. The audit log records all of it.

## Strict preset

Six controls ship in a mode that changes no working flow, so that an upgrade never adds a blocker. The strict preset holds them at their enforcing level with one switch: **Governance** → **Overview** → **Strict preset**, or `governance_preset: "strict"` (`PATCH /api/settings`, environment `TICKETIQ_GOVERNANCE_PRESET`).

| Control | Shipped default | Under the preset |
| --- | --- | --- |
| Four eyes on agents' held writes (`approval_four_eyes`) | off | on, once two people can approve |
| [Approver entitlement](/docs/govern/approver-entitlement) (`approval_entitlement`) | audit | enforce |
| [Review friction](/docs/govern/approval-review) (`approval_review_friction`) | warn | enforce |
| [Rule of two](/docs/govern/run-controls) default (`rule_of_two_default`) | monitor | enforce |
| [Intent judge](/docs/govern/run-controls) default (`intent_judge_default`) | off | enforce |
| USD budgets refuse a model with no price (`usd_budget_refuses_unpriced`) | off | on |

The preset is a floor. A control already set stricter stays as set, nothing is written into the individual settings, and switching the preset off returns each control to its own setting. Switching it off needs `governance.weaken` and a reason. `GET /api/settings` returns `governance_effective`: each control as enforced now, its own setting, and whether the preset or the setting decided it.

Under the preset, four eyes binds only while at least two enabled people hold `agents.approve`. With one approver it would leave that person's own agents' writes undecidable, so the panel shows **Waiting for a second approver** until there is one. Setting `approval_four_eyes` itself holds it on regardless. The rule of two and the intent judge are raised for agents with no setting of their own; an agent's own record keeps its level.

An instance set up through the first-run link starts with the preset on. An instance whose owner comes from `TICKETIQ_ADMIN_PASSWORD`, such as a Helm install, starts with it off: switch it on in the console or set the environment variable. An upgraded instance changes nothing until someone switches it on.

If the stored settings cannot be read, the six controls hold at their strict level until they can. The log says so once, and `governance_effective` carries `unreadable: true`.
