Spectre.Server.GAM.Managed.Approval behaviour (Spectre v0.4.0)

Copy Markdown View Source

Transport-independent external consent for Managed GAM.

The configured human Principal, Ed25519 key and approval mandate identify an approver. This trust satisfies consent only; it grants no execution authority. Transport adapters implement send_message/2. UI acknowledgements and decisions enter through the AgentServer's authenticated consumer, never model output.

Summary

Callbacks

send_message(map, keyword)

@callback send_message(
  map(),
  keyword()
) :: {:ok, term()} | {:error, term()}