fix(identity): enforce exact human migration requests and workload separation - #301
Merged
Merged
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.
Outcome
Prevent stale or substituted human identity migration plans and cross-kind principal collisions.
Work authority
Contributor mode:
Plan
Make human mapping symmetric with accepted workload registration before any live migration. Lock both identity kinds; bind inventory and request digests; reject workload ID/subject collisions, including revoked records. Preserve exact issuer strings and valid opaque subjects.
Changes and commits
2dd4988 updates planner/transaction and focused tests. No network work occurs inside the migration lock. No public account-linking endpoint or fallback authentication path.
Verification
Risk and rollback
Maintenance-only API changes; no live call site. Disposable and downstream migration callers must supply the new request digest and workload inventory. Revert before adoption; after live migration use coordinated database/application recovery, never an old writer on incompatible state.
Completion summary
Implementation ready for automated checks; live migration remains separately gated.
AGPL committer authorization
Base-owned workflow validates authenticated PR author; no credential sharing or spoofed attribution.
Submission checklist