You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(session): filter by header cwd instead of changing directory encoding
Revert the ~D escape scheme in getDefaultSessionDir and instead fix
cross-project session collision by filtering on the session header's
cwd field in continueRecent and list. This preserves existing session
directory paths during upgrade while preventing sessions from one
project from leaking into another when the directory encoding collides.
- Revert getDefaultSessionDir to original encoding (preserves existing dirs)
- Keep cwd verification in continueRecent (skips mismatched sessions)
- Add cwd filtering in list (excludes sessions from other projects)
- Add regression tests for list cwd filtering and legacy empty-cwd sessions
- Remove injective encoding tests (encoding unchanged from shipped behavior)
0 commit comments