This is the seam, and the only one. Axismundi Actors, Object Projections and Activities each
work without it and none of them talks to another server; this package is what puts them on
the network, by composing with the official ActivityPub plugin rather than by
reimplementing what that plugin already does well.
The division is worth stating precisely, because "which plugin sends it" and "which plugin
signs it" have different answers.
Receiving
Each local Actor advertises its own UUID-addressed Inbox route. POST uses the installed
official plugin's request schema and HTTP Signature verifier on the original request;
it does not redirect a signed request. The verifier's configured deferral policy still applies.
Existing official per-user and shared routes remain compatibility receivers and hand their
verified deliveries to the same Axismundi ledger. Official domain handlers remain dormant.
Actor Inbox GET requires the authenticated local user's Account access relationship.
It returns private, non-cacheable receipt pages and removes blind recipient metadata.
Remote-principal authorization and mailbox read-state are not implemented.
An Activity that arrives twice is acknowledged twice and recorded once. The ledger is keyed by
the Activity's own URI. Per-Actor receipt membership is stored separately and atomically.
Historical backfill is explicit and bounded, and cannot reconstruct recipients that were
never recorded in addressing or route metadata.
Sending
Here it is the other way round. This plugin opens the connection. When Axismundi
Activities commits an outbound Activity, one row is written to a transport queue owned by this
plugin, and a background worker POSTs the JSON-LD to each recipient inbox. The official
plugin signs it: the signing key reference and the key itself go out with the request, and
that plugin's request-signing filter turns them into an HTTP Signature header.
The keys are the official plugin's too. Nothing here generates, stores or copies private key
material; it is read from that plugin's key store into memory for the length of one request,
and the queue holds the payload and the recipients and never a key.
Recipients come from the Activity itself: the actors it is addressed to, the actor a Follow or
Block is about, and -- only when it addresses the public collection or the sender's own
followers -- that sender's accepted followers. Each address is resolved to the inbox of an
Actor this site has already cached, and duplicates collapse, so one Activity reaches one inbox
once.
What is not guaranteed
Sending a Delete or an Undo tells other servers what happened. It cannot make them act on
it. A server holding your post may keep it, may have passed it on already, and may be
unreachable when the Delete goes out. Delivery is attempted on a bounded retry schedule and
then given up on. Federation is a request made to other people's computers, not control over
them.
What this is not
Not a client, not an inbox implementation, and not a signature implementation -- those belong
to the official plugin. Not the ledger either: Axismundi Activities stays authoritative, and a
delivery succeeding or failing changes the queue row rather than the record of what happened.
ActivityPub federation requires pretty permalinks. Inbox signature verification does not support plain
?rest_route= URLs.
- Install and activate the ActivityPub plugin, then Axismundi Actors, Axismundi
Object Projections and Axismundi Activities.
- Upload this plugin folder to
/wp-content/plugins/, or install it through
Plugins > Add New, then activate it.
- Give your Actor a public status in Users > Actor Profile. An Actor whose signing key
cannot yet be published advertises no inbox and sends nothing, deliberately: a remote server
that fetched it during that window would cache a keyless document and reject every signature
afterwards.
- The transport queue is readable, read-only, from this plugin's administration screen.
Activation creates this plugin's own delivery table. Nothing is contacted on the internet
during installation.
If you installed a prerelease under the previous folder name, deactivate that copy before
activating this one. The new folder is a separate plugin entry in WordPress; it uses the
same settings and delivery table. Do not activate both copies together.