fix(review): release collected agents before follow-on work - #1649
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1cde31cbf0
ℹ️ 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: d932b6057d
ℹ️ 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: c72fd774ae
ℹ️ 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".
Summary
Completed review agents can exhaust the harness limit and prevent the next review from starting.
ce-doc-review,ce-simplify-code, andce-code-reviewnow require collection followed by caller-owned release before subsequent batches or handoffs, including code-review validators.The guidance uses the active harness’s lifecycle capabilities and avoids messages to completed agents with no remaining work. When release is unavailable, it reports retained capacity. Document review stops as incomplete if selected reviewers cannot dispatch and capacity cannot recover; it preserves collected outcomes and names the missing coverage. Planning propagates that incomplete review through its existing blocked result. Started cross-model jobs are collected and cleaned up before any return, with recovery limited to reviews that can still proceed to synthesis. This does not repair upstream scheduler retention.
Related: openai/codex#34518, openai/codex#39694
Validation
bun run test: 3,841 passed, zero failures; release and strict plugin validation passed.Security Disclosure
No security-relevant changes.
Agent Disclosure