Repository navigation
Sonny: a closed ask's deadline removal passes its caller (main builds again) - #785
Merged
Merged
Conversation
#776 called trigger::tool with one argument, but #734 had already given it a second (&Caller). Each PR was green on its own; together main does not compile. Pass Caller::default(), as the deadline add in the same file does. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGFG8yDNENZhjTzfLnt
Codex Review Summary: ✅ CompletedThis 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
Nov 7, 2026
…w takes one #776 and #771 each built on their own; together the deadline cleanup in asks.rs called trigger::tool with one argument. Same line as #785. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGYoqceB21grsa5Q3v
Owner
Author
|
Generated by Claude Code |
lydakis
pushed a commit
that referenced
this pull request
Nov 7, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGNwXWgNygYbrrZ9DK
This was referenced Nov 7, 2026
lydakis
pushed a commit
that referenced
this pull request
Nov 7, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGEcHQ2BxUW7eMzTs6K
lydakis
pushed a commit
that referenced
this pull request
Nov 7, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGYoqceB21grsa5Q3v
lydakis
pushed a commit
that referenced
this pull request
Nov 7, 2026
lydakis
added a commit
that referenced
this pull request
Nov 7, 2026
…ons where the call lands (#782) * Remove goals: the goal tool, /goal, and the lookout's check runner George never used goals, and their check runner made the lookout run work (a command for up to an hour, then another turn for the agent) rather than only watch and tell. Gone with them: the `checking` and `checked` task states, the lookout's hold on a goal's turns, the sky's goal pulse, and the tool process budget's quarter for checks, so the tool host now has all of `sonny.tool_processes`. A one-time migration removes STORE.lookout/goals (retires 0.11.0). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGYoqceB21grsa5Q3v * Keep a lead's reaction in a task where its react call lands A lead reacting in one of its tasks named the task, and the lookout followed every bot's newest message to find which of the person's words it landed on, then wrote the task's Picked file. That is work only the window needs, done by the companion that exists for agents while no window is open. Sonny's tool host now answers `react`: one naming another agent of the same project is kept under the person's newest message there as the call is answered; one on the caller's own messages is answered at once. The lookout drops its reaction tracking, and nothing watches the stream for reactions. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGYoqceB21grsa5Q3v * Answer react in the tool host itself, and drop retired Sonny tools on refresh The tool host answered react by spawning a `sonny tool` process like any other served call, behind the process budget. Now it answers it in its own process, as it takes the call: a reaction on the caller's own messages is "Done." with no process, one naming a task lands on what the person had written when it was taken, and those that write the task's file take turns, so two never overwrite each other. A bot made before goals were removed kept `goal` declared through every refresh, since only this build's tool names counted as Sonny's. A declared tool Sonny answers (`answered_by: sonny`) now counts as Sonny's too, so a refresh drops one this build no longer has. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGYoqceB21grsa5Q3v * Pass the ask deadline's trigger removal a caller, as trigger::tool now takes one #776 and #771 each built on their own; together the deadline cleanup in asks.rs called trigger::tool with one argument. Same line as #785. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGYoqceB21grsa5Q3v --------- 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.
Why
Main at 8a10ff3 doesn't compile. #776 added a call to
crate::trigger::tool(&json!({"remove": name}))insonny/src/asks.rs(served_close). By then, #734 had already changedtrigger::toolto take a second argument,&Caller. Each PR was green on its own base, but merged together they fail with E0061. Until this lands, every open PR's CI is red.Change
The closed ask's deadline removal now passes
&crate::trigger::Caller::default(), the same caller that the deadline's add in the same file already uses (asks.rs:1159). Behaviour is unchanged: the removal stays unscoped, as it was before #734.Checks
cargo check -p sonny --all-targetspasses.cargo clippy -p sonny --all-targets -- -D warningsis clean.cargo fmtapplied.Performance
None. This is the same call with one extra argument.
PRs that carry the same one-line fix in a commit of their own (#778, #782) can drop it on their next rebase.