Skip to content

Load skill interface metadata in the host loader - #36903

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/3f316191752eeebd15d11ac0bee82201574320ec
Aug 4, 2026
Merged

Load skill interface metadata in the host loader#36903
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/3f316191752eeebd15d11ac0bee82201574320ec

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Load skill interface metadata in the host loader

What changed

  • Move skill interface validation and asset-path resolution into codex-skills so both skill loaders share the same behavior.
  • Populate host-loaded skills with validated display metadata, prompts, brand colors, and local icons from agents/openai.yaml.
  • Allow plugin skills to reference icons under the plugin's shared assets directory while rejecting absolute paths and paths that escape permitted asset roots.

Testing

  • Add resolver tests for valid, invalid, local, and plugin-shared interface assets.
  • Add host loader coverage for interface fields and asset-path restrictions.
## What changed

- Move skill interface validation and asset-path resolution into `codex-skills` so both skill loaders share the same behavior.
- Populate host-loaded skills with validated display metadata, prompts, brand colors, and local icons from `agents/openai.yaml`.
- Allow plugin skills to reference icons under the plugin's shared `assets` directory while rejecting absolute paths and paths that escape permitted asset roots.

## Testing

- Add resolver tests for valid, invalid, local, and plugin-shared interface assets.
- Add host loader coverage for interface fields and asset-path restrictions.

GitOrigin-RevId: 3f316191752eeebd15d11ac0bee82201574320ec
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/3f316191752eeebd15d11ac0bee82201574320ec branch from 3bd1fbf to 49b0aeb Compare August 4, 2026 14:52
@copyberry
copyberry Bot merged commit 49b0aeb into main Aug 4, 2026
27 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/3f316191752eeebd15d11ac0bee82201574320ec branch August 4, 2026 14:53
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant