Repository navigation
Sonny: the layout runs on its own thread, so no host call holds up the screen - #492
Merged
Merged
Conversation
…ft is small Every Rex, Herdr and cmux call Sonny makes waited on its CLI with no limit, from the lead's screen loop: a host that stopped answering froze Sonny. They now go through mux::output, which stops the CLI after 10 s. Herdr's ratio is the first pane's share and a swap keeps the shares in place, so a small split above or to the left came out at 65%. It now asks for 0.35 when it swaps. Usage text and comments name cmux beside Rex and Herdr. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT
…e screen A lead's tasks were laid out by blocking multiplexer CLI calls made inside the screen loop: about seven per task start, two or three per state change, and /status re-read places every two seconds. Each Rex call measures about 27 ms, so typing stalled for ~200 ms whenever a task started. mux::Worker owns the Layout on a thread of its own. Jobs run in order; a window naming that a later one follows is skipped; places are read in the background and /status reads the kept copy. What a job has to say comes back to the screen loop on a channel. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT
# Conflicts: # sonny/FEATURES.md # sonny/src/mux.rs
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
lydakis
pushed a commit
that referenced
this pull request
Oct 31, 2026
lydakis
added a commit
that referenced
this pull request
Oct 31, 2026
…then (#493) * Sonny: host calls give up after 10 s; Herdr's small split above or left is small Every Rex, Herdr and cmux call Sonny makes waited on its CLI with no limit, from the lead's screen loop: a host that stopped answering froze Sonny. They now go through mux::output, which stops the CLI after 10 s. Herdr's ratio is the first pane's share and a swap keeps the shares in place, so a small split above or to the left came out at 65%. It now asks for 0.35 when it swaps. Usage text and comments name cmux beside Rex and Herdr. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: host call limit and Herdr split (#489) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: the layout runs on its own thread, so no host call holds up the screen A lead's tasks were laid out by blocking multiplexer CLI calls made inside the screen loop: about seven per task start, two or three per state change, and /status re-read places every two seconds. Each Rex call measures about 27 ms, so typing stalled for ~200 ms whenever a task started. mux::Worker owns the Layout on a thread of its own. Jobs run in order; a window naming that a later one follows is skipped; places are read in the background and /status reads the kept copy. What a job has to say comes back to the screen loop on a channel. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: layout worker row (#492) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: hosts say what changed, so the layout reads a home again only then The layout listed every block before each thing it did: a task start listed three times, every state change of any task once more, and /status re-read places every two seconds. Now the home's blocks and places are kept, and read again only once the host's events say something changed, or Sonny changed it itself. A host's events say that something changed, not what: the home is read again whole, as Herdr's and cmux's event docs ask of a client that keeps their state. - Rex: `rex events -s SESSION --json`; terminal and focus events move no block. - Herdr: `events.subscribe` on HERDR_SOCKET_PATH, which Herdr sets in its panes; its CLI has no stream. An error (events_lost) ends the watch. - cmux: `cmux events` for workspace, pane and surface; its heartbeats end the command once Sonny is gone. With no stream, or once it ends, the home is read once per batch of work. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Rex news, as checked on 0.1.0 preview.24: ownership moves no block, session_destroyed ends the stream Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: hosts' news row Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #493 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a failed home read is tried again, not kept; a host's news opens off the worker A read that fails is no longer cached as an empty home while the news stream is up, and a host slow to take the subscription no longer holds up the layout worker. Herdr's and cmux's feature rows record the change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a close or rename reads the home again rather than guessing it worked Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT --------- Co-authored-by: Claude <[email protected]>
lydakis
added a commit
that referenced
this pull request
Oct 31, 2026
…en (#500) * Sonny: host calls give up after 10 s; Herdr's small split above or left is small Every Rex, Herdr and cmux call Sonny makes waited on its CLI with no limit, from the lead's screen loop: a host that stopped answering froze Sonny. They now go through mux::output, which stops the CLI after 10 s. Herdr's ratio is the first pane's share and a swap keeps the shares in place, so a small split above or to the left came out at 65%. It now asks for 0.35 when it swaps. Usage text and comments name cmux beside Rex and Herdr. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: host call limit and Herdr split (#489) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: the layout runs on its own thread, so no host call holds up the screen A lead's tasks were laid out by blocking multiplexer CLI calls made inside the screen loop: about seven per task start, two or three per state change, and /status re-read places every two seconds. Each Rex call measures about 27 ms, so typing stalled for ~200 ms whenever a task started. mux::Worker owns the Layout on a thread of its own. Jobs run in order; a window naming that a later one follows is skipped; places are read in the background and /status reads the kept copy. What a job has to say comes back to the screen loop on a channel. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: layout worker row (#492) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: hosts say what changed, so the layout reads a home again only then The layout listed every block before each thing it did: a task start listed three times, every state change of any task once more, and /status re-read places every two seconds. Now the home's blocks and places are kept, and read again only once the host's events say something changed, or Sonny changed it itself. A host's events say that something changed, not what: the home is read again whole, as Herdr's and cmux's event docs ask of a client that keeps their state. - Rex: `rex events -s SESSION --json`; terminal and focus events move no block. - Herdr: `events.subscribe` on HERDR_SOCKET_PATH, which Herdr sets in its panes; its CLI has no stream. An error (events_lost) ends the watch. - cmux: `cmux events` for workspace, pane and surface; its heartbeats end the command once Sonny is gone. With no stream, or once it ends, the home is read once per batch of work. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Rex news, as checked on 0.1.0 preview.24: ownership moves no block, session_destroyed ends the stream Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: hosts' news row Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #493 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a failed home read is tried again, not kept; a host's news opens off the worker A read that fails is no longer cached as an empty home while the news stream is up, and a host slow to take the subscription no longer holds up the layout worker. Herdr's and cmux's feature rows record the change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a close or rename reads the home again rather than guessing it worked Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: out of every multiplexer, an agent's window opens nowhere unseen When the project's lead ran out of Rex, Herdr and cmux, an agent's run_in_pane or show_agent opened a Rex session (or else a Herdr or cmux workspace) that no one watched, and agents got the Rex skill. Now a call goes only where the lead laid the project out, where its lead is, or where the project it was asked from is; otherwise it says nothing opened would be seen. Out of every multiplexer, agents get no layout skill. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * README: out of every multiplexer, nothing is opened unseen Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #500 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: out of every multiplexer, layout skills are left as they are Another project's Sonny still in its multiplexer keeps the skill it installed; this one only installs none. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT --------- Co-authored-by: Claude <[email protected]>
lydakis
added a commit
that referenced
this pull request
Oct 31, 2026
…#523) * Sonny: host calls give up after 10 s; Herdr's small split above or left is small Every Rex, Herdr and cmux call Sonny makes waited on its CLI with no limit, from the lead's screen loop: a host that stopped answering froze Sonny. They now go through mux::output, which stops the CLI after 10 s. Herdr's ratio is the first pane's share and a swap keeps the shares in place, so a small split above or to the left came out at 65%. It now asks for 0.35 when it swaps. Usage text and comments name cmux beside Rex and Herdr. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: host call limit and Herdr split (#489) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: the layout runs on its own thread, so no host call holds up the screen A lead's tasks were laid out by blocking multiplexer CLI calls made inside the screen loop: about seven per task start, two or three per state change, and /status re-read places every two seconds. Each Rex call measures about 27 ms, so typing stalled for ~200 ms whenever a task started. mux::Worker owns the Layout on a thread of its own. Jobs run in order; a window naming that a later one follows is skipped; places are read in the background and /status reads the kept copy. What a job has to say comes back to the screen loop on a channel. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: layout worker row (#492) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: hosts say what changed, so the layout reads a home again only then The layout listed every block before each thing it did: a task start listed three times, every state change of any task once more, and /status re-read places every two seconds. Now the home's blocks and places are kept, and read again only once the host's events say something changed, or Sonny changed it itself. A host's events say that something changed, not what: the home is read again whole, as Herdr's and cmux's event docs ask of a client that keeps their state. - Rex: `rex events -s SESSION --json`; terminal and focus events move no block. - Herdr: `events.subscribe` on HERDR_SOCKET_PATH, which Herdr sets in its panes; its CLI has no stream. An error (events_lost) ends the watch. - cmux: `cmux events` for workspace, pane and surface; its heartbeats end the command once Sonny is gone. With no stream, or once it ends, the home is read once per batch of work. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Rex news, as checked on 0.1.0 preview.24: ownership moves no block, session_destroyed ends the stream Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: hosts' news row Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #493 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a failed home read is tried again, not kept; a host's news opens off the worker A read that fails is no longer cached as an empty home while the news stream is up, and a host slow to take the subscription no longer holds up the layout worker. Herdr's and cmux's feature rows record the change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a close or rename reads the home again rather than guessing it worked Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: out of every multiplexer, an agent's window opens nowhere unseen When the project's lead ran out of Rex, Herdr and cmux, an agent's run_in_pane or show_agent opened a Rex session (or else a Herdr or cmux workspace) that no one watched, and agents got the Rex skill. Now a call goes only where the lead laid the project out, where its lead is, or where the project it was asked from is; otherwise it says nothing opened would be seen. Out of every multiplexer, agents get no layout skill. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * README: out of every multiplexer, nothing is opened unseen Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #500 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: out of every multiplexer, layout skills are left as they are Another project's Sonny still in its multiplexer keeps the skill it installed; this one only installs none. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: an agent's command or window can float over its window, in Rex run_in_pane and show_agent take split "float": for something the person deals with once and closes (a sign-in, a quick look). Rex floats a block only in its own window, so it is split beside its anchor, then floated with session.float_block over the middle of the window, taking neither focus nor the active window. Where a multiplexer cannot float (Herdr's popup is plugin-only and modal, cmux's canvas is a whole-workspace mode), it is split on the right. Only Rex's skill mentions it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * README: float, a split over the agent's window in Rex Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #523 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT --------- Co-authored-by: Claude <[email protected]>
lydakis
added a commit
that referenced
this pull request
Nov 1, 2026
…s it beside (#533) * Sonny: host calls give up after 10 s; Herdr's small split above or left is small Every Rex, Herdr and cmux call Sonny makes waited on its CLI with no limit, from the lead's screen loop: a host that stopped answering froze Sonny. They now go through mux::output, which stops the CLI after 10 s. Herdr's ratio is the first pane's share and a swap keeps the shares in place, so a small split above or to the left came out at 65%. It now asks for 0.35 when it swaps. Usage text and comments name cmux beside Rex and Herdr. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: host call limit and Herdr split (#489) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: the layout runs on its own thread, so no host call holds up the screen A lead's tasks were laid out by blocking multiplexer CLI calls made inside the screen loop: about seven per task start, two or three per state change, and /status re-read places every two seconds. Each Rex call measures about 27 ms, so typing stalled for ~200 ms whenever a task started. mux::Worker owns the Layout on a thread of its own. Jobs run in order; a window naming that a later one follows is skipped; places are read in the background and /status reads the kept copy. What a job has to say comes back to the screen loop on a channel. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: layout worker row (#492) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: hosts say what changed, so the layout reads a home again only then The layout listed every block before each thing it did: a task start listed three times, every state change of any task once more, and /status re-read places every two seconds. Now the home's blocks and places are kept, and read again only once the host's events say something changed, or Sonny changed it itself. A host's events say that something changed, not what: the home is read again whole, as Herdr's and cmux's event docs ask of a client that keeps their state. - Rex: `rex events -s SESSION --json`; terminal and focus events move no block. - Herdr: `events.subscribe` on HERDR_SOCKET_PATH, which Herdr sets in its panes; its CLI has no stream. An error (events_lost) ends the watch. - cmux: `cmux events` for workspace, pane and surface; its heartbeats end the command once Sonny is gone. With no stream, or once it ends, the home is read once per batch of work. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Rex news, as checked on 0.1.0 preview.24: ownership moves no block, session_destroyed ends the stream Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: hosts' news row Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #493 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a failed home read is tried again, not kept; a host's news opens off the worker A read that fails is no longer cached as an empty home while the news stream is up, and a host slow to take the subscription no longer holds up the layout worker. Herdr's and cmux's feature rows record the change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a close or rename reads the home again rather than guessing it worked Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: out of every multiplexer, an agent's window opens nowhere unseen When the project's lead ran out of Rex, Herdr and cmux, an agent's run_in_pane or show_agent opened a Rex session (or else a Herdr or cmux workspace) that no one watched, and agents got the Rex skill. Now a call goes only where the lead laid the project out, where its lead is, or where the project it was asked from is; otherwise it says nothing opened would be seen. Out of every multiplexer, agents get no layout skill. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * README: out of every multiplexer, nothing is opened unseen Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #500 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: out of every multiplexer, layout skills are left as they are Another project's Sonny still in its multiplexer keeps the skill it installed; this one only installs none. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: an agent's command or window can float over its window, in Rex run_in_pane and show_agent take split "float": for something the person deals with once and closes (a sign-in, a quick look). Rex floats a block only in its own window, so it is split beside its anchor, then floated with session.float_block over the middle of the window, taking neither focus nor the active window. Where a multiplexer cannot float (Herdr's popup is plugin-only and modal, cmux's canvas is a whole-workspace mode), it is split on the right. Only Rex's skill mentions it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * README: float, a split over the agent's window in Rex Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #523 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: an agent's name in the side pane goes to its own tab, as Ctrl+T does Where the lead's tasks are laid out in Rex, Herdr or cmux, clicking a task's name in the side pane's title, or Ctrl+T, brings its own tab into view there: Rex makes its window the session's active one, Herdr focuses its tab, cmux its surface. The ↗ beside the name still opens it in the main view. Out of a multiplexer the name is only a name and the hint leaves Ctrl+T out. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a laid out agent's name keeps its room, its tab key going first Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a click on an agent's name goes to its tab, a right click beside; agent_opens swaps them An agent laid out in Rex, Herdr or cmux is worked with in its own tab, so a click on its name, its roster row or its /status row goes there; a right click opens the look beside the conversation. [sonny] agent_opens = "beside" swaps the two. An agent with no tab opens beside either way. The pane's title draws a laid out agent's name in the agents' blue, as any agent's name that opens it is drawn. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: /config counts agent_opens Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * README: the pane's title, laid out and not Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: a click on an agent's name goes to its tab Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * FEATURES: #533 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: a task's window goes to an agent's tab too, its project's layout found off the screen Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: the lead looks for a clicked agent's tab on the layout worker, not in its last read Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT * Sonny: the ungated run in the gate test isn't timed on 300 ms another test's script can take Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEWm1MS4yiwexivszT --------- Co-authored-by: Claude <[email protected]>
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.
What
A lead's tasks were laid out by blocking Rex, Herdr or cmux CLI calls made inside Sonny's screen loop: about seven per task start, two or three per state change of any task, and
/statusre-read places every two seconds. A Rex call measures about 27 ms over a bare process launch (spikes to 130 ms), so the lead's window stalled for roughly 200 ms every time a task started.mux::Workerowns theLayouton its own thread. Jobs run in the order sent./statusreads the kept copy and never calls the host.{bot} is in {home}, or an error) comes back to the screen loop on a channel and shows as the usual dim line.FEATURES.mdRex/layout row updated.No UI change.
Tests
a_worker_runs_jobs_in_order_and_skips_a_naming_that_another_follows.cargo test -p sonny: 649 + 22 pass;cargo clippy -p sonny --all-targets -D warningsclean.Next in this line: follow host events instead of re-listing, and Herdr/cmux over a kept socket.