pub fn extract_error_context(output: &str, max_lines: usize) -> Option<String>
Extract error context from output lines around a failure. Scans for common failure indicators and returns surrounding context.