//! Small helpers for **prompt-sized** text derived from structured reports (Phase 2 optional).
/// Truncate a UTF-8 string to at most `max_bytes` **UTF-8 bytes**, never splitting a codepoint.
/// If truncated, appends an ASCII ellipsis marker and a short suffix explaining truncation.