Skip to main content

Module harness_loop

Module harness_loop 

Source
Expand description

Policy-oriented attempt orchestration.

The four independent axes are explicit: AttemptBody runs work, AttemptJudge evaluates it, CarryPolicy prepares the next attempt, and StopPolicy bounds the loop. Runtime health and quality verdict are kept as separate fields in AttemptOutcome.

Structs§

AttemptBodyContext
AttemptLoop
AttemptOutcome
AttemptRequest
CarryContext
ContinueSession
Default carry: stable session + unchanged goal + feedback as context.
FreshWithDigest
FreshWithFeedback
Explicit isolation: a new session and goal-appended feedback after attempt 1.
HybridJudge
JudgeContext
JudgeResult
LlmEvalJudge
PreparedAttempt
RuntimeAttemptBody
Adapts RuntimeRunner to the body policy slot.
StopPolicy
VerdictFnJudge

Enums§

AttemptBodyEvent
AttemptLoopEvent
AttemptOutcomeKind

Traits§

AttemptBody
AttemptJudge
CarryPolicy

Type Aliases§

AttemptBodyStream
AttemptLoopStream
DigestFn
DigestFuture
PassHook
PassHookFuture
VerdictFn