Skip to content

Deduplicate cloud and executor skill listings before budgeting - #49127

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/477e4cf16b8968dbe61438dd5af1eca9cbfa78c8
Sep 29, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Deduplicate cloud and executor skill listings before budgeting

Why

Skills available from both cloud and executor providers consume duplicate catalog space, leaving less room for descriptions of unique skills.

What changed

  • Prefer model-visible cloud skills over executor listings with the same plugin:skill name before allocating the metadata budget.
  • Preserve aliases from the full visible executor inventory so filtering duplicates does not renumber remaining packages. Continue choosing full locators when they fit the budget better.
  • Keep executor packages available through skills.list and skills.read, and retain executor listings when cloud skills are disabled.

Testing

Add regression tests and a model-request snapshot covering description retention, stable aliases across turns, executor availability changes, package reads, and full-locator selection after deduplication.

## Why

Skills available from both cloud and executor providers consume duplicate catalog space, leaving less room for descriptions of unique skills.

## What changed

- Prefer model-visible cloud skills over executor listings with the same `plugin:skill` name before allocating the metadata budget.
- Preserve aliases from the full visible executor inventory so filtering duplicates does not renumber remaining packages. Continue choosing full locators when they fit the budget better.
- Keep executor packages available through `skills.list` and `skills.read`, and retain executor listings when cloud skills are disabled.

## Testing

Add regression tests and a model-request snapshot covering description retention, stable aliases across turns, executor availability changes, package reads, and full-locator selection after deduplication.

GitOrigin-RevId: 477e4cf16b8968dbe61438dd5af1eca9cbfa78c8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/477e4cf16b8968dbe61438dd5af1eca9cbfa78c8 branch from 4bb07a0 to 13f580e Compare September 29, 2026 01:58
@copyberry
copyberry Bot merged commit 13f580e into main Sep 29, 2026
1 check failed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/477e4cf16b8968dbe61438dd5af1eca9cbfa78c8 branch September 29, 2026 01:58
@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 29, 2026

This branch was successfully deployed

1 active deployment
issue-triage — 13f580ef Deployed Sep 29, 2026 by Orchardseed via Translate non-English issue #15968
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.

2 participants