test_b_only_the_resumed_sessions_restored_shell_is_closed asserted that a pane whose directory was removed comes back in $HOME. That is herdr 0.9.1; herdr 0.9.3 keeps the old path. The cwd check now takes either, with a note on which version does what; closing never looked at the cwd. herdr_restore.py's docstring said the same "$HOME when that directory is gone" and now names both versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCGpJXhSZasJLU38ksDghe