pub(super) fn derive_session_id(path: &Path) -> StringExpand description
Session id = the name of the directory containing subagents/. Workflow
member files are nested (subagents/workflows/<wf>/agent-*.jsonl), so walk
ancestors instead of assuming a fixed depth.