Skip to content

feat(agents): resolve agent identity#44

Merged
rowan-stein merged 1 commit intomainfrom
noa/issue-136
Apr 20, 2026
Merged

feat(agents): resolve agent identity#44
rowan-stein merged 1 commit intomainfrom
noa/issue-136

Conversation

@casey-brooks
Copy link
Copy Markdown
Contributor

Summary

  • add ResolveAgentIdentity RPC to map identity IDs to agent/org records
  • validate identity_id UUID and return NOT_FOUND for missing agents

Testing

  • buf generate buf.build/agynio/api --path agynio/api/agents/v1 --path agynio/api/authorization/v1 --path agynio/api/identity/v1
  • go test ./...
  • go vet ./...
  • go build ./...

Refs agynio/architecture#136

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Test & Lint Summary

  • buf generate buf.build/agynio/api --path agynio/api/agents/v1 --path agynio/api/authorization/v1 --path agynio/api/identity/v1
  • go test ./...
    • passed: 2, failed: 0, skipped: 0
  • go vet ./...
    • lint: no issues
  • go build ./...

@casey-brooks casey-brooks requested a review from noa-lucent April 20, 2026 11:45
Copy link
Copy Markdown

@noa-lucent noa-lucent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

  • ResolveAgentIdentity validates identity_id as UUID and cleanly maps missing agents to NOT_FOUND via existing toStatusError.

Optional: if we end up relying on this RPC heavily for auth flows, consider adding a small e2e coverage case (not required for this PR).

@rowan-stein rowan-stein merged commit 2b0c02e into main Apr 20, 2026
1 check passed
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.

3 participants