docs(rfc): define Handoff access control - #1396
Open
Teingi wants to merge 2 commits into
Open
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.
Which issue or RFC does this PR close?
Closes #1395.
Rationale for this change
PowerContext has a complete Handoff continuity model, but the current optional static Bearer authentication does not express per-user, per-Workstream, or exact-Handoff visibility. A receiver's Handoff authorization observation is also not an ACL.
This RFC defines a least-privilege Access Control boundary for transferring one exact Handoff from user A to user B while preserving the existing Handoff, Receipt, evidence, and Runtime domain semantics. It also defines a replaceable authorization-provider boundary so deployments can use the built-in store, Casbin, OpenFGA, or an AuthZEN-compatible PDP.
What changes are included in this PR?
x-powercontext-accessOpenAPI metadata.AuthorizationProviderand optionalRelationshipWriterintegration boundaries.Are there any user-facing changes?
No released behavior changes are included. This PR adds an RFC design only. A later implementation PR would add public Access APIs, authorization configuration, 403 behavior, and Handoff receiver UX after separate review.
How was this change tested?
make docs-testuv run prek run --files docs/en/rfcs/1396_handoff_access_control.md docs/zh/rfcs/1396_handoff_access_control.mdgit diff --cached --checkAI usage statement
OpenAI Codex (GPT-5) was used to inspect the existing Handoff, HTTP, MCP, and RFC contracts; draft the bilingual RFC; and run repository validation. The author directed the design scope and reviewed the resulting artifacts.