fn prune_stale_shell_integration(current_base: PathBuf)
Removes the ~/.agentmux/shell/<hash> folders of instances whose data dir is gone. In the background: it reads every instance’s folder listing. See shellintegration_prune.
~/.agentmux/shell/<hash>
shellintegration_prune