codeperf.io
Writing / Notebook

Why I’m building orca-offload

The problem that got me working on orca-offload shows up when it’s time to leave the office or a coworking space. I need to pack up my laptop, and the coding task I have open in Orca is still halfway through. I own a machine at home that could pick it up. What I want to do before I walk out is choose the workspace, hand it to that machine, and close the lid once I know the handoff has worked.

That’s the reason I’m building orca-offload as a personal project. The interesting part turned out to be deciding exactly what “pick it up” should mean. Project on GitHub (opens new window).

# What would I need if I took over the keyboard?

Suppose I’ve staged a change to a parser. There’s also an unstaged edit in the same file and a small, untracked input that reproduces the problem. The agent has already tried one approach and knows which test to run next. If I go home and check out the branch, I get the last commit. I still have to reconstruct the experiment.

I want the destination to preserve the distinction I can see with git diff --cached and git diff. I also want to choose whether that input file goes along. The plugin restores the Git changes and the files I select. Before it closes the source terminal, it asks the agent to stop at a safe point and write a checkpoint with the goal, the changes, the tests, the open questions and the next action. That last item is what I’d want at the top of a handoff note from another engineer. Handoff implementation (opens new window).

# What happens before I close the lid?

From Orca Mobile I can preview the transfer, see which files will travel, and check the destination. The home server needs its own signed-in copy of the agent I’m using. If I’m running Claude Code on the laptop, the plugin checks Claude Code on the server before asking the local session to stop. The same applies to Codex.

Once I start the handoff, the laptop needs to stay awake long enough to finish its part. The server restores the worktree and starts a fresh conversation from the checkpoint. The original conversation stays on the laptop. The thing I can continue at home is the task, with its working files and an explicit next step. Mobile workflow (opens new window) · v0.3.0 release (opens new window).

# How do I know the agent picked it up?

A successful file transfer tells me the code arrived. Seeing a terminal open tells me the agent launched. I wanted a check for the bit I actually care about when I’m about to leave. Did the agent read the handoff and act on it in the right worktree?

The live rehearsal gives each source agent a different value and one small next action. After the handoff, the destination agent writes that value into a new receipt file. The verifier reads each receipt on the server, matches it to the expected workspace and checks that the file is absent on the laptop. Two workspaces with swapped receipts fail the test, even if both transfers and both launches succeeded. Live continuation test (opens new window).

That’s my yardstick for this plugin. When it’s time to leave, I want to be able to open the workspace on my home server and see that the next thing I asked for is already happening.