Skip to content

Sonny: a closed ask's deadline removal passes its caller (main builds again) - #785

Merged
lydakis merged 1 commit into
mainfrom
claude/project-thread-9a7kml
Nov 7, 2026
Merged

lydakis merged 1 commit into
mainfrom
claude/project-thread-9a7kml

Conversation

@lydakis

@lydakis lydakis commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Why

Main at 8a10ff3 doesn't compile. #776 added a call to crate::trigger::tool(&json!({"remove": name})) in sonny/src/asks.rs (served_close). By then, #734 had already changed trigger::tool to 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-targets passes.
  • cargo clippy -p sonny --all-targets -- -D warnings is clean.
  • cargo fmt applied.

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.

#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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T07:08:44.296690Z 0849b69 PR opened
🔒 Security Review ✅ Completed 2026-11-07T07:10:48.174850Z 0849b69 PR opened
ℹ️ 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" or "@codex security review".

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

lydakis commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

screen is red because of the base, not this PR. That job builds this PR's head, which finished, and then builds main as the comparison baseline in .local/base. The baseline build hits the E0061 at sonny/src/asks.rs:1424 that this PR fixes. screen can't pass on any PR until this lands. rust, macos and GitGuardian are green on 0849b69, and runtime is still running.


Generated by Claude Code

@lydakis
lydakis merged commit ca56abb into main Nov 7, 2026
4 of 5 checks passed
@lydakis
lydakis deleted the claude/project-thread-9a7kml branch November 7, 2026 07:24
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants