pub fn added_path_message(path: &str, reason: &str) -> StringExpand description
What: The direct-fix patch-conflict message for a file and a reason.
Why: It names both ways out: select the file, or restore it to HEAD.
In TS you’d write (pseudocode):
const directFixMessage = ({ path, reason }) => `A policy fix needs to change ${path}, ...`;