pub fn extract_imperative_directives(diff: &str) -> Vec<String>Expand description
Extract imperative user directives from added lines in a unified diff.
This is a conservative parser for the binary-enforced directive contract. It only recognizes clear imperative shapes and approval words, while skipping code fences and blockquotes to avoid false positives.