Skip to content

Propagate deferred environment capability roots to MCP - #33427

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec3498aab1164824025094e96a9b1063b7b731ad
Jul 15, 2026
Merged

Propagate deferred environment capability roots to MCP#33427
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec3498aab1164824025094e96a9b1063b7b731ad

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Propagate deferred environment capability roots to MCP

What changed

  • Let deferred environments provide selected capability roots with their ready signal.
  • Validate that those roots have unique, non-empty IDs, belong to the registering environment, and stay within the root limit.
  • Include roots from ready turn environments when resolving MCP contributions, and refresh the MCP runtime when the selected root set changes.
  • Expose the exact ready root set to MCP contributors so executor plugins become available with their environment.

Testing

  • Cover ready-root propagation, validation failures, replacement isolation, reconnection, and MCP plugin availability refresh.

## What changed

- Let deferred environments provide selected capability roots with their ready signal.
- Validate that those roots have unique, non-empty IDs, belong to the registering environment, and stay within the root limit.
- Include roots from ready turn environments when resolving MCP contributions, and refresh the MCP runtime when the selected root set changes.
- Expose the exact ready root set to MCP contributors so executor plugins become available with their environment.

## Testing

- Cover ready-root propagation, validation failures, replacement isolation, reconnection, and MCP plugin availability refresh.

GitOrigin-RevId: ec3498aab1164824025094e96a9b1063b7b731ad
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ec3498aab1164824025094e96a9b1063b7b731ad branch from e331dc2 to 79177c3 Compare July 15, 2026 21:08
@copyberry
copyberry Bot merged commit 79177c3 into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ec3498aab1164824025094e96a9b1063b7b731ad branch July 15, 2026 21:10
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants