Repository navigation
Conversation
This was referenced Nov 9, 2026
Jinwoo-H
added a commit
that referenced
this pull request
Nov 9, 2026
worker-show, the worker list and worker-read now report a remote chat worker's state and transcript, read on its server the same way a local chat worker's are, instead of saying reads are not supported.
Jinwoo-H
force-pushed
the
jinwoo/orch-stage2-remote-chat-workers
branch
from
November 9, 2026 08:49
063a3df to
ba767ed
Compare
Jinwoo-H
force-pushed
the
jinwoo/orch-stage2-remote-chat-reuse
branch
from
November 9, 2026 08:49
f72d454 to
67ac363
Compare
Contributor
Author
|
Closing in favour of a different design. A worker started on a paired server will become an ordinary worker owned by that server, and the coordinator's computer forwards commands and records results. Follow-ups, chat workers and reads then use the same code as local workers, instead of a separate remote path. The test scenarios from this PR carry over to that work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
A chat worker started on another computer couldn't be checked from home:
worker-showandworker-readsaid reading it wasn't supported yet. Now they show its state and its transcript, the same way they do for a chat worker on your own computer.Stacked on #40151 (base branch
jinwoo/orch-stage2-remote-chat-workers).What Changed
Before (A is paired to server devB, which runs chat worker
ctx_W):After:
Mechanism (server side):
federationShowandfederationFleetSnapshotreport the chat's session verdict through the same lineage walk a local chat worker uses (observeStructuredWorkerHold, taken out ofinspectSessionWorkerunchanged).federationReadOutputreads the chat's transcript withreadStructuredWorkerOutput. That function now takes the worker's identity when no local Dispatch row names it. Reads of a stored archive after release work as before.federationRead(the older terminal-screen read) refuses a chat plainly. A chat has no terminal, so its transcript is read withworker-read.Why
PR #40151 made remote chat workers start and report, but left reads saying they weren't supported. This finishes that, reusing the local chat worker's observation and transcript reader instead of adding remote copies.
Linked Issue
Part of the cross-machine orchestration plan (gap W2, reads).
Visual Proof
N/A: no UI change. CLI before/after is above.
Testing
--onandmode: structured. While it waited,worker-showsaidliveness=liveandworker-readreturned its transcript (the brief, then its reply). After its report andworker-release,worker-showsaidliveness=exited. A second worker'sworker-stopclosed its chat, andworker-showthen saidexited.remote-chat-worker-attach.test.tsnow checks that show, fleet snapshot and read-output return the chat's live state and transcript, that the terminal-screen read is refused, and that show saysexitedafter stop. These assertions fail without this change.pnpm tc:node, the orchestration suites (1185 tests), the changed-code quality gate andpnpm check:changed(25/25) pass. Codex adversarial review of this commit and of #40151's protocol-gate commit: ship, no findings.Found while testing, not changed here: after a home re-pairs with a server,
worker-list --include-remoteshows every worker on that server ashost_unavailable. The server's fleet snapshot fails the whole batch when one Dispatch belongs to the earlier pairing. Main does the same; I'll fix it separately.Risk
Level: Low
Review
Self-review plus adversarial Codex review; verdict ship.
Agent skill upstream boundary
Checklist
pnpm check:changedpass locally; CI covers the rest