Repository navigation
Triggers: show skipped checks, fire prints its turn handle, add --replace keeps history; memory up to 16 KiB - #241
Conversation
…y after a tool call, keep the answer a steer came after - An overload or rate limit that Anthropic sends after the stream began is the 529 or 429 it would have been before it, and is retried as one; it failed the turn with provider_error and no retry. - Retries after an overload or a stall start at 2 s instead of 250 ms: a stall resent at once with the same context stalls again. - An empty reply once the model has replied in the turn, as after a reaction with nothing to add, ends the turn; an empty reply to a prompt or an empty summary still fails as empty_completion. - A turn handle's result carries before_steer, the last text the turn wrote before its last steer, when it then ended on a reply to the steer. - read refuses an image or other binary file with file_not_text, naming its kind, instead of putting its bytes in context. - A command whose output reader stops reading (| head) exits quietly instead of panicking. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
…s reply on resume An overloaded_error inside the stream now closes the model's pool as an HTTP 529 does, and its retry waits on the pool like a rate limit; only a stalled stream keeps its own seconds-long backoff. A turn that parked on a call the model made, or on its pool after one, still counts as having replied when it resumes, so an empty reply then ends it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
…en a new lead in its own tab, skills never close your tabs Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
…--replace keeps history; memory facts up to 16 KiB Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
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: e70ab4ec85
ℹ️ 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 repository's baseline and a started agent only on its store Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
|
@codex review Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a71c92e04
ℹ️ 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".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
…er comes Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d440b89078
ℹ️ 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 sends it again as it was Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c631e43d92
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7de47d4970
ℹ️ 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".
…s it again Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1abaf77058
ℹ️ 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".
… would Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6dcbeef53b
ℹ️ 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".
…does not go Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34261a30a1
ℹ️ 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".
…not counted twice Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 241a564d39
ℹ️ 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".
…back; the launchd test reads fire's turn Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGHW3CCrgg5qbk2KQVA
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7fc7d6f1a8
ℹ️ 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".
Trigger and memory gaps that a day of monitors ran into.
Changes
A skipped run shows on the trigger. When a repeating trigger's
--ifsaid no, nothing was written, sotrigger lsshowed no sign that the gate ran. One monitor polled for 19 minutes waiting for a fire its own gate had suppressed. Each row now haschecked: when the gate last ran (checked_ms), what it said (go,noorfailed), and its detail. Thelastresult of the last real fire is kept.trigger fire NAMEprints the turn to wait on. It used to queue an ask for launchd and return, so callers slept and polled. It now waits for the run, up to 90 s (the gate's 60 s plus the send). It prints theoutcomewith theturnand itshandle(turn:BOT/N), or why nothing went (declinedwith the gate's detail,skipped,failed), orpendingif the run hasn't reported in time. Each ask gets its own receipt beside the trigger's files, so the result survives a trigger that ends with this send, and another fire's result can't hide it.trigger add --replacechanges a trigger in place. Changing a rule meantrmand a newadd, which lost the trigger'slastresult. With--replace, a different definition under the same name replaces the old one and keeps:lastresult and gate check,--starttrigger made, when the target and the store are the same (the id goes on the row as soon as the agent is made),--committrigger has seen, when the repository is the same.Its count of sends starts again, for the new
--runs. If the new row can't be written, the old plist goes back. Without--replace, the refusal now names the flag.A fire run again for its ask sends the same request. Before an ask's turn is submitted, the full request is written (synced) into the ask, along with the store, generation and
--reply-tothat sent it. A fire cut short, or the trigger that replaced it, resends it as it was, so the daemon takes it once and its answer is passed on under the same id. It skips the time, commit and--ifchecks, because it already passed them. It doesn't count a send that already settled again. This also fixes a refire after a minute boundary, which used to rebuild its timestamped prompt and fail withidempotency_conflict.Memory facts and indexes go up to 16 KiB, from 4 KiB. Leads and tasks in five or more bots hit
memory_fulland spent turns trimming. The index is still bounded, so every task can read it whole.Automation skill: documents
--replace, whatfireprints, thecheckedfield, and a weekday example:--cron '*/10 8-18 * * 1-5'in place of an all-hours--every 10m.Two crash-window findings are declined and logged in #96.
Testing
cargo test -p sonny --bin sonny: 217 passed.agent-clienttests pass.cargo clippy -p sonny -p agent-client --all-targetsandcargo fmt --checkare clean.tests/test_trigger.pyagainst a release daemon (AGENT_TEST_RUNTIME=1): 23 tests, OK (the real-launchd one is skipped off macOS).fire_says_what_came_of_its_own_ask: pending; a receipt that outlives its trigger; each of two fires settled before the firstfirelooked finds its own outcome; a declined gate.a_gate_that_says_no_shows_on_the_row_and_keeps_the_last_result.replace_keeps_what_the_trigger_did: last result kept, sends counted again, the commit seen kept for the same repository and reset for another, and the started agent kept on the same store, cleared on another, and kept when it was made while the first answer was still pending.a_replace_whose_row_cannot_be_written_puts_the_old_trigger_back.test_an_ask_sends_the_request_it_sent_before_also_for_the_trigger_that_replaced_it: a--reply-tofire's ask, replayed by a replacement whose--ifsays no, returns the same turn and passes no second answer. One already settled isn't counted again. One saved for another store sends the replacement's own message.test_a_gate_that_says_no_costs_no_turnnow checks the row'schecked.test_real_launchd_fires_and_removeschecks the handlefireprints.No visible UI change, so no screenshots.
🤖 Generated with Claude Code