feat(router): configure generic scope matching - #19
Merged
Merged
Conversation
Dastari
force-pushed
the
agent/scope-matcher
branch
from
August 22, 2026 03:34
fdf5c8e to
0e47a37
Compare
Dastari
force-pushed
the
agent/scope-matcher
branch
from
August 22, 2026 04:07
0e47a37 to
ff88dad
Compare
2 tasks
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.
Summary
scopeMatcherfile section while preserving exact matching when omittedsuperScopes,exactOnlyScopes, andexactOnlyScopePatternsoptions through the optionalauth-agqladapteragql-auth0.16 so consumers resolve one auth type universeConsumer neutrality
This serves consumers beyond GEMA by letting any router deployment select exact compatibility or its own hierarchical authorization policy without consumer-specific code. No consumer identifiers or policies are embedded upstream.
Before opening and updating this PR, the complete diff was scanned case-insensitively for
gemaand separately against GEMA's catalogue scope strings; both scans returned zero matches.Verification
auth-agqltests: 60 unit + 1 binary smokeauth-agqlDocumentation impact
Updated the router README, configuration reference, example, changelog, and migration guide; the current ORM bridge guide, workspace inventory, and package handoff notes now describe the aligned external auth revision. No descriptor, GraphQL schema, token, database, or stored-data migration is required.
The router package is bumped to 0.2.0. This PR depends on Dastari/agql-auth#3 and temporarily pins its reviewed head revision; that pin will be replaced with the merged full revision before this PR is merged.