Was wondering why #Pleroma wasn't working (i.e. finding Write.as accounts) -- looks like it doesn't include acct: in the webfinger request. Going to see if removing the requirement for that scheme on our end fixes it.
Yep, that worked. Now I can search for accounts, but following doesn't work -- probably need to debug what headers Pleroma is sending. Will fix that in another iteration.