Skip to main content
Policies are declarative. Each one names the consequential actions it governs, the verifiers it runs, and the verdict every situation maps to, so a latch’s behavior is auditable before it ever fires.

Baseline vs. attached

Every workspace carries an enterprise baseline that sits under every agent and cannot be un-latched: On top of the baseline you attach domain packs per agent. The effective set the PDP evaluates is the union:
Common packs: pci-0 (Cardholder Data Protection), reliability-3 (Human Escalation on Risk), reliability-4 (Fail-Closed Defaults), plus industry families such as healthcare-*, finance-*, and insurance-*. The cookbooks show the industry packs in context.

Attach policies

Policy IDs follow family-index (pci-0, healthcare-2) or custom_<slug> for org-authored packs.

From policy to verifier

A pack starts as policy prose (a regulation, a contract clause, an internal rule) and is crafted into machine-checkable parts:
  1. Extract the conditions. Each obligation in the prose becomes one testable check, a verifier.
  2. Map the verdicts. Decide ahead of time which situations ALLOW, WARN (with a rewrite), BLOCK, or ESCALATE.
  3. Name the actions it governs. The pack latches only onto those consequential actions; everything else passes through untouched.

Anatomy of a policy pack

The verdict-behavior mapping

This is the part enterprises care most about: it makes the latch’s decision legible ahead of time. Each policy exposes its ALLOW / WARN / BLOCK / ESCALATE conditions so reviewers can see exactly when an agent will be stopped.

Baseline behavior by stage (reference deployment)

How the shipped policies decide at each stage:

Custom policies

Packs authored in the console are stored client-side (localStorage: akhara-custom-policies) for design and preview. To make a custom pack enforce at runtime, publish it so the PDP loads it server-side. See the publish flow.

Next: craft verifiers

Author the individual checks your policies run.