pub struct VerificationAutoRecoveryConfig {
pub auto_execute: bool,
pub in_turn_attempts: u8,
pub cross_turn_turns: u8,
pub default_verifier_override: Option<String>,
pub max_consecutive_failures: u8,
}Expand description
Completion verification and bounded corrective recovery.
Editing remains available while checks are missing. At completion, run missing checks through the normal pipeline. At most one corrective pass per request is allowed; legacy numeric settings remain parseable and may disable or tighten this bound, never expand it.
Fields§
§auto_execute: boolRun missing interactive completion checks through the normal pipeline. Default: true. False disables automatic interactive execution and corrective recovery; headless mandatory verification remains required.
in_turn_attempts: u8Legacy in-turn recovery bound. Zero disables the corrective pass; nonzero values permit at most one pass. Default: 2 for compatibility.
cross_turn_turns: u8Legacy cross-turn recovery bound. Zero disables the corrective pass; nonzero values permit at most one pass per request. Default: 2 for compatibility.
default_verifier_override: Option<String>Explicit verifier command overriding project-marker detection
(e.g. "cargo nextest run -p mycrate"). Must be a standalone verifier
or pure && chain; pipes and ;/|| joins are rejected at use.
max_consecutive_failures: u8Consecutive failed harness auto-verifications before escalation to a manual blocked handoff carrying the failure log. Reset by any success, completed turn, or fresh user input. Default: 3.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VerificationAutoRecoveryConfig
impl<'de> Deserialize<'de> for VerificationAutoRecoveryConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for VerificationAutoRecoveryConfig
impl JsonSchema for VerificationAutoRecoveryConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more