Skip to main content

Module interaction

Module interaction 

Source
Expand description

TurnInteraction port — the single host↔driver interaction boundary during a turn (batch decisions and steering injection). When it fires is execution-stack policy, so the contract lives with its only consumer (the driver) rather than in the kernel.

One port with default no-ops replaces per-entry callback channels: entry signatures never grow interaction parameters, and new interactions (progress, per-call approval) arrive as new default methods without breaking third-party implementors. The driver consumes exactly one of these per turn via TurnRunOptions.interaction (config); the noop default is crate::config::NoopInteraction, which stays with the config axes.

Enums§

BatchDecision
The driver’s action for a tool-use batch.

Traits§

TurnInteraction
Host observations and decisions while a turn is in flight.