Skip to content

Use the host skill provider catalog in world state - #36309

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

Use the host skill provider catalog in world state#36309
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b6b2d8ea14386356094cff5783d121d74657e9e3

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 31, 2026

Copy link
Copy Markdown

Use the host skill provider catalog in world state

What changed

  • Load and cache the host skill provider catalog during world-state contribution.
  • Render host skill listings from that catalog with Core-compatible budgeting, while preserving Core's full prompt injection for selected host skills.
  • Reuse the cached host catalog for shadow selection, including when skill listings are disabled.
  • Preserve an empty Core-compatible skills fragment when every entry exceeds the metadata budget, and make budget warnings independent of the configured percentage.

Testing

  • Cover provider-backed host listings, selected-skill prompt injection, shadow selection, disabled listings, oversized prompts, empty fragments, metrics, and warnings.
## What changed

- Load and cache the host skill provider catalog during world-state contribution.
- Render host skill listings from that catalog with Core-compatible budgeting, while preserving Core's full prompt injection for selected host skills.
- Reuse the cached host catalog for shadow selection, including when skill listings are disabled.
- Preserve an empty Core-compatible skills fragment when every entry exceeds the metadata budget, and make budget warnings independent of the configured percentage.

## Testing

- Cover provider-backed host listings, selected-skill prompt injection, shadow selection, disabled listings, oversized prompts, empty fragments, metrics, and warnings.

GitOrigin-RevId: b6b2d8ea14386356094cff5783d121d74657e9e3
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/b6b2d8ea14386356094cff5783d121d74657e9e3 branch from a45aca9 to 5e8b224 Compare July 31, 2026 11:02
@copyberry
copyberry Bot merged commit 5e8b224 into main Jul 31, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/b6b2d8ea14386356094cff5783d121d74657e9e3 branch July 31, 2026 11:03
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant