Repository navigation
design(id): delegation threat model, guarantees, and F1/F2 decisions (#6379) - #13535
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 41 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 23, 2026
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.
Stage 2 packet 1 for #6379 (the design core, routed first by the 2026-11-17 triage, task 18481): the threat-model / security-guarantees design record, with findings F1 and F2 ending in explicit decisions. Docs only — no code changes, no check weakened, no schedule touched.
What the record contains
805258752: F1 open (no expiry/bounds field onDelegateArgsorGrant), F2 open (veto judge requires Manage + chain), F5 still exactly 2 CLI tests.Attenuated/NoChain), Admin never granted (BadScope), no self-grants (BadGrantee), cross-world cap (NotCrossable), veto discipline, explicit removal disposition incl. the Phase 2: keep_prior revives earlier grants for a re-added member #169 no-revival rule, device scope cap, ingest authenticity, fold determinism — plus G9, the interim no-expiry fact stated plainly as the operative guarantee until the implementation lands.expires_atper the design of record (§7.1/§7.4, validity rule §7.2(5)), judged from signed fields only so determinism (G8) holds.usesexplicitly rejected as a group state rule (§7.4). Stated limitation: judged against author-asserted signed timestamps, expiry is a convergent, auditable bound, not a hard real-time cutoff — veto/removal remain the hard cutoff; the implementation PR must state its exact comparison rule against this limitation.from == None) stay manager-only; transfer-reissued grants belong to the reissuer. Rationale: revocation only removes authority, so the widening fails closed by construction; the design of record'srevoke{ delegation }is author-agnostic — manager-only is an implementation narrowing.Follow-ups filed (remaining stage-2 work, named on #6379)
Refs #6379 (does not close it — the items above remain).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.