Expand description
Response parsing utilities for agent output.
Pure functions for extracting structured data (YAML blocks, PR URLs,
review issues, verification results) from agent text responses.
These are decoupled from the Runner to
keep parsing logic independently testable.
Functions§
- extract_
pr_ number - Extracts the PR number from a GitHub PR URL.
- extract_
pr_ url - Extracts a GitHub PR URL from text.
- extract_
yaml_ block - Extracts a YAML code block from a response string.
- parse_
review_ issues - Parses review issues from the agent’s YAML response.
- parse_
verification_ result - Parses verification results from the agent’s YAML response.