pub struct GoalGather {
pub claims: Vec<ToolClaim>,
pub proposal_id: Option<String>,
pub plan: Option<PlanCheckRequest>,
pub transaction_proposal: Option<ActionProposal>,
pub state_keys: Vec<String>,
pub command_exits: HashMap<String, i32>,
pub model_verdicts: HashMap<String, bool>,
}Expand description
What to project into a GoalInputs for one evaluation. The
runtime-owned signals (claims, plan, transaction_proposal,
state_keys) are gathered by Runtime::gather_goal_inputs; the
caller-owned checks (command_exits, model_verdicts) are passed through
verbatim, since running a shell check or a model judge belongs to the
executor, not the runtime (the same injected split the driver uses).
Fields§
§claims: Vec<ToolClaim>The model’s tool claims for this iteration (from its tool_calls / IR), cross-checked against the event-log receipts. Empty ⇒ nothing claimed, which is vacuously grounded.
proposal_id: Option<String>Scope the receipt check to one proposal’s events.
plan: Option<PlanCheckRequest>A STRIPS plan to forward-check (drives plan_achieved).
transaction_proposal: Option<ActionProposal>A proposal to check for transactional consistency against current state
(drives state_consistent — the state-drift guard).
state_keys: Vec<String>State keys to include in the snapshot for StatePredicate conditions;
empty ⇒ the whole state.
command_exits: HashMap<String, i32>Exit codes of command checks the caller already ran on the substrate.
model_verdicts: HashMap<String, bool>Verdicts of model judges the caller already gathered.
Trait Implementations§
Source§impl Clone for GoalGather
impl Clone for GoalGather
Source§impl Debug for GoalGather
impl Debug for GoalGather
Auto Trait Implementations§
impl Freeze for GoalGather
impl RefUnwindSafe for GoalGather
impl Send for GoalGather
impl Sync for GoalGather
impl Unpin for GoalGather
impl UnsafeUnpin for GoalGather
impl UnwindSafe for GoalGather
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more