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

Copy Markdown View Source

Owner-repo adapter selection rule for Phase 6 lower simulation.

Selection is through configured owner registries or install-time profile binding, never through public request-time simulation selectors.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.AdapterSelectionPolicy.V1{
  config_key: String.t(),
  contract_version: String.t(),
  default_value_when_unset: String.t(),
  fail_closed_action_when_misconfigured: String.t(),
  owner_repo: String.t(),
  selection_surface: String.t()
}

Functions

contract_version()

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

dump(policy)

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

new(value)

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

new!(value)

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