<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Relay%2FSPEC</id>
	<title>MindAttic.Relay/SPEC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Relay%2FSPEC"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;action=history"/>
	<updated>2026-12-06T21:37:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;diff=2102&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;diff=2102&amp;oldid=prev"/>
		<updated>2026-12-01T03:22:12Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:22, 1 December 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l261&quot;&gt;Line 261:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 261:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 2026-11-30&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 2026-11-30&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T462 source&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-to-sea &lt;/del&gt;pass: 8 renamed (epics as outcomes); 3 requires added chaining the milestones (MS-113 waits on MS-8 T90, MS-114 on MS-113 polish T108, MS-115 on MS-114 polish T127). Note: features F3.1/F3.2 and F4.2 change Orchestrator, Tickets.Desktop and KdpPublish code; by the one-owner law those adoptions belong to the consumer repos and should move there when worked&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T462 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;single-&lt;/ins&gt;source pass: 8 renamed (epics as outcomes); 3 requires added chaining the milestones (MS-113 waits on MS-8 T90, MS-114 on MS-113 polish T108, MS-115 on MS-114 polish T127). Note: features F3.1/F3.2 and F4.2 change Orchestrator, Tickets.Desktop and KdpPublish code; by the one-owner law those adoptions belong to the consumer repos and should move there when worked&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T464&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T464&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;diff=1939&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;diff=1939&amp;oldid=prev"/>
		<updated>2026-11-30T19:44:14Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:44, 30 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1. Product definition ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1. Product definition ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;strong&amp;gt;In the ecosystem&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;docs/ECOSYSTEM.md&amp;lt;/code&amp;gt; at the workspace root): Platform: owns &amp;lt;strong&amp;gt;app-to-app messages&amp;lt;/strong&amp;gt; (one local bus, later one hub across members&#039; machines).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Relay is the one way MindAttic apps send each other messages, on one machine or across many: a NATS + JetStream server on every machine, one Protocol Buffers contracts package, one client library, an outbox package and the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI. It replaces named-pipe AppBus, shared-database polling and hand-built sockets. Finished, it carries the hub-and-spoke Orchestrator: members&amp;#039; machines joined into one Orchestrator, with presence, terminals, tickets, leases and pacing policy shared across machines, while a lone machine behaves exactly as it does today.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Relay is the one way MindAttic apps send each other messages, on one machine or across many: a NATS + JetStream server on every machine, one Protocol Buffers contracts package, one client library, an outbox package and the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI. It replaces named-pipe AppBus, shared-database polling and hand-built sockets. Finished, it carries the hub-and-spoke Orchestrator: members&amp;#039; machines joined into one Orchestrator, with presence, terminals, tickets, leases and pacing policy shared across machines, while a lone machine behaves exactly as it does today.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S0.1.1 Relay design&amp;lt;/strong&amp;gt; — M.RLY-T1 — built As the owner, I have one accepted architecture for cross-app messaging, so every later piece builds on one plan. Acceptance: Given &amp;lt;code&amp;gt;docs/design/relay.md&amp;lt;/code&amp;gt;, then it covers server, subjects, envelope, security, delivery rules, versioning and the hub-and-spoke mapping. Evidence: ba9744e, 3891ecd (M.RLY-T31).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S0.1.1 Relay design&amp;lt;/strong&amp;gt; — M.RLY-T1 — built As the owner, I have one accepted architecture for cross-app messaging, so every later piece builds on one plan. Acceptance: Given &amp;lt;code&amp;gt;docs/design/relay.md&amp;lt;/code&amp;gt;, then it covers server, subjects, envelope, security, delivery rules, versioning and the hub-and-spoke mapping. Evidence: ba9744e, 3891ecd (M.RLY-T31).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E1. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Relay server and CLI &lt;/del&gt;— M.RLY-T80 — MS-8 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E1. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A local message bus runs &lt;/ins&gt;— M.RLY-T80 — MS-8 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A pinned, credentialed, loopback NATS + JetStream service installed and operated by the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A pinned, credentialed, loopback NATS + JetStream service installed and operated by the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S1.3.1 Relay CLI monitoring&amp;lt;/strong&amp;gt; — M.RLY-T47 — MS-8 As the owner, &amp;lt;code&amp;gt;relay tail &amp;amp;lt;subject&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;relay streams&amp;lt;/code&amp;gt; (sizes, consumer lag) and &amp;lt;code&amp;gt;relay dead-letters [--replay]&amp;lt;/code&amp;gt; read the localhost monitoring endpoint.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S1.3.1 Relay CLI monitoring&amp;lt;/strong&amp;gt; — M.RLY-T47 — MS-8 As the owner, &amp;lt;code&amp;gt;relay tail &amp;amp;lt;subject&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;relay streams&amp;lt;/code&amp;gt; (sizes, consumer lag) and &amp;lt;code&amp;gt;relay dead-letters [--replay]&amp;lt;/code&amp;gt; read the localhost monitoring endpoint.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E2. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Contracts and client &lt;/del&gt;— M.RLY-T81 — MS-8 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E2. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Apps exchange typed messages &lt;/ins&gt;— M.RLY-T81 — MS-8 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F2.1 Contracts package — M.RLY-T86 — MS-8 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F2.1 Contracts package — M.RLY-T86 — MS-8 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l82&quot;&gt;Line 82:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S2.2.3 Request and serve&amp;lt;/strong&amp;gt; — M.RLY-T68 — MS-8 As an app author, &amp;lt;code&amp;gt;RequestAsync&amp;lt;/code&amp;gt; times out with a plain-words failure and &amp;lt;code&amp;gt;ServeAsync&amp;lt;/code&amp;gt; registers a NATS service with stats. Acceptance: works again after a server restart.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S2.2.3 Request and serve&amp;lt;/strong&amp;gt; — M.RLY-T68 — MS-8 As an app author, &amp;lt;code&amp;gt;RequestAsync&amp;lt;/code&amp;gt; times out with a plain-words failure and &amp;lt;code&amp;gt;ServeAsync&amp;lt;/code&amp;gt; registers a NATS service with stats. Acceptance: works again after a server restart.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E3. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;AppBus on &lt;/del&gt;Relay — M.RLY-T82 — MS-8 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E3. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Orchestrator and Tickets talk over &lt;/ins&gt;Relay — M.RLY-T82 — MS-8 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F3.1 Orchestrator side — M.RLY-T88 — MS-8 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F3.1 Orchestrator side — M.RLY-T88 — MS-8 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l97&quot;&gt;Line 97:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S3.3.2 Ship Relay 1.0&amp;lt;/strong&amp;gt; — M.RLY-T92 — MS-8 As the owner, Contracts and Client 1.0.0 are on the workspace feed, &amp;lt;code&amp;gt;relay.exe&amp;lt;/code&amp;gt; is deployed and installed on the main PC, and docs/BIBLE verified state is current. Acceptance: MS-8&amp;#039;s sign-off check.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S3.3.2 Ship Relay 1.0&amp;lt;/strong&amp;gt; — M.RLY-T92 — MS-8 As the owner, Contracts and Client 1.0.0 are on the workspace feed, &amp;lt;code&amp;gt;relay.exe&amp;lt;/code&amp;gt; is deployed and installed on the main PC, and docs/BIBLE verified state is current. Acceptance: MS-8&amp;#039;s sign-off check.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E4. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Durable producers &lt;/del&gt;— M.RLY-T98 — MS-113 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E4. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Producers never lose messages &lt;/ins&gt;— M.RLY-T98 — MS-113 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F4.1 Outbox package — M.RLY-T99 — MS-113 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F4.1 Outbox package — M.RLY-T99 — MS-113 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l120&quot;&gt;Line 120:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 122:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S4.5.1 Ship Relay 1.1&amp;lt;/strong&amp;gt; — M.RLY-T109 — MS-113 As the owner, Contracts, Client and Outbox 1.1.0 are published, &amp;lt;code&amp;gt;relay.exe&amp;lt;/code&amp;gt; redeployed, docs current, and I sign off a book publish reaching Prose over Relay.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S4.5.1 Ship Relay 1.1&amp;lt;/strong&amp;gt; — M.RLY-T109 — MS-113 As the owner, Contracts, Client and Outbox 1.1.0 are published, &amp;lt;code&amp;gt;relay.exe&amp;lt;/code&amp;gt; redeployed, docs current, and I sign off a book publish reaching Prose over Relay.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E5. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hub and leaf links &lt;/del&gt;— M.RLY-T110 — MS-114 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E5. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Machines link through a hub &lt;/ins&gt;— M.RLY-T110 — MS-114 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F5.1 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Offline-safe prototype &lt;/del&gt;— M.RLY-T111 — MS-114 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F5.1 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Spokes survive going offline &lt;/ins&gt;— M.RLY-T111 — MS-114 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S5.1.1 Offline prototype&amp;lt;/strong&amp;gt; — M.RLY-T112 — MS-114 As the architect, an automated throwaway hub/leaf test keeps a spoke offline an hour with events on both sides and shows nothing lost or doubled and the KV mirror served offline, before anything depends on it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S5.1.1 Offline prototype&amp;lt;/strong&amp;gt; — M.RLY-T112 — MS-114 As the architect, an automated throwaway hub/leaf test keeps a spoke offline an hour with events on both sides and shows nothing lost or doubled and the KV mirror served offline, before anything depends on it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l155&quot;&gt;Line 155:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 157:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S6.4.1 Ship Relay 2.0&amp;lt;/strong&amp;gt; — M.RLY-T128 — MS-114 As the owner, two machines are joined to one hub, a spoke survives an hour offline without losing events, runbooks are current and 2.0.0 is published.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S6.4.1 Ship Relay 2.0&amp;lt;/strong&amp;gt; — M.RLY-T128 — MS-114 As the owner, two machines are joined to one hub, a spoke survives an hour offline without losing events, runbooks are current and 2.0.0 is published.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E7. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hub foundations &lt;/del&gt;— M.RLY-T129 — MS-115 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E7. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;One Orchestrator spans machines &lt;/ins&gt;— M.RLY-T129 — MS-115 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.1 Orchestrator hub seams — M.RLY-T130 — MS-115 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.1 Orchestrator hub seams — M.RLY-T130 — MS-115 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l208&quot;&gt;Line 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 210:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S9.3.3 Opt-in remote dispatch&amp;lt;/strong&amp;gt; — M.RLY-T162 — MS-115 As a machine owner, my spoke takes dispatched work only when I set AcceptDispatch.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S9.3.3 Opt-in remote dispatch&amp;lt;/strong&amp;gt; — M.RLY-T162 — MS-115 As a machine owner, my spoke takes dispatched work only when I set AcceptDispatch.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E10. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hub operations and 3.0 &lt;/del&gt;— M.RLY-T163 — MS-115 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E10. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The hub is operable &lt;/ins&gt;— M.RLY-T163 — MS-115 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F10.1 Hub operations — M.RLY-T164 — MS-115 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F10.1 Hub operations — M.RLY-T164 — MS-115 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l231&quot;&gt;Line 231:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 233:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 6. Interfaces and dependencies ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 6. Interfaces and dependencies ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;strong&amp;gt;Platform repos used, by concern:&amp;lt;/strong&amp;gt; credentials (per-app Relay credentials are stored in Vault): MindAttic.Vault; its consumers: MindAttic.Orchestrator, MindAttic.Tickets, KdpPublish; logging: MindAttic.Log.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Uses:&amp;lt;/strong&amp;gt; NATS.Net, Grpc.Tools / Google.Protobuf, Spectre.Console.Cli, MindAttic.Vault (credentials), MindAttic.Authentication (hub sign-in, MS-115).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Uses:&amp;lt;/strong&amp;gt; NATS.Net, Grpc.Tools / Google.Protobuf, Spectre.Console.Cli, MindAttic.Vault (credentials), MindAttic.Authentication (hub sign-in, MS-115).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l255&quot;&gt;Line 255:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 259:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Specification written from README, BIBLE, design, code and the ticket history. The multi-machine and hub-and-spoke work the reset deferred (old M.RLY-T7..T30, T43, T46, T48, T52..T76) is now planned as MS-113..MS-115 under new story tickets that cite the old IDs. The hub-and-spoke stories change Orchestrator and Tickets code; they live here because design §10 moved that plan into Relay.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Specification written from README, BIBLE, design, code and the ticket history. The multi-machine and hub-and-spoke work the reset deferred (old M.RLY-T7..T30, T43, T46, T48, T52..T76) is now planned as MS-113..MS-115 under new story tickets that cite the old IDs. The hub-and-spoke stories change Orchestrator and Tickets code; they live here because design §10 moved that plan into Relay.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T372&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T372&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| 2026-11-30&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MAT-T462 source-to-sea pass: 8 renamed (epics as outcomes); 3 requires added chaining the milestones (MS-113 waits on MS-8 T90, MS-114 on MS-113 polish T108, MS-115 on MS-114 polish T127). Note: features F3.1/F3.2 and F4.2 change Orchestrator, Tickets.Desktop and KdpPublish code; by the one-owner law those adoptions belong to the consumer repos and should move there when worked&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MAT-T464&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;diff=1622&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Relay/SPEC&amp;diff=1622&amp;oldid=prev"/>
		<updated>2026-11-30T07:26:45Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= MindAttic.Relay — Product specification =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree. &amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt; says which part of this the current milestone delivers. The architecture behind every line is &amp;lt;code&amp;gt;docs/design/relay.md&amp;lt;/code&amp;gt; (accepted 2026-10-27).&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 1. Product definition ==&lt;br /&gt;
&lt;br /&gt;
Relay is the one way MindAttic apps send each other messages, on one machine or across many: a NATS + JetStream server on every machine, one Protocol Buffers contracts package, one client library, an outbox package and the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI. It replaces named-pipe AppBus, shared-database polling and hand-built sockets. Finished, it carries the hub-and-spoke Orchestrator: members&amp;#039; machines joined into one Orchestrator, with presence, terminals, tickets, leases and pacing policy shared across machines, while a lone machine behaves exactly as it does today.&lt;br /&gt;
&lt;br /&gt;
== 2. Scope boundary ==&lt;br /&gt;
&lt;br /&gt;
=== 2.1 In the product ===&lt;br /&gt;
&lt;br /&gt;
* Relay server: pinned nats-server + JetStream as a Windows service, loopback TLS, credentials from day one.&lt;br /&gt;
* &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI: install, status, uninstall, credentials, diagnostics, join/leave, backup.&lt;br /&gt;
* &amp;lt;code&amp;gt;MindAttic.Relay.Contracts&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;.proto&amp;lt;/code&amp;gt; contracts, envelope headers, subject builders.&lt;br /&gt;
* &amp;lt;code&amp;gt;MindAttic.Relay.Client&amp;lt;/code&amp;gt;: publish/subscribe with durable consumers, request/reply services, key-value state.&lt;br /&gt;
* &amp;lt;code&amp;gt;MindAttic.Relay.Outbox&amp;lt;/code&amp;gt;: a database change and its event saved together.&lt;br /&gt;
* Consumers: Orchestrator.Desktop and Tickets.Desktop (AppBus), KdpPublish and Prose (published books).&lt;br /&gt;
* Multi-machine: hub and leaf links, JetStream domains, device credentials, auth callout.&lt;br /&gt;
* Hub-and-spoke Orchestrator: hub service, org presence and meters, terminal streams with grants and consent, ticket replica and leases, central pacing policy, opt-in remote dispatch, hub operations.&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Never in the product ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Replacing an app&amp;#039;s database or git.&amp;lt;/strong&amp;gt; The database is the record; a message is the news (RLY-LAW-2).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Exactly-once delivery.&amp;lt;/strong&amp;gt; Delivery is at least once and handlers are idempotent.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Running anyone&amp;#039;s code.&amp;lt;/strong&amp;gt; Relay carries messages; apps decide what to do with them.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Redis + gRPC as the bus.&amp;lt;/strong&amp;gt; Rejected in design §2; a gRPC endpoint is added only for an outside system that can&amp;#039;t use a NATS client.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Browser or phone clients.&amp;lt;/strong&amp;gt; No consumer needs one; NATS WebSocket keeps the door open if that changes.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Open-ended bug hunts as tickets&amp;lt;/strong&amp;gt; (old M.RLY-T78). A real bug gets its own fix ticket.&lt;br /&gt;
&lt;br /&gt;
== 3. Users and roles ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;The owner&amp;lt;/strong&amp;gt; installs and operates Relay, issues and revokes credentials, joins machines and signs off releases.&lt;br /&gt;
* &amp;lt;strong&amp;gt;An app author&amp;lt;/strong&amp;gt; (any MindAttic repo) publishes events and serves commands through the client, never NATS itself.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Consuming apps&amp;lt;/strong&amp;gt;: Orchestrator.Desktop, Tickets.Desktop, KdpPublish, Prose Hub/Writer, the Orchestrator daemon.&lt;br /&gt;
* &amp;lt;strong&amp;gt;A member&amp;lt;/strong&amp;gt; of the organisation signs in to the hub and enrolls their devices.&lt;br /&gt;
* &amp;lt;strong&amp;gt;A viewer&amp;lt;/strong&amp;gt; watches or drives a terminal on another machine under a grant.&lt;br /&gt;
&lt;br /&gt;
== 4. Requirements ==&lt;br /&gt;
&lt;br /&gt;
Status is &amp;lt;strong&amp;gt;built&amp;lt;/strong&amp;gt; (closed ticket, with evidence) or &amp;lt;strong&amp;gt;MS-n&amp;lt;/strong&amp;gt;: the milestone in §7 that delivers it. Every unbuilt story is approved and prioritised in build order; the planner splits a story into tasks when the queue reaches it. In MS-8 the leaves are already &amp;lt;code&amp;gt;level:task&amp;lt;/code&amp;gt; tickets.&lt;br /&gt;
&lt;br /&gt;
=== E0. Architecture design — M.RLY-T96 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F0.1 Accepted design — M.RLY-T97 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S0.1.1 Relay design&amp;lt;/strong&amp;gt; — M.RLY-T1 — built As the owner, I have one accepted architecture for cross-app messaging, so every later piece builds on one plan. Acceptance: Given &amp;lt;code&amp;gt;docs/design/relay.md&amp;lt;/code&amp;gt;, then it covers server, subjects, envelope, security, delivery rules, versioning and the hub-and-spoke mapping. Evidence: ba9744e, 3891ecd (M.RLY-T31).&lt;br /&gt;
&lt;br /&gt;
=== E1. Relay server and CLI — M.RLY-T80 — MS-8 ===&lt;br /&gt;
&lt;br /&gt;
A pinned, credentialed, loopback NATS + JetStream service installed and operated by the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI.&lt;br /&gt;
&lt;br /&gt;
==== F1.1 Install and run server — M.RLY-T83 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.1 Solution scaffold&amp;lt;/strong&amp;gt; — M.RLY-T91 — MS-8 As the owner, &amp;lt;code&amp;gt;MindAttic.Relay.slnx&amp;lt;/code&amp;gt; holds the &amp;lt;code&amp;gt;relay&amp;lt;/code&amp;gt; CLI (net10.0, Spectre.Console.Cli), an NUnit test project and &amp;lt;code&amp;gt;run.ps1&amp;lt;/code&amp;gt; that deploys to &amp;lt;code&amp;gt;R:\MindAttic\Apps\MindAttic.Relay&amp;lt;/code&amp;gt;. Acceptance: Given a clean clone, when I build, then &amp;lt;code&amp;gt;relay --help&amp;lt;/code&amp;gt; runs.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.2 Pinned server download&amp;lt;/strong&amp;gt; — M.RLY-T39 — MS-8 As the owner, &amp;lt;code&amp;gt;relay install&amp;lt;/code&amp;gt; downloads the pinned nats-server, verifies its SHA-256 and installs an auto-start Windows service. Acceptance: Given a tampered download, then install refuses it.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.3 Server config and TLS&amp;lt;/strong&amp;gt; — M.RLY-T40 — MS-8 As the owner, install generates a loopback-only, TLS config with the JetStream store under &amp;lt;code&amp;gt;%ProgramData%\MindAttic\Relay&amp;lt;/code&amp;gt;, a local CA and bootstrap credentials; re-running is safe.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.4 Status and uninstall&amp;lt;/strong&amp;gt; — M.RLY-T41 — MS-8 As the owner, &amp;lt;code&amp;gt;relay status&amp;lt;/code&amp;gt; shows running, version, JetStream usage and connections; &amp;lt;code&amp;gt;relay uninstall&amp;lt;/code&amp;gt; keeps data unless &amp;lt;code&amp;gt;--purge&amp;lt;/code&amp;gt;. Acceptance: unauthenticated and non-TLS connections are refused.&lt;br /&gt;
&lt;br /&gt;
==== F1.2 Per-app credentials — M.RLY-T84 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.2.1 creds issue and list&amp;lt;/strong&amp;gt; — M.RLY-T69 — MS-8 As the owner, &amp;lt;code&amp;gt;relay creds issue &amp;amp;lt;app&amp;gt;&amp;lt;/code&amp;gt; writes a per-app credential with its subject permissions (orch, tix, prose, kdp, relay-admin) into MindAttic.Vault and &amp;lt;code&amp;gt;relay creds list&amp;lt;/code&amp;gt; shows them. Acceptance: an app can&amp;#039;t publish outside its permissions.&lt;br /&gt;
&lt;br /&gt;
==== F1.3 Diagnostics CLI — M.RLY-T85 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.3.1 Relay CLI monitoring&amp;lt;/strong&amp;gt; — M.RLY-T47 — MS-8 As the owner, &amp;lt;code&amp;gt;relay tail &amp;amp;lt;subject&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;relay streams&amp;lt;/code&amp;gt; (sizes, consumer lag) and &amp;lt;code&amp;gt;relay dead-letters [--replay]&amp;lt;/code&amp;gt; read the localhost monitoring endpoint.&lt;br /&gt;
&lt;br /&gt;
=== E2. Contracts and client — M.RLY-T81 — MS-8 ===&lt;br /&gt;
&lt;br /&gt;
==== F2.1 Contracts package — M.RLY-T86 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.1 Envelope and headers&amp;lt;/strong&amp;gt; — M.RLY-T51 — MS-8 As an app author, &amp;lt;code&amp;gt;RelayHeaders&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;RelayEnvelope&amp;lt;/code&amp;gt; read and write the six envelope headers, and a consumer skips an unknown type or newer version and counts it. Packaged to the workspace NuGet feed.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.2 Proto definitions&amp;lt;/strong&amp;gt; — M.RLY-T49 — MS-8 As an app author, per-app &amp;lt;code&amp;gt;.proto&amp;lt;/code&amp;gt; files (orch, tix, relay) generate C# types for ticket changed, open-ticket and show-worker. Acceptance: round-trip tests pass.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.3 Subjects class&amp;lt;/strong&amp;gt; — M.RLY-T50 — MS-8 As an app author, subject builders and validators enforce &amp;lt;code&amp;gt;&amp;amp;lt;app&amp;gt;.&amp;amp;lt;noun&amp;gt;.&amp;amp;lt;event&amp;gt;[.&amp;amp;lt;key&amp;gt;]&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;amp;lt;app&amp;gt;.cmd.&amp;amp;lt;verb&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;term.&amp;amp;lt;device&amp;gt;.&amp;amp;lt;session&amp;gt;.&amp;amp;lt;channel&amp;gt;&amp;lt;/code&amp;gt;, rejecting bad tokens and email-like values.&lt;br /&gt;
&lt;br /&gt;
==== F2.2 Client library — M.RLY-T87 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.2.1 Client connection and DI&amp;lt;/strong&amp;gt; — M.RLY-T42 — MS-8 As an app author, &amp;lt;code&amp;gt;AddMindAtticRelay(appName)&amp;lt;/code&amp;gt; connects with the app&amp;#039;s Vault credential, reconnects with backoff and never blocks the app when Relay is down.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.2.2 Publish and subscribe&amp;lt;/strong&amp;gt; — M.RLY-T67 — MS-8 As an app author, &amp;lt;code&amp;gt;PublishAsync&amp;lt;/code&amp;gt; sends with envelope headers and &amp;lt;code&amp;gt;SubscribeAsync&amp;lt;/code&amp;gt; uses a durable consumer that acks after the handler, redelivers a bounded number of times, then dead-letters; a &amp;lt;code&amp;gt;relay_processed&amp;lt;/code&amp;gt; helper makes handlers idempotent.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.2.3 Request and serve&amp;lt;/strong&amp;gt; — M.RLY-T68 — MS-8 As an app author, &amp;lt;code&amp;gt;RequestAsync&amp;lt;/code&amp;gt; times out with a plain-words failure and &amp;lt;code&amp;gt;ServeAsync&amp;lt;/code&amp;gt; registers a NATS service with stats. Acceptance: works again after a server restart.&lt;br /&gt;
&lt;br /&gt;
=== E3. AppBus on Relay — M.RLY-T82 — MS-8 ===&lt;br /&gt;
&lt;br /&gt;
==== F3.1 Orchestrator side — M.RLY-T88 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.1.1 Orchestrator on Relay&amp;lt;/strong&amp;gt; — M.RLY-T44 — MS-8 As the owner, Orchestrator publishes &amp;lt;code&amp;gt;tix.ticket.changed.&amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; and serves &amp;lt;code&amp;gt;orch.cmd.show-worker&amp;lt;/code&amp;gt; over Relay, with the named-pipe AppBus kept as a fallback behind a setting.&lt;br /&gt;
&lt;br /&gt;
==== F3.2 Tickets.Desktop side — M.RLY-T89 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.2.1 Tickets Desktop on Relay&amp;lt;/strong&amp;gt; — M.RLY-T45 — MS-8 As the owner, Tickets.Desktop hears ticket changes, serves &amp;lt;code&amp;gt;tix.cmd.open-ticket&amp;lt;/code&amp;gt; and sends &amp;lt;code&amp;gt;orch.cmd.show-worker&amp;lt;/code&amp;gt; over Relay, with the pipe fallback.&lt;br /&gt;
&lt;br /&gt;
==== F3.3 Relay standard and docs (polish and release 1.0) — M.RLY-T90 — MS-8 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.3.1 Standard and tests&amp;lt;/strong&amp;gt; — M.RLY-T71 — MS-8 As an app author, the standard &amp;quot;new cross-app messages go through Relay&amp;quot; is documented, with tests on both sides against a throwaway server.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.3.2 Ship Relay 1.0&amp;lt;/strong&amp;gt; — M.RLY-T92 — MS-8 As the owner, Contracts and Client 1.0.0 are on the workspace feed, &amp;lt;code&amp;gt;relay.exe&amp;lt;/code&amp;gt; is deployed and installed on the main PC, and docs/BIBLE verified state is current. Acceptance: MS-8&amp;#039;s sign-off check.&lt;br /&gt;
&lt;br /&gt;
=== E4. Durable producers — M.RLY-T98 — MS-113 ===&lt;br /&gt;
&lt;br /&gt;
==== F4.1 Outbox package — M.RLY-T99 — MS-113 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.1.1 Transactional outbox&amp;lt;/strong&amp;gt; — M.RLY-T100 — MS-113 As an app author, a database change and its event are saved in one EF Core transaction and a dispatcher publishes it with &amp;lt;code&amp;gt;Nats-Msg-Id&amp;lt;/code&amp;gt; = the row id, so a crash can neither lose nor double it.&lt;br /&gt;
&lt;br /&gt;
==== F4.2 KdpPublish announces books — M.RLY-T101 — MS-113 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.2.1 Book published event&amp;lt;/strong&amp;gt; — M.RLY-T102 — MS-113 As KdpPublish, I announce &amp;lt;code&amp;gt;prose.book.published&amp;lt;/code&amp;gt; (slug, ASIN, Amazon URL, KDP title id) through the outbox in the transaction that writes the ASIN.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.2.2 Prose refreshes on publish&amp;lt;/strong&amp;gt; — M.RLY-T103 — MS-113 As the owner, Prose Hub and Writer show a new book&amp;#039;s ASIN and link as soon as the event arrives.&lt;br /&gt;
&lt;br /&gt;
==== F4.3 Key-value state — M.RLY-T104 — MS-113 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.3.1 Key-value buckets&amp;lt;/strong&amp;gt; — M.RLY-T105 — MS-113 As an app author, I get, put, delete and watch KV keys with revision-conditional updates.&lt;br /&gt;
&lt;br /&gt;
==== F4.4 Orchestrator Relay page — M.RLY-T106 — MS-113 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.4.1 Relay health page&amp;lt;/strong&amp;gt; — M.RLY-T107 — MS-113 As the owner, Orchestrator.Desktop shows server, streams, consumer lag, dead letters and a plain-words health line.&lt;br /&gt;
&lt;br /&gt;
==== F4.5 Polish and release 1.1 — M.RLY-T108 — MS-113 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.5.1 Ship Relay 1.1&amp;lt;/strong&amp;gt; — M.RLY-T109 — MS-113 As the owner, Contracts, Client and Outbox 1.1.0 are published, &amp;lt;code&amp;gt;relay.exe&amp;lt;/code&amp;gt; redeployed, docs current, and I sign off a book publish reaching Prose over Relay.&lt;br /&gt;
&lt;br /&gt;
=== E5. Hub and leaf links — M.RLY-T110 — MS-114 ===&lt;br /&gt;
&lt;br /&gt;
==== F5.1 Offline-safe prototype — M.RLY-T111 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.1 Offline prototype&amp;lt;/strong&amp;gt; — M.RLY-T112 — MS-114 As the architect, an automated throwaway hub/leaf test keeps a spoke offline an hour with events on both sides and shows nothing lost or doubled and the KV mirror served offline, before anything depends on it.&lt;br /&gt;
&lt;br /&gt;
==== F5.2 Hub and spoke config — M.RLY-T113 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.2.1 Hub config&amp;lt;/strong&amp;gt; — M.RLY-T114 — MS-114 As the owner, &amp;lt;code&amp;gt;relay install --hub&amp;lt;/code&amp;gt; generates the leaf listener, certificate, &amp;lt;code&amp;gt;hub&amp;lt;/code&amp;gt; domain and sourced spoke streams.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.2.2 Spoke config&amp;lt;/strong&amp;gt; — M.RLY-T115 — MS-114 As the owner, a spoke has one remote with the pinned hub key, its own domain, mirrored hub KV and compression off on terminal links.&lt;br /&gt;
&lt;br /&gt;
==== F5.3 Join and leave — M.RLY-T116 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.3.1 relay join and leave&amp;lt;/strong&amp;gt; — M.RLY-T117 — MS-114 As the owner, &amp;lt;code&amp;gt;relay join &amp;amp;lt;hub&amp;gt;&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;relay leave&amp;lt;/code&amp;gt; connect this machine over the tailnet or WebSocket 443, and &amp;lt;code&amp;gt;relay status&amp;lt;/code&amp;gt; shows link state, last seen and lag.&lt;br /&gt;
&lt;br /&gt;
=== E6. Device identity and security — M.RLY-T118 — MS-114 ===&lt;br /&gt;
&lt;br /&gt;
==== F6.1 Operator key custody — M.RLY-T119 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.1.1 Operator key backup&amp;lt;/strong&amp;gt; — M.RLY-T120 — MS-114 As the owner, the operator key has an offline backup and a restore runbook, and each organisation has its own account.&lt;br /&gt;
&lt;br /&gt;
==== F6.2 Revocation — M.RLY-T121 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.2.1 relay creds revoke&amp;lt;/strong&amp;gt; — M.RLY-T122 — MS-114 As the owner, revoking a user drops its live connections; tests prove permission limits, no credentials on disk and non-TLS refused.&lt;br /&gt;
&lt;br /&gt;
==== F6.3 Device credentials — M.RLY-T123 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.3.1 Device key&amp;lt;/strong&amp;gt; — M.RLY-T124 — MS-114 As the architect, device identity (NKey in Vault vs CNG-signed challenge) is decided, recorded and implemented.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.3.2 Enrollment API&amp;lt;/strong&amp;gt; — M.RLY-T125 — MS-114 As a member, enrolling a device binds its key to me and issues self-refreshing, expiring credentials; the owner can revoke it.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.3.3 Auth callout&amp;lt;/strong&amp;gt; — M.RLY-T126 — MS-114 As the hub, an auth callout grants each connection expiring permissions from hub state; tests cover a revoked device, an expired grant and the callout being down.&lt;br /&gt;
&lt;br /&gt;
==== F6.4 Polish and release 2.0 — M.RLY-T127 — MS-114 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.4.1 Ship Relay 2.0&amp;lt;/strong&amp;gt; — M.RLY-T128 — MS-114 As the owner, two machines are joined to one hub, a spoke survives an hour offline without losing events, runbooks are current and 2.0.0 is published.&lt;br /&gt;
&lt;br /&gt;
=== E7. Hub foundations — M.RLY-T129 — MS-115 ===&lt;br /&gt;
&lt;br /&gt;
==== F7.1 Orchestrator hub seams — M.RLY-T130 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.1.1 Seam interfaces&amp;lt;/strong&amp;gt; — M.RLY-T131 — MS-115 As the architect, Orchestrator Core calls IClaims, IPolicySource, IMeterSink, IOrgDirectory and ISessionDirectory.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.1.2 Local implementations&amp;lt;/strong&amp;gt; — M.RLY-T132 — MS-115 As the owner, Local* implementations keep single-machine behaviour identical.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.1.3 Hub settings&amp;lt;/strong&amp;gt; — M.RLY-T133 — MS-115 As the owner, &amp;lt;code&amp;gt;OrchestratorSettings.Hub&amp;lt;/code&amp;gt; defaults to Off and Off builds only the Local seams.&lt;br /&gt;
&lt;br /&gt;
==== F7.2 Hub service — M.RLY-T134 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.2.1 Hub service&amp;lt;/strong&amp;gt; — M.RLY-T135 — MS-115 As a member, I sign in to the hub with MindAttic.Authentication (password, TOTP); it serves Relay commands.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.2.2 Device enrollment pages&amp;lt;/strong&amp;gt; — M.RLY-T136 — MS-115 As a member, I enroll, refresh and revoke my devices from the hub&amp;#039;s pages.&lt;br /&gt;
&lt;br /&gt;
==== F7.3 Joining from a spoke — M.RLY-T137 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.3.1 Spoke link supervision&amp;lt;/strong&amp;gt; — M.RLY-T138 — MS-115 As the owner, the daemon supervises the leaf link and publishes presence each tick, surviving offline.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S7.3.2 Hub CLI and chip&amp;lt;/strong&amp;gt; — M.RLY-T139 — MS-115 As the owner, &amp;lt;code&amp;gt;orchestrator hub host&amp;amp;#124;join&amp;amp;#124;status&amp;amp;#124;leave&amp;amp;#124;devices&amp;lt;/code&amp;gt; work and the dashboard shows a hub chip.&lt;br /&gt;
&lt;br /&gt;
=== E8. Org presence and terminals — M.RLY-T140 — MS-115 ===&lt;br /&gt;
&lt;br /&gt;
==== F8.1 Presence and meters — M.RLY-T141 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S8.1.1 Presence and meters&amp;lt;/strong&amp;gt; — M.RLY-T142 — MS-115 As the owner, spokes publish roster, masked sessions, meters and agent summaries; the hub merges meters per login.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S8.1.2 Org view across machines&amp;lt;/strong&amp;gt; — M.RLY-T143 — MS-115 As the owner, the org view and &amp;lt;code&amp;gt;/org usage&amp;lt;/code&amp;gt; cover every joined machine, remote people read-only.&lt;br /&gt;
&lt;br /&gt;
==== F8.2 Terminal streams — M.RLY-T144 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S8.2.1 Terminal frames over Relay&amp;lt;/strong&amp;gt; — M.RLY-T145 — MS-115 As a viewer, I attach to a remote session: masked frames on &amp;lt;code&amp;gt;term.*.out&amp;lt;/code&amp;gt;, replay by command, input only for interact.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S8.2.2 Grants by auth callout&amp;lt;/strong&amp;gt; — M.RLY-T146 — MS-115 As the owner, grants and audit live at the hub, enforced by expiring callout permissions and re-checked by the spoke.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S8.2.3 Consent for interact&amp;lt;/strong&amp;gt; — M.RLY-T147 — MS-115 As a session owner, the first interact under a grant asks me; no answer in 30 s means watch-only.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S8.2.4 Team Wall through the hub&amp;lt;/strong&amp;gt; — M.RLY-T148 — MS-115 As the owner, Team Wall and TermViewer list org sessions from the presence bucket.&lt;br /&gt;
&lt;br /&gt;
=== E9. Tickets and policy across machines — M.RLY-T149 — MS-115 ===&lt;br /&gt;
&lt;br /&gt;
==== F9.1 Ticket replica — M.RLY-T150 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.1.1 Ticket event stream&amp;lt;/strong&amp;gt; — M.RLY-T151 — MS-115 As the hub, every ticket change in the hub&amp;#039;s TicketsDb (the store of record) is a &amp;lt;code&amp;gt;tix.ticket.changed&amp;lt;/code&amp;gt; event.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.1.2 Spoke replica&amp;lt;/strong&amp;gt; — M.RLY-T152 — MS-115 As a spoke, a durable consumer keeps &amp;lt;code&amp;gt;data/Tickets.db&amp;lt;/code&amp;gt; as a read replica; local writes are refused while joined.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.1.3 Ticket commands&amp;lt;/strong&amp;gt; — M.RLY-T153 — MS-115 As a member, notes, status, assign and approve are &amp;lt;code&amp;gt;tix.cmd.*&amp;lt;/code&amp;gt; commands authorised by role and org.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.1.4 Tools write to the hub&amp;lt;/strong&amp;gt; — M.RLY-T154 — MS-115 As a member, the tickets CLI and Desktop write through the hub and say plainly when they&amp;#039;re read-only.&lt;br /&gt;
&lt;br /&gt;
==== F9.2 Leases — M.RLY-T155 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.2.1 Claim and lease&amp;lt;/strong&amp;gt; — M.RLY-T156 — MS-115 As the hub, &amp;lt;code&amp;gt;tix.cmd.claim&amp;lt;/code&amp;gt; runs Allocate and writes the lease into the leases KV bucket.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.2.2 Renewal and fencing&amp;lt;/strong&amp;gt; — M.RLY-T157 — MS-115 As the hub, renewals and completions are revision-conditional; a lease expires after 3 ticks and requeues after the offline grace.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.2.3 Join-mode next --claim&amp;lt;/strong&amp;gt; — M.RLY-T158 — MS-115 As an agent, &amp;lt;code&amp;gt;orchestrator next --claim&amp;lt;/code&amp;gt; works through the hub with a 10 s timeout and a plain message.&lt;br /&gt;
&lt;br /&gt;
==== F9.3 Central policy — M.RLY-T159 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.3.1 Central pacing policy&amp;lt;/strong&amp;gt; — M.RLY-T160 — MS-115 As the owner, cutoffs, allowances, pace target, routing and weekly reserve live in the hub&amp;#039;s policy bucket, mirrored to every spoke.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.3.2 Allowance split per device&amp;lt;/strong&amp;gt; — M.RLY-T161 — MS-115 As the owner, a login live on several machines has its allowance split across them.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.3.3 Opt-in remote dispatch&amp;lt;/strong&amp;gt; — M.RLY-T162 — MS-115 As a machine owner, my spoke takes dispatched work only when I set AcceptDispatch.&lt;br /&gt;
&lt;br /&gt;
=== E10. Hub operations and 3.0 — M.RLY-T163 — MS-115 ===&lt;br /&gt;
&lt;br /&gt;
==== F10.1 Hub operations — M.RLY-T164 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.1 Hub deploy&amp;lt;/strong&amp;gt; — M.RLY-T165 — MS-115 As the owner, &amp;lt;code&amp;gt;run.ps1&amp;lt;/code&amp;gt; publishes the hub service and hub server, hub first.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.2 Backups and restore&amp;lt;/strong&amp;gt; — M.RLY-T166 — MS-115 As the owner, &amp;lt;code&amp;gt;relay backup&amp;lt;/code&amp;gt; saves the hub DB and JetStream/KV state, with a tested restore drill.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.3 Key rotation and limits&amp;lt;/strong&amp;gt; — M.RLY-T167 — MS-115 As the owner, keys and the hub certificate rotate without re-enrolling; device revocation has a UI; sign-in and enrollment are rate-limited; a hub-move runbook exists.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.4 Skew and chaos&amp;lt;/strong&amp;gt; — M.RLY-T168 — MS-115 As the architect, N-1 vs N contracts and chaos cases (hub killed, spoke asleep, clock skew) are covered by tests.&lt;br /&gt;
&lt;br /&gt;
==== F10.2 Polish and release 3.0 — M.RLY-T169 — MS-115 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.2.1 Ship Relay 3.0&amp;lt;/strong&amp;gt; — M.RLY-T170 — MS-115 As the owner, members&amp;#039; machines run as one Orchestrator over Relay and a lone machine is unchanged; docs and runbooks are current; I sign it off.&lt;br /&gt;
&lt;br /&gt;
== 5. Non-functional requirements ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Platform:&amp;lt;/strong&amp;gt; Windows 11, .NET 10; nats-server pinned by version and SHA-256 (RLY-LAW-9).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Security:&amp;lt;/strong&amp;gt; TLS on every listener, loopback included; credentials required from the first connection; secrets in MindAttic.Vault, never on disk in the repo; monitoring endpoint on localhost only; compression off on terminal links.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Delivery:&amp;lt;/strong&amp;gt; events at least once, ordered per subject, replayable; handlers idempotent; commands time out loudly; poison messages dead-lettered (design §8).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Resilience:&amp;lt;/strong&amp;gt; nothing depends on Relay to keep working; the named-pipe AppBus stays as a fallback; spokes keep working offline in their own JetStream domain.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Versioning:&amp;lt;/strong&amp;gt; contracts change by adding fields; a breaking change is a new &amp;lt;code&amp;gt;Relay-Version&amp;lt;/code&amp;gt;; the hub supports N and N-1.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Tests:&amp;lt;/strong&amp;gt; NUnit; integration tests run against a throwaway nats-server, never the installed service.&lt;br /&gt;
&lt;br /&gt;
== 6. Interfaces and dependencies ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Uses:&amp;lt;/strong&amp;gt; NATS.Net, Grpc.Tools / Google.Protobuf, Spectre.Console.Cli, MindAttic.Vault (credentials), MindAttic.Authentication (hub sign-in, MS-115).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Used by:&amp;lt;/strong&amp;gt; MindAttic.Orchestrator (daemon and Desktop), MindAttic.Tickets (Desktop and CLI), KdpPublish, Prose. The live named-pipe bus it replaces: &amp;lt;code&amp;gt;MindAttic.Orchestrator.Core/Status/AppBus.cs&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;AppBusHub.cs&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets.Desktop/Bus/AppBus.cs&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;AppBusClient.cs&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Contract:&amp;lt;/strong&amp;gt; subjects (design §4), envelope headers (§6), delivery rules (§8), versioning (§9).&lt;br /&gt;
&lt;br /&gt;
== 7. Release sequence ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-8 — Relay 1.0 single-machine bus&amp;lt;/strong&amp;gt; (active, &amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt;): E1, E2, E3. Ends with F3.3.&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-113 — Relay 1.1 durable producers&amp;lt;/strong&amp;gt;: E4. Ends with F4.5.&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-114 — Relay 2.0 across machines&amp;lt;/strong&amp;gt;: E5, E6. Ends with F6.4.&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-115 — Relay 3.0 hub-and-spoke Orchestrator&amp;lt;/strong&amp;gt;: E7, E8, E9, E10. Ends with F10.2. The finished product.&lt;br /&gt;
&lt;br /&gt;
Queue priorities descend across the whole sequence: E1 1000, E2 900, E3 800, E4 700, E5 600, E6 500, E7 400, E8 300, E9 200, E10 100; each feature takes its epic&amp;#039;s band plus 90, 80 ...&lt;br /&gt;
&lt;br /&gt;
== 8. Change log ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Date&lt;br /&gt;
! Change to scope&lt;br /&gt;
! Ticket&lt;br /&gt;
|-&lt;br /&gt;
| 2026-11-30&lt;br /&gt;
| Specification written from README, BIBLE, design, code and the ticket history. The multi-machine and hub-and-spoke work the reset deferred (old M.RLY-T7..T30, T43, T46, T48, T52..T76) is now planned as MS-113..MS-115 under new story tickets that cite the old IDs. The hub-and-spoke stories change Orchestrator and Tickets code; they live here because design §10 moved that plan into Relay.&lt;br /&gt;
| MAT-T372&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Relay]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/MindAttic.Relay/blob/main/docs/SPEC.md MindAttic.Relay/docs/SPEC.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MindAttic.Relay]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>