Skip to content

Share the skills budget across host and executor catalogs - #35769

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/30041736a76aa173cb641aa98a876a306cb437d2
Jul 28, 2026
Merged

Share the skills budget across host and executor catalogs#35769
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/30041736a76aa173cb641aa98a876a306cb437d2

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 28, 2026

Copy link
Copy Markdown

Share the skills budget across host and executor catalogs

Why

Rendering host and executor skill catalogs independently allows their combined
metadata to exceed the skills context budget.

What changed

  • Allocate one budget across both catalogs when both contain model-visible
    skills.
  • Prefer retaining executor skills when budget pressure requires omissions,
    while preserving an executor omission marker and reporting when all host
    skills were omitted.
  • Evaluate absolute and aliased host paths under the shared budget and select
    the rendering that best preserves executor entries, total entries, and
    descriptions, in that order.

Testing

Added renderer and production-turn coverage for shared-budget description
shortening, host-first omission, executor omission markers, and alias selection.

## Why

Rendering host and executor skill catalogs independently allows their combined
metadata to exceed the skills context budget.

## What changed

- Allocate one budget across both catalogs when both contain model-visible
  skills.
- Prefer retaining executor skills when budget pressure requires omissions,
  while preserving an executor omission marker and reporting when all host
  skills were omitted.
- Evaluate absolute and aliased host paths under the shared budget and select
  the rendering that best preserves executor entries, total entries, and
  descriptions, in that order.

## Testing

Added renderer and production-turn coverage for shared-budget description
shortening, host-first omission, executor omission markers, and alias selection.

GitOrigin-RevId: 30041736a76aa173cb641aa98a876a306cb437d2
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/30041736a76aa173cb641aa98a876a306cb437d2 branch from 2044524 to f6160ca Compare July 28, 2026 13:17
@copyberry
copyberry Bot merged commit f6160ca into main Jul 28, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/30041736a76aa173cb641aa98a876a306cb437d2 branch July 28, 2026 13:18
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 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.

2 participants