Repository navigation
Sonny: the sky shows the andon cord, who pulled it and who let the line go on - #528
Conversation
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. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ffd0462e12
ℹ️ 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 account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ne go on A pull drops a yellow cord from the sky's top to whoever pulled it (an agent's star, or the person in the middle), tugs it, and rings the stop out across the sky, each star going still as a ring passes; the cord then hangs, calmer, its puller pulsing slowly. A resume draws it back up and rings the start out from whoever resumed, waking each star. The chat log says who pulled it and why, then who resumed and after how long; the footer says who paused it and how long ago. A sky opened during a pause hangs the cord from the ready greeting, with no drop. The daemon's resume takes `by` as pause does (the CLI sends AGENT_BOT), answers it, and tells it in the `resumed` notice. Protocol 31. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGjuqazMtAaTVjn2Rg
…leaves it out Who pulled or resumed is kept a star when the sky folds, for the cord to hang from and the rings to set out from; a replay drops the pause's notices, which tell of now, not of the past it plays. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGjuqazMtAaTVjn2Rg
ef2ee38 to
2391c27
Compare
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGjuqazMtAaTVjn2Rg
2391c27 to
de1caa6
Compare
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
# Conflicts: # sonny/FEATURES.md # sonny/src/sky.rs
|
@codex security review Merged without a security review (usage limit); one of the riskier rows in #531 (protocol 31: 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: 09fe6eeea3
ℹ️ 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".
| Command::Resume { by } => { | ||
| let lifted = store.op("remove_pause", |db| db.remove_pause()).await?; |
There was a problem hiding this comment.
Bound the resumer name before lifting the pause
When a pause holds, a client on the main socket can send resume with a multi-megabyte by: session::LINE_LIMIT accepts requests up to 8 MiB, but this value is copied directly into the broadcast notice. Output::encode() rejects packets larger than 1 MiB, and the notice loop in src/server/mod.rs closes every session whose try_send() fails, so this disconnects even healthy, fully drained clients after already removing the pause. The broadcast also clones and serializes the oversized value separately for every session on the shared runtime. Validate and bound by before remove_pause() so invalid attribution cannot cause a cross-session disconnect.
AGENTS.md reference: AGENTS.md:L51-L53
Useful? React with 👍 / 👎.
George wanted a pull of the andon cord (
agent pause//pause), rare as it is, to be a big moment in/skythat makes clear who pulled it, whether that was an agent or George. He wanted the resume shown too, with who resumed.Pull: a yellow cord drops from the top of the sky to whoever pulled it. That's an agent's star, or "you" in the middle when the person pulled it. The cord is tugged with a burst, then three yellow rings sweep out from the puller across the whole sky, and each star goes still (muted) as a ring passes it. After that the cord hangs at the system's middle weight, and the puller keeps a yellow name and a slow pulse. The chat log says
■ pricing pulled the cord: why, and the footer says■ paused by pricing, 4m · why. A sky opened during a pause hangs the cord fromready["paused"], without the drop.Resume: the cord is drawn back up, and white rings sweep out from whoever resumed, waking each star as they pass. The log says
▶ you resumed, after 4m.Yellow is the sky's existing "needs you" hue, and a stopped line needs the person, so no new colour is added.
Daemon:
resumetakesbyaspausedoes, answers it, and puts it in theresumednotice. The CLI sendsAGENT_BOT, Sonny sends none (which means the person), and a sandboxed bot socket still refuses resume. Protocol 30 → 31. The park-on-pull thread takes the next number.What the sky reads: the
paused/resumednotices every session already hears. No new follow kinds and no store change. Replay doesn't show pulls, because the notices aren't events.Tests
cargo test -p sonny: 733 passed. New tests: the cord drops on its puller, the person's pull, a pause already hanging, and the resume ringing out from the resumer.AGENT_TEST_RUNTIME=1 python3 -m unittest -k pause tests.test_runtime tests.test_daemon: 5 passed.test_a_pause_stops_every_agent_until_resume_across_restartsnow checksbyin the resume answer and in the notice.cargo clippy --all-targetsandcargo fmt --checkare clean.