Spectre.Invocation.Receipt (Spectre v0.3.0)

Copy Markdown View Source

Correlated internal receipt returned to an Agent Instance mailbox.

The receipt fences a worker result to one Instance generation, Run revision, Invocation, and dispatch. It is technical evidence for the actor; it is not a public Turn projection or a provider payload.

Summary

Types

t()

@type t() :: %Spectre.Invocation.Receipt{
  capability: reference(),
  dispatch_id: String.t(),
  generation: String.t(),
  invocation_id: String.t(),
  outcome: Spectre.Runtime.step_result(),
  run_id: String.t(),
  run_revision: non_neg_integer()
}