Repository navigation
fix(adapters): use effective capabilities in shim identities - #1580
Merged
Merged
Conversation
jakelorocco
reviewed
Aug 24, 2026
planetf1
force-pushed
the
fix/1563-effective-capability
branch
from
August 25, 2026 11:21
bd01973 to
51f1d0c
Compare
Assisted-by: Codex Signed-off-by: Nigel Jones <[email protected]>
planetf1
force-pushed
the
fix/1563-effective-capability
branch
from
August 25, 2026 11:45
51f1d0c to
237ba86
Compare
jakelorocco
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue
Fixes #1563
Description
Catalog entries separate their public lookup names from their stable capability
tokens. The legacy
IntrinsicAdapterandEmbeddedIntrinsicAdaptershims builttheir
Identityfrom the lookup name, so hyphenated catalog aliases emitted aspurious
KNOWN_CAPABILITIESwarning whenever they were resolved. This PR usesthe catalog entry's
effective_capabilityfor known adapter functions andpreserves raw-name lookup so existing callers can still resolve aliases.
This is a focused Phase 2 correction within Epic #929. It fixes the temporary
shim layer before its planned removal in #1144; it does not change the
catalogue, adapter loading, or the broader Phase 2 lifecycle work.
Design notes
raw capability and advisory warning behaviour.
_find_adapter()accepts either the catalog lookup name or the canonicalcapability token, preserving existing alias-based resolution after identity
canonicalisation.
warning-only fix.
Testing
Targeted adapter shim tests: 68 passed.
Commit hooks passed: Block Secrets, SPDX headers, Ruff format/check, mypy,
codespell, DCO sign-off, and generated-MDX validation.
The full non-qualitative suite is not claimed as green: local package-isolation
tests encountered a build-environment permission error unrelated to this diff.
Tests added to the respective file if code was changed
New code has 100% coverage if code was added
Ensure existing tests and github automation passes (a maintainer will kick off the github automation when the rest of the PR is populated)
Attribution
Adding a new component, requirement, sampling strategy, or tool?
NOTE: Please ensure you have an issue that has been acknowledged by a core contributor and routed you to open a pull request against this repository. Otherwise, please open an issue before continuing with this pull request.