From 2b5a70c6fcb10f7f2bbdd179589a465dfafde911 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 22 Nov 2026 11:03:53 +0100 Subject: [PATCH] Persona K54: name the parsed answer's type (clippy type_complexity) Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/interpret.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/mind-body/src/projection/interpret.rs b/crates/mind-body/src/projection/interpret.rs index 95d9848..c88f437 100644 --- a/crates/mind-body/src/projection/interpret.rs +++ b/crates/mind-body/src/projection/interpret.rs @@ -732,7 +732,9 @@ pub(crate) fn decide_in(model: &dyn Model, request_id: &str, packet: &Packet, na // failed. A turn fails only when no answer parsed: a model error on the first call, or no answer the contract. let mut retried: Option = None; let mut asking = prompt.clone(); - let mut parsed_first: Option<(Answer, Vec, Vec, Vec)> = None; + // An answer that parsed, with its resolved gaps, its hold faults and its drafts accounted for nowhere. + type Parsed = (Answer, Vec, Vec, Vec); + let mut parsed_first: Option = None; let (parsed, gaps, unopened, undecided) = loop { let answer = match model.ask(request_id, &tuning.interpreter.model, &asking, Some(SPEECH_SCHEMA)) { Ok(answer) => answer,