Review findings on #126144 (independent review, all minor):
- pty_session.close_other_sessions closed a sibling tab's PTY under it without
closing its websocket: two tabs sharing one attach token on different
profiles left tab A silent until its next keystroke returned 1013. Close the
displaced viewer with the documented 4409 before closing the session. Still
closes attached siblings (skipping them would reopen the #125287 lease hole
via the old handler's finally: detach).
- openNewSessionTile paired projectProfile() with $newChatConnectionId — the
source captured with a stale new-chat pin — so a pin made on another
connection produced the right profile on the wrong host. Build the route
from the active source (resolveActiveSourceOwnerRoute) for the
project-derived profile.
- windows.test.ts: restore the no-parentSessionId case asserting the
viewed-profile fallback alongside the parent-routed case.