ExecutionPlane.Contracts.AuthorityDecision.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Packet-local Brain contract baseline carried across the lower stack.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.AuthorityDecision.V1{
  approval_profile: String.t(),
  boundary_class: String.t(),
  contract_version: String.t(),
  decision_hash: String.t(),
  decision_id: String.t(),
  egress_profile: String.t(),
  extensions: map(),
  policy_version: String.t(),
  request_id: String.t(),
  resource_profile: String.t(),
  tenant_id: String.t(),
  trust_profile: String.t(),
  workspace_profile: String.t()
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(decision)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()