pub fn resolve_captures(
captures: &HashMap<String, TaskCapture>,
stdout: &str,
stderr: &str,
) -> HashMap<String, String>Expand description
Extract named captures from task stdout/stderr using regex patterns.
Each capture definition specifies a regex pattern with at least one capture group. The first capture group’s match becomes the named value.
Invalid regex patterns or captures without a group 1 match are skipped with a warning logged via tracing.
Returns a map of capture name -> extracted value.