Repository navigation
Sonny: the welcome heads every lead's history, as Claude Code's does - #320
Merged
Merged
Conversation
- With no provider anywhere, sonny in a terminal asks for one (a ChatGPT plan, an Anthropic, OpenAI or OpenRouter key, or Bedrock with an AWS profile) and keeps it in ~/.agent/env, instead of failing. The CLI now names that failure provider_required, so Sonny reads the code, not text. - With no model, Sonny lists what the providers offer and keeps the pick as AGENT_MODEL in ~/.agent/env, instead of failing with model_required. - AGENT_MODEL (and the lookout's keys) count from ~/.agent/env as well as the shell, with the file first, as the daemon and approver see it. - The first start writes ~/.agent/models when there is none, and `agent stats` starts a daemon on a fresh install like `start` does. - install.sh fetches the latest Linux release tarball, checks its sha256, and links ~/.local/bin/sonny, for machines without Homebrew. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
…e file's own Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
…st time and an icon after Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
First-run setup keeps settings where #251 put them, as Codex does: the provider, the default model and the suggested lead and task efforts go in ~/.agent/config.toml (top-level provider and model, [sonny] lead_effort and task_effort), and only keys and AWS_PROFILE in ~/.agent/env. agent_client::config::set writes keys line by line so the person's comments stay. The daemon takes the config's provider after AGENT_PROVIDER, and a new bot the config's model after AGENT_MODEL. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
…itHub CLI is signed in The .sha256 comes from the same release as the tarball, so it only guards the download. With gh signed in, the installer also verifies the provenance the release workflow attests, as publish-homebrew does. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
The portrait was drawn only over a lead just made, and a small icon after the first; a reopened lead showed none. Now the portrait is the first thing in every lead's transcript: above the history when the newest page reaches the conversation's start, and once scrolling up has loaded back to it otherwise. A side chat has none. The icon and the ~/.agent/sonny/welcomed marker go, and the two stray screenshot pages from #253 with them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
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. |
Merged
lydakis
pushed a commit
that referenced
this pull request
Oct 30, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGH8qUQFR4a1z8DWu4L
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.
Sonny's portrait from #253 used to show only on the screen where a lead was just made, and after the very first time it was a small icon. A reopened lead showed nothing above its history. George asked for it to work the way Claude Code's does: always at the top of the history, so scrolling all the way up shows it.
Now
~/.agent/sonny/welcomedmarker are gone. George picked keeping only the big one..png.htmlscreenshot pages that Sonny: a first run that sets itself up and says hello, and a Linux install script #253 committed by mistake.Testing
bench/synthetic_model.py):agent run, reopening starts on the newest page with no portrait. PageUp loads older pages until the first message, and the portrait is above it.cargo test -p sonny --binspasses (319).cargo clippy -p sonny --all-targets -D warningsandcargo fmt --checkare clean.