Repository navigation
Show subagent sender and safe mailbox content after native wait wake - #812
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. |
There was a problem hiding this comment.
Code Review
This pull request introduces a mailbox notification system to track and report safe, bounded notifications observed during agent waiting periods. It adds new data structures like AgentNotificationSummary, AgentNotificationContent, and AgentCommunicationOrigin across the protocol and core modules, updates the InputQueue to track communication sequences, and integrates these notifications into the TUI for improved visibility. The review feedback identified a logic bug in the sequence number generation due to lazy iterator usage, a performance optimization for string character counting, and a necessary adjustment to the serialization tag for the AgentNotificationContent enum to ensure consistency with the v2 protocol.
Summary
wait_agentwakes with the sending agent path and a short plaintext preview when available.Validation
git diff --checkpassed on the frozen candidate.Frozen candidate:
12b3dca453bf360c84ceea12e8fe8f1974a18f94.