Repository navigation
docs(agent-identity): record AS-1 in-process calls, AS-2's anonymous routes, and distinct issuers - #2773
Merged
Conversation
…routes, and distinct issuers - The broker's own in-process calls to AS-1 go through the handler AS-1 serves on its network routes, with the same checks and limits. - The embedded AS-2's anonymous routes are rate-limited and size-capped like AS-1's. - No AS-2 issuer configured for mecatl may name the same server as AS-1's issuer, since mecatl authenticates to both with one key. Co-authored-by: Mecatl <[email protected]>
jhrozek
approved these changes
Nov 12, 2026
Merged
2 tasks
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.
Design-only companion to #2744. Review them side by side: this PR records the end-state rules that #2744's review surfaced, and #2744 implements its part of them. Shortcuts, and the tickets that remove them, stay in the issues, not the design.
What
implementation.md, "Modulith constraints": "No in-process shortcut may skip a check" now also covers the broker's own calls to AS-1. AS-1 is a broker module, so the broker reaches it in process in every deployment. Those calls go through the handler AS-1 serves on its network routes, with the same checks and limits, and AS-1 decides what it exposes in process.threat-model.md, "Protections in both deployments": new "Anonymous traffic at the embedded AS-2" item. The embedded gateway's authorization server is reachable before sign-in, like AS-1, so it gets the same global rate limits (token endpoint and the rest in separate buckets) and query and body size caps.credentials-and-lifecycle.md, step (7): new "Configured AS-2 issuers" rule. No AS-2 issuer configured formecatlmay name the same server as AS-1's issuer, becausemecatlauthenticates to both with one key. Mecatl refuses such a configuration at startup.Left out on purpose
These are shortcuts or undecided implementation details, tracked in issues:
Related