fix(codex): accept bounded collaboration events - #28
Conversation
Bring the published PR branch onto current main without rewriting its qualified collaboration milestones. Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex can you review this PR? |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4879268479
ℹ️ 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".
Regenerate binary, runtime-bundle, and protocol-schema attestations against the current standalone Codex release. Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62395d0af0
ℹ️ 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".
Reject drift from pinned model settings while keeping child failures scoped to their own turns. Refs #28 Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 154143ca41
ℹ️ 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".
Keep message mandatory while accepting the protocol-defined optional error metadata. Cover omitted optional fields without weakening shape or scope validation. Refs #28 Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 11d84dac61
ℹ️ 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".
Reject multiple receivers in every spawn lifecycle state before pending or child scope changes. Preserve the exactly-one invariant for successful completion. Refs #28 Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 07bbd5ff22
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c929d5f29
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 69faddd4de
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3046038191
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 44f199e6e3
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: acff621c85
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a2fe3673a3
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c1adc5617
ℹ️ 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".
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 85c53ba203
ℹ️ 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".
Terminal collaboration history can accumulate model-controlled items, so retaining each raw prompt permits evaluator memory exhaustion. Store fixed-size SHA-256 digests while preserving lifecycle equality checks. Refs #28 Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Codex 0.146 emits partial wait completions and pre-close child states that the prior validator could reject or misclassify. Bind lifecycle fields to their starts, preserve bounded child evidence, and make runtime cleanup iterative so valid deep trees cannot strand residue. Co-Authored-By: Dhiman's Agentic Suite <dhiman.seal@hotmail.com>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Why
Codex app-server 0.146.0 emits collaboration lifecycle events when an evaluator turn delegates work. Skivolve rejected those valid child-thread events as foreign traffic, so otherwise valid provider runs could fail even when the root turn completed correctly. Runtime cleanup also needed to tolerate unreadable tool-created directories without following attacker-controlled symlinks.
Design context
flowchart TD Root[Root Codex turn] --> Item[Receive collaboration item] Item --> Validate{Schema, owner, and lifecycle valid?} Validate -->|No| Reject[Reject before state mutation] Validate -->|Yes| Track[Track bounded child lifecycle] Track --> RootOnly[Retain root-only result and usage]Child traffic is validated and consumed as protocol state, never promoted into the root evaluator result.
What changed
Evidence
21b42f2: Ruff, formatting, compile, duplicate-key JSON validation, site validation, Prettier, Markdownlint, and diff hygiene pass.2e863156ed35ecc5253b1e2f907a9143077b9f7cb51942070c61996471ff6e04: protocol regeneration, runtime-bundle attestation, and the real locked-producer test pass.Trust and compatibility
Review guide
Start with the collaboration state machine in
skivolve/codex_app_server.py, then the ownership, receiver, mutation-order, retry, timeout, bounded-memory, and cleanup tests intests/test_codex_app_server.py. The cleanup code retains root descriptors and uses no-follow opens plus inode/device checks before traversal and removal.Generated with Dhiman's Agentic Suite