feat(auth): add provider-neutral authorization contract - #3633
Draft
cea-block wants to merge 9 commits into
Draft
Conversation
cea-block
force-pushed
the
cea/shared-auth-context
branch
from
August 3, 2026 15:34
8194b88 to
49af926
Compare
cea-block
force-pushed
the
cea/authorization-provider
branch
from
August 3, 2026 15:34
517c94f to
12f6d2e
Compare
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com> (cherry picked from commit 9342802) Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com> (cherry picked from commit 26f64a5) Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com> (cherry picked from commit 12f6d2e) Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
cea-block
force-pushed
the
cea/shared-auth-context
branch
from
August 4, 2026 19:19
49af926 to
6db9d33
Compare
cea-block
force-pushed
the
cea/authorization-provider
branch
from
August 4, 2026 19:19
12f6d2e to
5571b1c
Compare
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
* commit '76d665f9b718ab74b97505e9fbb2dd95eed49fc7': test(desktop): stabilize off-relay video menu fix(desktop): keep sidebar within size limit Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
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
Adds a provider-neutral authorization contract on top of #3564. The new
buzz-authboundary turns verified identity evidence into a request for portable capabilities, validates the provider response, and returns a request-scoped capability snapshot that callers cannot construct directly.This PR does not wire the contract into relay handlers or change runtime behavior.
This remains a draft until the Buzz-local NIP-FI lane merges and its implementation-allocation matrix is reconciled against the final public interface. It makes no discovery or conformance claim.
Security properties
Scope
Included:
AuthorizationProviderinterface;Deferred:
Validation
cargo test -p buzz-auth --lib: 109 passed.cargo clippy -p buzz-auth -p buzz-relay --all-targets -- -D warnings: passed.just cirun completed the Rust, desktop, web, analysis, and build slices successfully; its only failure was the same unrelated Flutter test present on the exact parent:ChannelDetailPage keeps follow mode off while a tall newest message stays visible. This final contract-only delta used the focused gate above instead of repeating the full suite.36b413a1cb050299962d9fa05fb2d1e6c98135a6: Claude 7/10 and GPT 9/10, bothAPPROVE, with no critical issues. Gemini-family coverage was explicitly waived after the installed client and documented fallback could not authenticate.Dependency and rollout
8194b888cf512090637619f0e10054d2492ac424; Buzz-local NIP-FI merge plus allocation reconciliation before ready-for-review.