PtcRunner.Kernel.Result (PtcRunner v0.14.0)

Copy Markdown View Source

A bounded successful Kernel outcome.

value is the workflow's inert, collision-free public return value. A value whose distinct keys or set members become ambiguous at the Kernel boundary is rejected with :public_projection_collision instead of entering this struct. usage is the final resource snapshot, including remaining time, capability calls, capability refusals, subordinate evaluations, protocol errors, memory accounting, and event loss. evaluation_memory is a bounded continuation summary with definition/history counts and byte accounting; workflow locals, raw mission memory, and exact history values are never exposed.

Summary

Types

t()

@type t() :: %PtcRunner.Kernel.Result{
  evaluation_memory: map(),
  usage: map(),
  value: term()
}