pub fn plan_is_productive(
messages: &[SharedMessage],
plan: &RolloverPlan,
) -> boolExpand description
Whether plan is worth applying: it must shrink the history estimate by
more than [MIN_SHRINK_TOKENS] and keep every tool call paired as it was.