Skip to content

orca-move 0.3.0: seamless seat moves (preflight, new windows, re-ask) - #24

Merged
mutlumehmet merged 2 commits into
mainfrom
orca-move-seamless
Nov 19, 2026
Merged

mutlumehmet merged 2 commits into
mainfrom
orca-move-seamless

Conversation

@mutlumehmet

Copy link
Copy Markdown
Owner

Fixes what broke when 22 sessions moved between twin seats on 19 Nov 2026.

  • Locale: ps runs with LC_ALL=C, so lstart matches the pid record's procStart under en_GB (move-all saw only itself).
  • New windows: every move reopens the session in a new Terminal window (osascript do script). Typing into the old tab missed or hit the wrong tab once tty numbers were reused. The self-move helper waits 45 s after the exit and opens a window unless a --resume <id> process already runs.
  • Waiting marks: a session waiting on a question now moves; its note gets ## Re-ask on arrival and after-move asks the same question again. Permission prompts stay behind --force.
  • Preflight: move.py preflight <twin> [--fix] checks login, user MCP servers (settings copied, never logins), project trust and .mcp.json approvals, Chrome keys, and claude mcp list as the twin compared with the source. go and move-all refuse until clean (--skip-preflight).
  • Resume script: --chrome when the old session had it; optional resume_env_file sourced first. Optional after_new_seat runs once per new twin.
  • after-move verifies account, MCP servers and Chrome first; switch-all runs preflight, dry run, one ! line, verify, then self.

Tests: 34 Python (15 new), 5 mod tests, validate passes. Live: 3 throwaway sessions moved workc to workd in new windows and confirmed running there; a waiting one (with previews, --chrome) came back with --chrome and re-asked word for word. Not live yet: a self-move through go, and preflight --fix on a real new seat. The flow image still says "same tab".

🤖 Generated with Claude Code

https://claude.ai/code/session_01CMPCUTAeucPBEbd4bQMrGq

mutlumehmet and others added 2 commits November 19, 2026 17:03
- ps runs with LC_ALL=C: under en_GB, lstart never matched procStart and move-all saw only itself
- every move reopens the session in a new Terminal window, never the old tab (reused ttys)
- self-move helper: 45 s after the exit, opens a window unless --resume <id> already runs
- sessions waiting on a question move; the note gets "Re-ask on arrival" and after-move asks again
- new `move.py preflight <twin> [--fix]`: login, user MCP servers, project trust, Chrome keys,
  MCP health compared with the source; go and move-all refuse until clean (--skip-preflight)
- resume scripts: --chrome when the old session had it, optional resume_env_file sourced first
- optional after_new_seat command, run once per new twin
- after-move verifies account, MCP servers and Chrome first; switch-all orders preflight, dry run,
  one ! line, verify, self

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CMPCUTAeucPBEbd4bQMrGq
@mutlumehmet
mutlumehmet merged commit 53ceda9 into main Nov 19, 2026
2 checks passed
@mutlumehmet
mutlumehmet deleted the orca-move-seamless branch November 19, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant