GeezerVison is showing github.com — doc: design record for generic invite delegation (#5751) by dezren39 · Pull Request #10340 · developing-today/code
Conversation
dezren39
commented
Nov 14, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Design pass for #5751: settles its four open questions in a design record, against the shipped id-directory::invites baseline (paste layer + signed invite event already exist; the record names what they don't yet carry).
- Encoding — two layers with budgets: paste form ≤ 512 chars (relay-first tickets; the minter drops direct addresses rather than exceed it), postcard invite event ≤ 512 bytes as a hard parser limit.
- Delegation depth — a monotone invite term: open delegation defaults to depth 1 (hard cap 3), moderator grants default to 0; nobody mints depth they don't hold; chains journaled via parent digests; cascading revocation considered and rejected for v1, with the reason recorded.
- Link leakage — bearer links bounded by default (7-day expiry, 25-use cap), per-link redemption auditing, one-operation rotation, and an optional redeemer pin that makes a link non-transferable; stronger secret-based options considered and set aside (the Seitan key already covers that need).
- Group-fronted worlds — live set, with id: design: Querying local and remote ID servers v1 #5675 per-world sensitivity filters at access time, per-path removal symmetry, and the signed journal as the snapshot of record.
§5 names the five follow-on implementation deltas against InviteBody. Docs-only change.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Documentation
- Added design documentation describing invite delegation rules, including delegation depth limits, invite expiration and redemption limits, revocation and rotation, and optional redeemer pins.
- Documented how group-fronted world access is evaluated, along with per-world filters and historical access records.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Settles the four open questions of #5751 against the shipped id-directory invites baseline: two-layer encoding with budgets (paste form <= 512 chars relay-first; postcard event <= 512 bytes); delegation depth as a monotone invite term (open delegation default 1, cap 3; moderator grant default 0); link-leakage bounds (7-day / 25-use defaults, per-link redemption auditing, one-operation rotation, optional redeemer pin); group-fronted worlds as a live set with per-world sensitivity filters and the journal as the snapshot. Names the five follow-on implementation deltas against InviteBody.
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
❌ Failed 2026-11-14T18:39:37.762648Z We couldn’t complete this review. Comment @codex review to try again. |
5d473d5 |
Manual request |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@codex review
Automated review request per the repo's review gate (lane code-d, task 16810). Docs-only: a design record settling #5751's four open questions (ticket encoding/size budget, delegation depth, link-leakage mitigations, group live-set vs snapshot) against the existing id-directory invites implementation.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Caution
Review failed
The pull request is closed.
Walkthrough
-
This design document records decisions for invite encoding, delegation depth, link expiry and redemption limits, and group-fronted world access. It also lists follow-on implementation work and related references.
Changes: Invite delegation design
| Layer / File(s) |
Summary |
Invite encoding and size limits doc/2026-11-14T18-50-00Z_design_id_invite_delegation/2026-11-14T18-50-00Z_design_id_invite_delegation.md |
The document describes existing paste formats, signed event terms, verification, and separate size limits for pasted forms and event bodies. |
Delegation and redemption rules doc/2026-11-14T18-50-00Z_design_id_invite_delegation/2026-11-14T18-50-00Z_design_id_invite_delegation.md |
The document defines delegation depth and parent linkage, link expiry and use limits, redemption records, revocation, rotation, and optional redeemer pins. |
Group-fronted access and follow-on work doc/2026-11-14T18-50-00Z_design_id_invite_delegation/2026-11-14T18-50-00Z_design_id_invite_delegation.md |
The document specifies live-set group-fronted access and lists implementation tasks and references. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related issues
Merge Risk: Low · up to 5d473
-
This documentation-only change has no direct runtime impact. It misdescribes the current invite encoding and leaves delegation validation and use-cap enforcement unspecified, which could mislead the implementation that follows. Fix the record or track these items before relying on it.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Review gate record (lane code-d, task 16810): @codex review was requested (comment above). Codex returned no review — its account usage limit is exhausted (zero inline comments, verified via the API, the same account-wide condition observed on every PR this shift). CodeRabbit posted its summary with no actionable findings. Docs-only design record; the content was verified against the shipped id-directory::invites sources it cites (invitation.rs, event.rs, mod.rs read in full during the pass). Merging on that verification per fleet rules; CI runs on main.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|