Skip to content
Français

LoopRoundRecord

import type { LoopRoundRecord } from "@elie-laloum/outpost";
  • roundRequired
    number
    One-based logical round recorded in execution order.
  • phaseRequired
    "complete" | "attempt" | "check"
    Last saved transition: attempt awaits a candidate, check has one, complete has a verification decision.
  • outputOptional
    WorkflowCheckpointValue | undefined
    Encoded candidate output saved before verification when checkpointing is enabled; absent for in-memory-only loops and unfinished attempts.
  • checkOptional
    LoopCheckResult | undefined
    Accepted or rejected verification decision for a completed round, including feedback on rejection.
export interface LoopRoundRecord {
  readonly round: number;
  readonly phase: "attempt" | "check" | "complete";
  readonly output?: WorkflowCheckpointValue;
  readonly check?: LoopCheckResult;
}