pub fn extract_files_from_content(content: &str) -> Vec<(PathBuf, String)>Expand description
Parse ## File: <path> / ### \sections from LLM output into a list of(relative_path, body)` pairs, without touching the filesystem.
Why: The workflow engine must be able to materialize code-phase output to
disk BETWEEN phases so the QA phase can run tests against it. Keeping the
parse step pure makes it testable and reusable.
What: Scans line-by-line for ## File: <path>, ### File: <path>, or
## \path`/### `path`markdown headers, then captures the next fenced code block as the file body. Empty / unterminated blocks are skipped. ReturnsVec<(PathBuf, String)>in the order they appear. Test:extract_files_from_content_parses_multiple_filesasserts two files are returned from a document with two## File:` sections.