Backplane.AgentRuntime.Policy (backplane_agent_runtime v1.6.0)

Copy Markdown

Runtime policy enforcement for Backplane agent runtime.

Validates caller, role, resource, task, tool, and approval authority.

Summary

Types

authority()

@type authority() :: %{required(String.t() | atom()) => term()}

Functions

authorize_tool(authority, descriptor, invocation)

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