pub fn system_prompt_path(
compose: &Compose,
h: AgentHandle<'_>,
) -> Option<PathBuf>Expand description
Resolve the absolute path that SYSTEM_PROMPT_PATH will point at.
Nonerole_prompt →None(env line renders as blank).- Single source file →
<root>/<source>(back-compat, no concat file is written — the operator’s source is the prompt). - List form → the materialized concat path under
<root>/state/role_prompts/<project>-<agent>.md. The file at that path is produced bywrite_role_prompt_concat; this helper is pure and only computes the destination.