pilot_publish
Publish a message to a topic on a peer's pub/sub channel to trigger event-driven agent coordination. Subscribers receive the payload asynchronously, allowing peers to react to events.
Instructions
Publish a message to a topic on a peer's pub/sub channel. Subscribers (pilot_subscribe) receive it asynchronously. Use for event-driven agent coordination — e.g. publish "build-complete" to a topic that peers monitor. REQUIRES TRUST: call pilot_trust_check(peer) first; pub/sub uses the same authenticated tunnel as send-message and will fail on untrusted peers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Peer hostname or address hosting the topic. | |
| topic | Yes | Topic name. | |
| message | Yes | Published payload. |