pub fn synthetic_added_lines_diff(body: &str, target: &str) -> StringExpand description
Build a minimal unified diff from an in-memory prompt body.
This is used for binary-owned prompt sources that do not directly mutate the session document, such as harness prompt bodies and active queue items.