Formalize scope intersection and introspection response fields#1
Open
jpelaez-23blocks wants to merge 1 commit into
Open
Formalize scope intersection and introspection response fields#1jpelaez-23blocks wants to merge 1 commit into
jpelaez-23blocks wants to merge 1 commit into
Conversation
…ields Add two normative sections based on production implementation experience: 1. Scope Resolution — defines the MUST behavior when agents request specific scopes: intersection with registered scopes, invalid_scope rejection for escalation attempts, and least-privilege token requests. 2. Required Introspection Fields — makes agent-specific fields (agent_id, agent_address, agent_name, agent_role, agent_status) normative with a MUST/SHOULD table, enabling target APIs to make identity-aware authorization decisions. Both additions are non-breaking — they formalize behavior that the reference implementation (23blocks Auth API) already enforces. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
agent_id,agent_address,agent_name,agent_role,agent_status) normative with MUST/SHOULD requirements. Enables target APIs to make identity-aware authorization decisions.Both additions are non-breaking. They formalize behavior that the reference implementation (23blocks Auth API) already enforces in production.
Motivation
After building a full AID implementation end-to-end (registration, token exchange, introspection, lifecycle management, and a production frontend), we identified two areas where the spec was informational but should be normative:
scopeas a parameter but didn't define the intersection/rejection behavior.Test plan
🤖 Generated with Claude Code