Repository navigation
Sonny: fixes from a week of use (backup, lookout news, triggers, memory read, version, message time) - #555
Conversation
…ersion) - Backup: never copy what the repository's .gitignore names, or sockets and pipes; a first copy that failed part way restores nothing over the home (restore only from the remote's own head); `setup backup --help` prints the usage instead of cloning a URL named `--help`; setup checks the host shows the repository private before the first push. - Lookout: a turn that started before the lookout watched names no one instead of "asked by the person"; a trigger's run that completed and replied nothing is no news, as cron mails only a job's output. The automation skill tells monitors to reply nothing on a quiet run. - Memory: an unscoped `read` by name in a project falls back to the person's own facts. - `--version` of sonny and agent names the commit when built from a git checkout; release tarballs stay plain. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
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: 4ae9a9f620
ℹ️ 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".
A model has no clock: the time a conversation started at falls out with compaction, and over a long day it guessed times. As chat harnesses stamp each message they pass a model, the person's words (from Sonny or an ACP client) and the lookout's notes now end with a line such as `[Sent Sat 31 Oct 2026 16:12, UTC-04:00.]`. The line comes after the words, so the cached prompt before it stays cached, and every surface draws the words without it. Records of what Sonny did for the person (shell runs, reactions without words, notes taken away) and trigger fires stay as they were. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8e2ec89f72
ℹ️ 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".
- Backup: git's ignore check reads its paths while it answers, so they are written beside the reads; paths go NUL-terminated (`-z`), so names git would quote match; each folder's incoming `.gitignore` is copied before its level is asked, so a new rule holds from the sync that brings it; a link or file where the home now has a folder goes before git is asked about the folder. - Lookout: who asked for a turn it did not see start is read with the turn's reply (`prompts`), so a turn the person asked for is still named as theirs after a restart; a reply that could not be read leaves the turn's end told as before, never taken for an empty reply. - Release: the Linux package step expects the version with its commit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d0f199d0a4
ℹ️ 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".
A repeating trigger's fire that found its agent working was skipped, with a note: a daily report that fired while a turn held the agent was lost until the next day. Now it waits behind the work, as anacron runs a missed job once and systemd's `Persistent=` timers do: the fire queues, unless a fire of the same trigger already waits there, so a frequent monitor never piles up. That later fire is skipped with the note, as before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f31f094c28
ℹ️ 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".
Merges main (the ask fallback, model names in /usage, lookout topics and digests) and stamps every lookout source note, the resent one too, in `source()`. Fixes three review findings: - The backup removes a copied `.gitignore` that is a link (or anything but a plain file) before copying the home's rules, so they never land where the link points. - A trigger's run that went well and replied nothing drops the trigger's own words that started it too, so the lead is not woken at all. - The check for a fire already waiting reads the agent's turns page by page while they are still waiting work (queued, ready, attached), so the notes skipped fires leave never hide it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7bc06899a6
ℹ️ 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".
Rows that never ran (a steer the running turn took in, a message cancelled while it waited, an attached note) can be newer than a fire still queued, so they no longer end the search; only a turn that started does, since queued work starts in order. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ef3bd874c
ℹ️ 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".
Git judges an ignore check by what the copy has at the path too, so a rule for folders (`cache/`) left out the home's new file `cache` while the old folder was still there. The folder goes first, as the copy would replace it, the way a link or file that became a folder already did. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2e71c2f1ca
ℹ️ 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 lookout read a fire's prompt and its turn's reply on their own, so the prompt read could land after the empty reply was dropped and wake the lead with "trigger wrote in it". As with a goal's next turn, a fire's words are no longer news at all: its turn's end is, and a run that went well and replied nothing is none. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b66e72dea6
ℹ️ 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".
A trigger's run that went well now waits on its own until its reply is read, instead of joining the task's other ends at once. Two runs that both ended before either reply came back used to merge into one end that neither empty reply could clear, so the lead heard of two silent runs. Held apart, a run with no words is dropped and one with words is told with them. One whose reply could not be read, or whose read was cut off, is told without it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1774140c06
ℹ️ 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".
…ent line A backup's ignore check now sends git each path byte for byte and reads its answer the same way. A name that is not UTF-8 used to reach git changed, so a rule naming it never matched and its contents were backed up anyway. The scripted test models read a message without the line saying when it was sent, as a model reads past it, and the ACP test checks that the lead's prompt carries that line. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
What
Sonny fixes found in a week of everyday use of 0.7.0.
Backup (
sonny setup backup).gitignoreis copied from the home before that level is asked.git check-ignore --stdin -z, written beside the reads so git never stalls, and it never walks into ignored folders.fetch+origin/HEAD), and does nothing when the remote has no head.setup backup --helpprints the usage instead of being taken as a repository URL. Any other flag is refused.Lookout news
prompts) along with the turn's reply, so the turn is named as it would have been. If that read fails, the turn names no one, instead of guessing "the person".Triggers
Memory
readby name inside a project falls back to the person's own facts when the project has none of that name.Version
sonny --versionandagent --versionname the commit, e.g.sonny 0.7.0 (31a2902ab).sonny 0.7.0.The time on each message
[Sent Sat 31 Oct 2026 16:12, UTC-04:00.].crate::text.sonny/FEATURES.mdrows are updated.Tests
cargo test -p sonny -p agent-clientpasses: 793 + 83 + 24 tests.cargo clippy --all-targetsandcargo fmtare clean.python3 -m unittest discover -s releasepasses: 28 tests.tests.test_triggerandtests.test_servedpass, except for tests that need bubblewrap, which this machine lacks.No daemon behaviour changes. The only change in
src/is the--versiontext.🤖 Generated with Claude Code