docs(self-hosting): Cursor runs and desktop-enrolled local agents can DM each other

Merged
KH
3d ago
+7-3

Follow-up to #326. Its relaygate example granted two-way DMs only through relaycast:inbox/cursor-cloud- and relaycast:inbox/local- prefix defaults. Local agents that a desktop enrols under their own names (for example claude-…) use inboxDefaults, so a Cursor run couldn't DM them. A review on AgentWorkforce/relaygate#46 caught this.

The example now adds inboxDefaults for gid 11 (55 may write, beside the pit's read) and gid 55 (local may write). I checked it against relaygate itself (/v1/check with examples/policy.pit.json plus these entries): hosted participants may DM desktop-enrolled and local- agents but not read their inboxes, local channels, pit streams or slack:, and local agents may DM them.

selfhost-docs.test.ts 17/17.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Updates the self-hosting relaygate example so Cursor runs can DM local agents a desktop enrolled under their own names, not just local-… agents. Adds inboxDefaults for both groups with write-only access, keeping inboxes unreadable by either side.