Repository navigation
Sonny lead: the lead picks the emoji for a pickup in a task - #340
Merged
Merged
Conversation
… inside their folder A lead read a task's "I don't have that" as the task's own business and left the person to carry the answer across from another task. And a lead whose folder holds other projects heard nothing from their leads: they were neither made by it nor named its way, so the person's question to one lead never reached the lead above it. - lead.md: the principle asks who has what a task needs, not only who an event changes; the lead passes it on when it is written down, else has the holder send it straight to the one that needs it, tells the one waiting what is coming, and sees it arrive. The leads of projects inside its folder are its tasks in all else. - task.md: look in the other agents' turns or ask the lead before telling the person you do not know. - Lookout: a lead watches the nearest leads inside its folder as tasks (not what they make, nor the turns their own lookout starts); the home folder's lead watches none. New built-in `lacks` picks a task's turn end that shows it going without what another task, memory or the lead has. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
A lead opened in another folder moves there with its next message; the lookout kept its old folder, so its old parent kept hearing it and its new one did not. Each accepted or queued message's workspace now updates the bot's record, and the subscriber's own folder, before nesting again. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
A steer's folder is for that message alone, and the daemon does not move the bot for it. A lead's message naming another folder now has the lookout read the daemon's record, live only, and move the lead when that says so. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
Replaying a bot's created event put its record back to the folder it was made in, so a lead moved since went back under its old parent after a restart. The same bot as listed now keeps its listed record. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
George wants the lookout as simple as can be, forwarding rather than judging, so this PR adds no built-in: the lead text and the inner leads' forwarding carry the routing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
Taking the whole listed record in place of the created event's changed what a subscriber's judge was picked from, so a subscription's look-for was never judged. Only the folder comes from the listing now. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
…a task knows its lead George: given a long list, the lead should break it into separate tasks as the project coordinator he uses does; and tasks talked of telling the lead to make a task without knowing they could. task.md now names the lead, says it sees every message and turn end of the task, and has the task ask it for what lies outside its brief (a task of its own for separate work, what another agent found) instead of sending the person. lead.md: the fewest agents, but one per separable goal; a message of several asks becomes a task per goal at once, the person's words in each brief, and the person hears which task took what. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
…words as the person's From the A/B eval (gpt-6-sol, 3 runs each): given four asks, the lead wrote the small README part itself 2/3 times, leaving an uncommitted edit beside the tasks' branches; and once it quoted a task's words as the person's in a new brief. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
Drop the lookout's automatic watching of the leads in subfolders: a lead hears the tasks it starts, and another lead when the person asks, by a subscription with updates naming it exactly. Default lead text no longer leads the leads of projects inside its folder. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
A prompt another bot's turn or a named client sent reaches the model with a text part after its words naming the sender, so an agent never takes another agent's words for the person's. content[0] stays the words. A bot made with hide_senders (--hide-senders, or senders = "hidden" in ~/.agent/config.toml for the bots the CLI and Sonny make) reads the words alone. The role files drop the From line convention it replaces. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
A lead's react tool takes an optional bot: the lookout records the reaction against the person's newest message in that task, and the task's window draws it. lead.md's principle now covers passing on part of what the person said in one task to the task that owns it, telling the first task which part went where, and reacting 👀 there. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
…he person wrote Applied on a tool_completed that neither failed nor was denied; the person's newest message is read newest first through next_from and short history_items reads, and an Anthropic tool result is not theirs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
…e replay A call that ends after the lookout last watched still lands; a window draws a lead's reaction it read before the message itself landed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
…ursor moves, and its take-back shows Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
…e lead reacted Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGY9Qav3k3Abe8hMQE
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. |
This was referenced Oct 29, 2026
Merged
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 follow-up to #330. lead.md no longer tells the lead to react with 👀 when it picks up the person's words in one task and routes them elsewhere. It now says to react to the person's message there and leaves the emoji to the model. The example in the
reacttool'sbotdescription loses its 👀 for the same reason.There's no behavior change in code. The tool already accepted any emoji.
Tests
cargo test -p sonnypasses.