Repository navigation
Prevent targetless native waits in leaf agents - #886
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a restriction on targetless native event waits, limiting them to root and orchestrator agents to prevent potential deadlocks or indefinite waits in leaf agents. The changes include updates to behavior documentation in TOML files, modifications to the wait_agent tool parameters and descriptions, and the implementation of a validation check in the wait.rs handler, accompanied by unit tests to verify the new access logic. There are no review comments to address.
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. |
Summary
Validation
git diff --checkThe guard is intentionally scoped to the downstream native-event capability. Ordinary targeted waits and non-native waits retain their existing behavior.