fn finalize_digest(parts: Vec<String>) -> Option<String>Expand description
Turns extracted entries into the text sent to the model, or None when there
is no conversation in them. Only [user] and [assistant] entries count as
substance: a window of tool names and errors says what ran, not what the work
is, and the model answers “I have no context” to it.