Skip to content

docs(id): relay trust model & broker authorization decision record (#5795) - #10000

Merged
dezren39 merged 1 commit into
mainfrom
queue/16756-5795-relay-trust
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16756-5795-relay-trust

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Design decision record for #5795 (from parent #5671), built on the merged #5813 relay & proxy record (PR #7653) — its protocol and security boundaries are assumed, not re-litigated. Design only — no code changed.

Decisions in doc/2026-11-14T13-20-00Z_design_id5795_relay_trust/:

  • Broker authorization: brokers hold no standing authority. Every broker action requires a per-session capability, endpoint-signed, naming broker, peer pair, class, action set, and expiry; the deployment allowlist bounds which capability types may ever be granted (content access, identity assertion, durable storage beyond in-flight queueing, and broker-authorization are never grantable). Revocation is non-renewal + delisting — no CRL machinery.
  • Metadata minimisation: brokers see only the id: design: postcard wire schema v1 (from #5674) #5808 carrier-visible routing fields, with per-session pseudonymous routing tokens where the session type allows, size bucketing against length side channels, and forwarding logs that are field-minimised and retention-bounded (default 7 days).
  • Compromised-broker analysis: a malicious or seized broker can drop/delay/reorder, observe the minimised metadata, and selectively refuse service — each with its stated bound (multi-path fallback, gap surfacing, non-renewal). It cannot read content, forge or alter frames undetectably, impersonate a peer, mint or widen capabilities, rewrite durable history, or escalate across sessions. Detection rides the existing gap/failure signals; no separate attestation machinery.

No parent #5671 decision is changed. Rejected alternatives recorded (standing broker roles, central authorization server, mTLS-only authorization, full-fidelity broker telemetry). Five implementation invariants; implementation timing remains a separate decision per the issue.

Closes #5795 on merge.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…5795)

Brokers hold no standing authority: per-session endpoint-signed capabilities, allowlist-bounded by deployment (content access, identity assertion, durable storage, broker-authorization never grantable); metadata minimisation (carrier-visible routing fields only, size bucketing, retention-bounded forwarding logs); compromised-broker analysis — malice/seizure degrades availability only: cannot read, forge, impersonate, mint capabilities, or rewrite history, each bound named. Built on the merged #5813 record; no parent #5671 decision changed. Design only.
@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 13:18
@chatgpt-codex-connector

Copy link
Copy Markdown
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-14T13:18:20.295643Z
We couldn’t complete this review. Comment @codex review to try again.
d0c075d PR opened
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6f0aefb7-eb3a-4853-b60f-a90cbd844207
Commits

Reviewing files that changed from the base of the PR and between a824f62 and d0c075d.

Files selected for processing: 1

  • doc/2026-11-14T13-20-00Z_design_id5795_relay_trust/2026-11-14T13-20-00Z_design_id5795_relay_trust.md
  • 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

@chatgpt-codex-connector

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: design: relay trust model & broker authorization (from #5671)

1 participant