Skip to content

Preserve discovery paths for symlinked skills - #37144

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bae539b766cc3782c7c121a4276c337699cbb509
Aug 5, 2026
Merged

Preserve discovery paths for symlinked skills#37144
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bae539b766cc3782c7c121a4276c337699cbb509

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026

Copy link
Copy Markdown

Preserve discovery paths for symlinked skills

Why

Symlinked skills have a canonical SKILL.md path that can differ from the path
under the configured skill root. A catalog entry that advertises the discovery
path must still select the canonical skill.

What changed

  • Track each loaded skill's discovery path alongside its canonical identity.
  • Render discovery paths in the skill catalog and accept either form for
    structured selections and linked skill mentions.
  • Preserve enabled-state checks, deduplication, and product filtering when
    resolving discovery paths.

Testing

Added loader, catalog, mention-resolution, and end-to-end turn coverage for
skills discovered through directory symlinks.

## Why

Symlinked skills have a canonical `SKILL.md` path that can differ from the path
under the configured skill root. A catalog entry that advertises the discovery
path must still select the canonical skill.

## What changed

- Track each loaded skill's discovery path alongside its canonical identity.
- Render discovery paths in the skill catalog and accept either form for
  structured selections and linked skill mentions.
- Preserve enabled-state checks, deduplication, and product filtering when
  resolving discovery paths.

## Testing

Added loader, catalog, mention-resolution, and end-to-end turn coverage for
skills discovered through directory symlinks.

GitOrigin-RevId: bae539b766cc3782c7c121a4276c337699cbb509
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/bae539b766cc3782c7c121a4276c337699cbb509 branch from e0e9129 to 72d937e Compare August 5, 2026 19:53
@copyberry
copyberry Bot merged commit 72d937e into main Aug 5, 2026
28 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/bae539b766cc3782c7c121a4276c337699cbb509 branch August 5, 2026 19:54
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 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.

1 participant