Skip to main content

Module loop_runner

Module loop_runner 

Source
Expand description

OODA loop runner that drives repeated observe-orient-decide-act cycles.

LoopRunner owns the runtime resources and pilot history, runs up to max_iterations cycles, and produces a LoopReport summarizing all iterations, halt reason, and receipts.

Structs§

ExternalHaltFlag
Thread-safe flag for requesting an early halt of the running loop.
LoopBudgetReceipt
Budget parameters that governed the loop run.
LoopIterationReport
Detailed report for a single OODA loop iteration.
LoopReceipt
Typed receipt summarizing a complete loop run for auditing and replay.
LoopReport
Top-level report for a complete OODA loop run.
LoopRunner
Stateful OODA loop runner that executes repeated verification cycles.
LoopRunnerResources
Runtime resources required by the loop runner: knowledge runtime, memory store, and Forge store.

Enums§

HaltReason
Reason the OODA loop terminated.

Constants§

LOOP_ITERATION_REPORT_V1_SCHEMA
Schema version string for a single loop iteration report artifact.
LOOP_REPORT_V1_SCHEMA
Schema version string for the full loop report artifact.
PILOT_LOOP_RECEIPT_V1_SCHEMA
Schema version string for the pilot loop receipt artifact.

Functions§

parse_loop_report_boundary
Parses a loop report from a boundary artifact payload.