Pure additions to federation/protocol:
- vocab: note() (a Note, no @context of its own — always embedded in
a Create), create() (wraps an object with the post's addressing),
delete() (a Tombstone, the shape Mastodon sends), hashtag() (name
only; we don't serve tag pages), ordered_collection_page() for
outbox paging, and ordered_collection() gains an optional `first`
link
- addressing.py: one function turning a visibility (followers/
unlisted/public) into (to, cc), unit-tested for each value
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
Pure, framework-free code in federation/protocol:
- media: ActivityPub content types and Accept negotiation
- vocab: actor URLs, Person and Application actors (Mastodon's extension
terms), public keys, collections, plain text to safe HTML
- webfinger: acct:/actor-URL resource parsing (other domains and bad
usernames rejected) and JRD documents
- nodeinfo: discovery and NodeInfo 2.1; hostmeta: XRD pointing at
WebFinger
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW