pub(crate) fn check_agent_config_write(
store: &Store,
ctx: &RpcContext,
cmd_agent_id: Option<&str>,
working_dir: &Path,
auto_allocate: bool,
) -> Result<(), String>Expand description
Ok if ctx may write cmd_agent_id’s launch files into working_dir: the proven window
anywhere, an agent only its own workspace, an unproven connection nowhere.