Jidoka.Runtime.TurnRunner (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

Executes one Jidoka.Turn.Plan through the Runic turn spine.

This module is the small runtime kernel under Jidoka.Harness. It owns the loop mechanics, checkpoint policy, and effect interpretation, but not session storage, replay, eval cases, or approval queues.

Summary

Types

run_result()

@type run_result() ::
  {:ok, Jidoka.Turn.Result.t()}
  | {:hibernate, Jidoka.Runtime.AgentSnapshot.t()}
  | {:error, term()}

Functions

resume(snapshot, capabilities, opts \\ [])

run(plan, request, capabilities, opts \\ [])