Skip to main content

apply_patch_paths

Function apply_patch_paths 

Source
pub fn apply_patch_paths(args: &Value) -> Vec<String>
Expand description

Extract file paths from a Codex apply_patch hook payload. Codex can expose patch targets as a structured files list or as freeform patch text; collect both so the guard can deny unknown or out-of-bounds patches before they run.