Skip to content

Add agent authorization contracts#73

Merged
chubes4 merged 1 commit intomainfrom
chubes/agent-authorization-ceilings
May 4, 2026
Merged

Add agent authorization contracts#73
chubes4 merged 1 commit intomainfrom
chubes/agent-authorization-ceilings

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 4, 2026

Summary

  • Adds generic WP_Agent_* access grant, token, token store, token authenticator, authorization policy, and capability ceiling substrate contracts.
  • Extends AgentExecutionPrincipal with workspace, client, and capability ceiling context so token-authenticated runs can carry complete authorization context.
  • Documents the authorization model and adds smoke coverage for token metadata, bearer authentication, access grants, and capability ceiling composition with WordPress capabilities.

Fixes #58.

Testing

  • composer test
  • homeboy lint --path /Users/chubes/Developer/agents-api@chubes-agent-authorization-ceilings
  • homeboy test --path /Users/chubes/Developer/agents-api@chubes-agent-authorization-ceilings

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Source audit, implementation drafting, smoke test coverage, docs updates, and verification loop. Chris remains responsible for review and testing.

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.

Promote agent authorization, access grants, tokens, and capability ceilings

1 participant