Skip to content

UX wave: a side thread for a session on another machine #686

Open

Description

@SSFSKIM

What

A side thread for a session on another machine: a Review or document comment sent "not to main", and /btw's "Continue as a side thread", work for a session MAWS runs on another machine as they do here, beside the chat. Today the destination is declared unavailable there ("Not on another machine yet").

Cut out of the UX wave's U5b on 2026-11-15 (UTC) by its adversarial review: offering side.thread.open over the machine link as the code stands would start a fork whose Side transcript never connects, because remote lanes are acquired only from main session and agent tabs, and a remote fork opens a main tab.

Ruled by the architect (2026-11-15 UTC), to be written into this landing's document with that date

The rule "only a tab holds a session open" is generalised to "a surface that shows a session holds it open", with four bounds:

  1. the Side pane holds at most the one thread it shows;
  2. it enters remote interest the same way a tab does, through the same function, not a parallel path;
  3. it lets go when the pane closes, switches threads, or its window closes, and a test shows the remote interest released in each case;
  4. a remote thread shown in both a tab and the Side pane is held once, and is still held after either one closes.

Known from U5b's document and review (start here)

  • The side thread's handler ignores the caller's origin: offered as is, another machine's caller would start a fork with no ceiling check. It needs its own branch with the check on that path, membership in the forks' set of the endpoint's authorizer, and an input that takes no screenshot path.
  • Owners only, as Fork is.
  • The window half: adoption of a child on another machine, and the Side pane drawing a thread whose session is on another machine, have no path today.
  • A side thread on another machine carries no screenshot; the card says so before the send.
  • One command cannot be both declared unavailable and offered, so /btw's promotion follows the same offer.

Order

After U5b's first pull request (ticket 590). Needs its own execution document, an adversarial review, and a panel review (an offer over the link that starts a fork).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions