Repository navigation
feat(agent): sign in with a handle, discovering the PDS from its DID document - #187
Merged
Merged
Conversation
…document Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 7, 2026
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.
What this changes
New
wf_agent_login_discovered: resolves a handle (DNS TXT, then/.well-known/atproto-did) or takes a DID, reads its#atproto_pdsendpoint, points the agent there, and logs in at that PDS. Before this, the first login went to the host the caller typed, so an account on another PDS could not sign in unless the user typed its PDS.Verification
test_agent_login_discovered(argument checks, and an unresolvable.invalidhandle fails with no PDS reported):ctestpasses on the host build. The network path is not run here; the consumers' sign-in is the end-to-end check.Docs
Header comment on
wf_agent_login_discovered; CHANGELOG entry.Changelog: CHANGELOG.md
Checklist
CI gateandflow / conventions)🤖 Generated with Claude Code