Repository navigation
Sonny: full screen only, buttons, folds, quiet agent messages, tasks in the pane, pane keys and a little color - #326
Conversation
/fullscreen and the settings' fullscreen key go, with the inline viewport, the /status and /background screens of their own, and the side chat that took over the terminal: /status, /background and /side always open in the pane beside the conversation. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
…on shows no failure A message attached to the bot's next call was a yellow notice that read as something to act on: it is now a dim 📎 in the footer (with a count past one) until a call takes it in. A turn that ends because the model's last round came back empty ends as one that completed: no red line, no error, no failure chime. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
…eir message WIP: two reaction tests still read the old placement. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Rows of the conversation can now carry a tag (where a message ends, the reactions under it) and a link, and be changed in place. The person's reaction to any reply goes on a row right under that reply, joining the emoji already there, and taking one back takes it off that row; the bot's reactions go under the person's message as it makes them, not once the turn ends. A message no longer in the conversation keeps the old fallback: a row of its own that says which message. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Tasks started one after another (or messaged, removed, scheduled...) with nothing drawn between now read as one row, "Started a, b and c ▸", and a click opens it to show each call and folds it again. A row can carry a button, a sonny: link that is never underlined or handed to the terminal: the fold's row, and each option of a question the agent asks, which a click answers with. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
A message another bot sent, or the lead's task updates, lands as one dim row: who sent it and its first words, or the news it brings. A click opens the whole message under it and shuts it again. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
…of Shift+Tab The lead's start_task calls draw as a roster of the tasks started together, each with what it is doing now, read every few seconds; a click on a task opens its own Sonny in the pane, to watch it and talk to it, as a side chat is. SONNY_TASKS=cards draws each as a box instead, for comparing the two. Shift+Tab switches tabs in multiplexers, so Ctrl+] moves the keys between the conversation and the pane. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
… pane's width; docs and screenshots Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ca75875ff
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
George picked the roster over the cards prototype. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b5580d4d2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…b alone; quiet messages keep no payload - A task opened in the pane runs with --embedded: it announces nothing to Herdr or cmux, which hold the lead's tab, and takes no --model from the lead's window; only a side chat does. - Ended tasks are read again every 30 seconds, so one given more work shows it; a task the daemon could not read keeps its state, and only bot_not_found makes it removed. - A quiet message keeps only its shut row's words; opening it reads it again from the history. A task keeps its brief's first line. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c514eb7fc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…opening it at the ends; Ctrl+\ moves the keys Esc stays the way to close the pane. Ctrl+] opens again the pane closed last, with its /status or /background. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0dcc7bef35
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…s let go of calls the conversation let go; history buttons stay on their rows under the welcome Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
…ersation let go are no longer kept or read Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Task names, who sent a message and the lead in the footer are blue; a call that worked and the git branch are green. Only the terminal's 16 colors, so themes set the shades. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aaec05c44d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… red; a shut agent message never slices its cut arrow Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Older pages drawn above carry their tags and buttons, so reactions, folds, rosters and relayed messages work on them too. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a3cef0537e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A group of calls or tasks drawn again while an older page is written is found among that page's rows, not flushed under the newer ones. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
A turn the history drew keeps the message it answers, so what the bot reacts with later goes under it. A reaction to a message no longer in the conversation draws no row of its own: the footer says it, and the message shows it once drawn. One made to a reply still being written goes under it once it is. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b32da376a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The newer rows put by while a page is written still count as drawn, so their folds and rosters are kept; groups take numbers never used before, and a call on the older page never joins the newer page's group. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bc9e5ed219
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Its history is read once per turn it ended, as /status reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6bb651e227
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A reaction on a finished task attaches to its next call, which never runs on its own: the roster and the fleet read the turn before it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
A task whose model ended its turn with nothing to say did not fail and did not reply: the roster and /status read it as `said nothing`, and the fleet asks why a failed turn failed before calling it failed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
A page of older items is still written on a screen of its own, so its folds, rosters and reactions keep their marks, and that screen's rows are what the page is put above the rest with, or drawn again with. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8baa5d1f2e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A fold opened or shut, a quiet message opened, or reactions put under a message in a page of older items change how many rows the page is: its count follows, so letting it go or drawing it again takes its rows only. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
…326 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEPcebFosL2vrxNNYx
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFoe3qjfmPo7oQpb2d
What changes
Full screen only. The inline mode and
/fullscreenare gone./status,/background,/sideand/mcpalways open in the pane.Quieter signals
📎in the footer (📎 2for two), instead of a loud line.empty_completionends quietly, with no failure shown. The fleet and the roster count it as done.Buttons (links prefixed
sonny:, never underlined or written as OSC 8)• Saved to memory a, b and c ▸. A click opens or folds them.↳ calc.neg: Heads up… ▸), or the lead's task updates. A click opens the whole message, read again from history; only its first line is kept.Tasks the lead starts show as a roster where they were started. Each task has a live state (starting, working, needs you, done, failed), read from its running turn (a steered message doesn't count as one) every few seconds, with every task re-read every 30 seconds. A click on a task opens its own Sonny in the pane, where you can watch it and talk to it, as with a side chat. That Sonny keeps the task's own model and leaves the host's Herdr/cmux tab alone (new unlisted
--embeddedflag). George compared it against a prototype with a box per task and picked the roster.Pane keys (Rex and other multiplexers take Shift+Tab, so Sonny binds none):
/statusor/background). Both work from the conversation too. A program in the pane keeps them. Ctrl+[ is told apart from Esc only with the kitty keyboard protocol (Sonny composer: Shift-Enter starts a line; mouse selection to type over or delete #297); otherwise it is Esc.Color. Only the terminal's 16 colors, so themes set the shades, and each color means one thing: magenta is you (
›), blue is the agents (task names, who sent a message, the lead in the footer, a reply's headings), green is what worked (a call's dot, the git branch), yellow needs you, red failed, and cyan is code and work under way. The context count in the footer turns from green to yellow at 100k tokens and to red at 200k. George looked at a bolder variant and took only the headings and the context count from it.Memory stays bounded: folds, rosters and quiet messages let go of their data once their rows leave the conversation, and rosters that left are no longer polled.
Infra:
screen::Tag/Mark,push_marked,put_under,replace_tagged, and a newstarted.rs.Screenshots
Three tasks started together with their live states, a message from a task, and the task updates as one row:
A click on
negopens the task in the pane (notectrl+\ chat):Memory saves folded, and a question whose options are buttons:
A reply with the palette (blue heading, green branch and context, blue lead):
These come from a real daemon with a scripted model, Sonny in tmux, and clicks sent as SGR mouse.
Tests
cargo test -p sonnypasses (363 tests), andcargo clippy -p sonny --all-targets -D warningsis clean. New tests cover:Noticed, not fixed here
On Linux, the bwrap sandbox leaves empty
.git/.codex/.agentsplaceholders in/tmp(a writable root). Sonny then takes/tmpfor a repository top, so a lead opened in a folder under/tmpbecomestmp.lead. This belongs with the Linux sandbox edges in #279.🤖 Generated with Claude Code