pub fn outermost_app(exe: &Path) -> Option<PathBuf>
The .app srv at exe belongs to, by the bundle layout: srv runs in a helper app nested in AgentMux.app/Contents/Helpers/ (runtime_mode::app_bundle_of).
.app
exe
AgentMux.app/Contents/Helpers/
runtime_mode::app_bundle_of