Skip to main content

parse_surface_paths

Function parse_surface_paths 

Source
pub fn parse_surface_paths(surface_text: &str) -> Vec<String>
Expand description

Parse repo-relative file paths from a rendered surface — the PRODUCTION format: groups headed by an uppercased component line, a blank line, then the group’s path line (<path> or <path> [<sub>]), then blank-line-separated <kind> <name> entry blocks. Order preserved, deduped. This is the harness’s file-selection oracle for the scc-full structural section: selection comes from the rendered surface (task PPR + lexical), NEVER from ground-truth task.files.