Repository navigation
fix(authority): authenticate revision checks as the installed module - #27
Draft
crisfiorini-oss wants to merge 2 commits into
Draft
crisfiorini-oss wants to merge 2 commits into
crisfiorini-oss wants to merge 2 commits into
Conversation
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
Current hosts require the calling module's Work Context on revision reads. The older Python client sends only the shared internal token, causing Model Gateway profile reads to return AuthorityUnavailable. Add an organization-scoped module broker client and a module-authenticated mesh revision client. Older clients retain their explicit older-host contract.
Build or reuse
Searched saas-sdk-python, sdk-python, saas-sdk-go and Model Gateway. Reuse existing revision transport, canonical request projection and async credential callbacks; extend the shared SDK with the Go broker's organization selector contract. No module-local client copy, retry, authorization cache or generated schema change. This is a fix at the protocol client owner.
Validation
81 targeted broker and revision tests passed, including real gRPC, organization isolation, rotating workload credentials, current denial, redacted errors and unsafe-origin refusal. Model Gateway hosted integration passed against a fixture requiring module proof, including process startup. Full suites run in CI. Live rollout pending; no authenticated user journey claimed.