Skip to content

Add batched executor capability discovery - #33852

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

Add batched executor capability discovery#33852
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f98fd2321cafb58c596db02da1f83c09d8eb375d

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 17, 2026

Copy link
Copy Markdown

Add batched executor capability discovery

Why

Selected capability roots can contribute plugins, MCP servers, connectors, and
skills. Discovering each contribution separately requires repeated access to the
executor filesystem.

What changed

  • Add the capabilityRoots/discoverV1 exec-server RPC to scan selected roots and
    materialize recognized plugin manifests, configuration files, skill
    instructions, and skill metadata in one bounded request.
  • Add the opt-in executor_capability_discovery feature, with a thread-scoped
    cache and per-step snapshot shared by MCP and skill discovery.
  • Parse MCP, connector, and skill contributions from the materialized snapshot,
    including serving cached skill instructions without another filesystem read.

Testing

  • Cover discovery limits, manifest precedence, root-local failures, cache reuse,
    plugin contributions, and parity with the existing environment skill loader.

## Why

Selected capability roots can contribute plugins, MCP servers, connectors, and
skills. Discovering each contribution separately requires repeated access to the
executor filesystem.

## What changed

- Add the `capabilityRoots/discoverV1` exec-server RPC to scan selected roots and
  materialize recognized plugin manifests, configuration files, skill
  instructions, and skill metadata in one bounded request.
- Add the opt-in `executor_capability_discovery` feature, with a thread-scoped
  cache and per-step snapshot shared by MCP and skill discovery.
- Parse MCP, connector, and skill contributions from the materialized snapshot,
  including serving cached skill instructions without another filesystem read.

## Testing

- Cover discovery limits, manifest precedence, root-local failures, cache reuse,
  plugin contributions, and parity with the existing environment skill loader.

GitOrigin-RevId: f98fd2321cafb58c596db02da1f83c09d8eb375d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f98fd2321cafb58c596db02da1f83c09d8eb375d branch from 74a86a1 to 08e30a2 Compare July 17, 2026 15:47
@copyberry
copyberry Bot merged commit 08e30a2 into main Jul 17, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f98fd2321cafb58c596db02da1f83c09d8eb375d branch July 17, 2026 15:48
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 17, 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.

1 participant