spec: bridge-1.md — session-identity trust carve-out; internal-topic routing exclusion; gate ordering - #135
spec: bridge-1.md — session-identity trust carve-out; internal-topic routing exclusion; gate ordering#135JarbasAl wants to merge 1 commit into
Conversation
…routing exclusion; gate ordering Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 41 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
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. Comment |
Audit fixes for BRIDGE-1, plus two cross-file spillovers (INTENT-4 M7, USER-ID gate invariant).
Trust boundary
session_id. That let an external participant assert"default"— the global registration scope (INTENT-4 §11.2) — or a hub-sidesession_idbelonging to another participant, which defeats the reason INTENT-4 §11.1 readssession_idfromcontextin the first place. The rule now separates session content (client-authoritative, untouched) from thesession_idtrust anchor: a bridge MUST NAT-stamp the identifier it owns for that participant, or reject the Message.session_idmatching is broad enough to catch poll traffic that was never meant to leave the deployment. The converse, common-query, and fallback ping/pong/request families are now excluded fromsession_idrouting; they remain relayable bydestinationmatch, which is the satellite-registered-skill case (§4.4).Hardening surface
(topic, allowed-signals)pairs. Admitting a topic fordestinationmatching does not admit it forsession_idorsite_idmatching.Gate invariant
user_id/auth_levelare named as the current instance.Spillover
session_idforovos.skill.deregistergoes in the message context, never the payload. The payload carriesskill_idonly.Behavior changes
session_id: "default"verbatim must NAT-stamp or reject it. This closes cross-tenant intent-pool pollution: an external participant could otherwise register into, and match against, the global"default"scope.session_idtodestination-only. A bridge relying on broadsession_idrouting to deliver poll traffic must switch todestination.Conformance §6 updated for all new MUST/SHOULD clauses. CHANGELOG updated.