Jump to content

MindAttic.Relay

From MindAttic Docs

MindAttic.Relay

The message exchange for every MindAttic app, on one machine or across many.

Relay runs a NATS server with JetStream in the background on each machine. Apps send and receive messages through one client library and one set of shared message definitions, instead of named pipes, shared-database polling or one-off sockets. Machines join each other by dialling out to a hub, so nobody opens an inbound port.

Status: design accepted, nothing built yet. Read docs/design/relay.md for the architecture, and docs/USER_STORIES.md (generated from the ticket database, code M.RLY) for the work queue.

Scope

docs/SPEC.md is the complete product: every epic, feature and story, from the single-machine bus through Relay 2.0 across machines to the hub-and-spoke Orchestrator in Relay 3.0, each with its ticket. docs/RELEASE.md is the current finish line, MS-8 "Relay 1.0 single-machine bus".

Planned pieces

Package / tool What it is
Relay server NATS + JetStream, installed and run as a Windows service
MindAttic.Relay.Contracts Protocol Buffers definitions of every message, with generated C# types
MindAttic.Relay.Client The one client every app uses: publish, subscribe, request/reply, key-value state
MindAttic.Relay.Outbox Saves a database change and its message together, then sends the message
relay CLI Install, status, credentials, tail a subject, dead letters

First users

  1. Orchestrator.Desktop and Tickets.Desktop (today's AppBus over named pipes).
  2. KdpPublish announcing a published book and its ASIN.
  3. The hub-and-spoke epic: members' machines joined into one Orchestrator.

Pages in this repository

  • MindAttic.Relay — Project Bible — Relay is the one way MindAttic apps send each other messages: a local NATS + JetStream server, one contracts package and one client library.
  • design/relay — Status: accepted direction (owner, 2026-10-27), nothing built yet. Ticket M.RLY-T1.
  • MindAttic.Relay — Release charter — A local message exchange (NATS + JetStream run as a Windows service) plus one contracts package and one client library, so MindAttic…
  • MindAttic.Relay — Product specification — In the ecosystem (docs/ECOSYSTEM.md at the workspace root): Platform: owns app-to-app messages (one local bus, later one hub across…
From MindAttic.Relay/docs/overview.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.