pub fn condense_error_echo(text: &str) -> StringExpand description
Bound model-facing error echoes of text the caller already sent (old_str, patch context, snippets). Threshold is deliberately high: typical edit mismatches are mid-string whitespace/indent issues, so most real payloads must stay intact. Only pathological multi-KB pastes are reduced to a head/tail.