Repository navigation
Sonny: zen, one focus with an agent, the rest held back - #478
Conversation
/zen FOCUS goes to the agent as typed; a zen skill says how to talk about the focus alone, hold back what else reaches it, interrupt only with a question whose bar it learns from memory, and say what it held on /zen off. While on, the window draws only the person's turns and the agent's questions, centred, with a footer of the focus and what needs the person. The commons invites another agent than one in zen. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
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: 8747d6d962
ℹ️ 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".
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
…r windows take zen up In zen, a history page whose first turn's message is on an older page reads that turn's prompt to know whether the person started it. Every window of the agent reads its zen again at each turn, so zen set or left in one window reaches the others with the message that set it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b80c4c88d4
ℹ️ 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 steer keeps a split turn theirs While the lead is in zen only its own questions ring; a reply drawn out of sight no longer becomes what reply, copy or react point at; and a page that starts inside a turn counts it as the person's when any of its prompts is theirs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
The /zen description and the notice say /zen ends it, as the other commands' words do. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 465bb007ec
ℹ️ 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".
Checked against the interface system: zen draws only what is said, so the welcome is left out, and the guess at the person's next message is not made, since it reads everything the agent holds back. Screenshots retaken. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 67619c8a80
ℹ️ 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 agent reads what follows /zen with what it knows, as it reads a goal, and writes the focus in its own words to the agent's zen file; the person may also ask for zen in words, and the agent turns it on or off itself. Every window takes the file up at the turn's end as well, telling zen started or ended, and the footer shows the agent's words. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
Zen is kept under the key reactions and the margin use, the store and the agent's durable id, so an agent of the same name in another store, or one made again under the name, does not take it up; the agent sets its own with `sonny zen`, which finds its key from its turn's environment, and the commons looks invitees up by the same key. Entering or leaving zen clears what reply, copy and react point at, found again in what the view draws. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFkQq3pPYLZ4zuZ4z1
…-v68zd8 # Conflicts: # sonny/src/main.rs
George asked for zen to be a behaviour, not only a view. You turn it on for a lead or any agent with one subject. The agent still hears the other threads but talks only about that subject, and the window shows only text. The agent can ask you to leave zen when something elsewhere really matters. The pattern is Apple's Focus: some things are held back, one way through, and a summary afterwards.
What it does
/zen FOCUSgoes to the agent exactly as typed, the way/goal WHATdoes. Writing/zenagain, or/zen off, ends it.sonny zen READINGto put the focus in its own words. The footer then shows those words.sonny zen …orsonny zen offitself, but only on the person's own word.zenskill is installed for every agent, likeplan, and carries the behaviour:asktool, for something that blocks the person's work, can't be undone, or loses its chance soon.askquestions. A turn counts as the person's when any message in it is theirs, steers included, across page boundaries.zen · FOCUSand? N needs you.~/.agent/sonny/zen/KEY, where KEY isreactions::key: the canonical store plus the agent's durable id.Screenshots
Dark (Flexoki Dark), 160 columns. The task update and the agent's "Held: …" reply in that turn are not drawn.
Light (GitHub Light), 96 columns: narrower than the column, so nothing is centred.
NO_COLOR, 160 columns: the marks carry the meaning, and the composer gets a rule instead of its band.Design pass
Zen has its own section in the design system: Sonny's Design System, "Zen". It records the decisions, has five screenshots, and shows how each rule of the visual and interface systems applies.
?is the existing "needs you" yellow, and underNO_COLORthe words carry the meaning.Tests
/zensent as typed.cargo test -p sonny: 692 passed, after merging main. Clippy and fmt are clean.FEATURES.md has a new experimental row, and the README has a paragraph and a screenshot.
🤖 Generated with Claude Code