The helper takes a DID-form pds:// URL, as in pds://did:plc:…/<repo>. lichen.page.review (OCTOBER-REVIEW-REVISIONS unit 5c) writes new remotes this way, so a remote survives a handle change.
- A DID authority is resolved to its PDS directly and is never sent to
resolveHandle. - With a lent session, the DID must be the session's own DID; another DID is refused.
- A malformed DID is refused.
- A handle-form URL behaves as before.
New tests:
- a DID URL accepted;
- a handle URL unchanged;
- a malformed DID refused;
- a session for another DID refused.
Built and tested on lichen-ci outside lichen's tree: rustfmt clean, 78 passed and 2 ignored (notify-e18280ad, notify-c7f118d1).
This builds on #2 (grp-helper-entry at a55fb459), which builds on #1, both still open. lichen pins this branch's commit 6e0847f2, so nothing waits for these merges, which are the operator's.
🤖 Generated with Claude Code