Skip to main content

load_workspace_prompt_file

Function load_workspace_prompt_file 

Source
pub fn load_workspace_prompt_file(
    workspace_root: &Path,
    role: &str,
    relative_path: &str,
) -> Result<String, SubagentRoleError>
Expand description

Loads a workspace-relative prompt_file safely, enforcing containment under workspace_root and MAX_ROLE_PROMPT_FILE_BYTES.