Repository navigation
Sonny: /sky through the design system (contrast, states, small panes, legend) - #464
Merged
Merged
Conversation
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: 8757985186
ℹ️ 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".
…, tool shapes, a list for small panes Lines and curves are drawn in the text's own colour at full weight, as dim braille all but vanished in some themes; hues are kept for what happens now. Each agent shows the state table's mark and colour (working cyan ●, needs you yellow ? for an ask or an approval waiting, failed red ✗), and the footer counts them the same way. A tool call's twinkle takes a shape for its kind. Under 60 columns or 24 rows the sky becomes a list, a firefly per agent and the last it said or was told, as btop changes layout by size. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
An ask stays open until the person or the agent's maker writes back, each call waiting for approval is let go by its own answer, and the view reads the calls already waiting and each agent's last failed turn when it opens. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
? swaps the ticker for what each mark, colour and shape means, in the pane and in sonny sky; sonny sky's last row is the pane's footer, marks and all. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
lydakis
force-pushed
the
claude/project-thread-hqb8h7
branch
from
October 30, 2026 23:43
8757985 to
2ed1d48
Compare
This was referenced Oct 31, 2026
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
George's feedback on
/sky(10-30) was that he loved the freeform look, you in the middle and the pulses. But the lines were very low contrast and it didn't hold up at lower resolutions. He also asked what else agents do that the sky could show, and later whether it has a legend. This PR passes/skythrough the visual system (the glyph comes first and the colour repeats it; hues go only on short marks) and through the interface design system's single state table.Contrast. The who-made-whom lines and who-talked curves are drawn in the text's own colour at full weight, not dim. Dim braille dots all but vanished, worst in light themes and terminals with a weak dim. Hues stay on what is happening now (sparks, ripples, twinkles, states), so history stays calm and events still pop. Idle stars are a small blob instead of one dot, so every agent reads as a star rather than the end of a line. (btop and bottom draw their graphs in full-weight theme colours.)
States, from the state table. Each star takes its state's colour and its label takes the state's mark, so it reads without colour:
●, name in bold?. That is anasknot yet answered by the person or by the agent's maker, or a call waiting for the person's approval. Each call is tracked by its id until that call is decided, started or completed.✗, when its last turn failed. Anempty_completiondoesn't count as a failure, as elsewhere in Sonny.An agent that needs you is named first, so it is never crowded out. The footer counts states the way Sonny's footer does,
18 agents · ? 2 needs you · ● 7 working · ✗ 1 failed · 10 messages in the last minute, and drops the messages part when it wouldn't fit.sonny sky(Sonny: sonny sky on its own, and any agent in the main view #465) shows the same footer on its last row.State when the view opens. After reading the past, the view lists the calls already waiting for the person: the
manualandautotag listings, which read only calls still waiting on that tag, withautokept only when it was handed to the person.turn_finishedjoins the past kinds, so an agent whose last turn failed opens as failed. Anaskthat was already open before the view opened isn't restored, because that would mean reading every agent's history.What agents are doing. A tool call's twinkle has a shape for its kind: a streak across for a shell, up and down for a file, four corners for the web, and an eight-point star for any other tool (MCP, Sonny's own). It turns red when the call failed. There are still no tool names anywhere, so the clean view stays about who talks to whom.
Small panes. Under 60 columns or 24 rows the sky becomes a list (btop changes layout by size rather than shrinking). Rows follow the tree's order, and each row shows:
✦, in the spark's colour) as its agent talks and fades (•, then a muted·)from shop lead · 2s,posted to the commons)When they don't all fit, agents that need you, failed, are working or were lit come first, then leads, and
… N more, quietcounts the rest.Legend.
?swaps the ticker for a legend, in the pane and insonny sky. It covers the states, what a bold or dim name means, the two kinds of spark, each tool shape, a failed call, a commons ripple, the lines, and the glow. Each item is drawn as the sky draws it. In the list it explains the fireflies instead. The key hint reads? legend · esc close(? legend · q quitinsonny sky).It follows four more daemon event kinds that the daemon already sends any client (
approval_requested,approval_asked,step_decided,turn_resumed) and readsapprovals. No daemon change.Rendered from this branch's
View::cardandfooter(96×46 and 54×22) through xterm.js with Flexoki Dark, JetBrains Mono 12, and Sonny's muted gray as it computes it there (130,129,123). Before rendering, scripted live events played out: an ask (notes lead), a manual approval (pricing), a failed turn (cart-tests), shell, patch and search calls, and a commons post. I also checked it in Catppuccin Latte; the lines and marks hold on the light background.Testing
cargo test -p sonny: 612 pass. New tests:an_agent_shows_the_state_tables_mark_for_what_it_is_doingwhat_needs_the_person_stays_until_they_answer_it: two approvals with one answered, an ask that a peer's message doesn't clear but the maker's steer does, plus held calls and a failed last turn restored when the view opensa_small_pane_lists_the_agents_with_a_firefly_eachthe_legend_takes_the_tickers_placecargo clippy --workspace --all-targets -- -D warningsandcargo fmt --all --checkare clean./skyrow and README entry updated.🤖 Generated with Claude Code