Skip to content

Add executor capability discovery V2 infrastructure - #47683

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a223a5bc15fdf251023c0c71f468fd92c3b2d847
Sep 23, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a223a5bc15fdf251023c0c71f468fd92c3b2d847

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Add executor capability discovery V2 infrastructure

What changed

  • Define capabilities/discoverV2 request and inventory types and advertise capabilityDiscoveryV2 in executor metadata.
  • Prewarm installed plugin and global skill locations at server startup, with nonfatal scan failures.
  • Add sandbox-scoped discovery caching with file watcher invalidation and request-time reloads when watching is unavailable.
  • Batch metadata reads through the filesystem sandbox helper and bound discovery responses to 4 MiB and 2,048 capabilities.
  • Share plugin identity and installed-version selection in codex-core-plugin-common, and fall back to .app.json when a plugin does not declare an apps configuration.

The V2 discovery manager is not yet wired into RPC request dispatch.

Testing

Add coverage for inventory metadata, sandbox cache isolation, watcher invalidation, startup scan failures, response limits, and compatibility with older executor metadata.

## What changed

- Define `capabilities/discoverV2` request and inventory types and advertise `capabilityDiscoveryV2` in executor metadata.
- Prewarm installed plugin and global skill locations at server startup, with nonfatal scan failures.
- Add sandbox-scoped discovery caching with file watcher invalidation and request-time reloads when watching is unavailable.
- Batch metadata reads through the filesystem sandbox helper and bound discovery responses to 4 MiB and 2,048 capabilities.
- Share plugin identity and installed-version selection in `codex-core-plugin-common`, and fall back to `.app.json` when a plugin does not declare an apps configuration.

The V2 discovery manager is not yet wired into RPC request dispatch.

## Testing

Add coverage for inventory metadata, sandbox cache isolation, watcher invalidation, startup scan failures, response limits, and compatibility with older executor metadata.

GitOrigin-RevId: a223a5bc15fdf251023c0c71f468fd92c3b2d847
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a223a5bc15fdf251023c0c71f468fd92c3b2d847 branch from c2f055a to ab74392 Compare September 23, 2026 22:20
@copyberry
copyberry Bot merged commit ab74392 into main Sep 23, 2026
12 of 19 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/a223a5bc15fdf251023c0c71f468fd92c3b2d847 branch September 23, 2026 22:20
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Sep 23, 2026
@igrinii
igrinii deployed to issue-triage September 23, 2026 22:36 — with GitHub Actions Active
@igrinii
igrinii deployed to issue-triage September 23, 2026 22:36 — with GitHub Actions Active
@igrinii
igrinii deployed to issue-triage September 23, 2026 22:36 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — ab743923 Deployed Sep 23, 2026 by igrinii via Identify potential duplicates (all issues) #47831
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