Skip to content

feat: a thread moves with what it had going - #976

Merged
badcuban merged 1 commit into
mainfrom
feat/move-step4a
Nov 17, 2026
Merged

badcuban merged 1 commit into
mainfrom
feat/move-step4a

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

A thread with a goal, check-backs, PR auto-fix or auto-merge, queued messages or a plan waiting couldn't move to another computer, and neither could a General Chats thread. Those are often the threads you most want to keep going when you shut a machine down.

Now they move, and what they had going comes along. Design: docs/design/fleet.md, Part 3e, planned by Fable and reviewed before building.

  • Goal: carried. One that was working picks up on the other computer once the agent has the conversation. One you paused arrives paused. A finished goal stays finished. A goal with a token budget going to Claude, which can't keep one, arrives paused and says why.
  • Check-backs: the arrival message tells the agent what it had planned and when, and it sets them again.
  • PR auto-fix and auto-merge:
    • They stop here at the freeze. The watcher and the move share a per-thread gate, so no merge acts for a moving thread, even one already under way.
    • They arrive on there with fresh baselines, or off with the reason (a renamed branch, no upstream).
    • With no GitHub sign-in there, they wait until you sign in.
  • General Chats: carried with the chat's files, up to 100 MB, into General chats there.
  • Queued messages: your own come along and are sent there in order. Ones from a scheduled task, another thread or an assistant still block the move, with words.
  • Plans: carried, newest 100, with Implement and Dismiss there. Older ones are named, not dropped.
  • A move that doesn't happen (cancelled, blocked, dropped) puts back what it stopped. That's recorded durably and finished after a restart.

Compatibility: new peer capabilities (moveThreadState, moveGeneralChats) and a server capability (threadMoveState). Older targets get a refusal that names the update needed. New fields are optional, no closed enum was extended, and the General Chats manifest is only ever sent to a peer that takes it.

Migration: 117 adds two nullable columns; no row is rewritten.

Checks

  • Outside review of the plan (6 findings), the server diff (8 findings, 6 fixed and 1 kept with reasons) and the web diff (3 findings); all fixed.
  • Live test on two local servers: queued messages carried and sent in order; a General Chats thread with files; PR switches arriving on, and off on a branch rename; put-back after a restart.
  • fmt, lint, typecheck; server 3,999 (replays included), web unit 3,251, web browser 1,092, shared 671, contracts 112, desktop 397.

Not checked:

  • Goals and check-backs live, which need real Claude or Codex turns.
  • Three provider behaviors, each built on the safe side:
    • Claude re-arming a goal on a forked resume;
    • where Claude keeps saved check-backs;
    • Codex taking a goal set mid-turn.

Step 4a of keeping threads going on another computer (docs/design/fleet.md, Part 3e, planned by Fable and reviewed by Sol). A thread with a goal, check-backs, PR auto-fix or auto-merge, your own queued messages, or a plan waiting can now move, and so can a General Chats thread with its files. What was running picks up on the other computer; what can't come along is named, with why. The PR watcher can't act for a thread once it freezes, a move that doesn't happen puts back what it stopped (durably), a finished goal stays finished, and a budgeted goal going to Claude arrives paused.
@badcuban
badcuban enabled auto-merge November 17, 2026 17:52
@vercel

vercel Bot commented Nov 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 17, 2026 5:52pm UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit f68096f Nov 17, 2026
23 of 24 checks passed
@badcuban
badcuban deleted the feat/move-step4a branch November 17, 2026 18:04

This branch was previously deployed

1 inactive deployment
Preview — ae261b10 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant