Skip to content

Policies

Baseline Protocol treats policies as runtime primitives. Policies are not configuration files reviewed once — they are enforced on every task execution.

A policy defines:

  • Scope — Which tasks, agents, or domains the policy applies to
  • Rules — Conditions that must be met for execution to proceed
  • Actions — What happens when a rule is violated (block, escalate, log)
  • Audit level — How much detail to record (full or summary)
governance: {
auditLevel: 'full',
requireApproval: ['critical'],
restricted: [],
}
  • full — Records every decision, evaluation, and intermediate state
  • summary — Records outcomes and final decisions only

An array of task priority levels that require human approval before autonomous execution. Tasks at these levels are set to blocked status until approved via the API or MCP.

Operations that are never allowed autonomously, regardless of agent trust score.

  1. Task is submitted to the orchestrator
  2. Orchestrator evaluates applicable policies
  3. If policies require approval, task enters blocked status
  4. Human approves via POST /api/tasks/{id}/approve or MCP tool
  5. Task proceeds through the 4-step execution flow
  6. All policy evaluations are recorded in the audit trail
  • Evidence — How evidence bundles are produced
  • Compliance — Built-in compliance frameworks