pub fn safe_path(value: &str) -> Option<String>Expand description
A path safe to render as one handoff bullet, or None.
Tool-result payloads are untrusted: a files_modified entry containing a newline can open
a real ## Section heading, and a long one can shove the rest of the document out of the
budget. Rendering is one bullet per path, so anything that could break the line is refused
outright rather than escaped.