fn agent_state_path(instance_file: &Path, agent: &str) -> PathBuf
A subagent’s state file: the instance’s, with the agent in its name (<instance>.agent-<agent>.cwd), so it sorts and sweeps with it.
<instance>.agent-<agent>.cwd