Backplane.AgentRuntime.Approval (backplane_agent_runtime v1.6.0)

Copy Markdown

Approval contracts for Backplane agent runtime.

A decision must bind the approval identity, resolver identity, exact tool, arguments digest, and tool revision. The model cannot self-approve.

Summary

Functions

decide(approval, decision)

@spec decide(map(), map()) ::
  {:ok, :approved | :denied} | {:error, Backplane.AgentRuntime.Error.t()}