Repository navigation
Conversation
…ne go on (#528) * Sonny: the sky shows the andon cord, who pulled it and who let the line 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 * Sky: the cord keeps its ends as stars in a crowded sky, and a replay 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 * Sky: a copy pulls the cord as the agent it is drawn on Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGjuqazMtAaTVjn2Rg --------- Co-authored-by: Claude <[email protected]>
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: 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".
| self.notices.push( | ||
| json!({"event": "resumed", "pause": lifted, "by": by, "durable": false}), |
There was a problem hiding this comment.
Bound resume attribution before lifting the pause
When a pause holds, a main-socket client can send resume with a by string larger than 1 MiB but within the 8 MiB request-line limit. This branch copies that string into the broadcast notice without validation. In the inspected daemon, Output::encode rejects events over 1 MiB, and the notice-distribution loop in src/server/mod.rs closes every session whose try_send fails, so this single request disconnects all connected clients, including healthy approval consumers. Validate the attribution length before removing the pause, rather than letting an oversized notice reach the broadcaster. This also avoids copying and encoding megabytes per session on the shared runtime thread.
AGENTS.md reference: AGENTS.md:L51-L53
Useful? React with 👍 / 👎.
Do not merge. This PR exists only so Codex runs the security review that #528 never got (tracked in #531). The base is the commit before #528 merged (
09fe6ee^) and the head is the merge commit09fe6ee, so the diff is exactly what #528 landed on main. Once findings are fixed on main or filed, this PR gets closed and bothsecurity-review/528*branches are deleted.What to look at: protocol 31, where
resumetakesby, filled fromAGENT_BOTby the CLI, and the daemon's resume path. #534 later boundedbyto 1–128 bytes on main.