<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>MindAttic Docs  - Recent changes [en]</title>
		<link>https://mindattic.com/wiki/docs/index.php/Special:RecentChanges</link>
		<description>Track the most recent changes to the wiki in this feed.</description>
		<language>en</language>
		<generator>MediaWiki 1.46.3</generator>
		<lastBuildDate>Fri, 04 Dec 2026 22:03:42 GMT</lastBuildDate>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2807&amp;oldid=2802</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2807&amp;oldid=2802</guid>
			<description>&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 04:27, 3 December 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-multi&quot; lang=&quot;en&quot;&gt;(4 intermediate revisions by the same user not shown)&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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T02&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;50&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;58Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T04&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;25&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;19Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 04:27:07 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH OPERATIONS</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2801&amp;oldid=2798</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2801&amp;oldid=2798</guid>
			<description>&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 02:52, 3 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-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&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;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&amp;#039;s browser check is the owner&amp;#039;s approval. The login gets data rights only (M.ORCH-T2604): &amp;lt;code&amp;gt;db_datareader&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;db_datawriter&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;EXECUTE&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; (and no writes to &amp;lt;code&amp;gt;mesh_schema&amp;lt;/code&amp;gt;), the same in &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; plus &amp;lt;code&amp;gt;VIEW DEFINITION&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VIEW CHANGE TRACKING&amp;lt;/code&amp;gt; on &amp;lt;code&amp;gt;dbo&amp;lt;/code&amp;gt;. Never &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;: no node can change the schema or drop the row-ownership triggers.&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;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&amp;#039;s browser check is the owner&amp;#039;s approval. The login gets data rights only (M.ORCH-T2604): &amp;lt;code&amp;gt;db_datareader&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;db_datawriter&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;EXECUTE&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; (and no writes to &amp;lt;code&amp;gt;mesh_schema&amp;lt;/code&amp;gt;), the same in &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; plus &amp;lt;code&amp;gt;VIEW DEFINITION&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VIEW CHANGE TRACKING&amp;lt;/code&amp;gt; on &amp;lt;code&amp;gt;dbo&amp;lt;/code&amp;gt;. Never &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;: no node can change the schema or drop the row-ownership triggers.&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;* The schema is the owner&#039;s step. After the apps are installed, setup runs &amp;lt;code&amp;gt;orchestrator mesh schema --check&amp;lt;/code&amp;gt; with this PC&#039;s own login. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When the &lt;/del&gt;schema is behind this build, or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;login is still &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; (made before M.ORCH-T2604), setup &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sends &lt;/del&gt;&amp;lt;code&amp;gt;orchestrator mesh schema --print&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s &lt;/del&gt;T-SQL and the login&#039;s rights to the server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (the same browser check, temp file and &amp;lt;code&amp;gt;sqlcmd -i&amp;lt;/code&amp;gt; as the login itself) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and runs them &lt;/del&gt;as the server&#039;s administrator&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, which &lt;/del&gt;also drops &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; from &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that &lt;/del&gt;login. Run setup-node.ps1 again on each PC to take its old login down, and after an Orchestrator update whose &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mesh &lt;/del&gt;schema changed: until then that PC&#039;s mesh features stop with a message naming setup-node&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/del&gt;rather than trying DDL.&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;* The schema is the owner&#039;s step&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, for both shared databases&lt;/ins&gt;. After the apps are installed, setup runs &amp;lt;code&amp;gt;orchestrator mesh &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;schema --check&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;tickets db &lt;/ins&gt;schema --check&amp;lt;/code&amp;gt; with this PC&#039;s own login &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(exit 0 current, 2 when the step is due, 3 when the database doesn&#039;t answer)&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For each database whose &lt;/ins&gt;schema is behind this build, or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;whose &lt;/ins&gt;login is still &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; (made before M.ORCH-T2604), setup &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;takes &lt;/ins&gt;&amp;lt;code&amp;gt;orchestrator mesh schema --print&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &amp;lt;code&amp;gt;tickets db schema --print&amp;lt;/code&amp;gt; (M.TIX-T739: the whole Tickets schema, its guard triggers, system-versioned tables and change tracking included, as idempotent &lt;/ins&gt;T-SQL&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;), &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sends it with &lt;/ins&gt;the login&#039;s rights to the server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (the same browser check, temp file and &amp;lt;code&amp;gt;sqlcmd -i&amp;lt;/code&amp;gt; as the login itself)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, where they run &lt;/ins&gt;as the server&#039;s administrator&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; that &lt;/ins&gt;also drops &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; from &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;login. Run setup-node.ps1 again on each PC to take its old login down, and after an Orchestrator &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or Tickets &lt;/ins&gt;update whose schema changed: until then that PC&#039;s mesh features&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and every tickets command (the schema check runs when the database opens), &lt;/ins&gt;stop with a message naming setup-node&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.ps1 &lt;/ins&gt;rather than trying DDL.&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;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A Tickets schema upgrade&lt;/del&gt;, &amp;lt;code&amp;gt;tickets &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;repo rename&lt;/del&gt;&amp;lt;/code&amp;gt; and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;an ID reassignment change &lt;/del&gt;the Tickets &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;schema &lt;/del&gt;or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lift its &lt;/del&gt;checks, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;so on &lt;/del&gt;the shared database &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;they need &lt;/del&gt;the server&#039;s administrator &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connection, not a node login&lt;/del&gt;.&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;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;tickets repos rename&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tickets repos recode&amp;lt;/code&amp;gt;&lt;/ins&gt;, &amp;lt;code&amp;gt;tickets &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ticket reassign&lt;/ins&gt;&amp;lt;/code&amp;gt; and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;tickets ticket correct&amp;lt;/code&amp;gt; lift &lt;/ins&gt;the Tickets &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;guard triggers &lt;/ins&gt;or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;foreign-key &lt;/ins&gt;checks, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which is DDL. On &lt;/ins&gt;the shared database &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a node login refuses them with the same message naming setup-node.ps1; run them as a login that owns the database (&lt;/ins&gt;the server&#039;s administrator&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 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;* The rig&amp;#039;s login keeps &amp;lt;code&amp;gt;dbcreator&amp;lt;/code&amp;gt; (given by hand, never by setup) for the throwaway &amp;lt;code&amp;gt;MindAttic.Mesh.Test.&amp;amp;lt;guid&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets.Test-*&amp;lt;/code&amp;gt; databases its tests make: the maker owns each, so tests keep full rights there.&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;* The rig&amp;#039;s login keeps &amp;lt;code&amp;gt;dbcreator&amp;lt;/code&amp;gt; (given by hand, never by setup) for the throwaway &amp;lt;code&amp;gt;MindAttic.Mesh.Test.&amp;amp;lt;guid&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets.Test-*&amp;lt;/code&amp;gt; databases its tests make: the maker owns each, so tests keep full rights there.&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;* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC, in plain text. Nothing encrypts these files: the Windows user account&amp;#039;s profile is what protects them, and the login they hold reaches only the two shared databases, and only over the tailnet. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&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;* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC, in plain text. Nothing encrypts these files: the Windows user account&amp;#039;s profile is what protects them, and the login they hold reaches only the two shared databases, and only over the tailnet. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:52:58 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_OPERATIONS</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2802&amp;oldid=2799</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2802&amp;oldid=2799</guid>
			<description>&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 02:52, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;40&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;28Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;50&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;58Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:52:58 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2800&amp;oldid=2795</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2800&amp;oldid=2795</guid>
			<description>&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 02:42, 3 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-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;* &amp;lt;strong&amp;gt;Admission in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed one-time code). The new machine&#039;s &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the machine&#039;s own SQL login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, on the database box through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;box&amp;gt;&amp;lt;/code&amp;gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization; the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;). With that login the machine writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its Tailscale 100.x gateway URL, gateway certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&#039;s gateway mesh-join endpoint. The member accepts only when (a) Tailscale whois says the caller is a node of the same Tailscale user as itself and (b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only that machine&#039;s own login could have written. The member mints a peer key for the joiner (&amp;lt;code&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and the joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine, so neither side trusts on first use. Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; periodically and pair with new rows on their own, so every Team Wall shows every machine. &amp;lt;em&amp;gt;Row ownership is the database&#039;s to enforce&amp;lt;/em&amp;gt; (M.ORCH-T2600): every node login &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;&lt;/del&gt;, so a trigger on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins&amp;lt;/code&amp;gt; fails any insert or update of machine X&#039;s row unless &amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;mesh_X&amp;lt;/code&amp;gt; (or the caller is a sysadmin or the database&#039;s owner). The one exception is clearing another machine&#039;s join nonce, which is how a member spends it: a nonce admits once and a replayed one fails. Because only X&#039;s login can have written X&#039;s nonce, a valid one proves the caller is X, so admission may replace a key X already held (a reinstalled machine, or a key the other side replaced). Of two unpaired machines only the one whose name sorts lower starts pairing; the other waits &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; for it first, so the two never mint keys at each other at once. A machine whose peer key a member refuses (401) pairs with that member again on its own, whatever the names, at most once per &amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;gt; (M.ORCH-T2602). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Residual&lt;/del&gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/del&gt;&amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; can &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;still &lt;/del&gt;drop the trigger&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; closing that means &lt;/del&gt;node &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;logins below &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;db_owner&lt;/del&gt;&amp;lt;/code&amp;gt;.&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;* &amp;lt;strong&amp;gt;Admission in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed one-time code). The new machine&#039;s &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the machine&#039;s own SQL login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, on the database box through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;box&amp;gt;&amp;lt;/code&amp;gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization; the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;). With that login the machine writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its Tailscale 100.x gateway URL, gateway certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&#039;s gateway mesh-join endpoint. The member accepts only when (a) Tailscale whois says the caller is a node of the same Tailscale user as itself and (b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only that machine&#039;s own login could have written. The member mints a peer key for the joiner (&amp;lt;code&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and the joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine, so neither side trusts on first use. Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; periodically and pair with new rows on their own, so every Team Wall shows every machine. &amp;lt;em&amp;gt;Row ownership is the database&#039;s to enforce&amp;lt;/em&amp;gt; (M.ORCH-T2600): every node login &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;may write every table&lt;/ins&gt;, so a trigger on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins&amp;lt;/code&amp;gt; fails any insert or update of machine X&#039;s row unless &amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;mesh_X&amp;lt;/code&amp;gt; (or the caller is a sysadmin or the database&#039;s owner). The one exception is clearing another machine&#039;s join nonce, which is how a member spends it: a nonce admits once and a replayed one fails. Because only X&#039;s login can have written X&#039;s nonce, a valid one proves the caller is X, so admission may replace a key X already held (a reinstalled machine, or a key the other side replaced). Of two unpaired machines only the one whose name sorts lower starts pairing; the other waits &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; for it first, so the two never mint keys at each other at once. A machine whose peer key a member refuses (401) pairs with that member again on its own, whatever the names, at most once per &amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;gt; (M.ORCH-T2602). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;em&amp;gt;Node logins hold data rights only&amp;lt;/em&amp;gt; (M.ORCH-T2604)&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;db_datareader&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;db_datawriter&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;EXECUTE&amp;lt;/code&amp;gt;, never &lt;/ins&gt;&amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, so no node &lt;/ins&gt;can drop the trigger &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or change the schema. The schema and its triggers are the owner&#039;s: setup-&lt;/ins&gt;node&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.ps1 applies them as the server&#039;s administrator through Tailscale SSH, with the T-SQL the build prints (&amp;lt;code&amp;gt;orchestrator mesh schema --print&amp;lt;/code&amp;gt;), and records the schema version in &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mesh_schema&lt;/ins&gt;&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, which node logins may read but not write. A node finding the schema behind its build is refused with the owner step named; it never tries DDL&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;* &amp;lt;strong&amp;gt;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;* &amp;lt;strong&amp;gt;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&amp;#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer revokes its key, and its SQL login is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&amp;#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out. A lost laptop is cut off without rotating the rig&amp;#039;s owner key.&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;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&amp;#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer revokes its key, and its SQL login is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&amp;#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out. A lost laptop is cut off without rotating the rig&amp;#039;s owner key.&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-l318&quot;&gt;Line 318:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 318:&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;Pairing on its own (M.ORCH-T2592).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&amp;quot;LAPTOP unreachable since 14:02&amp;quot;) and its return, and, once this machine&amp;#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem; the next look tries again.&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;Pairing on its own (M.ORCH-T2592).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&amp;quot;LAPTOP unreachable since 14:02&amp;quot;) and its return, and, once this machine&amp;#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem; the next look tries again.&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;* &amp;lt;strong&amp;gt;Row ownership and single-use nonces (M.ORCH-T2600).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshOwners.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;dbo.mesh_caller()&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;dbo.mesh_caller_is_admin()&amp;lt;/code&amp;gt; (sysadmin or database owner) and the triggers &amp;lt;code&amp;gt;mesh_members_owner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn_owner&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins_owner&amp;lt;/code&amp;gt;, each made only when missing and run with every schema check. Another login may only set &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to null on a row. &amp;lt;code&amp;gt;MeshMembers.SpendNonce&amp;lt;/code&amp;gt; checks the nonce in constant time and clears it with a conditional update; &amp;lt;code&amp;gt;MeshJoin.Admit&amp;lt;/code&amp;gt; spends it last, after every other check, and may then replace the caller&amp;#039;s key. &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; writes a fresh nonce for each peer. The pairer pairs on its own only with members whose name sorts above this machine&amp;#039;s, or that stayed unpaired &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 900). The rig login &amp;lt;code&amp;gt;mesh_snowcrash&amp;lt;/code&amp;gt; keeps writing the &amp;lt;code&amp;gt;snowcrash&amp;lt;/code&amp;gt; rows. Tests (&amp;lt;code&amp;gt;MeshOwnersTests&amp;lt;/code&amp;gt;) run as one SQL login that owns its throwaway database, so they swap the two caller functions for a session value to stand in for other machines.&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;Row ownership and single-use nonces (M.ORCH-T2600).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshOwners.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;dbo.mesh_caller()&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;dbo.mesh_caller_is_admin()&amp;lt;/code&amp;gt; (sysadmin or database owner) and the triggers &amp;lt;code&amp;gt;mesh_members_owner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn_owner&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins_owner&amp;lt;/code&amp;gt;, each made only when missing and run with every schema check. Another login may only set &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to null on a row. &amp;lt;code&amp;gt;MeshMembers.SpendNonce&amp;lt;/code&amp;gt; checks the nonce in constant time and clears it with a conditional update; &amp;lt;code&amp;gt;MeshJoin.Admit&amp;lt;/code&amp;gt; spends it last, after every other check, and may then replace the caller&amp;#039;s key. &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; writes a fresh nonce for each peer. The pairer pairs on its own only with members whose name sorts above this machine&amp;#039;s, or that stayed unpaired &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 900). The rig login &amp;lt;code&amp;gt;mesh_snowcrash&amp;lt;/code&amp;gt; keeps writing the &amp;lt;code&amp;gt;snowcrash&amp;lt;/code&amp;gt; rows. Tests (&amp;lt;code&amp;gt;MeshOwnersTests&amp;lt;/code&amp;gt;) run as one SQL login that owns its throwaway database, so they swap the two caller functions for a session value to stand in for other machines.&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;Least-privilege node logins (M.ORCH-T2604).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshSchema.cs&amp;lt;/code&amp;gt; holds the mesh database&#039;s whole schema as one idempotent script (claims, members, burn, logins, the shared organization tables, &amp;lt;code&amp;gt;MeshOwners&amp;lt;/code&amp;gt;&#039; functions and triggers, then the &amp;lt;code&amp;gt;mesh_schema&amp;lt;/code&amp;gt; version row, &amp;lt;code&amp;gt;MeshSchema.Version&amp;lt;/code&amp;gt;). Every mesh class opens through &amp;lt;code&amp;gt;MeshSchema.Ensure&amp;lt;/code&amp;gt;, which asks one question per process (the version, and whether this login may change the schema) and runs the script only when the database is behind and the login is its owner (a test&#039;s throwaway &amp;lt;code&amp;gt;MindAttic.Mesh.Test.&amp;amp;lt;guid&amp;gt;&amp;lt;/code&amp;gt;, whose maker owns it through &amp;lt;code&amp;gt;dbcreator&amp;lt;/code&amp;gt;, so tests are unaffected); a login with data rights only gets a &amp;lt;code&amp;gt;MeshSchemaException&amp;lt;/code&amp;gt; naming setup-node. The hidden &amp;lt;code&amp;gt;orchestrator mesh schema --print&amp;lt;/code&amp;gt; writes the script; &amp;lt;code&amp;gt;--check&amp;lt;/code&amp;gt; exits 2 when the schema is behind or this machine&#039;s login is still &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;. setup-node.ps1&#039;s &amp;lt;code&amp;gt;Ensure-MeshSchema&amp;lt;/code&amp;gt;, after the apps are installed, runs &amp;lt;code&amp;gt;--check&amp;lt;/code&amp;gt; and, when due, sends &amp;lt;code&amp;gt;USE [MindAttic.Mesh]&amp;lt;/code&amp;gt; + the script + the login&#039;s rights through the same Tailscale SSH and owner-only temp-file path as &amp;lt;code&amp;gt;Ensure-NodeLogin&amp;lt;/code&amp;gt; (no password on any command line), and drops &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; from a login made before. In &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; node logins get the same data rights plus &amp;lt;code&amp;gt;VIEW DEFINITION&amp;lt;/code&amp;gt; (the tickets CLI&#039;s one-question schema check must see every table, index and trigger) and &amp;lt;code&amp;gt;VIEW CHANGE TRACKING&amp;lt;/code&amp;gt; on &amp;lt;code&amp;gt;dbo&amp;lt;/code&amp;gt; (its incremental copy). The tickets CLI does no DDL on open while its schema is current; a Tickets schema upgrade, a repo rename and an ID reassignment (they lift foreign-key checks and a guard trigger) need the owner&#039;s connection, filed in MindAttic.Tickets for the same &amp;lt;code&amp;gt;--print&amp;lt;/code&amp;gt; owner step.&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;* &amp;lt;strong&amp;gt;Self-healing re-pair (M.ORCH-T2602).&amp;lt;/strong&amp;gt; The Team Wall&amp;#039;s &amp;lt;code&amp;gt;GatewayClient&amp;lt;/code&amp;gt; runs in the dashboard, not the daemon, so when a peer answers 401 to this machine&amp;#039;s peer key at &amp;lt;code&amp;gt;/auth/token&amp;lt;/code&amp;gt; it records the peer (once per refusal in a row) in the machine-local state row &amp;lt;code&amp;gt;mesh-refused-peers&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshJoin.NoteRefused&amp;lt;/code&amp;gt;, volatile, never in the dump). The daemon&amp;#039;s &amp;lt;code&amp;gt;Pairer&amp;lt;/code&amp;gt; reads it on each pass, drops each refused peer from the remotes it hands &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; so a fresh single-use nonce goes out, and starts that pairing itself whatever the names sort as (only the refused side knows its key is dead). It re-pairs one peer at most once per &amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;gt; (a Vault setting, default 30), and clears the peer from the row once paired; the peer&amp;#039;s &amp;lt;code&amp;gt;Admit&amp;lt;/code&amp;gt; replaces the key it held on the valid nonce.&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;Self-healing re-pair (M.ORCH-T2602).&amp;lt;/strong&amp;gt; The Team Wall&amp;#039;s &amp;lt;code&amp;gt;GatewayClient&amp;lt;/code&amp;gt; runs in the dashboard, not the daemon, so when a peer answers 401 to this machine&amp;#039;s peer key at &amp;lt;code&amp;gt;/auth/token&amp;lt;/code&amp;gt; it records the peer (once per refusal in a row) in the machine-local state row &amp;lt;code&amp;gt;mesh-refused-peers&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshJoin.NoteRefused&amp;lt;/code&amp;gt;, volatile, never in the dump). The daemon&amp;#039;s &amp;lt;code&amp;gt;Pairer&amp;lt;/code&amp;gt; reads it on each pass, drops each refused peer from the remotes it hands &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; so a fresh single-use nonce goes out, and starts that pairing itself whatever the names sort as (only the refused side knows its key is dead). It re-pairs one peer at most once per &amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;gt; (a Vault setting, default 30), and clears the peer from the row once paired; the peer&amp;#039;s &amp;lt;code&amp;gt;Admit&amp;lt;/code&amp;gt; replaces the key it held on the valid nonce.&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;* &amp;lt;strong&amp;gt;Settings saves keep peer remotes (M.ORCH-T2603).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;JsonStore.UpdateSettings&amp;lt;/code&amp;gt; changes the settings as they read inside one write transaction, as &amp;lt;code&amp;gt;MeshJoin.Keep&amp;lt;/code&amp;gt; does. The dashboard&amp;#039;s theme, sidebar layout and workspace folder, &amp;lt;code&amp;gt;orchestrator gateway&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway remote add&amp;amp;#124;remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh serve&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orchestrator settings&amp;lt;/code&amp;gt;, the budget options, the API credit and &amp;lt;code&amp;gt;MachineSetup&amp;lt;/code&amp;gt;&amp;#039;s connect and host steps all go through it, changing only their own fields, so none saves a copy read earlier over a peer remote the pairer or &amp;lt;code&amp;gt;mesh admit&amp;lt;/code&amp;gt; kept meanwhile.&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;Settings saves keep peer remotes (M.ORCH-T2603).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;JsonStore.UpdateSettings&amp;lt;/code&amp;gt; changes the settings as they read inside one write transaction, as &amp;lt;code&amp;gt;MeshJoin.Keep&amp;lt;/code&amp;gt; does. The dashboard&amp;#039;s theme, sidebar layout and workspace folder, &amp;lt;code&amp;gt;orchestrator gateway&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway remote add&amp;amp;#124;remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh serve&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orchestrator settings&amp;lt;/code&amp;gt;, the budget options, the API credit and &amp;lt;code&amp;gt;MachineSetup&amp;lt;/code&amp;gt;&amp;#039;s connect and host steps all go through it, changing only their own fields, so none saves a copy read earlier over a peer remote the pairer or &amp;lt;code&amp;gt;mesh admit&amp;lt;/code&amp;gt; kept meanwhile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:42:02 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2799&amp;oldid=2797</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2799&amp;oldid=2797</guid>
			<description>&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 02:42, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;25&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;33Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;40&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;28Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:42:02 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH OPERATIONS</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2798&amp;oldid=2796</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2798&amp;oldid=2796</guid>
			<description>&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 02:42, 3 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-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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;Each PC connects as its own login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; is the PC&amp;#039;s computer name in lower case with every character other than a to z and 0 to 9 turned into an underscore.&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;Each PC connects as its own login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; is the PC&amp;#039;s computer name in lower case with every character other than a to z and 0 to 9 turned into an underscore.&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;* &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&#039;s browser check is the owner&#039;s approval. The login gets &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;db_owner&lt;/del&gt;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nothing else&lt;/del&gt;.&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;* &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&#039;s browser check is the owner&#039;s approval. The login gets &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;data rights only (M.ORCH-T2604): &amp;lt;code&amp;gt;db_datareader&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;db_datawriter&amp;lt;/code&amp;gt; and &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EXECUTE&lt;/ins&gt;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;no writes to &amp;lt;code&amp;gt;mesh_schema&amp;lt;/code&amp;gt;), the same in &lt;/ins&gt;&amp;lt;code&amp;gt;MindAttic.Tickets&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; plus &amp;lt;code&amp;gt;VIEW DEFINITION&lt;/ins&gt;&amp;lt;/code&amp;gt; and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;VIEW CHANGE TRACKING&amp;lt;/code&amp;gt; on &amp;lt;code&amp;gt;dbo&amp;lt;/code&amp;gt;. Never &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;: no node can change the schema or drop the row-ownership triggers.&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;* The schema is the owner&#039;s step. After the apps are installed, setup runs &amp;lt;code&amp;gt;orchestrator mesh schema --check&amp;lt;/code&amp;gt; with this PC&#039;s own login. When the schema is behind this build, or the login is still &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; (made before M.ORCH-T2604), setup sends &amp;lt;code&amp;gt;orchestrator mesh schema --print&amp;lt;/code&amp;gt;&#039;s T-SQL and the login&#039;s rights to the server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (the same browser check, temp file and &amp;lt;code&amp;gt;sqlcmd -i&amp;lt;/code&amp;gt; as the login itself) and runs them as the server&#039;s administrator, which also drops &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; from that login. Run setup-node.ps1 again on each PC to take its old login down, and after an Orchestrator update whose mesh schema changed: until then that PC&#039;s mesh features stop with a message naming setup-node, rather than trying DDL.&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;* A Tickets schema upgrade, &amp;lt;code&amp;gt;tickets repo rename&amp;lt;/code&amp;gt; and an ID reassignment change the Tickets schema or lift its checks, so on the shared database they need the server&#039;s administrator connection, not a node login.&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;* The rig&#039;s login keeps &amp;lt;code&amp;gt;dbcreator&amp;lt;/code&amp;gt; (given by hand, never by setup) for the throwaway &amp;lt;code&amp;gt;MindAttic.Mesh.Test.&amp;amp;lt;guid&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets.Test-*&amp;lt;/code&amp;gt; databases its tests make: the maker owns each, so tests keep full rights there&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;* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC, in plain text. Nothing encrypts these files: the Windows user account&amp;#039;s profile is what protects them, and the login they hold reaches only the two shared databases, and only over the tailnet. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&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;* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC, in plain text. Nothing encrypts these files: the Windows user account&amp;#039;s profile is what protects them, and the login they hold reaches only the two shared databases, and only over the tailnet. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&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;* The password goes to the server on &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;&amp;#039;s standard input and into an owner-only temp file there that &amp;lt;code&amp;gt;sqlcmd -i&amp;lt;/code&amp;gt; reads and that is then deleted, so it is on no command line on either machine and never in the setup log.&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;* The password goes to the server on &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;&amp;#039;s standard input and into an owner-only temp file there that &amp;lt;code&amp;gt;sqlcmd -i&amp;lt;/code&amp;gt; reads and that is then deleted, so it is on no command line on either machine and never in the setup log.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:42:02 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_OPERATIONS</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2797&amp;oldid=2794</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2797&amp;oldid=2794</guid>
			<description>&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 02:27, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;27Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;25&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;33Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:27:07 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH OPERATIONS</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2796&amp;oldid=2789</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2796&amp;oldid=2789</guid>
			<description>&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 02:27, 3 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-l164&quot;&gt;Line 164:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 164:&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;| 300&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;| 300&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;| How often the daemon looks for a new member to pair with. Range 30 to 86400.&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;| How often the daemon looks for a new member to pair with. Range 30 to 86400.&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;| Mesh pair yield, seconds (&amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;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;| 900&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;| Of two unpaired PCs the lower name pairs; the other waits this long for it, then pairs itself. Range 60 to 86400.&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;|-&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;| Mesh re-pair, minutes (&amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;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;| 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;| When a peer refuses this PC&#039;s peer key, the daemon pairs with it again on its own, at most once this often per peer. Range 1 to 1440.&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;div&gt;| Mesh pace stale, seconds (&amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;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;| Mesh pace stale, seconds (&amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:27:07 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_OPERATIONS</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2795&amp;oldid=2793</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2795&amp;oldid=2793</guid>
			<description>&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 02:27, 3 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-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;* &amp;lt;strong&amp;gt;Admission in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed one-time code). The new machine&#039;s &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the machine&#039;s own SQL login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, on the database box through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;box&amp;gt;&amp;lt;/code&amp;gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization; the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;). With that login the machine writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its Tailscale 100.x gateway URL, gateway certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&#039;s gateway mesh-join endpoint. The member accepts only when (a) Tailscale whois says the caller is a node of the same Tailscale user as itself and (b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only that machine&#039;s own login could have written. The member mints a peer key for the joiner (&amp;lt;code&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and the joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine, so neither side trusts on first use. Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; periodically and pair with new rows on their own, so every Team Wall shows every machine. &amp;lt;em&amp;gt;Row ownership is the database&#039;s to enforce&amp;lt;/em&amp;gt; (M.ORCH-T2600): every node login is &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;, so a trigger on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins&amp;lt;/code&amp;gt; fails any insert or update of machine X&#039;s row unless &amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;mesh_X&amp;lt;/code&amp;gt; (or the caller is a sysadmin or the database&#039;s owner). The one exception is clearing another machine&#039;s join nonce, which is how a member spends it: a nonce admits once and a replayed one fails. Because only X&#039;s login can have written X&#039;s nonce, a valid one proves the caller is X, so admission may replace a key X already held (a reinstalled machine, or a key the other side replaced). Of two unpaired machines only the one whose name sorts lower starts pairing; the other waits &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; for it first, so the two never mint keys at each other at once. Residual: a &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; can still drop the trigger; closing that means node logins below &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;.&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;* &amp;lt;strong&amp;gt;Admission in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed one-time code). The new machine&#039;s &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the machine&#039;s own SQL login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, on the database box through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;box&amp;gt;&amp;lt;/code&amp;gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization; the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;). With that login the machine writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its Tailscale 100.x gateway URL, gateway certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&#039;s gateway mesh-join endpoint. The member accepts only when (a) Tailscale whois says the caller is a node of the same Tailscale user as itself and (b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only that machine&#039;s own login could have written. The member mints a peer key for the joiner (&amp;lt;code&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and the joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine, so neither side trusts on first use. Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; periodically and pair with new rows on their own, so every Team Wall shows every machine. &amp;lt;em&amp;gt;Row ownership is the database&#039;s to enforce&amp;lt;/em&amp;gt; (M.ORCH-T2600): every node login is &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;, so a trigger on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins&amp;lt;/code&amp;gt; fails any insert or update of machine X&#039;s row unless &amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;mesh_X&amp;lt;/code&amp;gt; (or the caller is a sysadmin or the database&#039;s owner). The one exception is clearing another machine&#039;s join nonce, which is how a member spends it: a nonce admits once and a replayed one fails. Because only X&#039;s login can have written X&#039;s nonce, a valid one proves the caller is X, so admission may replace a key X already held (a reinstalled machine, or a key the other side replaced). Of two unpaired machines only the one whose name sorts lower starts pairing; the other waits &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; for it first, so the two never mint keys at each other at once&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. A machine whose peer key a member refuses (401) pairs with that member again on its own, whatever the names, at most once per &amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;gt; (M.ORCH-T2602)&lt;/ins&gt;. Residual: a &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; can still drop the trigger; closing that means node logins below &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;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;* &amp;lt;strong&amp;gt;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;* &amp;lt;strong&amp;gt;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&amp;#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer revokes its key, and its SQL login is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&amp;#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out. A lost laptop is cut off without rotating the rig&amp;#039;s owner key.&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;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&amp;#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer revokes its key, and its SQL login is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&amp;#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out. A lost laptop is cut off without rotating the rig&amp;#039;s owner key.&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-l318&quot;&gt;Line 318:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 318:&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;Pairing on its own (M.ORCH-T2592).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&amp;quot;LAPTOP unreachable since 14:02&amp;quot;) and its return, and, once this machine&amp;#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem; the next look tries again.&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;Pairing on its own (M.ORCH-T2592).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&amp;quot;LAPTOP unreachable since 14:02&amp;quot;) and its return, and, once this machine&amp;#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem; the next look tries again.&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;* &amp;lt;strong&amp;gt;Row ownership and single-use nonces (M.ORCH-T2600).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshOwners.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;dbo.mesh_caller()&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;dbo.mesh_caller_is_admin()&amp;lt;/code&amp;gt; (sysadmin or database owner) and the triggers &amp;lt;code&amp;gt;mesh_members_owner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn_owner&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins_owner&amp;lt;/code&amp;gt;, each made only when missing and run with every schema check. Another login may only set &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to null on a row. &amp;lt;code&amp;gt;MeshMembers.SpendNonce&amp;lt;/code&amp;gt; checks the nonce in constant time and clears it with a conditional update; &amp;lt;code&amp;gt;MeshJoin.Admit&amp;lt;/code&amp;gt; spends it last, after every other check, and may then replace the caller&amp;#039;s key. &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; writes a fresh nonce for each peer. The pairer pairs on its own only with members whose name sorts above this machine&amp;#039;s, or that stayed unpaired &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 900). The rig login &amp;lt;code&amp;gt;mesh_snowcrash&amp;lt;/code&amp;gt; keeps writing the &amp;lt;code&amp;gt;snowcrash&amp;lt;/code&amp;gt; rows. Tests (&amp;lt;code&amp;gt;MeshOwnersTests&amp;lt;/code&amp;gt;) run as one SQL login that owns its throwaway database, so they swap the two caller functions for a session value to stand in for other machines.&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;Row ownership and single-use nonces (M.ORCH-T2600).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshOwners.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;dbo.mesh_caller()&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;dbo.mesh_caller_is_admin()&amp;lt;/code&amp;gt; (sysadmin or database owner) and the triggers &amp;lt;code&amp;gt;mesh_members_owner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn_owner&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins_owner&amp;lt;/code&amp;gt;, each made only when missing and run with every schema check. Another login may only set &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to null on a row. &amp;lt;code&amp;gt;MeshMembers.SpendNonce&amp;lt;/code&amp;gt; checks the nonce in constant time and clears it with a conditional update; &amp;lt;code&amp;gt;MeshJoin.Admit&amp;lt;/code&amp;gt; spends it last, after every other check, and may then replace the caller&amp;#039;s key. &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; writes a fresh nonce for each peer. The pairer pairs on its own only with members whose name sorts above this machine&amp;#039;s, or that stayed unpaired &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 900). The rig login &amp;lt;code&amp;gt;mesh_snowcrash&amp;lt;/code&amp;gt; keeps writing the &amp;lt;code&amp;gt;snowcrash&amp;lt;/code&amp;gt; rows. Tests (&amp;lt;code&amp;gt;MeshOwnersTests&amp;lt;/code&amp;gt;) run as one SQL login that owns its throwaway database, so they swap the two caller functions for a session value to stand in for other machines.&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;Self-healing re-pair (M.ORCH-T2602).&amp;lt;/strong&amp;gt; The Team Wall&#039;s &amp;lt;code&amp;gt;GatewayClient&amp;lt;/code&amp;gt; runs in the dashboard, not the daemon, so when a peer answers 401 to this machine&#039;s peer key at &amp;lt;code&amp;gt;/auth/token&amp;lt;/code&amp;gt; it records the peer (once per refusal in a row) in the machine-local state row &amp;lt;code&amp;gt;mesh-refused-peers&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshJoin.NoteRefused&amp;lt;/code&amp;gt;, volatile, never in the dump). The daemon&#039;s &amp;lt;code&amp;gt;Pairer&amp;lt;/code&amp;gt; reads it on each pass, drops each refused peer from the remotes it hands &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; so a fresh single-use nonce goes out, and starts that pairing itself whatever the names sort as (only the refused side knows its key is dead). It re-pairs one peer at most once per &amp;lt;code&amp;gt;MeshRepairMinutes&amp;lt;/code&amp;gt; (a Vault setting, default 30), and clears the peer from the row once paired; the peer&#039;s &amp;lt;code&amp;gt;Admit&amp;lt;/code&amp;gt; replaces the key it held on the valid nonce.&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;Settings saves keep peer remotes (M.ORCH-T2603).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;JsonStore.UpdateSettings&amp;lt;/code&amp;gt; changes the settings as they read inside one write transaction, as &amp;lt;code&amp;gt;MeshJoin.Keep&amp;lt;/code&amp;gt; does. The dashboard&#039;s theme, sidebar layout and workspace folder, &amp;lt;code&amp;gt;orchestrator gateway&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway remote add&amp;amp;#124;remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh serve&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orchestrator settings&amp;lt;/code&amp;gt;, the budget options, the API credit and &amp;lt;code&amp;gt;MachineSetup&amp;lt;/code&amp;gt;&#039;s connect and host steps all go through it, changing only their own fields, so none saves a copy read earlier over a peer remote the pairer or &amp;lt;code&amp;gt;mesh admit&amp;lt;/code&amp;gt; kept meanwhile.&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;* &amp;lt;strong&amp;gt;Lost peer on every dashboard (M.ORCH-T2567).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshPeers.cs&amp;lt;/code&amp;gt; reads members, lapsed claims and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; in one go on the database clock. The Team Wall reads it off the UI thread on each refresh: an unreachable gateway keeps the tiles it had, greyed and paused, labelled &amp;quot;LAPTOP unreachable since 14:02&amp;quot; (its mesh heartbeat, or when the wall first lost it), and they go live again on the first look that reaches it. The header lists lost members no gateway here shows, and each orphaned claim with when it requeues (the later of expiry and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;, plus &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;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;* &amp;lt;strong&amp;gt;Lost peer on every dashboard (M.ORCH-T2567).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshPeers.cs&amp;lt;/code&amp;gt; reads members, lapsed claims and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; in one go on the database clock. The Team Wall reads it off the UI thread on each refresh: an unreachable gateway keeps the tiles it had, greyed and paused, labelled &amp;quot;LAPTOP unreachable since 14:02&amp;quot; (its mesh heartbeat, or when the wall first lost it), and they go live again on the first look that reaches it. The header lists lost members no gateway here shows, and each orphaned claim with when it requeues (the later of expiry and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;, plus &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;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;* &amp;lt;strong&amp;gt;Version skew (M.ORCH-T2568).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;TermGateway.MeshProtocol&amp;lt;/code&amp;gt; (1) is in &amp;lt;code&amp;gt;/health&amp;lt;/code&amp;gt; and on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;Mesh/MeshCompat.cs&amp;lt;/code&amp;gt; takes the mesh&amp;#039;s protocol as the newest a member seen within &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; speaks. A machine behind it gets no claims (&amp;lt;code&amp;gt;MeshClaims.Claim&amp;lt;/code&amp;gt; refuses with &amp;quot;LAPTOP needs update&amp;quot;, before any row is touched); &amp;lt;code&amp;gt;/mesh/join&amp;lt;/code&amp;gt; admits and &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; pairs only on one protocol; &amp;lt;code&amp;gt;MeshBurn.Read&amp;lt;/code&amp;gt; leaves out rows of machines on another protocol, so pacing never sums across a skew. Watch and interact are untouched. Every Team Wall shows &amp;quot;LAPTOP needs update&amp;quot; on that machine&amp;#039;s chip.&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;Version skew (M.ORCH-T2568).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;TermGateway.MeshProtocol&amp;lt;/code&amp;gt; (1) is in &amp;lt;code&amp;gt;/health&amp;lt;/code&amp;gt; and on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;Mesh/MeshCompat.cs&amp;lt;/code&amp;gt; takes the mesh&amp;#039;s protocol as the newest a member seen within &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; speaks. A machine behind it gets no claims (&amp;lt;code&amp;gt;MeshClaims.Claim&amp;lt;/code&amp;gt; refuses with &amp;quot;LAPTOP needs update&amp;quot;, before any row is touched); &amp;lt;code&amp;gt;/mesh/join&amp;lt;/code&amp;gt; admits and &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; pairs only on one protocol; &amp;lt;code&amp;gt;MeshBurn.Read&amp;lt;/code&amp;gt; leaves out rows of machines on another protocol, so pacing never sums across a skew. Watch and interact are untouched. Every Team Wall shows &amp;quot;LAPTOP needs update&amp;quot; on that machine&amp;#039;s chip.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:27:07 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2794&amp;oldid=2792</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2794&amp;oldid=2792</guid>
			<description>&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 02:17, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;10&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;26Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T02:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;27Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:17:10 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2793&amp;oldid=2791</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2793&amp;oldid=2791</guid>
			<description>&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 02:17, 3 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-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;* &amp;lt;strong&amp;gt;Admission in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed one-time code). The new machine&#039;s &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the machine&#039;s own SQL login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, on the database box through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;box&amp;gt;&amp;lt;/code&amp;gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization; the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;). With that login the machine writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its Tailscale 100.x gateway URL, gateway certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&#039;s gateway mesh-join endpoint. The member accepts only when (a) Tailscale whois says the caller is a node of the same Tailscale user as itself and (b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only that machine&#039;s own login could have written. The member mints a peer key for the joiner (&amp;lt;code&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and the joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine, so neither side trusts on first use. Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; periodically and pair with new rows on their own, so every Team Wall shows every machine.&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;* &amp;lt;strong&amp;gt;Admission in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed one-time code). The new machine&#039;s &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the machine&#039;s own SQL login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, on the database box through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;box&amp;gt;&amp;lt;/code&amp;gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization; the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;). With that login the machine writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its Tailscale 100.x gateway URL, gateway certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&#039;s gateway mesh-join endpoint. The member accepts only when (a) Tailscale whois says the caller is a node of the same Tailscale user as itself and (b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only that machine&#039;s own login could have written. The member mints a peer key for the joiner (&amp;lt;code&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and the joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine, so neither side trusts on first use. Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; periodically and pair with new rows on their own, so every Team Wall shows every machine&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &amp;lt;em&amp;gt;Row ownership is the database&#039;s to enforce&amp;lt;/em&amp;gt; (M.ORCH-T2600): every node login is &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;, so a trigger on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins&amp;lt;/code&amp;gt; fails any insert or update of machine X&#039;s row unless &amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;mesh_X&amp;lt;/code&amp;gt; (or the caller is a sysadmin or the database&#039;s owner). The one exception is clearing another machine&#039;s join nonce, which is how a member spends it: a nonce admits once and a replayed one fails. Because only X&#039;s login can have written X&#039;s nonce, a valid one proves the caller is X, so admission may replace a key X already held (a reinstalled machine, or a key the other side replaced). Of two unpaired machines only the one whose name sorts lower starts pairing; the other waits &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; for it first, so the two never mint keys at each other at once. Residual: a &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; can still drop the trigger; closing that means node logins below &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt;&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;* &amp;lt;strong&amp;gt;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;* &amp;lt;strong&amp;gt;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&amp;#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer revokes its key, and its SQL login is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&amp;#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out. A lost laptop is cut off without rotating the rig&amp;#039;s owner key.&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;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&amp;#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer revokes its key, and its SQL login is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&amp;#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out. A lost laptop is cut off without rotating the rig&amp;#039;s owner key.&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-l317&quot;&gt;Line 317:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 317:&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;Remove and immediate revocation (M.ORCH-T2591).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; deletes its row, calls &amp;lt;code&amp;gt;POST /mesh/remove&amp;lt;/code&amp;gt; on every peer remote (owner or peer token only; that gateway revokes the key and drops the remote), does the same here, and drops &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;Server&amp;gt;&amp;lt;/code&amp;gt; or prints the T-SQL. A peer token carries its peer&amp;#039;s name (&amp;lt;code&amp;gt;TermGatewayTokenPayload.Peer&amp;lt;/code&amp;gt;), and every request and open stream checks that peer still has a live key, so a removed machine is cut off on its next request.&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;Remove and immediate revocation (M.ORCH-T2591).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; deletes its row, calls &amp;lt;code&amp;gt;POST /mesh/remove&amp;lt;/code&amp;gt; on every peer remote (owner or peer token only; that gateway revokes the key and drops the remote), does the same here, and drops &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;Server&amp;gt;&amp;lt;/code&amp;gt; or prints the T-SQL. A peer token carries its peer&amp;#039;s name (&amp;lt;code&amp;gt;TermGatewayTokenPayload.Peer&amp;lt;/code&amp;gt;), and every request and open stream checks that peer still has a live key, so a removed machine is cut off on its next request.&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;* &amp;lt;strong&amp;gt;Pairing on its own (M.ORCH-T2592).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&amp;quot;LAPTOP unreachable since 14:02&amp;quot;) and its return, and, once this machine&amp;#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem; the next look tries again.&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;Pairing on its own (M.ORCH-T2592).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&amp;quot;LAPTOP unreachable since 14:02&amp;quot;) and its return, and, once this machine&amp;#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem; the next look tries again.&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;Row ownership and single-use nonces (M.ORCH-T2600).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshOwners.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;dbo.mesh_caller()&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;ORIGINAL_LOGIN()&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;dbo.mesh_caller_is_admin()&amp;lt;/code&amp;gt; (sysadmin or database owner) and the triggers &amp;lt;code&amp;gt;mesh_members_owner&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_burn_owner&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_logins_owner&amp;lt;/code&amp;gt;, each made only when missing and run with every schema check. Another login may only set &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to null on a row. &amp;lt;code&amp;gt;MeshMembers.SpendNonce&amp;lt;/code&amp;gt; checks the nonce in constant time and clears it with a conditional update; &amp;lt;code&amp;gt;MeshJoin.Admit&amp;lt;/code&amp;gt; spends it last, after every other check, and may then replace the caller&#039;s key. &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; writes a fresh nonce for each peer. The pairer pairs on its own only with members whose name sorts above this machine&#039;s, or that stayed unpaired &amp;lt;code&amp;gt;MeshPairYieldSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 900). The rig login &amp;lt;code&amp;gt;mesh_snowcrash&amp;lt;/code&amp;gt; keeps writing the &amp;lt;code&amp;gt;snowcrash&amp;lt;/code&amp;gt; rows. Tests (&amp;lt;code&amp;gt;MeshOwnersTests&amp;lt;/code&amp;gt;) run as one SQL login that owns its throwaway database, so they swap the two caller functions for a session value to stand in for other 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;div&gt;* &amp;lt;strong&amp;gt;Lost peer on every dashboard (M.ORCH-T2567).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshPeers.cs&amp;lt;/code&amp;gt; reads members, lapsed claims and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; in one go on the database clock. The Team Wall reads it off the UI thread on each refresh: an unreachable gateway keeps the tiles it had, greyed and paused, labelled &amp;quot;LAPTOP unreachable since 14:02&amp;quot; (its mesh heartbeat, or when the wall first lost it), and they go live again on the first look that reaches it. The header lists lost members no gateway here shows, and each orphaned claim with when it requeues (the later of expiry and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;, plus &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;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;* &amp;lt;strong&amp;gt;Lost peer on every dashboard (M.ORCH-T2567).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshPeers.cs&amp;lt;/code&amp;gt; reads members, lapsed claims and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; in one go on the database clock. The Team Wall reads it off the UI thread on each refresh: an unreachable gateway keeps the tiles it had, greyed and paused, labelled &amp;quot;LAPTOP unreachable since 14:02&amp;quot; (its mesh heartbeat, or when the wall first lost it), and they go live again on the first look that reaches it. The header lists lost members no gateway here shows, and each orphaned claim with when it requeues (the later of expiry and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;, plus &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;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;* &amp;lt;strong&amp;gt;Version skew (M.ORCH-T2568).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;TermGateway.MeshProtocol&amp;lt;/code&amp;gt; (1) is in &amp;lt;code&amp;gt;/health&amp;lt;/code&amp;gt; and on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;Mesh/MeshCompat.cs&amp;lt;/code&amp;gt; takes the mesh&amp;#039;s protocol as the newest a member seen within &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; speaks. A machine behind it gets no claims (&amp;lt;code&amp;gt;MeshClaims.Claim&amp;lt;/code&amp;gt; refuses with &amp;quot;LAPTOP needs update&amp;quot;, before any row is touched); &amp;lt;code&amp;gt;/mesh/join&amp;lt;/code&amp;gt; admits and &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; pairs only on one protocol; &amp;lt;code&amp;gt;MeshBurn.Read&amp;lt;/code&amp;gt; leaves out rows of machines on another protocol, so pacing never sums across a skew. Watch and interact are untouched. Every Team Wall shows &amp;quot;LAPTOP needs update&amp;quot; on that machine&amp;#039;s chip.&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;Version skew (M.ORCH-T2568).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;TermGateway.MeshProtocol&amp;lt;/code&amp;gt; (1) is in &amp;lt;code&amp;gt;/health&amp;lt;/code&amp;gt; and on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;Mesh/MeshCompat.cs&amp;lt;/code&amp;gt; takes the mesh&amp;#039;s protocol as the newest a member seen within &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; speaks. A machine behind it gets no claims (&amp;lt;code&amp;gt;MeshClaims.Claim&amp;lt;/code&amp;gt; refuses with &amp;quot;LAPTOP needs update&amp;quot;, before any row is touched); &amp;lt;code&amp;gt;/mesh/join&amp;lt;/code&amp;gt; admits and &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; pairs only on one protocol; &amp;lt;code&amp;gt;MeshBurn.Read&amp;lt;/code&amp;gt; leaves out rows of machines on another protocol, so pacing never sums across a skew. Watch and interact are untouched. Every Team Wall shows &amp;quot;LAPTOP needs update&amp;quot; on that machine&amp;#039;s chip.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:17:10 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2792&amp;oldid=2787</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2792&amp;oldid=2787</guid>
			<description>&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 02:13, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T01&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;50&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;24Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T02&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;10&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;26Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:13:08 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2791&amp;oldid=2783</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2791&amp;oldid=2783</guid>
			<description>&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 02:13, 3 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-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&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;Host (decided by the owner, 2026-12-02).&amp;lt;/strong&amp;gt; The server is Gadfly&amp;#039;s existing Hetzner Cloud &amp;lt;strong&amp;gt;Linux&amp;lt;/strong&amp;gt; box in Falkenstein, shared rather than a second server: &amp;quot;pick the same location that gadfly is running off; share a server&amp;quot;. It is reached by its tailnet name &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;. The design below was written for a recommended &amp;lt;strong&amp;gt;SQL Server Express for Linux&amp;lt;/strong&amp;gt;: free, no Windows licence, about $5 to $15 a month at the sizes that fit. The owner rejected a Windows server at about $257 a month as too costly, so Windows is not proposed. Express caps each database at 10 GB of data (the log is not counted). On 2026-12-02 on the rig&amp;#039;s localhost the data in MindAttic.Tickets is 262 MB used and in MindAttic.Orchestrator 33 MB (read-only query), so the cap is not a near-term limit; the shared set is smaller than the Tickets figure plus a few small tables. Two other Express limits are fine here: about 1.4 GB of buffer memory and one socket&amp;#039;s worth of cores. The localhost transaction logs are 3.0 GB and 1.8 GB on disk. The new instance gets a deliberate recovery model and log backups so its log does not grow like that.&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;Host (decided by the owner, 2026-12-02).&amp;lt;/strong&amp;gt; The server is Gadfly&amp;#039;s existing Hetzner Cloud &amp;lt;strong&amp;gt;Linux&amp;lt;/strong&amp;gt; box in Falkenstein, shared rather than a second server: &amp;quot;pick the same location that gadfly is running off; share a server&amp;quot;. It is reached by its tailnet name &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;. The design below was written for a recommended &amp;lt;strong&amp;gt;SQL Server Express for Linux&amp;lt;/strong&amp;gt;: free, no Windows licence, about $5 to $15 a month at the sizes that fit. The owner rejected a Windows server at about $257 a month as too costly, so Windows is not proposed. Express caps each database at 10 GB of data (the log is not counted). On 2026-12-02 on the rig&amp;#039;s localhost the data in MindAttic.Tickets is 262 MB used and in MindAttic.Orchestrator 33 MB (read-only query), so the cap is not a near-term limit; the shared set is smaller than the Tickets figure plus a few small tables. Two other Express limits are fine here: about 1.4 GB of buffer memory and one socket&amp;#039;s worth of cores. The localhost transaction logs are 3.0 GB and 1.8 GB on disk. The new instance gets a deliberate recovery model and log backups so its log does not grow like that.&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;&amp;lt;strong&amp;gt;Reaching it.&amp;lt;/strong&amp;gt; SQL Server listens only on the box&#039;s Tailscale 100.x address (&amp;lt;code&amp;gt;mssql-conf&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;network.ipaddress&amp;lt;/code&amp;gt;), the host firewall allows the port only on the &amp;lt;code&amp;gt;tailscale0&amp;lt;/code&amp;gt; interface, and the Hetzner cloud firewall has no public rule for it. A Tailscale ACL limits it to the owner&#039;s machines. Connections use TLS (a &amp;lt;code&amp;gt;tailscale cert&amp;lt;/code&amp;gt; certificate for the box&#039;s tailnet name) and &amp;lt;strong&amp;gt;SQL authentication with one login per machine&amp;lt;/strong&amp;gt;, each with rights on the shared databases only. &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt; drops that machine&#039;s login. Each machine keeps its connection string &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sealed for &lt;/del&gt;its Windows user&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, as &lt;/del&gt;the gateway keys &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;are today (GatewayRemote.cs&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;34)&lt;/del&gt;. The box never has a public SQL port.&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;&amp;lt;strong&amp;gt;Reaching it.&amp;lt;/strong&amp;gt; SQL Server listens only on the box&#039;s Tailscale 100.x address (&amp;lt;code&amp;gt;mssql-conf&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;network.ipaddress&amp;lt;/code&amp;gt;), the host firewall allows the port only on the &amp;lt;code&amp;gt;tailscale0&amp;lt;/code&amp;gt; interface, and the Hetzner cloud firewall has no public rule for it. A Tailscale ACL limits it to the owner&#039;s machines. Connections use TLS (a &amp;lt;code&amp;gt;tailscale cert&amp;lt;/code&amp;gt; certificate for the box&#039;s tailnet name) and &amp;lt;strong&amp;gt;SQL authentication with one login per machine&amp;lt;/strong&amp;gt;, each with rights on the shared databases only. &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt; drops that machine&#039;s login. Each machine keeps its connection string &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in plain text in &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt; under &lt;/ins&gt;its Windows user&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s &amp;lt;code&amp;gt;%APPDATA%&amp;lt;/code&amp;gt; (not DPAPI-sealed like &lt;/ins&gt;the gateway keys&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the Windows account is what protects it, and the login reaches only the two shared databases, over the tailnet&lt;/ins&gt;. The box never has a public SQL port.&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;Why.&amp;lt;/strong&amp;gt; The owner wants the ticket database read/write from every computer, and the rig is not always on. A shared database gives that without a second protocol: atomicity lives in the database, which already does it correctly, and the claim check-and-write is already one step. Exactly-once claims follow from one serialised writer, which is the simplest thing that can be proven correct, and the writer is a database instead of a machine, so no peer has to be elected. It also reuses a store mode that already ran remotely.&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;Why.&amp;lt;/strong&amp;gt; The owner wants the ticket database read/write from every computer, and the rig is not always on. A shared database gives that without a second protocol: atomicity lives in the database, which already does it correctly, and the claim check-and-write is already one step. Exactly-once claims follow from one serialised writer, which is the simplest thing that can be proven correct, and the writer is a database instead of a machine, so no peer has to be elected. It also reuses a store mode that already ran remotely.&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-l188&quot;&gt;Line 188:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 188:&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;Standalone is a mesh of one.&amp;lt;/strong&amp;gt; Nothing changes on a machine until &amp;lt;code&amp;gt;mesh invite&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; runs there. The rig keeps its daemon, CLIs and dashboard throughout, so it never loses local capability. The ticket database is the exception, and it moves first (next bullet).&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;Standalone is a mesh of one.&amp;lt;/strong&amp;gt; Nothing changes on a machine until &amp;lt;code&amp;gt;mesh invite&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; runs there. The rig keeps its daemon, CLIs and dashboard throughout, so it never loses local capability. The ticket database is the exception, and it moves first (next bullet).&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;* &amp;lt;strong&amp;gt;The ticket database migrates once, from the rig.&amp;lt;/strong&amp;gt; After the Hetzner instance exists (the provisioning task), &amp;lt;code&amp;gt;tickets db server migrate --server &amp;amp;lt;the box&amp;#039;s tailnet address&amp;gt; --database MindAttic.Tickets&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;--connection&amp;lt;/code&amp;gt;) on the rig copies the rig&amp;#039;s current database across, checks every table&amp;#039;s row count, and switches the rig to it. Its flags are the ones &amp;lt;code&amp;gt;tickets db server migrate --help&amp;lt;/code&amp;gt; lists today. &amp;lt;code&amp;gt;tickets db server back&amp;lt;/code&amp;gt; undoes it. Use &amp;lt;code&amp;gt;--replace&amp;lt;/code&amp;gt; only on that first copy.&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;The ticket database migrates once, from the rig.&amp;lt;/strong&amp;gt; After the Hetzner instance exists (the provisioning task), &amp;lt;code&amp;gt;tickets db server migrate --server &amp;amp;lt;the box&amp;#039;s tailnet address&amp;gt; --database MindAttic.Tickets&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;--connection&amp;lt;/code&amp;gt;) on the rig copies the rig&amp;#039;s current database across, checks every table&amp;#039;s row count, and switches the rig to it. Its flags are the ones &amp;lt;code&amp;gt;tickets db server migrate --help&amp;lt;/code&amp;gt; lists today. &amp;lt;code&amp;gt;tickets db server back&amp;lt;/code&amp;gt; undoes it. Use &amp;lt;code&amp;gt;--replace&amp;lt;/code&amp;gt; only on that first copy.&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;* &amp;lt;strong&amp;gt;Every other machine points at it without copying.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;migrate&amp;lt;/code&amp;gt; copies data and would overwrite, so a second machine does not run it. The tickets CLI picks its server from &amp;lt;code&amp;gt;MINDATTIC_TICKETS_SQLSERVER&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets&amp;lt;/code&amp;gt; (TicketsServer.cs:21, :29, :57-58), so &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; writes the per-machine connection string there (the machine&#039;s own SQL login, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sealed&lt;/del&gt;). Each CLI keeps its local SQLite mirror for reads.&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;* &amp;lt;strong&amp;gt;Every other machine points at it without copying.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;migrate&amp;lt;/code&amp;gt; copies data and would overwrite, so a second machine does not run it. The tickets CLI picks its server from &amp;lt;code&amp;gt;MINDATTIC_TICKETS_SQLSERVER&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets&amp;lt;/code&amp;gt; (TicketsServer.cs:21, :29, :57-58), so &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; writes the per-machine connection string there (the machine&#039;s own SQL login, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in plain text under that Windows user&#039;s profile&lt;/ins&gt;). Each CLI keeps its local SQLite mirror for reads.&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;* &amp;lt;strong&amp;gt;The host and client roles stay as they are&amp;lt;/strong&amp;gt; (src/MindAttic.Orchestrator.Core/Setup/MachineRole.cs:7-18, MachineTopology.cs:39) for the remote-VM case in docs/REMOTE_HOST.md. A machine in the client role cannot join a mesh, because the client role stops its daemon. It must first go back to standalone. &amp;lt;code&amp;gt;MachineRole.HostRemoteName&amp;lt;/code&amp;gt; (MachineRole.cs:32, one host) is untouched. Mesh peers are a separate list.&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;The host and client roles stay as they are&amp;lt;/strong&amp;gt; (src/MindAttic.Orchestrator.Core/Setup/MachineRole.cs:7-18, MachineTopology.cs:39) for the remote-VM case in docs/REMOTE_HOST.md. A machine in the client role cannot join a mesh, because the client role stops its daemon. It must first go back to standalone. &amp;lt;code&amp;gt;MachineRole.HostRemoteName&amp;lt;/code&amp;gt; (MachineRole.cs:32, one host) is untouched. Mesh peers are a separate list.&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;* &amp;lt;strong&amp;gt;Mesh peers are gateway remotes with kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;.&amp;lt;/strong&amp;gt; They are stored in &amp;lt;code&amp;gt;GatewaySettings.Remotes&amp;lt;/code&amp;gt; with a sealed peer key. &amp;lt;code&amp;gt;TeamWallWindow.RefreshAsync&amp;lt;/code&amp;gt; (TeamWallWindow.cs:209), which merges &amp;lt;code&amp;gt;LocalSource&amp;lt;/code&amp;gt; (:239) with every remote, shows them with no new plumbing. Existing &amp;lt;code&amp;gt;gateway remote add&amp;lt;/code&amp;gt; remotes keep working (M.ORCH-T936&amp;#039;s Team Wall).&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;Mesh peers are gateway remotes with kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;.&amp;lt;/strong&amp;gt; They are stored in &amp;lt;code&amp;gt;GatewaySettings.Remotes&amp;lt;/code&amp;gt; with a sealed peer key. &amp;lt;code&amp;gt;TeamWallWindow.RefreshAsync&amp;lt;/code&amp;gt; (TeamWallWindow.cs:209), which merges &amp;lt;code&amp;gt;LocalSource&amp;lt;/code&amp;gt; (:239) with every remote, shows them with no new plumbing. Existing &amp;lt;code&amp;gt;gateway remote add&amp;lt;/code&amp;gt; remotes keep working (M.ORCH-T936&amp;#039;s Team Wall).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:13:05 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/REMOTE HOST</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/REMOTE_HOST&amp;diff=2790&amp;oldid=2770</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/REMOTE_HOST&amp;diff=2790&amp;oldid=2770</guid>
			<description>&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 02:13, 3 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-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&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;It asks for one UAC prompt, your GitHub sign-in (browser), the Windows password for automatic sign-in after restarts (kept as an LSA secret by Sysinternals Autologon), and the Claude sign-ins. Then 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;It asks for one UAC prompt, your GitHub sign-in (browser), the Windows password for automatic sign-in after restarts (kept as an LSA secret by Sysinternals Autologon), and the Claude sign-ins. Then it:&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;* gives the workspace a &amp;lt;code&amp;gt;D:&amp;lt;/code&amp;gt; (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a blank extra disk, else &lt;/del&gt;&amp;lt;code&amp;gt;C:\MindAttic-D&amp;lt;/code&amp;gt; mapped as &amp;lt;code&amp;gt;D:&amp;lt;/code&amp;gt; at every boot, since &amp;lt;code&amp;gt;D:\Projects\MindAttic&amp;lt;/code&amp;gt; is built into every app), and an &amp;lt;code&amp;gt;R:&amp;lt;/code&amp;gt; the same way (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a second blank disk, else &lt;/del&gt;&amp;lt;code&amp;gt;C:\MindAttic-R&amp;lt;/code&amp;gt; mapped as &amp;lt;code&amp;gt;R:&amp;lt;/code&amp;gt;), since &amp;lt;code&amp;gt;deploy-lib.ps1&amp;lt;/code&amp;gt;&#039;s &amp;lt;code&amp;gt;R:\MindAttic\Apps&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;TempRoot&amp;lt;/code&amp;gt;&#039;s &amp;lt;code&amp;gt;R:\Temp&amp;lt;/code&amp;gt; are built into the deploy and member-temp tooling too (M.ORCH-T2537);&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;* gives the workspace a &amp;lt;code&amp;gt;D:&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;C:\MindAttic-D&amp;lt;/code&amp;gt; mapped as &amp;lt;code&amp;gt;D:&amp;lt;/code&amp;gt; at every boot&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, or a blank extra disk formatted when &amp;lt;code&amp;gt;-FormatBlankDisk&amp;lt;/code&amp;gt; is passed&lt;/ins&gt;, since &amp;lt;code&amp;gt;D:\Projects\MindAttic&amp;lt;/code&amp;gt; is built into every app), and an &amp;lt;code&amp;gt;R:&amp;lt;/code&amp;gt; the same way (&amp;lt;code&amp;gt;C:\MindAttic-R&amp;lt;/code&amp;gt; mapped as &amp;lt;code&amp;gt;R:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt;, or a second blank disk with &amp;lt;code&amp;gt;-FormatBlankDisk&lt;/ins&gt;&amp;lt;/code&amp;gt;), since &amp;lt;code&amp;gt;deploy-lib.ps1&amp;lt;/code&amp;gt;&#039;s &amp;lt;code&amp;gt;R:\MindAttic\Apps&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;TempRoot&amp;lt;/code&amp;gt;&#039;s &amp;lt;code&amp;gt;R:\Temp&amp;lt;/code&amp;gt; are built into the deploy and member-temp tooling too (M.ORCH-T2537);&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;* installs git, the GitHub CLI, the .NET 10 SDK, Node.js, Python 3, PowerShell 7, Windows Terminal and Claude Code;&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;* installs git, the GitHub CLI, the .NET 10 SDK, Node.js, Python 3, PowerShell 7, Windows Terminal and Claude Code;&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;* installs SQL Server 2025 Developer as &amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt; (unless a SQL Server is already there; you and Administrators are sysadmin), SQL Server 2025 LocalDB and SQL Server Management Studio 22 (M.ORCH-T1486; &amp;lt;code&amp;gt;-SkipSql&amp;lt;/code&amp;gt; skips them), then restores the backups in &amp;lt;code&amp;gt;-Databases&amp;lt;/code&amp;gt; (default: the &amp;lt;code&amp;gt;databases&amp;lt;/code&amp;gt; folder beside the kit; &amp;lt;code&amp;gt;localhost\*.bak&amp;lt;/code&amp;gt; onto SQL Server, &amp;lt;code&amp;gt;localdb\*.bak&amp;lt;/code&amp;gt; onto LocalDB, any database already there left alone). 2025, because your PC&amp;#039;s LocalDB is already 2025 and a backup only restores onto the same version or newer;&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;* installs SQL Server 2025 Developer as &amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt; (unless a SQL Server is already there; you and Administrators are sysadmin), SQL Server 2025 LocalDB and SQL Server Management Studio 22 (M.ORCH-T1486; &amp;lt;code&amp;gt;-SkipSql&amp;lt;/code&amp;gt; skips them), then restores the backups in &amp;lt;code&amp;gt;-Databases&amp;lt;/code&amp;gt; (default: the &amp;lt;code&amp;gt;databases&amp;lt;/code&amp;gt; folder beside the kit; &amp;lt;code&amp;gt;localhost\*.bak&amp;lt;/code&amp;gt; onto SQL Server, &amp;lt;code&amp;gt;localdb\*.bak&amp;lt;/code&amp;gt; onto LocalDB, any database already there left alone). 2025, because your PC&amp;#039;s LocalDB is already 2025 and a backup only restores onto the same version or newer;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:13:05 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/REMOTE_HOST</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH OPERATIONS</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2789&amp;oldid=2785</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2789&amp;oldid=2785</guid>
			<description>&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 02:13, 3 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-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&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;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&amp;#039;s browser check is the owner&amp;#039;s approval. The login gets &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; and nothing else.&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;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&amp;#039;s browser check is the owner&amp;#039;s approval. The login gets &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; and nothing else.&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;* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Setup run again &lt;/del&gt;does not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;make &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;second login: if both files &lt;/del&gt;already &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hold &lt;/del&gt;a connection it changes nothing.&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;* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, in plain text. Nothing encrypts these files: the Windows user account&#039;s profile is what protects them, and the login they hold reaches only the two shared databases, and only over the tailnet&lt;/ins&gt;. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&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;* The password goes to the server on &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;&#039;s standard input and into an owner-only temp file there that &amp;lt;code&amp;gt;sqlcmd -i&amp;lt;/code&amp;gt; reads and that is then deleted, so it is on no command line on either machine and never in the setup log.&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;* The connection strings say &amp;lt;code&amp;gt;Trust Server Certificate=True&amp;lt;/code&amp;gt;. They connect by tailnet address, which the server&#039;s certificate &lt;/ins&gt;does not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;name, and the traffic already runs inside Tailscale&#039;s WireGuard tunnel, which authenticates both ends and encrypts it. TLS is still on (&amp;lt;code&amp;gt;Encrypt=True&amp;lt;/code&amp;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;* Setup never overwrites &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt; that &lt;/ins&gt;already &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;holds &lt;/ins&gt;a connection&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If both hold one &lt;/ins&gt;it changes nothing&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If only one does, it writes the missing one, reusing the password the other holds. If the Tickets file points at a different SQL Server, setup stops rather than repoint this PC&#039;s tickets: move them first (&amp;lt;code&amp;gt;tickets db server migrate&amp;lt;/code&amp;gt;, never with &amp;lt;code&amp;gt;--replace&amp;lt;/code&amp;gt; against the shared database), or delete that file if they are in the shared database already.&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;* An existing login&#039;s password is reset only when no file on the PC holds it: it is stored nowhere else, so a new one is the only way back in. Setup says so when it does&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;* One login per PC means one can be dropped without touching the others. &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; drops 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;* One login per PC means one can be dropped without touching the others. &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; drops it.&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l79&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&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;# Pick the newest good file in &amp;lt;code&amp;gt;R:\Backup\MindAttic\mesh&amp;lt;/code&amp;gt; (the log says which were verified).&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;# Pick the newest good file in &amp;lt;code&amp;gt;R:\Backup\MindAttic\mesh&amp;lt;/code&amp;gt; (the log says which were verified).&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;# On the target SQL Server run, for each database, a &amp;lt;code&amp;gt;RESTORE DATABASE&amp;lt;/code&amp;gt; from that file. To replace an existing database add &amp;lt;code&amp;gt;WITH REPLACE&amp;lt;/code&amp;gt;. If the target&amp;#039;s file paths differ from the source&amp;#039;s, add &amp;lt;code&amp;gt;MOVE&amp;lt;/code&amp;gt; clauses for the data and log files (&amp;lt;code&amp;gt;RESTORE FILELISTONLY&amp;lt;/code&amp;gt; lists the logical names).&amp;lt;br&amp;gt;&amp;lt;pre class=&amp;quot;md-code lang-sql&amp;quot;&amp;gt;RESTORE DATABASE [MindAttic.Tickets] FROM DISK = N&amp;#039;&amp;amp;lt;path-to&amp;gt;\tickets-&amp;amp;lt;stamp&amp;gt;.bak&amp;#039; WITH REPLACE, STATS = 10; RESTORE DATABASE [MindAttic.Mesh]    FROM DISK = N&amp;#039;&amp;amp;lt;path-to&amp;gt;\mesh-&amp;amp;lt;stamp&amp;gt;.bak&amp;#039;    WITH REPLACE, STATS = 10;&amp;lt;/pre&amp;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;# On the target SQL Server run, for each database, a &amp;lt;code&amp;gt;RESTORE DATABASE&amp;lt;/code&amp;gt; from that file. To replace an existing database add &amp;lt;code&amp;gt;WITH REPLACE&amp;lt;/code&amp;gt;. If the target&amp;#039;s file paths differ from the source&amp;#039;s, add &amp;lt;code&amp;gt;MOVE&amp;lt;/code&amp;gt; clauses for the data and log files (&amp;lt;code&amp;gt;RESTORE FILELISTONLY&amp;lt;/code&amp;gt; lists the logical names).&amp;lt;br&amp;gt;&amp;lt;pre class=&amp;quot;md-code lang-sql&amp;quot;&amp;gt;RESTORE DATABASE [MindAttic.Tickets] FROM DISK = N&amp;#039;&amp;amp;lt;path-to&amp;gt;\tickets-&amp;amp;lt;stamp&amp;gt;.bak&amp;#039; WITH REPLACE, STATS = 10; RESTORE DATABASE [MindAttic.Mesh]    FROM DISK = N&amp;#039;&amp;amp;lt;path-to&amp;gt;\mesh-&amp;amp;lt;stamp&amp;gt;.bak&amp;#039;    WITH REPLACE, STATS = 10;&amp;lt;/pre&amp;gt;&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;# Recreate the per-machine logins if the server is new. A restored database keeps its users, but a login that is missing from the new server leaves each user orphaned. Re-run &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; on each PC: it makes a missing login and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rewrites that &lt;/del&gt;PC&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s &lt;/del&gt;&amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt; files.&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;# Recreate the per-machine logins if the server is new. A restored database keeps its users, but a login that is missing from the new server leaves each user orphaned. Re-run &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; on each PC &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that lacks a &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt;&lt;/ins&gt;: it makes a missing login &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with the password the PC already holds &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;writes only the missing file. A &lt;/ins&gt;PC &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;whose files are complete is left alone, so on a new server make its login by hand with the password from its &lt;/ins&gt;&amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, or move its two &lt;/ins&gt;files &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;aside and run setup (that resets the login&#039;s password)&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;# If the new server has a different tailnet name, pass it to setup (&amp;lt;code&amp;gt;-Server &amp;amp;lt;name&amp;gt;&amp;lt;/code&amp;gt;) on every PC.&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;# If the new server has a different tailnet name, pass it to setup (&amp;lt;code&amp;gt;-Server &amp;amp;lt;name&amp;gt;&amp;lt;/code&amp;gt;) on every PC.&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;# When the server is back, each PC renews its own claims and records the recovery. See &amp;quot;Outage behaviour&amp;quot;.&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;# When the server is back, each PC renews its own claims and records the recovery. See &amp;quot;Outage behaviour&amp;quot;.&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-l182&quot;&gt;Line 182:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 186:&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;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;The mesh&#039;s connection itself is not a Vault setting. It is in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; on each PC (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Server&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ServerAddress&amp;lt;/code&amp;gt;), written by setup. With no such file the PC is a mesh of one. &amp;lt;code&amp;gt;MINDATTIC_MESH_CHECK_SECS&amp;lt;/code&amp;gt; (default 15) bounds how long the commit gate waits for &amp;lt;code&amp;gt;orchestrator may-close&amp;lt;/code&amp;gt; before it allows the close with a warning in &amp;lt;code&amp;gt;mesh-close.log&amp;lt;/code&amp;gt;.&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;The mesh&#039;s connection itself is not a Vault setting. It is in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; on each PC (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Server&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ServerAddress&amp;lt;/code&amp;gt;), written by setup &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in plain text (see &quot;Per-machine SQL logins&quot;)&lt;/ins&gt;. With no such file the PC is a mesh of one. &amp;lt;code&amp;gt;MINDATTIC_MESH_CHECK_SECS&amp;lt;/code&amp;gt; (default 15) bounds how long the commit gate waits for &amp;lt;code&amp;gt;orchestrator may-close&amp;lt;/code&amp;gt; before it allows the close with a warning in &amp;lt;code&amp;gt;mesh-close.log&amp;lt;/code&amp;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;== Troubleshooting ==&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;== Troubleshooting ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 02:13:05 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_OPERATIONS</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH&amp;diff=2788&amp;oldid=2782</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH&amp;diff=2788&amp;oldid=2782</guid>
			<description>&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 02:13, 3 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-l75&quot;&gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&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;#* paste this into PowerShell:&amp;lt;br&amp;gt;&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;irm https&amp;amp;#58;//raw.githubusercontent.com/mindattic/MindAttic.Orchestrator/main/setup-node.ps1 &amp;amp;#124; iex&amp;lt;/pre&amp;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;#* paste this into PowerShell:&amp;lt;br&amp;gt;&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;irm https&amp;amp;#58;//raw.githubusercontent.com/mindattic/MindAttic.Orchestrator/main/setup-node.ps1 &amp;amp;#124; iex&amp;lt;/pre&amp;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;# Answer the three owner prompts:&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;# Answer the three owner prompts:&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;#* &amp;lt;strong&amp;gt;UAC.&amp;lt;/strong&amp;gt; One prompt, for the administrator part: the D: and R: drives (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a spare disk, else &lt;/del&gt;folders mapped at every boot), long paths, git, GitHub CLI, the .NET 10 SDK, Python 3, Node.js LTS, and a firewall rule that opens the gateway&#039;s port (7443) on the Tailscale interface only.&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;#* &amp;lt;strong&amp;gt;UAC.&amp;lt;/strong&amp;gt; One prompt, for the administrator part: the D: and R: drives (folders mapped at every boot&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, or a blank disk with &amp;lt;code&amp;gt;-FormatBlankDisk&amp;lt;/code&amp;gt;&lt;/ins&gt;), long paths, git, GitHub CLI, the .NET 10 SDK, Python 3, Node.js LTS, and a firewall rule that opens the gateway&#039;s port (7443) on the Tailscale interface only.&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;#* &amp;lt;strong&amp;gt;GitHub sign-in.&amp;lt;/strong&amp;gt; A browser page opens. Use the account that can push to the &amp;lt;code&amp;gt;mindattic&amp;lt;/code&amp;gt; repos.&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;GitHub sign-in.&amp;lt;/strong&amp;gt; A browser page opens. Use the account that can push to the &amp;lt;code&amp;gt;mindattic&amp;lt;/code&amp;gt; repos.&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;#* &amp;lt;strong&amp;gt;Tailscale SSH browser check.&amp;lt;/strong&amp;gt; Setup makes this PC&amp;#039;s own SQL login on the shared server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;. Tailscale asks you in a browser to approve it. Your approval is what authorises the login.&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;Tailscale SSH browser check.&amp;lt;/strong&amp;gt; Setup makes this PC&amp;#039;s own SQL login on the shared server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;. Tailscale asks you in a browser to approve it. Your approval is what authorises the login.&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-l100&quot;&gt;Line 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 100:&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;code&amp;gt;-Workspace &amp;amp;lt;path&amp;gt;&amp;lt;/code&amp;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;| &amp;lt;code&amp;gt;-Workspace &amp;amp;lt;path&amp;gt;&amp;lt;/code&amp;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;| The workspace root. Leave it: &amp;lt;code&amp;gt;D:\Projects\MindAttic&amp;lt;/code&amp;gt; is built into the apps.&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;| The workspace root. Leave it: &amp;lt;code&amp;gt;D:\Projects\MindAttic&amp;lt;/code&amp;gt; is built into the apps.&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;code&amp;gt;-FormatBlankDisk&amp;lt;/code&amp;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;| Format a spare disk with no partitions as D: (and a second as R:). Without it D: and R: are folders mapped at every boot, because a disk holding a filesystem Windows can&#039;t read also looks blank.&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;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;What setup leaves on the PC:&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;What setup leaves on the PC:&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;* &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;: this PC&#039;s name and its connection to the shared server. The SQL password is random, is made on this PC, and stays only in these two files. The environment variable &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&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;* &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;: this PC&#039;s name and its connection to the shared server. The SQL password is random, is made on this PC, and stays only in these two files&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, in plain text: they are not encrypted, your Windows account is what protects them, and the login reaches only the two shared databases over the tailnet. Setup never overwrites either file once it holds a connection, and stops if the Tickets one points at another SQL Server (see the [[MindAttic.Orchestrator/MESH_OPERATIONS|operator runbook]])&lt;/ins&gt;. The environment variable &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&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;* A SQL login &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; on the shared server, with rights on the two shared databases only.&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 SQL login &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; on the shared server, with rights on the two shared databases only.&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;</description>
			<pubDate>Thu, 03 Dec 2026 02:13:04 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/spikes/cli-host-viewer</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/spikes/cli-host-viewer&amp;diff=2786&amp;oldid=607</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/spikes/cli-host-viewer&amp;diff=2786&amp;oldid=607</guid>
			<description>&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 01:52, 3 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-l757&quot;&gt;Line 757:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 757:&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;pre class=&amp;quot;md-code&amp;quot;&amp;gt;orchestrator gateway on                                  # 127.0.0.1:7443, self-signed dev certificate&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;pre class=&amp;quot;md-code&amp;quot;&amp;gt;orchestrator gateway on                                  # 127.0.0.1:7443, self-signed dev certificate&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;orchestrator gateway --bind &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100.101.102.103 &lt;/del&gt;             # listen on this machine&#039;s Tailscale address&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;orchestrator gateway --bind &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt;tailscale-ip&amp;gt; &lt;/ins&gt;             # listen on this machine&#039;s Tailscale address&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;orchestrator gateway --dev-cert-names ryan-pc.tail1234.ts.net,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100.101.102.103&lt;/del&gt;&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;orchestrator gateway --dev-cert-names ryan-pc.tail1234.ts.net,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt;tailscale-ip&amp;gt;&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;orchestrator gateway --cert-thumbprint &amp;amp;lt;hex&amp;gt;             # or --cert-path &amp;amp;lt;file.pfx&amp;gt;; &amp;quot;none&amp;quot; clears either&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;orchestrator gateway --cert-thumbprint &amp;amp;lt;hex&amp;gt;             # or --cert-path &amp;amp;lt;file.pfx&amp;gt;; &amp;quot;none&amp;quot; clears either&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;orchestrator gateway                                     # shows the settings, whether it runs, and its certificate pin&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;orchestrator gateway                                     # shows the settings, whether it runs, and its certificate pin&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:11 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/spikes/cli-host-viewer</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2787&amp;oldid=2780</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2787&amp;oldid=2780</guid>
			<description>&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 01:52, 3 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-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&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;ul class=&amp;quot;ma-hub-stats&amp;quot;&amp;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;&amp;lt;ul class=&amp;quot;ma-hub-stats&amp;quot;&amp;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;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;80&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;l&amp;quot;&amp;gt;repos&amp;lt;/span&amp;gt;&amp;lt;/li&amp;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;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;80&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;l&amp;quot;&amp;gt;repos&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;&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;&amp;lt;li&amp;gt;&amp;lt;span class=&quot;n&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;876&lt;/del&gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&quot;l&quot;&amp;gt;pages&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;&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;&amp;lt;li&amp;gt;&amp;lt;span class=&quot;n&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;878&lt;/ins&gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&quot;l&quot;&amp;gt;pages&amp;lt;/span&amp;gt;&amp;lt;/li&amp;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;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;l&amp;quot;&amp;gt;categories&amp;lt;/span&amp;gt;&amp;lt;/li&amp;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;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;l&amp;quot;&amp;gt;categories&amp;lt;/span&amp;gt;&amp;lt;/li&amp;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;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;13&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;l&amp;quot;&amp;gt;private, excluded&amp;lt;/span&amp;gt;&amp;lt;/li&amp;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;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;13&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;l&amp;quot;&amp;gt;private, excluded&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;&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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;36&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;57Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;50&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;24Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:11 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH OPERATIONS</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2785&amp;oldid=0</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_OPERATIONS&amp;diff=2785&amp;oldid=0</guid>
			<description>&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;= Mesh operations: operator runbook =&lt;br /&gt;
&lt;br /&gt;
This is the runbook for the person who owns the mesh. The user guide is [[MindAttic.Orchestrator/MESH|The Orchestrator mesh]]; the design record is [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture]]. This repo is public: this page names no address, password, key or connection string. The shared server is &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;, found by its tailnet name.&lt;br /&gt;
&lt;br /&gt;
== The shared server ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt; is the Hetzner Cloud Linux box in Falkenstein that Gadfly already runs on. The owner chose to share it rather than rent a second one (2026-12-02: &amp;quot;pick the same location that gadfly is running off; share a server&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
* It runs SQL Server with two databases for the mesh: &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; (every ticket) and &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; (claims, members, published burn, logins).&lt;br /&gt;
* SQL Server answers on the tailnet only, on port 1433. The Hetzner cloud firewall has no public rule for it, and connections use TLS. There is no route to it from the public internet.&lt;br /&gt;
* The Orchestrator&amp;#039;s own store on each PC stays local SQLite. Only the ticket tables and the mesh tables are shared.&lt;br /&gt;
* The server is the one thing the mesh cannot do without. While it is down, no PC can claim a ticket. See &amp;quot;Outage behaviour&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Per-machine SQL logins ==&lt;br /&gt;
&lt;br /&gt;
Each PC connects as its own login, &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; is the PC&amp;#039;s computer name in lower case with every character other than a to z and 0 to 9 turned into an underscore.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; makes the login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; to the server. Tailscale&amp;#039;s browser check is the owner&amp;#039;s approval. The login gets &amp;lt;code&amp;gt;db_owner&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;MindAttic.Mesh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MindAttic.Tickets&amp;lt;/code&amp;gt; and nothing else.&lt;br /&gt;
* The password is random and is made on the PC. It is stored only in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt; on that PC. &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection. Setup run again does not make a second login: if both files already hold a connection it changes nothing.&lt;br /&gt;
* One login per PC means one can be dropped without touching the others. &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; drops it.&lt;br /&gt;
&lt;br /&gt;
== Nightly backups ==&lt;br /&gt;
&lt;br /&gt;
The PC that holds the backups (the rig) pulls a fresh native backup of each database every night.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Item&lt;br /&gt;
! Value&lt;br /&gt;
|-&lt;br /&gt;
| Scheduler job&lt;br /&gt;
| &amp;lt;code&amp;gt;MindAttic.Orchestrator.Mesh.Backup&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Time&lt;br /&gt;
| 03:15 daily&lt;br /&gt;
|-&lt;br /&gt;
| Script&lt;br /&gt;
| &amp;lt;code&amp;gt;tools\mesh-backup-pull.ps1&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Destination&lt;br /&gt;
| &amp;lt;code&amp;gt;R:\Backup\MindAttic\mesh&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Files&lt;br /&gt;
| &amp;lt;code&amp;gt;tickets-&amp;amp;lt;yyyyMMdd-HHmmss&amp;gt;.bak&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh-&amp;amp;lt;yyyyMMdd-HHmmss&amp;gt;.bak&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Log&lt;br /&gt;
| &amp;lt;code&amp;gt;mesh-backup.log&amp;lt;/code&amp;gt; in the destination folder&lt;br /&gt;
|-&lt;br /&gt;
| Retention&lt;br /&gt;
| &amp;lt;code&amp;gt;MeshBackupKeepDays&amp;lt;/code&amp;gt; (Vault setting, default 14 days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The job is registered in MindAttic.Scheduler, not in this repo. The script is what it runs.&lt;br /&gt;
&lt;br /&gt;
=== How the pull works ===&lt;br /&gt;
&lt;br /&gt;
The server runs a second &amp;lt;code&amp;gt;sshd&amp;lt;/code&amp;gt; that listens only on its tailnet address, on port 2222, with key authentication only. The backup key&amp;#039;s authorised entry carries a forced command. That command takes one word, &amp;lt;code&amp;gt;tickets&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;mesh&amp;lt;/code&amp;gt;, backs that database up and streams the &amp;lt;code&amp;gt;.bak&amp;lt;/code&amp;gt; to standard output. The key can do nothing else. Because no Tailscale SSH browser check is involved, the Scheduler can run the pull unattended.&lt;br /&gt;
&lt;br /&gt;
On the pulling PC:&lt;br /&gt;
&lt;br /&gt;
* The private key is &amp;lt;code&amp;gt;%USERPROFILE%\.ssh\mesh-backup&amp;lt;/code&amp;gt;. Without it the script logs &amp;lt;code&amp;gt;FAIL no backup key&amp;lt;/code&amp;gt; and exits 1.&lt;br /&gt;
* The script writes each stream to a file with &amp;lt;code&amp;gt;cmd&amp;lt;/code&amp;gt; redirection, so the bytes stay binary.&lt;br /&gt;
* A file under 1 MB or a non-zero exit counts as a failure; the partial file is deleted.&lt;br /&gt;
* When a local SQL Server (&amp;lt;code&amp;gt;MSSQLSERVER&amp;lt;/code&amp;gt;) is installed, each file is checked with &amp;lt;code&amp;gt;RESTORE VERIFYONLY ... WITH CHECKSUM&amp;lt;/code&amp;gt;. Without one the log says &amp;quot;not verified&amp;quot;.&lt;br /&gt;
* After the pulls, &amp;lt;code&amp;gt;.bak&amp;lt;/code&amp;gt; files older than the retention are deleted and logged as &amp;lt;code&amp;gt;pruned&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The exit code is the number of failures, so the Scheduler shows a failed night.&lt;br /&gt;
&lt;br /&gt;
Run it by hand:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;powershell -NoProfile -ExecutionPolicy Bypass -File tools\mesh-backup-pull.ps1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameters, all optional: &amp;lt;code&amp;gt;-Server&amp;lt;/code&amp;gt; (default &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;-Port&amp;lt;/code&amp;gt; (2222), &amp;lt;code&amp;gt;-Key&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-Dest&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-KeepDays&amp;lt;/code&amp;gt; (default from the Vault setting &amp;lt;code&amp;gt;MeshBackupKeepDays&amp;lt;/code&amp;gt;, else 14).&lt;br /&gt;
&lt;br /&gt;
The repo&amp;#039;s own &amp;lt;code&amp;gt;tickets db sync&amp;lt;/code&amp;gt; dump (&amp;lt;code&amp;gt;data/Tickets.sql&amp;lt;/code&amp;gt; in the Tickets repo, committed to git) is a further copy of the tickets.&lt;br /&gt;
&lt;br /&gt;
== Restore ==&lt;br /&gt;
&lt;br /&gt;
A restore was tested on 2026-12-02: a pulled &amp;lt;code&amp;gt;.bak&amp;lt;/code&amp;gt; was restored with &amp;lt;code&amp;gt;RESTORE&amp;lt;/code&amp;gt; on a SQL Server and the data read back. SQL Server backups restore across Windows and Linux, so the target can be either.&lt;br /&gt;
&lt;br /&gt;
# Pick the newest good file in &amp;lt;code&amp;gt;R:\Backup\MindAttic\mesh&amp;lt;/code&amp;gt; (the log says which were verified).&lt;br /&gt;
# On the target SQL Server run, for each database, a &amp;lt;code&amp;gt;RESTORE DATABASE&amp;lt;/code&amp;gt; from that file. To replace an existing database add &amp;lt;code&amp;gt;WITH REPLACE&amp;lt;/code&amp;gt;. If the target&amp;#039;s file paths differ from the source&amp;#039;s, add &amp;lt;code&amp;gt;MOVE&amp;lt;/code&amp;gt; clauses for the data and log files (&amp;lt;code&amp;gt;RESTORE FILELISTONLY&amp;lt;/code&amp;gt; lists the logical names).&amp;lt;br&amp;gt;&amp;lt;pre class=&amp;quot;md-code lang-sql&amp;quot;&amp;gt;RESTORE DATABASE [MindAttic.Tickets] FROM DISK = N&amp;#039;&amp;amp;lt;path-to&amp;gt;\tickets-&amp;amp;lt;stamp&amp;gt;.bak&amp;#039; WITH REPLACE, STATS = 10; RESTORE DATABASE [MindAttic.Mesh]    FROM DISK = N&amp;#039;&amp;amp;lt;path-to&amp;gt;\mesh-&amp;amp;lt;stamp&amp;gt;.bak&amp;#039;    WITH REPLACE, STATS = 10;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Recreate the per-machine logins if the server is new. A restored database keeps its users, but a login that is missing from the new server leaves each user orphaned. Re-run &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; on each PC: it makes a missing login and rewrites that PC&amp;#039;s &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt; files.&lt;br /&gt;
# If the new server has a different tailnet name, pass it to setup (&amp;lt;code&amp;gt;-Server &amp;amp;lt;name&amp;gt;&amp;lt;/code&amp;gt;) on every PC.&lt;br /&gt;
# When the server is back, each PC renews its own claims and records the recovery. See &amp;quot;Outage behaviour&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Automatic failover of the database is not built. With one server the recovery is a restore.&lt;br /&gt;
&lt;br /&gt;
== Outage behaviour ==&lt;br /&gt;
&lt;br /&gt;
When a PC cannot reach the shared server (waits &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt;, 5 s by default):&lt;br /&gt;
&lt;br /&gt;
* New claims are refused on every PC. Nothing is queued as if it had happened.&lt;br /&gt;
* Running CLIs keep going. &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; commits and pushes still work.&lt;br /&gt;
* Each PC paces alone: the login&amp;#039;s allowance divided by the PCs last seen running it, with new work stopping &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; points below each cutoff.&lt;br /&gt;
* The daemon logs the outage once. The dashboard&amp;#039;s menu bar shows &amp;quot;Shared database unreachable since HH:MM - no new tickets&amp;quot;.&lt;br /&gt;
* On recovery each PC renews its own claims first and then sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;. A lapsed claim is not requeued until &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; after &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Not built yet: the Tickets CLI serving reads from its local &amp;lt;code&amp;gt;data/Tickets.db&amp;lt;/code&amp;gt; copy while the server is down.&lt;br /&gt;
&lt;br /&gt;
== Revoke a lost laptop ==&lt;br /&gt;
&lt;br /&gt;
Do this as soon as a PC is lost or stolen.&lt;br /&gt;
&lt;br /&gt;
# On any other PC of the mesh run &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;. It deletes the PC&amp;#039;s member row, makes every reachable peer revoke its peer key and drop its remote, and drops its &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; SQL login. The laptop&amp;#039;s token stops working on its next request to any peer that revoked it, and any open stream is checked against the key.&lt;br /&gt;
# If the command says a step failed, run it again. If it could not drop the login it prints the T-SQL; run that on the server. The statement kills the login&amp;#039;s open sessions, drops its users in both databases and drops the login.&lt;br /&gt;
# A peer that was off when you ran the command still holds the laptop&amp;#039;s key. Run the command again when it is back .&lt;br /&gt;
# In the Tailscale admin console remove or expire the laptop&amp;#039;s device. This is the step that closes its route to the server.&lt;br /&gt;
# Claude logins on the laptop are not in the mesh. Sign out of or revoke them on the Claude side if needed.&lt;br /&gt;
&lt;br /&gt;
== Version skew and updating a node ==&lt;br /&gt;
&lt;br /&gt;
Each PC reports a build and a mesh protocol (&amp;lt;code&amp;gt;TermGateway.MeshProtocol&amp;lt;/code&amp;gt;, currently 1) on its member row. The mesh&amp;#039;s protocol is the newest one spoken by a PC seen within &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt;. A PC behind it:&lt;br /&gt;
&lt;br /&gt;
* is refused claims (&amp;quot;LAPTOP needs update&amp;quot;), is left out of pacing sums, and is not admitted by &amp;lt;code&amp;gt;/mesh/join&amp;lt;/code&amp;gt;;&lt;br /&gt;
* can still be watched and typed into.&lt;br /&gt;
&lt;br /&gt;
To update a node, pull the repos on it and run setup again with &amp;lt;code&amp;gt;-Redeploy&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;.\Setup-Node.cmd -Redeploy&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-Redeploy&amp;lt;/code&amp;gt; runs &amp;lt;code&amp;gt;run.ps1&amp;lt;/code&amp;gt; of MindAttic.Tickets, MindAttic.Orchestrator and MindAttic.Launcher again. Without it, setup skips apps that are installed.&lt;br /&gt;
&lt;br /&gt;
== Vault settings ==&lt;br /&gt;
&lt;br /&gt;
Every number is a Vault setting (Scheduler group, except where noted). Change one in the Vault app or the dashboard&amp;#039;s settings.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Setting (Vault property)&lt;br /&gt;
! Default&lt;br /&gt;
! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| Mesh claim lease, minutes (&amp;lt;code&amp;gt;ClaimLeaseMinutes&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 10&lt;br /&gt;
| How long a claim lasts. The claiming PC&amp;#039;s daemon renews it every third of this. Range 1 to 1440.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh orphan grace, minutes (&amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 30&lt;br /&gt;
| Minutes past a lapsed lease, or past recovery from an outage, before the ticket can be claimed again. Range 0 to 10080.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh connect timeout, seconds (&amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 5&lt;br /&gt;
| How long any mesh connection waits to reach the shared server before calling it unreachable. Range 1 to 120.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh serve wait, seconds (&amp;lt;code&amp;gt;MeshServeWaitSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 60&lt;br /&gt;
| How long &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt; waits for the daemon to start the gateway. Range 5 to 600.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh join nonce, minutes (&amp;lt;code&amp;gt;MeshJoinNonceMinutes&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 10&lt;br /&gt;
| How long the join nonce a PC writes on its member row stays good. Range 1 to 1440.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh join timeout, seconds (&amp;lt;code&amp;gt;MeshJoinTimeoutSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 30&lt;br /&gt;
| How long a joining PC waits for each peer to admit it. Range 5 to 300.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh peer stale, seconds (&amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 600&lt;br /&gt;
| Silence after which a PC counts as lost, and after which its protocol stops counting. Range 60 to 86400.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh pair check, seconds (&amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 300&lt;br /&gt;
| How often the daemon looks for a new member to pair with. Range 30 to 86400.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh pace stale, seconds (&amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 120&lt;br /&gt;
| A PC&amp;#039;s published burn older than this stops counting toward cluster pace; a PC whose own read is older paces alone. Range 10 to 3600.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh offline pace margin, % (&amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 3&lt;br /&gt;
| Points below each cutoff at which a PC that cannot read the cluster stops new work. Range 0 to 50.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh backups kept, days (&amp;lt;code&amp;gt;MeshBackupKeepDays&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 14&lt;br /&gt;
| Days of pulled &amp;lt;code&amp;gt;.bak&amp;lt;/code&amp;gt; files &amp;lt;code&amp;gt;tools\mesh-backup-pull.ps1&amp;lt;/code&amp;gt; keeps. Range 1 to 365.&lt;br /&gt;
|-&lt;br /&gt;
| Mesh dashboard read, seconds (&amp;lt;code&amp;gt;MeshDashboardReadSeconds&amp;lt;/code&amp;gt;)&lt;br /&gt;
| 30&lt;br /&gt;
| How often the dashboard reads the shared server for the logins grid and the outage banner. Range 5 to 3600.&lt;br /&gt;
|-&lt;br /&gt;
| Keyboard handoff, seconds (&amp;lt;code&amp;gt;InputHandoffSeconds&amp;lt;/code&amp;gt;, Gateway group)&lt;br /&gt;
| 2&lt;br /&gt;
| How long a keyboard holder must be idle before another viewer&amp;#039;s keys take it. Applies to CLIs started after the change. Range 0 to 3600.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The mesh&amp;#039;s connection itself is not a Vault setting. It is in &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; on each PC (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Server&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ServerAddress&amp;lt;/code&amp;gt;), written by setup. With no such file the PC is a mesh of one. &amp;lt;code&amp;gt;MINDATTIC_MESH_CHECK_SECS&amp;lt;/code&amp;gt; (default 15) bounds how long the commit gate waits for &amp;lt;code&amp;gt;orchestrator may-close&amp;lt;/code&amp;gt; before it allows the close with a warning in &amp;lt;code&amp;gt;mesh-close.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Symptom&lt;br /&gt;
! Check&lt;br /&gt;
|-&lt;br /&gt;
| Setup stops at Tailscale&lt;br /&gt;
| Install Tailscale and sign it in on the owner&amp;#039;s account, then run setup again.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;&amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt; isn&amp;#039;t on this tailnet&amp;quot;&lt;br /&gt;
| The PC is on another tailnet, or the server is offline in the Tailscale admin console. &amp;lt;code&amp;gt;tailscale ip -4 mindattic-01&amp;lt;/code&amp;gt; must answer.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Couldn&amp;#039;t make the SQL login&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;tailscale ssh root@mindattic-01&amp;lt;/code&amp;gt; must work from the PC and the browser check must be approved. Run setup again.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mesh serve&amp;lt;/code&amp;gt; exits 2: gateway isn&amp;#039;t serving&lt;br /&gt;
| The dashboard or daemon is not running. Start it and run the command again.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mesh serve&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; exits 1&lt;br /&gt;
| No mesh config on this PC, or Tailscale is down, or the gateway is not on the Tailscale address. Run &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt; first.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; exits 3 or &amp;quot;shared database didn&amp;#039;t answer&amp;quot;&lt;br /&gt;
| The server or the link is down, or this PC&amp;#039;s login is wrong. Check &amp;quot;Outage behaviour&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; exits 2: a peer refused&lt;br /&gt;
| The peer checks that you are on its own Tailscale user, that your join nonce is fresh (&amp;lt;code&amp;gt;MeshJoinNonceMinutes&amp;lt;/code&amp;gt;) and that the protocols match. Run &amp;lt;code&amp;gt;orchestrator mesh join --again&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| A PC is greyed out&lt;br /&gt;
| No heartbeat for &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt;. Is it asleep, offline or off? The daemon logs &amp;quot;unreachable since&amp;quot; and its return.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;needs update&amp;quot; on a PC&lt;br /&gt;
| Protocol skew. Re-run setup there with &amp;lt;code&amp;gt;-Redeploy&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| A ticket stays claimed by a PC that is gone&lt;br /&gt;
| It requeues &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; after its lease lapsed (and after any recovery). To free it now, remove the PC with &amp;lt;code&amp;gt;orchestrator mesh remove&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| Commit gate says another PC holds the ticket&lt;br /&gt;
| Another PC or CLI claimed it. Work another ticket, or wait for its lease to lapse.&lt;br /&gt;
|-&lt;br /&gt;
| Backup log shows &amp;lt;code&amp;gt;FAIL no backup key&amp;lt;/code&amp;gt;&lt;br /&gt;
| The key &amp;lt;code&amp;gt;%USERPROFILE%\.ssh\mesh-backup&amp;lt;/code&amp;gt; is missing on the pulling PC.&lt;br /&gt;
|-&lt;br /&gt;
| Backup log shows &amp;lt;code&amp;gt;FAIL&amp;lt;/code&amp;gt; with a size&lt;br /&gt;
| The forced command or the server&amp;#039;s sshd on port 2222 did not answer. Check the server is up and the backup &amp;lt;code&amp;gt;sshd&amp;lt;/code&amp;gt; is running.&lt;br /&gt;
|-&lt;br /&gt;
| Backup log shows &amp;lt;code&amp;gt;VERIFY FAILED&amp;lt;/code&amp;gt;&lt;br /&gt;
| The file is damaged. Do not use it; the next night&amp;#039;s pull replaces it. Keep an older verified file.&lt;br /&gt;
|-&lt;br /&gt;
| Setup log&lt;br /&gt;
| &amp;lt;code&amp;gt;R:\MindAttic\Setup\setup-node.log&amp;lt;/code&amp;gt; (first run: &amp;lt;code&amp;gt;C:\MindAttic-Setup\setup-node.log&amp;lt;/code&amp;gt; until D: and R: exist).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Orchestrator]].&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.Orchestrator/blob/main/docs/MESH_OPERATIONS.md MindAttic.Orchestrator/docs/MESH_OPERATIONS.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.Orchestrator]]&lt;/div&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:11 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_OPERATIONS</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator&amp;diff=2784&amp;oldid=2762</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator&amp;diff=2784&amp;oldid=2762</guid>
			<description>&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 01:52, 3 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-l275&quot;&gt;Line 275:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 275:&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;To keep the daemon, the CLIs and their builds off your own PC, run them on a Windows 11 VM (M.ORCH-T1473). On the PC: &amp;lt;code&amp;gt;orchestrator machine handoff --kit &amp;amp;lt;folder&amp;gt;&amp;lt;/code&amp;gt;. On the VM: &amp;lt;code&amp;gt;setup-host.ps1 -Kit &amp;amp;lt;folder&amp;gt;&amp;lt;/code&amp;gt;, which installs everything and prints one &amp;lt;code&amp;gt;orchestrator machine connect ...&amp;lt;/code&amp;gt; line. Run that line on the PC, and its dashboard becomes the VM&amp;#039;s live Team Wall. From then on, &amp;lt;code&amp;gt;orchestrator machine pull&amp;lt;/code&amp;gt; brings the agents&amp;#039; newest code to the PC. See [[MindAttic.Orchestrator/REMOTE_HOST|docs/REMOTE_HOST.md]].&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;To keep the daemon, the CLIs and their builds off your own PC, run them on a Windows 11 VM (M.ORCH-T1473). On the PC: &amp;lt;code&amp;gt;orchestrator machine handoff --kit &amp;amp;lt;folder&amp;gt;&amp;lt;/code&amp;gt;. On the VM: &amp;lt;code&amp;gt;setup-host.ps1 -Kit &amp;amp;lt;folder&amp;gt;&amp;lt;/code&amp;gt;, which installs everything and prints one &amp;lt;code&amp;gt;orchestrator machine connect ...&amp;lt;/code&amp;gt; line. Run that line on the PC, and its dashboard becomes the VM&amp;#039;s live Team Wall. From then on, &amp;lt;code&amp;gt;orchestrator machine pull&amp;lt;/code&amp;gt; brings the agents&amp;#039; newest code to the PC. See [[MindAttic.Orchestrator/REMOTE_HOST|docs/REMOTE_HOST.md]].&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;== The mesh: several machines, one Orchestrator ==&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;&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;Every Windows 11 PC can be a peer that runs its own daemon, dashboard and CLIs, with one ticket database shared over Tailscale (M.ORCH-T2540). Tickets are claimed by exactly one machine through a renewing lease, each login is paced on its cluster-wide burn, and you can type into any machine&#039;s CLI from any other. Add a PC with one click: double-click &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt;. Remove one with &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;. The user guide is [[MindAttic.Orchestrator/MESH|docs/MESH.md]], the operator runbook is [[MindAttic.Orchestrator/MESH_OPERATIONS|docs/MESH_OPERATIONS.md]] and the design record is [[MindAttic.Orchestrator/MESH_ARCHITECTURE|docs/MESH_ARCHITECTURE.md]].&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;== From your phone ==&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;== From your phone ==&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-l1131&quot;&gt;Line 1,131:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1,135:&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;* [[MindAttic.Orchestrator/SPEC|docs/SPEC.md]]: the complete product specification and release sequence (MAT-T365).&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;* [[MindAttic.Orchestrator/SPEC|docs/SPEC.md]]: the complete product specification and release sequence (MAT-T365).&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;* [[MindAttic.Orchestrator/RELEASE|docs/RELEASE.md]]: the active milestone&amp;#039;s charter.&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;* [[MindAttic.Orchestrator/RELEASE|docs/RELEASE.md]]: the active milestone&amp;#039;s charter.&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;* [[MindAttic.Orchestrator/MESH|docs/MESH.md]]: the mesh user guide: what it is, adding and removing a machine, the logins grid, outages, FAQ (M.ORCH-T2582).&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;* [[MindAttic.Orchestrator/MESH_OPERATIONS|docs/MESH_OPERATIONS.md]]: the mesh operator runbook: the shared server, SQL logins, backups and restore, revoking a lost laptop, every mesh Vault setting (M.ORCH-T2582).&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;* [[MindAttic.Orchestrator/MESH_ARCHITECTURE|docs/MESH_ARCHITECTURE.md]]: the mesh design record, decisions and what is built so far (M.ORCH-T2543).&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;* [[MindAttic.Orchestrator/ORCHESTRATION|docs/ORCHESTRATION.md]]: how the measure, pace and steer loop works, and what happens when something fails.&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;* [[MindAttic.Orchestrator/ORCHESTRATION|docs/ORCHESTRATION.md]]: how the measure, pace and steer loop works, and what happens when something fails.&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;* [https://github.com/mindattic/MindAttic.Orchestrator/blob/main/docs/USER_STORIES.md docs/USER_STORIES.md]: every ticket, open and closed (a view generated from the ticket database).&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;* [https://github.com/mindattic/MindAttic.Orchestrator/blob/main/docs/USER_STORIES.md docs/USER_STORIES.md]: every ticket, open and closed (a view generated from the ticket database).&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-l1161&quot;&gt;Line 1,161:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1,168:&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;* [[MindAttic.Orchestrator/FEATURES|Features reference (M.ORCH-T2150)]] — Commands and options below are as src\MindAttic.Orchestrator.Cli\Program.cs registers them. orchestrator &amp;amp;lt;command&amp;gt; --help always prints…&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;* [[MindAttic.Orchestrator/FEATURES|Features reference (M.ORCH-T2150)]] — Commands and options below are as src\MindAttic.Orchestrator.Cli\Program.cs registers them. orchestrator &amp;amp;lt;command&amp;gt; --help always prints…&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;* [[MindAttic.Orchestrator/HEALTH|Health checks: probe contract and reuse choices (M.ORCH-T2019)]] — Part of the health dashboard epic (M.ORCH-T1935) and its contract story (M.ORCH-T2013). This is the design the probes (M.ORCH-T2014…&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;* [[MindAttic.Orchestrator/HEALTH|Health checks: probe contract and reuse choices (M.ORCH-T2019)]] — Part of the health dashboard epic (M.ORCH-T1935) and its contract story (M.ORCH-T2013). This is the design the probes (M.ORCH-T2014…&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;* [[MindAttic.Orchestrator/MESH|The Orchestrator mesh: user guide]] — The mesh lets several Windows 11 PCs work as one Orchestrator. Every PC runs its own daemon, dashboard and CLIs. All of them share one…&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;* [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture: every machine a peer]] — Design record for epic M.ORCH-T2540, written under M.ORCH-T2543 (2026-12-02) and revised the same day with the owner&amp;#039;s answers…&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;* [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture: every machine a peer]] — Design record for epic M.ORCH-T2540, written under M.ORCH-T2543 (2026-12-02) and revised the same day with the owner&amp;#039;s answers…&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;* [[MindAttic.Orchestrator/MESH_OPERATIONS|Mesh operations: operator runbook]] — This is the runbook for the person who owns the mesh. The user guide is The Orchestrator mesh; the design record is Mesh architecture.…&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;* [[MindAttic.Orchestrator/ORCHESTRATION|How orchestration works]] — MindAttic.Orchestrator keeps Claude agents working around the clock on the workspace&amp;#039;s tickets, and spends each 5-hour usage window almost…&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;* [[MindAttic.Orchestrator/ORCHESTRATION|How orchestration works]] — MindAttic.Orchestrator keeps Claude agents working around the clock on the workspace&amp;#039;s tickets, and spends each 5-hour usage window almost…&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;* [[MindAttic.Orchestrator/RELEASE|MindAttic.Orchestrator — Release charter]] — A Windows daemon, WPF dashboard and CLI that keeps Claude agents working the workspace&amp;#039;s tickets around the clock (/allocate) and spends…&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;* [[MindAttic.Orchestrator/RELEASE|MindAttic.Orchestrator — Release charter]] — A Windows daemon, WPF dashboard and CLI that keeps Claude agents working the workspace&amp;#039;s tickets around the clock (/allocate) and spends…&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:08 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2783&amp;oldid=2779</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2783&amp;oldid=2779</guid>
			<description>&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 01:52, 3 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-l42&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&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;The new single point of failure is the Hetzner box and the internet link to it.&amp;lt;/strong&amp;gt; If either is down, no machine can claim a ticket or write the ticket database. f says what each machine still does then, and how the box is backed up.&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;The new single point of failure is the Hetzner box and the internet link to it.&amp;lt;/strong&amp;gt; If either is down, no machine can claim a ticket or write the ticket database. f says what each machine still does then, and how the box is backed up.&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;&amp;lt;strong&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Recommended host &lt;/del&gt;(the owner &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;confirms&lt;/del&gt;).&amp;lt;/strong&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A &lt;/del&gt;Hetzner Cloud &amp;lt;strong&amp;gt;Linux&amp;lt;/strong&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;server &lt;/del&gt;in a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;US &lt;/del&gt;location &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(Ashburn or Hillsboro, to keep latency down from the owner&#039;s machines), &lt;/del&gt;running &amp;lt;strong&amp;gt;SQL Server Express for Linux&amp;lt;/strong&amp;gt;: free, no Windows licence, about $5 to $15 a month at the sizes that fit. The owner rejected a Windows server at about $257 a month as too costly, so Windows is not proposed. Express caps each database at 10 GB of data (the log is not counted). On 2026-12-02 on the rig&#039;s localhost the data in MindAttic.Tickets is 262 MB used and in MindAttic.Orchestrator 33 MB (read-only query), so the cap is not a near-term limit; the shared set is smaller than the Tickets figure plus a few small tables. Two other Express limits are fine here: about 1.4 GB of buffer memory and one socket&#039;s worth of cores. The localhost transaction logs are 3.0 GB and 1.8 GB on disk. The new instance gets a deliberate recovery model and log backups so its log does not grow like that.&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;&amp;lt;strong&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Host &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;decided by &lt;/ins&gt;the owner&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, 2026-12-02&lt;/ins&gt;).&amp;lt;/strong&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The server is Gadfly&#039;s existing &lt;/ins&gt;Hetzner Cloud &amp;lt;strong&amp;gt;Linux&amp;lt;/strong&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;box &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Falkenstein, shared rather than &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;second server: &quot;pick the same &lt;/ins&gt;location &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that gadfly is &lt;/ins&gt;running &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;off; share a server&quot;. It is reached by its tailnet name &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;. The design below was written for a recommended &lt;/ins&gt;&amp;lt;strong&amp;gt;SQL Server Express for Linux&amp;lt;/strong&amp;gt;: free, no Windows licence, about $5 to $15 a month at the sizes that fit. The owner rejected a Windows server at about $257 a month as too costly, so Windows is not proposed. Express caps each database at 10 GB of data (the log is not counted). On 2026-12-02 on the rig&#039;s localhost the data in MindAttic.Tickets is 262 MB used and in MindAttic.Orchestrator 33 MB (read-only query), so the cap is not a near-term limit; the shared set is smaller than the Tickets figure plus a few small tables. Two other Express limits are fine here: about 1.4 GB of buffer memory and one socket&#039;s worth of cores. The localhost transaction logs are 3.0 GB and 1.8 GB on disk. The new instance gets a deliberate recovery model and log backups so its log does not grow like that.&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;Reaching it.&amp;lt;/strong&amp;gt; SQL Server listens only on the box&amp;#039;s Tailscale 100.x address (&amp;lt;code&amp;gt;mssql-conf&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;network.ipaddress&amp;lt;/code&amp;gt;), the host firewall allows the port only on the &amp;lt;code&amp;gt;tailscale0&amp;lt;/code&amp;gt; interface, and the Hetzner cloud firewall has no public rule for it. A Tailscale ACL limits it to the owner&amp;#039;s machines. Connections use TLS (a &amp;lt;code&amp;gt;tailscale cert&amp;lt;/code&amp;gt; certificate for the box&amp;#039;s tailnet name) and &amp;lt;strong&amp;gt;SQL authentication with one login per machine&amp;lt;/strong&amp;gt;, each with rights on the shared databases only. &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt; drops that machine&amp;#039;s login. Each machine keeps its connection string sealed for its Windows user, as the gateway keys are today (GatewayRemote.cs:34). The box never has a public SQL port.&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;Reaching it.&amp;lt;/strong&amp;gt; SQL Server listens only on the box&amp;#039;s Tailscale 100.x address (&amp;lt;code&amp;gt;mssql-conf&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;network.ipaddress&amp;lt;/code&amp;gt;), the host firewall allows the port only on the &amp;lt;code&amp;gt;tailscale0&amp;lt;/code&amp;gt; interface, and the Hetzner cloud firewall has no public rule for it. A Tailscale ACL limits it to the owner&amp;#039;s machines. Connections use TLS (a &amp;lt;code&amp;gt;tailscale cert&amp;lt;/code&amp;gt; certificate for the box&amp;#039;s tailnet name) and &amp;lt;strong&amp;gt;SQL authentication with one login per machine&amp;lt;/strong&amp;gt;, each with rights on the shared databases only. &amp;lt;code&amp;gt;mesh remove&amp;lt;/code&amp;gt; drops that machine&amp;#039;s login. Each machine keeps its connection string sealed for its Windows user, as the gateway keys are today (GatewayRemote.cs:34). The box never has a public SQL port.&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-l260&quot;&gt;Line 260:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 260:&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&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&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;| Provision the shared database (owner-assisted ops, new ticket, see below)&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;| Provision the shared database (owner-assisted ops, new ticket, see below)&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;| Hetzner Cloud Linux in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ashburn or Hillsboro&lt;/del&gt;, SQL Server &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Express&lt;/del&gt;, Tailscale-only bind and firewalls, per-machine SQL logins, backups&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;| Hetzner Cloud Linux &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(Gadfly&#039;s existing box &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Falkenstein, shared)&lt;/ins&gt;, SQL Server, Tailscale-only bind and firewalls, per-machine SQL logins, backups&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;| 1, first&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, first&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l296&quot;&gt;Line 296:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 296:&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;Tickets this design changes.&amp;lt;/strong&amp;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;&amp;lt;strong&amp;gt;Tickets this design changes.&amp;lt;/strong&amp;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; 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;* &amp;lt;strong&amp;gt;New: provision the shared ticket database.&amp;lt;/strong&amp;gt; Owner-assisted ops item: Hetzner Cloud Linux server in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a US location&lt;/del&gt;, SQL Server Express for Linux, Tailscale, &amp;lt;code&amp;gt;mssql-conf&amp;lt;/code&amp;gt; bound to the 100.x address, firewalls, TLS, a SQL login per machine, nightly and log backups with a copy pulled to the rig, a documented restore. The owner confirms the host size and location and pays; an agent cannot do it alone. Everything else in milestone 1 waits on it.&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;* &amp;lt;strong&amp;gt;New: provision the shared ticket database.&amp;lt;/strong&amp;gt; Owner-assisted ops item: Hetzner Cloud Linux server &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(Gadfly&#039;s existing box &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Falkenstein, shared; owner decision 2026-12-02)&lt;/ins&gt;, SQL Server Express for Linux, Tailscale, &amp;lt;code&amp;gt;mssql-conf&amp;lt;/code&amp;gt; bound to the 100.x address, firewalls, TLS, a SQL login per machine, nightly and log backups with a copy pulled to the rig, a documented restore. The owner confirms the host size and location and pays; an agent cannot do it alone. Everything else in milestone 1 waits on it.&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;* &amp;lt;strong&amp;gt;M.ORCH-T2563.&amp;lt;/strong&amp;gt; Gains the split store (which tables use the shared connection) next to the membership record.&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;M.ORCH-T2563.&amp;lt;/strong&amp;gt; Gains the split store (which tables use the shared connection) next to the membership record.&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;* &amp;lt;strong&amp;gt;M.ORCH-T2564.&amp;lt;/strong&amp;gt; Was &amp;quot;tickets CLI forwards to the coordinator through the gateway&amp;quot;. Now: the tickets CLI on every machine points at the shared server (&amp;lt;code&amp;gt;MINDATTIC_TICKETS_SQLSERVER&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt;), plus the one-time &amp;lt;code&amp;gt;tickets db server migrate&amp;lt;/code&amp;gt; on the rig. No gateway forwarding.&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;M.ORCH-T2564.&amp;lt;/strong&amp;gt; Was &amp;quot;tickets CLI forwards to the coordinator through the gateway&amp;quot;. Now: the tickets CLI on every machine points at the shared server (&amp;lt;code&amp;gt;MINDATTIC_TICKETS_SQLSERVER&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;database.json&amp;lt;/code&amp;gt;), plus the one-time &amp;lt;code&amp;gt;tickets db server migrate&amp;lt;/code&amp;gt; on the rig. No gateway forwarding.&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-l325&quot;&gt;Line 325:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 325:&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;== Owner decisions (2026-12-02) ==&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;== Owner decisions (2026-12-02) ==&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;# &amp;lt;strong&amp;gt;The ticket database goes back on Hetzner, read/write from every computer.&amp;lt;/strong&amp;gt; In the owner&#039;s words: &quot;Will need to put Tickets db back on Hetzner so it&#039;s read/write from every computer.&quot; Recorded as a shared SQL Server on a Hetzner box, reached only over Tailscale (the 100.x address, never the public internet). Consequences are worked through in a, d, f and g: the shared database, not the rig, is the single serialised writer for tickets and the mesh tables; there is no authority machine; pacing is computed identically on every peer; the Hetzner box and the link to it are the new single point of failure, covered by &quot;database unreachable&quot; behaviour and by backups with a tested restore. The owner rejected a Windows server at about $257 a month, so the recommended host is a Linux Cloud server with SQL Server Express (a, &quot;Recommended host&quot;). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;That &lt;/del&gt;host &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is a recommendation &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;owner confirms, not yet a decision&lt;/del&gt;.&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;# &amp;lt;strong&amp;gt;The ticket database goes back on Hetzner, read/write from every computer.&amp;lt;/strong&amp;gt; In the owner&#039;s words: &quot;Will need to put Tickets db back on Hetzner so it&#039;s read/write from every computer.&quot; Recorded as a shared SQL Server on a Hetzner box, reached only over Tailscale (the 100.x address, never the public internet). Consequences are worked through in a, d, f and g: the shared database, not the rig, is the single serialised writer for tickets and the mesh tables; there is no authority machine; pacing is computed identically on every peer; the Hetzner box and the link to it are the new single point of failure, covered by &quot;database unreachable&quot; behaviour and by backups with a tested restore. The owner rejected a Windows server at about $257 a month, so the recommended host is a Linux Cloud server with SQL Server Express (a, &quot;Recommended host&quot;). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The owner then decided the &lt;/ins&gt;host&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: Gadfly&#039;s existing Falkenstein box, shared (see &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;open questions below)&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;# &amp;lt;strong&amp;gt;Logins: every login on every machine.&amp;lt;/strong&amp;gt; All Team Premium seats and the Ultra login go on each machine. The owner signs each one in by hand on each machine the first time (&amp;lt;code&amp;gt;orchestrator login&amp;lt;/code&amp;gt;). Credentials are never copied between machines, because copying Claude OAuth files risks refresh-token rotation signing the other machine out. &amp;lt;strong&amp;gt;The org member list comes along by itself once the organization tables are in the shared set.&amp;lt;/strong&amp;gt; It is stored in the Orchestrator database, not in a file: the &amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt; table (M.ORCH-T670: email, name, role, tier, status), plus &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt; (M.ORCH-T655), at OrchestratorDb.cs:456, :476 and :482. They are in the shared set (a), so a member added on any machine shows on every machine. A member whose login is not signed in on a machine still gets a Sign in tab there, as M.ORCH-T670 already does. The sign-in itself is per machine (the &amp;lt;code&amp;gt;accounts&amp;lt;/code&amp;gt; table is local).&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;Logins: every login on every machine.&amp;lt;/strong&amp;gt; All Team Premium seats and the Ultra login go on each machine. The owner signs each one in by hand on each machine the first time (&amp;lt;code&amp;gt;orchestrator login&amp;lt;/code&amp;gt;). Credentials are never copied between machines, because copying Claude OAuth files risks refresh-token rotation signing the other machine out. &amp;lt;strong&amp;gt;The org member list comes along by itself once the organization tables are in the shared set.&amp;lt;/strong&amp;gt; It is stored in the Orchestrator database, not in a file: the &amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt; table (M.ORCH-T670: email, name, role, tier, status), plus &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt; (M.ORCH-T655), at OrchestratorDb.cs:456, :476 and :482. They are in the shared set (a), so a member added on any machine shows on every machine. A member whose login is not signed in on a machine still gets a Sign in tab there, as M.ORCH-T670 already does. The sign-in itself is per machine (the &amp;lt;code&amp;gt;accounts&amp;lt;/code&amp;gt; table is local).&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;# &amp;lt;strong&amp;gt;Defaults kept as starting values, tuned once it runs.&amp;lt;/strong&amp;gt; Claim lease 10 minutes (&amp;lt;code&amp;gt;ClaimLeaseMinutes&amp;lt;/code&amp;gt;), orphan grace 30 minutes (&amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt;), keyboard handoff 2 seconds (&amp;lt;code&amp;gt;InputHandoffSeconds&amp;lt;/code&amp;gt;), offline pace margin 3 points (&amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt;). All are Vault settings.&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;Defaults kept as starting values, tuned once it runs.&amp;lt;/strong&amp;gt; Claim lease 10 minutes (&amp;lt;code&amp;gt;ClaimLeaseMinutes&amp;lt;/code&amp;gt;), orphan grace 30 minutes (&amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt;), keyboard handoff 2 seconds (&amp;lt;code&amp;gt;InputHandoffSeconds&amp;lt;/code&amp;gt;), offline pace margin 3 points (&amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt;). All are Vault settings.&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-l331&quot;&gt;Line 331:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 331:&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;=== New open questions ===&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;=== New open questions ===&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;# &amp;lt;strong&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Confirm the &lt;/del&gt;Hetzner host.&amp;lt;/strong&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Cloud Linux in Ashburn or Hillsboro, SQL Server Express, about $5 to $15 &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;month: which location, and which &lt;/del&gt;server &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;size? Check the current price list when ordering&lt;/del&gt;.&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;# &amp;lt;strong&amp;gt;Hetzner host&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: answered 2026-12-02&lt;/ins&gt;.&amp;lt;/strong&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The owner chose Gadfly&#039;s existing Falkenstein box and shares it (&quot;pick the same location that gadfly is running off; share &lt;/ins&gt;a server&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;). It is &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;; see docs/MESH_OPERATIONS.md&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;# &amp;lt;strong&amp;gt;Backup destination.&amp;lt;/strong&amp;gt; Is a nightly copy pulled to the rig over Tailscale enough, or should a second off-site copy (for example an owner-held cloud drive) be added? Hetzner&amp;#039;s paid server backups are optional on top.&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;Backup destination.&amp;lt;/strong&amp;gt; Is a nightly copy pulled to the rig over Tailscale enough, or should a second off-site copy (for example an owner-held cloud drive) be added? Hetzner&amp;#039;s paid server backups are optional on top.&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;# &amp;lt;strong&amp;gt;Outage tolerance.&amp;lt;/strong&amp;gt; The design stops new claims everywhere when the box is unreachable. Is that acceptable for an outage of an hour or more, or does the owner want a warm second box? Not planned, because it costs a second server and replication.&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;Outage tolerance.&amp;lt;/strong&amp;gt; The design stops new claims everywhere when the box is unreachable. Is that acceptable for an outage of an hour or more, or does the owner want a warm second box? Not planned, because it costs a second server and replication.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:08 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH&amp;diff=2782&amp;oldid=0</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH&amp;diff=2782&amp;oldid=0</guid>
			<description>&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;= The Orchestrator mesh: user guide =&lt;br /&gt;
&lt;br /&gt;
The mesh lets several Windows 11 PCs work as one Orchestrator. Every PC runs its own daemon, dashboard and CLIs. All of them share one ticket database. This page says what you see, how to add a PC, how to remove one, and what happens when something breaks. The operator side (backups, restore, settings) is in [[MindAttic.Orchestrator/MESH_OPERATIONS|Mesh operations]]. The design record is [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture]].&lt;br /&gt;
&lt;br /&gt;
The shared server is the machine named &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt; on your tailnet. Nothing in the mesh is reached over the public internet: every connection goes through Tailscale.&lt;br /&gt;
&lt;br /&gt;
== What the mesh is ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Every PC is a peer.&amp;lt;/strong&amp;gt; Each runs its own CLIs and can work on its own. Joining the mesh adds abilities and removes none. No PC is the boss, so any one of them can be off.&lt;br /&gt;
* &amp;lt;strong&amp;gt;One shared ticket database.&amp;lt;/strong&amp;gt; Tickets live on the shared server, not on one PC. Every PC reads and writes them there. A PC that is not in a mesh keeps working exactly as before (&amp;quot;a mesh of one&amp;quot;).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Exactly-once claims (M.ORCH-T2565).&amp;lt;/strong&amp;gt; A ticket is claimed by one CLI on one PC at a time. The claim is a lease the claiming PC&amp;#039;s daemon renews every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt; (the lease is 10 minutes by default). If the PC goes quiet, the claim shows as orphaned and the ticket goes back in the queue only after a further &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; (30 by default). A stale holder can never close a ticket another PC has taken over.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Pull before work (M.ORCH-T2569).&amp;lt;/strong&amp;gt; Before a CLI is handed a ticket, its checkout is brought up to date: fetch, then fast-forward, or a merge on a clean tree that has local commits (aborted on a conflict). Uncommitted work is never touched.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Cluster pacing (M.ORCH-T2570 to T2572).&amp;lt;/strong&amp;gt; A Claude login can be signed in on several PCs. Each PC publishes its burn for each login; the pace is computed on the sum, and the subagent allowance is split by demand. The login stops at its 5-hour and weekly cutoffs once, not once per PC. The usage report shows each login&amp;#039;s cluster total and every PC&amp;#039;s share.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Type into any CLI from any PC (M.ORCH-T2556 to T2558).&amp;lt;/strong&amp;gt; The Team Wall on each PC lists every PC&amp;#039;s CLIs. A CLI that runs on another PC takes your keystrokes. See &amp;quot;One keyboard per CLI&amp;quot; below.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Lost and out-of-date PCs are shown.&amp;lt;/strong&amp;gt; See &amp;quot;What the indicators mean&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== What you see ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Team Wall.&amp;lt;/strong&amp;gt; The wall merges the tiles of every PC. A tile for a CLI on another PC works like a local one.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;One keyboard per CLI.&amp;lt;/strong&amp;gt; A CLI has one keyboard holder at a time. Your keystrokes are delivered when you hold the keyboard, or when the holder has been idle for &amp;lt;code&amp;gt;InputHandoffSeconds&amp;lt;/code&amp;gt; (2 by default). The keyboard then passes to you. Keystrokes from a non-holder inside that window are dropped, so two half-typed lines never mix into one prompt. The frame shows who is typing, and &amp;quot;Take keyboard&amp;quot; takes it at once.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Logins grid (M.ORCH-T2593).&amp;lt;/strong&amp;gt; The dashboard&amp;#039;s accounts panel shows a grid of machine by login. Each cell says whether that login is signed in on that PC.&lt;br /&gt;
&lt;br /&gt;
* A login signed in on this PC shows &amp;quot;Signed in&amp;quot;.&lt;br /&gt;
* A login missing on this PC shows a Sign in button.&lt;br /&gt;
* A login missing on another PC shows the command to run on that PC.&lt;br /&gt;
&lt;br /&gt;
Only the login&amp;#039;s email address and the signed-in flag leave a PC. The grid refreshes every &amp;lt;code&amp;gt;MeshDashboardReadSeconds&amp;lt;/code&amp;gt; (30 by default).&lt;br /&gt;
&lt;br /&gt;
=== What the indicators mean ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Indicator&lt;br /&gt;
! Where&lt;br /&gt;
! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;LAPTOP unreachable since 14:02&amp;quot;&lt;br /&gt;
| Team Wall tiles, greyed&lt;br /&gt;
| That PC has stopped sending its heartbeat for more than &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (600 s). Its tiles are paused, not deleted. They go live again by themselves.&lt;br /&gt;
|-&lt;br /&gt;
| Orphaned claim with a requeue time&lt;br /&gt;
| Team Wall header&lt;br /&gt;
| A ticket held by a lost PC. The time is the later of the lease expiry and the end of any outage, plus &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;LAPTOP needs update&amp;quot;&lt;br /&gt;
| That PC&amp;#039;s chip on every Team Wall&lt;br /&gt;
| The PC runs an older mesh protocol than the newest one seen. It can still watch and type, but it is refused claims, pacing and placement until it is updated (M.ORCH-T2568).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Shared database unreachable since HH:MM - no new tickets&amp;quot;&lt;br /&gt;
| Dashboard menu bar&lt;br /&gt;
| This PC cannot reach the shared server. See the next section.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== When the shared server is down ==&lt;br /&gt;
&lt;br /&gt;
The shared server and the link to it are the one thing the mesh cannot do without. While it is unreachable:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;No new claims&amp;lt;/strong&amp;gt; are granted on any PC. A ticket is never handed out as if it had been claimed.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Running work continues.&amp;lt;/strong&amp;gt; Every CLI keeps going, you can still type into CLIs on reachable PCs, and &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; commits and pushes still work, because git does not use the database.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Pacing carries on alone.&amp;lt;/strong&amp;gt; Each PC paces each login with its allowance divided by the PCs last seen running it, and stops &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; points (3 by default) below each cutoff.&lt;br /&gt;
* &amp;lt;strong&amp;gt;The daemon logs the outage once.&amp;lt;/strong&amp;gt; Each call waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (5 s), so the daemon&amp;#039;s tick never stalls.&lt;br /&gt;
&lt;br /&gt;
When the server returns, each PC renews its own claims first, then sets a recovery time. No claim is put back in the queue until &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; after that, because silence during an outage does not mean the holder is dead.&lt;br /&gt;
&lt;br /&gt;
Not built yet: the Tickets CLI serving reads from its local copy while the server is down. Until then, ticket reads fail during an outage unless the local copy is known to be current.&lt;br /&gt;
&lt;br /&gt;
== Add a machine with one click ==&lt;br /&gt;
&lt;br /&gt;
You need a Windows 11 PC, an internet connection, and the owner&amp;#039;s Tailscale and GitHub accounts.&lt;br /&gt;
&lt;br /&gt;
# Install Tailscale on the new PC and sign it in with the same account as your other machines. Setup stops with instructions if Tailscale is missing or signed out.&lt;br /&gt;
# Run setup, either way:&lt;br /&gt;
#* double-click &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt; in a copy of this repo; or&lt;br /&gt;
#* paste this into PowerShell:&amp;lt;br&amp;gt;&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;irm https&amp;amp;#58;//raw.githubusercontent.com/mindattic/MindAttic.Orchestrator/main/setup-node.ps1 &amp;amp;#124; iex&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Answer the three owner prompts:&lt;br /&gt;
#* &amp;lt;strong&amp;gt;UAC.&amp;lt;/strong&amp;gt; One prompt, for the administrator part: the D: and R: drives (a spare disk, else folders mapped at every boot), long paths, git, GitHub CLI, the .NET 10 SDK, Python 3, Node.js LTS, and a firewall rule that opens the gateway&amp;#039;s port (7443) on the Tailscale interface only.&lt;br /&gt;
#* &amp;lt;strong&amp;gt;GitHub sign-in.&amp;lt;/strong&amp;gt; A browser page opens. Use the account that can push to the &amp;lt;code&amp;gt;mindattic&amp;lt;/code&amp;gt; repos.&lt;br /&gt;
#* &amp;lt;strong&amp;gt;Tailscale SSH browser check.&amp;lt;/strong&amp;gt; Setup makes this PC&amp;#039;s own SQL login on the shared server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;. Tailscale asks you in a browser to approve it. Your approval is what authorises the login.&lt;br /&gt;
# Wait. Setup then clones the workspace, deploys MindAttic.Tickets, MindAttic.Orchestrator and MindAttic.Launcher, installs the agent hooks, starts the dashboard, turns the gateway on bound to the Tailscale address, and joins the mesh. The log is &amp;lt;code&amp;gt;R:\MindAttic\Setup\setup-node.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Sign in each Claude login by hand.&amp;lt;/strong&amp;gt; In the dashboard use a login&amp;#039;s Sign in tab, or run &amp;lt;code&amp;gt;orchestrator login &amp;amp;lt;email&amp;gt;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;orchestrator login&amp;lt;/code&amp;gt; alone lists them). Credentials stay in that PC&amp;#039;s own Vault and &amp;lt;code&amp;gt;~/.claude-accounts&amp;lt;/code&amp;gt; folders and are never copied between PCs. Copying them could sign the other PC out.&lt;br /&gt;
&lt;br /&gt;
Setup is safe to run again. Every step checks first and does only what is missing, so it repairs a half-finished node and changes nothing on a finished one. It never stops the daemon, the CLIs or the dashboard.&lt;br /&gt;
&lt;br /&gt;
Options (pass them after the script or &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Effect&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-CoreOnly&amp;lt;/code&amp;gt;&lt;br /&gt;
| Clone only the four core repos (Vault, Tickets, Launcher, Orchestrator), not every repo tagged &amp;lt;code&amp;gt;wip&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-Redeploy&amp;lt;/code&amp;gt;&lt;br /&gt;
| Run the three apps&amp;#039; &amp;lt;code&amp;gt;run.ps1&amp;lt;/code&amp;gt; again even when they are installed. Use it to update a node.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-Server &amp;amp;lt;name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| The shared server&amp;#039;s Tailscale name. Default &amp;lt;code&amp;gt;mindattic-01&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;-Workspace &amp;amp;lt;path&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| The workspace root. Leave it: &amp;lt;code&amp;gt;D:\Projects\MindAttic&amp;lt;/code&amp;gt; is built into the apps.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
What setup leaves on the PC:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&amp;lt;/code&amp;gt;: this PC&amp;#039;s name and its connection to the shared server. The SQL password is random, is made on this PC, and stays only in these two files. The environment variable &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the mesh connection.&lt;br /&gt;
* A SQL login &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; on the shared server, with rights on the two shared databases only.&lt;br /&gt;
&lt;br /&gt;
New PCs pair with the rest by themselves. After setup, each existing PC&amp;#039;s daemon looks at the member list every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (300 s) and pairs with any new live member.&lt;br /&gt;
&lt;br /&gt;
== Remove a machine ==&lt;br /&gt;
&lt;br /&gt;
Run this on any other PC of the mesh, not on the one being removed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It deletes the PC&amp;#039;s row from the member list, asks every reachable peer to revoke its key and drop its remote, does the same locally, and drops the PC&amp;#039;s &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; SQL login on the shared server through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (it prints the T-SQL to run there if it cannot). A removed PC is cut off on its next request. The machine name is 1 to 40 letters, digits, dots, dashes or underscores. If a step cannot finish, the command says which and exits 2; run it again.&lt;br /&gt;
&lt;br /&gt;
For a lost or stolen laptop see &amp;quot;Revoke a lost laptop&amp;quot; in [[MindAttic.Orchestrator/MESH_OPERATIONS|Mesh operations]].&lt;br /&gt;
&lt;br /&gt;
== Commands ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Command&lt;br /&gt;
! What it does&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt;&lt;br /&gt;
| Turns this PC&amp;#039;s gateway on, bound to its Tailscale address, and records its URL and certificate pin on its member row. Waits up to &amp;lt;code&amp;gt;MeshServeWaitSeconds&amp;lt;/code&amp;gt; for the daemon to start the gateway.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;orchestrator mesh join [--again]&amp;lt;/code&amp;gt;&lt;br /&gt;
| Pairs this PC with every other member. &amp;lt;code&amp;gt;--again&amp;lt;/code&amp;gt; pairs anew with members already paired (each gets a new key).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Removes a machine, as above.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;orchestrator login [email]&amp;lt;/code&amp;gt;&lt;br /&gt;
| Signs a Claude login in on this PC.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;orchestrator may-close &amp;amp;lt;ID&amp;gt; --session &amp;amp;lt;sid&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Used by the commit gate. Exit 2 refuses a close while another PC, or another CLI here, holds the ticket.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mesh admit&amp;lt;/code&amp;gt; also exists but is run by the gateway, not by you.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Do I need the mesh to use the Orchestrator?&amp;lt;/strong&amp;gt; No. A PC with no mesh config is a mesh of one and behaves as it always did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Can a PC work while the others are off?&amp;lt;/strong&amp;gt; Yes. Any PC can claim and work as long as the shared server is reachable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Does a closed laptop lose its ticket?&amp;lt;/strong&amp;gt; Its claim lapses after the lease. The ticket returns to the queue &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; later, not at once, because a sleeping laptop often still holds uncommitted work. If it wakes first and nobody took the ticket, it renews and carries on. If somebody did, the laptop&amp;#039;s CLI is told &amp;quot;this ticket moved to &amp;amp;lt;machine&amp;gt;; commit or drop your work&amp;quot;, its close is refused, and it can still push commits.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why must I sign each login in on each PC?&amp;lt;/strong&amp;gt; Credentials are never copied. Claude&amp;#039;s refresh tokens rotate, so a copy on one PC can sign the other out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why is a PC greyed out?&amp;lt;/strong&amp;gt; It has not sent a heartbeat for &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt;. It is asleep, offline or off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why does a PC say &amp;quot;needs update&amp;quot;?&amp;lt;/strong&amp;gt; It is on an older mesh protocol. Re-run setup there with &amp;lt;code&amp;gt;-Redeploy&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Where is the log?&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;R:\MindAttic\Setup\setup-node.log&amp;lt;/code&amp;gt; for setup. The daemon logs mesh events with the rest of its log.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Is it safe to put secrets in this repo?&amp;lt;/strong&amp;gt; No. The repo is public. Setup writes no secret into any file in the repo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Orchestrator]].&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.Orchestrator/blob/main/docs/MESH.md MindAttic.Orchestrator/docs/MESH.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.Orchestrator]]&lt;/div&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:08 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/app-bus</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/app-bus&amp;diff=2781&amp;oldid=594</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/app-bus&amp;diff=2781&amp;oldid=594</guid>
			<description>&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 01:52, 3 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-l168&quot;&gt;Line 168:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 168:&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;The team gateway (&amp;lt;code&amp;gt;src/MindAttic.Orchestrator.Gateway&amp;lt;/code&amp;gt;) writes one of these to the inbox each time a remote viewer attaches to a hosted session or detaches from it, and once as it starts and as it stops. The daemon relays it unchanged. The dashboard&amp;#039;s Terminals tab uses it to show the owner a &amp;quot;being watched&amp;quot; banner on that 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;The team gateway (&amp;lt;code&amp;gt;src/MindAttic.Orchestrator.Gateway&amp;lt;/code&amp;gt;) writes one of these to the inbox each time a remote viewer attaches to a hosted session or detaches from it, and once as it starts and as it stops. The daemon relays it unchanged. The dashboard&amp;#039;s Terminals tab uses it to show the owner a &amp;quot;being watched&amp;quot; banner on that CLI.&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;&amp;lt;pre class=&quot;md-code lang-json&quot;&amp;gt;{&quot;event&quot;:&quot;attached&quot;,&quot;watcher&quot;:{&quot;connection&quot;:&quot;51234-3&quot;,&quot;sessionId&quot;:&quot;73ff73abb9c6&quot;,&quot;viewer&quot;:&quot;ryand&quot;,&quot;mode&quot;:&quot;watch&quot;,&quot;from&quot;:&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100.101.102.7&lt;/del&gt;&quot;,&quot;sinceUtc&quot;:&quot;2026-10-26T17:02:11.5Z&quot;},&quot;watchers&quot;:[{&quot;connection&quot;:&quot;51234-3&quot;,&quot;sessionId&quot;:&quot;73ff73abb9c6&quot;,&quot;viewer&quot;:&quot;ryand&quot;,&quot;mode&quot;:&quot;watch&quot;,&quot;from&quot;:&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100.101.102.7&lt;/del&gt;&quot;,&quot;sinceUtc&quot;:&quot;2026-10-26T17:02:11.5Z&quot;}],&quot;gatewayPid&quot;:51234}&amp;lt;/pre&amp;gt;&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;&amp;lt;pre class=&quot;md-code lang-json&quot;&amp;gt;{&quot;event&quot;:&quot;attached&quot;,&quot;watcher&quot;:{&quot;connection&quot;:&quot;51234-3&quot;,&quot;sessionId&quot;:&quot;73ff73abb9c6&quot;,&quot;viewer&quot;:&quot;ryand&quot;,&quot;mode&quot;:&quot;watch&quot;,&quot;from&quot;:&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt;tailscale-ip&amp;gt;&lt;/ins&gt;&quot;,&quot;sinceUtc&quot;:&quot;2026-10-26T17:02:11.5Z&quot;},&quot;watchers&quot;:[{&quot;connection&quot;:&quot;51234-3&quot;,&quot;sessionId&quot;:&quot;73ff73abb9c6&quot;,&quot;viewer&quot;:&quot;ryand&quot;,&quot;mode&quot;:&quot;watch&quot;,&quot;from&quot;:&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt;tailscale-ip&amp;gt;&lt;/ins&gt;&quot;,&quot;sinceUtc&quot;:&quot;2026-10-26T17:02:11.5Z&quot;}],&quot;gatewayPid&quot;:51234}&amp;lt;/pre&amp;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;{| class=&amp;quot;wikitable&amp;quot;&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;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:52:08 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/app-bus</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2780&amp;oldid=2778</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2780&amp;oldid=2778</guid>
			<description>&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 01:38, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;20&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;32Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;36&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;57Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:38:50 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2779&amp;oldid=2777</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2779&amp;oldid=2777</guid>
			<description>&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 01:38, 3 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-l316&quot;&gt;Line 316:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 316:&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;Serve and join (M.ORCH-T2588, T2589, T2590).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshMembers.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;gateway_url&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway_pin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshClaims.cs&amp;lt;/code&amp;gt; is untouched). &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt; adds the MagicDNS name and 100.x address to the dev certificate, turns the gateway on bound to the Tailscale address, waits up to &amp;lt;code&amp;gt;MeshServeWaitSeconds&amp;lt;/code&amp;gt; for the daemon to start it, and writes its &amp;lt;code&amp;gt;https&amp;amp;#58;//100.x:port&amp;lt;/code&amp;gt; URL and pin on its own row (&amp;lt;code&amp;gt;Term/TermTailscale.cs&amp;lt;/code&amp;gt; asks the local tailscaled through its CLI). &amp;lt;code&amp;gt;orchestrator mesh join [--again]&amp;lt;/code&amp;gt; refreshes that row, writes a fresh nonce on it, and for every other member with a gateway mints it a peer key and calls its &amp;lt;code&amp;gt;POST /mesh/join&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;GatewayMesh.cs&amp;lt;/code&amp;gt;), TLS-pinned with the pin from that member&amp;#039;s own row, within &amp;lt;code&amp;gt;MeshJoinTimeoutSeconds&amp;lt;/code&amp;gt;. The member checks &amp;lt;code&amp;gt;tailscale whois&amp;lt;/code&amp;gt; puts the caller under its own Tailscale user, then runs the hidden &amp;lt;code&amp;gt;orchestrator mesh admit&amp;lt;/code&amp;gt; (the gateway has no database connection), which checks the nonce against the caller&amp;#039;s row within &amp;lt;code&amp;gt;MeshJoinNonceMinutes&amp;lt;/code&amp;gt;, mints a key back and keeps the caller as a peer remote; the joiner keeps the member the same way. Members already kept as peers are skipped unless &amp;lt;code&amp;gt;--again&amp;lt;/code&amp;gt;; a refused join revokes the fresh key.&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;Serve and join (M.ORCH-T2588, T2589, T2590).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshMembers.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;gateway_url&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway_pin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshClaims.cs&amp;lt;/code&amp;gt; is untouched). &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt; adds the MagicDNS name and 100.x address to the dev certificate, turns the gateway on bound to the Tailscale address, waits up to &amp;lt;code&amp;gt;MeshServeWaitSeconds&amp;lt;/code&amp;gt; for the daemon to start it, and writes its &amp;lt;code&amp;gt;https&amp;amp;#58;//100.x:port&amp;lt;/code&amp;gt; URL and pin on its own row (&amp;lt;code&amp;gt;Term/TermTailscale.cs&amp;lt;/code&amp;gt; asks the local tailscaled through its CLI). &amp;lt;code&amp;gt;orchestrator mesh join [--again]&amp;lt;/code&amp;gt; refreshes that row, writes a fresh nonce on it, and for every other member with a gateway mints it a peer key and calls its &amp;lt;code&amp;gt;POST /mesh/join&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;GatewayMesh.cs&amp;lt;/code&amp;gt;), TLS-pinned with the pin from that member&amp;#039;s own row, within &amp;lt;code&amp;gt;MeshJoinTimeoutSeconds&amp;lt;/code&amp;gt;. The member checks &amp;lt;code&amp;gt;tailscale whois&amp;lt;/code&amp;gt; puts the caller under its own Tailscale user, then runs the hidden &amp;lt;code&amp;gt;orchestrator mesh admit&amp;lt;/code&amp;gt; (the gateway has no database connection), which checks the nonce against the caller&amp;#039;s row within &amp;lt;code&amp;gt;MeshJoinNonceMinutes&amp;lt;/code&amp;gt;, mints a key back and keeps the caller as a peer remote; the joiner keeps the member the same way. Members already kept as peers are skipped unless &amp;lt;code&amp;gt;--again&amp;lt;/code&amp;gt;; a refused join revokes the fresh key.&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;* &amp;lt;strong&amp;gt;Remove and immediate revocation (M.ORCH-T2591).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; deletes its row, calls &amp;lt;code&amp;gt;POST /mesh/remove&amp;lt;/code&amp;gt; on every peer remote (owner or peer token only; that gateway revokes the key and drops the remote), does the same here, and drops &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;Server&amp;gt;&amp;lt;/code&amp;gt; or prints the T-SQL. A peer token carries its peer&amp;#039;s name (&amp;lt;code&amp;gt;TermGatewayTokenPayload.Peer&amp;lt;/code&amp;gt;), and every request and open stream checks that peer still has a live key, so a removed machine is cut off on its next request.&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;Remove and immediate revocation (M.ORCH-T2591).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; deletes its row, calls &amp;lt;code&amp;gt;POST /mesh/remove&amp;lt;/code&amp;gt; on every peer remote (owner or peer token only; that gateway revokes the key and drops the remote), does the same here, and drops &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;Server&amp;gt;&amp;lt;/code&amp;gt; or prints the T-SQL. A peer token carries its peer&amp;#039;s name (&amp;lt;code&amp;gt;TermGatewayTokenPayload.Peer&amp;lt;/code&amp;gt;), and every request and open stream checks that peer still has a live key, so a removed machine is cut off on its next request.&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;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Not yet done: existing members pairing with new rows &lt;/del&gt;on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;their &lt;/del&gt;own (M.ORCH-T2592; it &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;belongs in &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;daemon&#039;s lease pass&lt;/del&gt;), the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;machine x login grid &lt;/del&gt;(M.ORCH-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T2593&lt;/del&gt;).&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;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;strong&amp;gt;Pairing &lt;/ins&gt;on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;its &lt;/ins&gt;own (M.ORCH-T2592&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;).&amp;lt;/strong&amp;gt; The daemon&#039;s &amp;lt;code&amp;gt;MeshLeases.Pairer&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;MeshPairCheckSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 300) on a background task, reads &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, logs each member quiet past &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; (&quot;LAPTOP unreachable since 14:02&quot;) and its return, and, once this machine&#039;s own row carries its gateway URL, runs the same &amp;lt;code&amp;gt;MeshJoin.PairAsync&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;gt; for every live member not yet kept as a peer remote. A refusal is logged once per distinct problem&lt;/ins&gt;; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the next look tries again.&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;Lost peer on every dashboard (M.ORCH-T2567).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshPeers.cs&amp;lt;/code&amp;gt; reads members, lapsed claims and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; in one go on the database clock. The Team Wall reads &lt;/ins&gt;it &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;off the UI thread on each refresh: an unreachable gateway keeps the tiles it had, greyed and paused, labelled &quot;LAPTOP unreachable since 14:02&quot; (its mesh heartbeat, or when &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wall first lost it&lt;/ins&gt;), &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and they go live again on the first look that reaches it. The header lists lost members no gateway here shows, and each orphaned claim with when it requeues (&lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;later of expiry and &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;, plus &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;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;Version skew &lt;/ins&gt;(M.ORCH-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T2568&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;TermGateway.MeshProtocol&amp;lt;/code&amp;gt; (1) is in &amp;lt;code&amp;gt;/health&amp;lt;/code&amp;gt; and on &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;Mesh/MeshCompat.cs&amp;lt;/code&amp;gt; takes the mesh&#039;s protocol as the newest a member seen within &amp;lt;code&amp;gt;MeshPeerStaleSeconds&amp;lt;/code&amp;gt; speaks. A machine behind it gets no claims (&amp;lt;code&amp;gt;MeshClaims.Claim&amp;lt;/code&amp;gt; refuses with &quot;LAPTOP needs update&quot;, before any row is touched); &amp;lt;code&amp;gt;/mesh/join&amp;lt;/code&amp;gt; admits and &amp;lt;code&amp;gt;PairAsync&amp;lt;/code&amp;gt; pairs only on one protocol; &amp;lt;code&amp;gt;MeshBurn.Read&amp;lt;/code&amp;gt; leaves out rows of machines on another protocol, so pacing never sums across a skew. Watch and interact are untouched. Every Team Wall shows &quot;LAPTOP needs update&quot; on that machine&#039;s chip&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;* &amp;lt;strong&amp;gt;Cluster-wide pacing (M.ORCH-T2570, M.ORCH-T2571, M.ORCH-T2572).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshBurn.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and, on a background pass started from the pace tick, publishes this machine&amp;#039;s row per login (newest meter reading, tokens per minute, running subagents, demand = subagents plus active CLIs) and reads every machine&amp;#039;s rows on the database clock. &amp;lt;code&amp;gt;Mesh/MeshPace.cs&amp;lt;/code&amp;gt; is the pure math: rows older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; (default 120) are ignored, the newest reading from any machine is merged into the login&amp;#039;s reading, &amp;lt;code&amp;gt;Pacer&amp;lt;/code&amp;gt; runs on the summed subagents, and the allowance is split by demand with largest remainders, ties by machine id. Each peer writes its own share to &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt;. With this machine&amp;#039;s read older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; it paces alone: allowance divided by the machines last seen on the login, stopped &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; (default 3) points below each cutoff (only the weekly one for Ultra). The usage report&amp;#039;s notes carry each login&amp;#039;s cluster total and every machine&amp;#039;s share. No mesh config: nothing changes.&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;Cluster-wide pacing (M.ORCH-T2570, M.ORCH-T2571, M.ORCH-T2572).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshBurn.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and, on a background pass started from the pace tick, publishes this machine&amp;#039;s row per login (newest meter reading, tokens per minute, running subagents, demand = subagents plus active CLIs) and reads every machine&amp;#039;s rows on the database clock. &amp;lt;code&amp;gt;Mesh/MeshPace.cs&amp;lt;/code&amp;gt; is the pure math: rows older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; (default 120) are ignored, the newest reading from any machine is merged into the login&amp;#039;s reading, &amp;lt;code&amp;gt;Pacer&amp;lt;/code&amp;gt; runs on the summed subagents, and the allowance is split by demand with largest remainders, ties by machine id. Each peer writes its own share to &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt;. With this machine&amp;#039;s read older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; it paces alone: allowance divided by the machines last seen on the login, stopped &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; (default 3) points below each cutoff (only the weekly one for Ultra). The usage report&amp;#039;s notes carry each login&amp;#039;s cluster total and every machine&amp;#039;s share. No mesh config: nothing changes.&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;Logins per machine (M.ORCH-T2593).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshLogins.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_logins&amp;lt;/code&amp;gt; (machine, login, signed_in, published) and the daemon (&amp;lt;code&amp;gt;MeshLogins.Keeper&amp;lt;/code&amp;gt;, every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt; on a background task) replaces this machine&#039;s rows with every &amp;lt;code&amp;gt;~/.claude-accounts&amp;lt;/code&amp;gt; login&#039;s email and whether its own member is signed in there. Only the email and the flag leave the machine; a test checks nothing else from the Claude home is sent. The dashboard&#039;s accounts panel reads every &amp;lt;code&amp;gt;MeshDashboardReadSeconds&amp;lt;/code&amp;gt; (default 30) off the UI thread and shows the machine x login grid: &quot;Signed in&quot;, a Sign in button for a login missing on this machine, and for one missing on another machine the command to run there.&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;Shared database unreachable (M.ORCH-T2566, reduced).&amp;lt;/strong&amp;gt; Claims are refused everywhere while it&#039;s down (&amp;lt;code&amp;gt;MeshLeases.Claim&amp;lt;/code&amp;gt; and the lease pass), running work carries on, the daemon logs the outage once, and on recovery each machine renews its own claims and sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt;, which the claim statement honours (no lapsed claim requeued before &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; after it). The dashboard&#039;s menu bar shows &quot;Shared database unreachable since HH:MM - no new tickets&quot; from its own background read. Backups: &amp;lt;code&amp;gt;tools/mesh-backup-pull.ps1&amp;lt;/code&amp;gt; pulls both databases nightly, verified, kept &amp;lt;code&amp;gt;MeshBackupKeepDays&amp;lt;/code&amp;gt; (default 14; M.ORCH-T2594). Not yet done: the Tickets CLI serving reads from its &amp;lt;code&amp;gt;data/Tickets.db&amp;lt;/code&amp;gt; copy while the server is down (today it reads the copy only while it is known current, M.TIX-T734).&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;== Owner decisions (2026-12-02) ==&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;== Owner decisions (2026-12-02) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:38:49 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2778&amp;oldid=2774</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2778&amp;oldid=2774</guid>
			<description>&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 01:22, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;43Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;20&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;32Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:22:38 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2777&amp;oldid=2771</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2777&amp;oldid=2771</guid>
			<description>&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 01:22, 3 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-l309&quot;&gt;Line 309:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 309:&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;Membership record (M.ORCH-T2563, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshConfig.cs&amp;lt;/code&amp;gt; reads this machine&amp;#039;s mesh connection and name from &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the connection). No file means a mesh of one: every claim path behaves exactly as before. &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; gets one row per machine (protocol, build, last seen) from the daemon&amp;#039;s lease tick. Not yet done: moving the organization tables (&amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt;) to the shared connection, which needs the Orchestrator store to open those three tables on a second connection.&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;Membership record (M.ORCH-T2563, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshConfig.cs&amp;lt;/code&amp;gt; reads this machine&amp;#039;s mesh connection and name from &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the connection). No file means a mesh of one: every claim path behaves exactly as before. &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; gets one row per machine (protocol, build, last seen) from the daemon&amp;#039;s lease tick. Not yet done: moving the organization tables (&amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt;) to the shared connection, which needs the Orchestrator store to open those three tables on a second connection.&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;* &amp;lt;strong&amp;gt;Claim leases (M.ORCH-T2565).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshClaims.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_state&amp;lt;/code&amp;gt; in the MindAttic.Mesh database and grants, renews, releases and fences claims with the statements in f, on the database clock. &amp;lt;code&amp;gt;orchestrator next --claim&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;orchestrator claim&amp;lt;/code&amp;gt; record the local claim first (under the assignments lock, which settles CLIs on one machine), then ask the mesh; refused there, or with the database unreachable, the local claim is undone and the ticket isn&#039;t handed out. The daemon (&amp;lt;code&amp;gt;MeshLeases.Keeper&amp;lt;/code&amp;gt;) renews every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt;, releases rows no local claim stands behind, claims local claims made on paths that don&#039;t ask the mesh, and sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; after an outage once its own claims are renewed. &amp;lt;code&amp;gt;MeshClaims.MayClose&amp;lt;/code&amp;gt; is the fenced close check. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Not yet done: the &lt;/del&gt;close &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;itself in &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tickets CLI running &lt;/del&gt;in one cross-database transaction &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with that check&lt;/del&gt;.&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;* &amp;lt;strong&amp;gt;Claim leases (M.ORCH-T2565).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshClaims.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_state&amp;lt;/code&amp;gt; in the MindAttic.Mesh database and grants, renews, releases and fences claims with the statements in f, on the database clock. &amp;lt;code&amp;gt;orchestrator next --claim&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;orchestrator claim&amp;lt;/code&amp;gt; record the local claim first (under the assignments lock, which settles CLIs on one machine), then ask the mesh; refused there, or with the database unreachable, the local claim is undone and the ticket isn&#039;t handed out. The daemon (&amp;lt;code&amp;gt;MeshLeases.Keeper&amp;lt;/code&amp;gt;) renews every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt;, releases rows no local claim stands behind, claims local claims made on paths that don&#039;t ask the mesh, and sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; after an outage once its own claims are renewed. &amp;lt;code&amp;gt;MeshClaims.MayClose&amp;lt;/code&amp;gt; is the fenced close check. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The Tickets CLI&#039;s &lt;/ins&gt;close &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;makes &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;same check &lt;/ins&gt;in one cross-database transaction &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(M.ORCH-T2584, MindAttic.Tickets 9fda60d)&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;* &amp;lt;strong&amp;gt;Commit gate asks the mesh (M.ORCH-T2585).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;commit-gate.py&amp;lt;/code&amp;gt;&amp;#039;s close check (mindattic-agent-standard, wired by &amp;lt;code&amp;gt;install-hooks.ps1&amp;lt;/code&amp;gt;), when this machine has a mesh config, runs &amp;lt;code&amp;gt;orchestrator may-close &amp;amp;lt;ID&amp;gt; --session &amp;amp;lt;sid&amp;gt;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshClaims.CloseRefusal&amp;lt;/code&amp;gt;): exit 2 refuses the close while another machine, or another CLI here (a different session), holds the ticket&amp;#039;s &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row. Unreachable, timed out (&amp;lt;code&amp;gt;MINDATTIC_MESH_CHECK_SECS&amp;lt;/code&amp;gt;, default 15) or an older &amp;lt;code&amp;gt;orchestrator&amp;lt;/code&amp;gt; without the command: the close is allowed and a warning goes to &amp;lt;code&amp;gt;mesh-close.log&amp;lt;/code&amp;gt; in the gate&amp;#039;s state dir. A mesh of one never calls 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;Commit gate asks the mesh (M.ORCH-T2585).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;commit-gate.py&amp;lt;/code&amp;gt;&amp;#039;s close check (mindattic-agent-standard, wired by &amp;lt;code&amp;gt;install-hooks.ps1&amp;lt;/code&amp;gt;), when this machine has a mesh config, runs &amp;lt;code&amp;gt;orchestrator may-close &amp;amp;lt;ID&amp;gt; --session &amp;amp;lt;sid&amp;gt;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshClaims.CloseRefusal&amp;lt;/code&amp;gt;): exit 2 refuses the close while another machine, or another CLI here (a different session), holds the ticket&amp;#039;s &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row. Unreachable, timed out (&amp;lt;code&amp;gt;MINDATTIC_MESH_CHECK_SECS&amp;lt;/code&amp;gt;, default 15) or an older &amp;lt;code&amp;gt;orchestrator&amp;lt;/code&amp;gt; without the command: the close is allowed and a warning goes to &amp;lt;code&amp;gt;mesh-close.log&amp;lt;/code&amp;gt; in the gate&amp;#039;s state dir. A mesh of one never calls it.&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;* &amp;lt;strong&amp;gt;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&amp;#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &amp;quot;this ticket moved to LAPTOP; commit or drop your work&amp;quot;.&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;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&amp;#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &amp;quot;this ticket moved to LAPTOP; commit or drop your work&amp;quot;.&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;* &amp;lt;strong&amp;gt;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. In a mesh the daemon&amp;#039;s &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt; sync takes the repo&amp;#039;s &amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease first (&amp;lt;code&amp;gt;MeshLeases.TakeDumpCommit&amp;lt;/code&amp;gt;, a &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row keyed &amp;lt;code&amp;gt;DUMP_COMMIT:&amp;amp;lt;repo&amp;gt;&amp;lt;/code&amp;gt; that the lease pass leaves alone) and releases it after the push; refused or unreachable, it stages nothing and tries again next interval. Not yet done: the committed file and dump holding the shared tables only, and &amp;lt;code&amp;gt;tickets db sync&amp;lt;/code&amp;gt; taking the same lease.&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;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. In a mesh the daemon&amp;#039;s &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt; sync takes the repo&amp;#039;s &amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease first (&amp;lt;code&amp;gt;MeshLeases.TakeDumpCommit&amp;lt;/code&amp;gt;, a &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row keyed &amp;lt;code&amp;gt;DUMP_COMMIT:&amp;amp;lt;repo&amp;gt;&amp;lt;/code&amp;gt; that the lease pass leaves alone) and releases it after the push; refused or unreachable, it stages nothing and tries again next interval. Not yet done: the committed file and dump holding the shared tables only, and &amp;lt;code&amp;gt;tickets db sync&amp;lt;/code&amp;gt; taking the same lease.&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;* &amp;lt;strong&amp;gt;One-click node setup (M.ORCH-T2559, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; (double-click &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt;, or the &amp;lt;code&amp;gt;irm .../setup-node.ps1 &amp;amp;#124; iex&amp;lt;/code&amp;gt; line in docs/REMOTE_HOST.md) checks Tailscale, installs the tools, maps D: and R: (&amp;lt;code&amp;gt;setup-common.ps1&amp;lt;/code&amp;gt;, shared with &amp;lt;code&amp;gt;setup-host.ps1&amp;lt;/code&amp;gt;), clones the workspace through &amp;lt;code&amp;gt;clone-repo.ps1&amp;lt;/code&amp;gt;, makes the machine&#039;s SQL login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;, deploys Tickets, Orchestrator and Launcher, installs the hooks and turns the gateway on bound to the Tailscale address; the gateway &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;adds loopback itself&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Not yet done: &lt;/del&gt;the mesh-join &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;endpoint &lt;/del&gt;and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;key exchange &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T2560&lt;/del&gt;), &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;peers pairing from &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mesh_members&lt;/del&gt;&amp;lt;/code&amp;gt; (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T2561&lt;/del&gt;), the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;login&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;per&lt;/del&gt;-machine &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;view &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T2562&lt;/del&gt;).&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;* &amp;lt;strong&amp;gt;One-click node setup (M.ORCH-T2559, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; (double-click &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt;, or the &amp;lt;code&amp;gt;irm .../setup-node.ps1 &amp;amp;#124; iex&amp;lt;/code&amp;gt; line in docs/REMOTE_HOST.md) checks Tailscale, installs the tools, maps D: and R: (&amp;lt;code&amp;gt;setup-common.ps1&amp;lt;/code&amp;gt;, shared with &amp;lt;code&amp;gt;setup-host.ps1&amp;lt;/code&amp;gt;), clones the workspace through &amp;lt;code&amp;gt;clone-repo.ps1&amp;lt;/code&amp;gt;, makes the machine&#039;s SQL login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;, deploys Tickets, Orchestrator and Launcher, installs the hooks&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, starts the dashboard, then runs &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt; (or, on an older build, &amp;lt;code&amp;gt;gateway on --bind &amp;amp;lt;100.x&amp;gt;&amp;lt;/code&amp;gt;) &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;orchestrator mesh join&amp;lt;/code&amp;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;Serve and join (M.ORCH-T2588, T2589, T2590).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshMembers.cs&amp;lt;/code&amp;gt; adds &amp;lt;code&amp;gt;gateway_url&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway_pin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;join_nonce&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;join_nonce_at&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MeshClaims.cs&amp;lt;/code&amp;gt; is untouched). &amp;lt;code&amp;gt;orchestrator mesh serve&amp;lt;/code&amp;gt; adds the MagicDNS name and 100.x address to the dev certificate, &lt;/ins&gt;turns the gateway on bound to the Tailscale address&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, waits up to &amp;lt;code&amp;gt;MeshServeWaitSeconds&amp;lt;/code&amp;gt; for the daemon to start it, and writes its &amp;lt;code&amp;gt;https&amp;amp;#58&lt;/ins&gt;;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;//100.x:port&amp;lt;/code&amp;gt; URL and pin on its own row (&amp;lt;code&amp;gt;Term/TermTailscale.cs&amp;lt;/code&amp;gt; asks &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;local tailscaled through its CLI). &amp;lt;code&amp;gt;orchestrator mesh join [--again]&amp;lt;/code&amp;gt; refreshes that row, writes a fresh nonce on it, and for every other member with a &lt;/ins&gt;gateway &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mints it a peer key and calls its &amp;lt;code&amp;gt;POST /mesh/join&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;GatewayMesh.cs&amp;lt;/code&amp;gt;), TLS-pinned with the pin from that member&#039;s own row, within &amp;lt;code&amp;gt;MeshJoinTimeoutSeconds&amp;lt;/code&amp;gt;&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The member checks &amp;lt;code&amp;gt;tailscale whois&amp;lt;/code&amp;gt; puts the caller under its own Tailscale user, then runs &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hidden &amp;lt;code&amp;gt;orchestrator &lt;/ins&gt;mesh &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;admit&amp;lt;/code&amp;gt; (the gateway has no database connection), which checks the nonce against the caller&#039;s row within &amp;lt;code&amp;gt;MeshJoinNonceMinutes&amp;lt;/code&amp;gt;, mints a key back and keeps the caller as a peer remote; the joiner keeps the member the same way. Members already kept as peers are skipped unless &amp;lt;code&amp;gt;-&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;again&amp;lt;/code&amp;gt;; a refused &lt;/ins&gt;join &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;revokes the fresh key.&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;Remove &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;immediate revocation &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;M.ORCH-T2591&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; deletes its row&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calls &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;POST /mesh/remove&lt;/ins&gt;&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on every peer remote &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;owner or peer token only; that gateway revokes the key and drops the remote&lt;/ins&gt;), &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;does the same here, and drops &amp;lt;code&amp;gt;mesh_&amp;amp;lt;machine&amp;gt;&amp;lt;/code&amp;gt; through &amp;lt;code&amp;gt;tailscale ssh root@&amp;amp;lt;Server&amp;gt;&amp;lt;/code&amp;gt; or prints &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SQL. A peer token carries its peer&#039;s name (&amp;lt;code&amp;gt;TermGatewayTokenPayload.Peer&amp;lt;/code&amp;gt;), and every request and open stream checks that peer still has a live key, so a removed machine is cut off on its next request.&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;* Not yet done: existing members pairing with new rows on their own (M.ORCH&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;T2592; it belongs in the daemon&#039;s lease pass), the &lt;/ins&gt;machine &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;x login grid &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;M.ORCH-T2593&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;* &amp;lt;strong&amp;gt;Cluster-wide pacing (M.ORCH-T2570, M.ORCH-T2571, M.ORCH-T2572).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshBurn.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and, on a background pass started from the pace tick, publishes this machine&amp;#039;s row per login (newest meter reading, tokens per minute, running subagents, demand = subagents plus active CLIs) and reads every machine&amp;#039;s rows on the database clock. &amp;lt;code&amp;gt;Mesh/MeshPace.cs&amp;lt;/code&amp;gt; is the pure math: rows older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; (default 120) are ignored, the newest reading from any machine is merged into the login&amp;#039;s reading, &amp;lt;code&amp;gt;Pacer&amp;lt;/code&amp;gt; runs on the summed subagents, and the allowance is split by demand with largest remainders, ties by machine id. Each peer writes its own share to &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt;. With this machine&amp;#039;s read older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; it paces alone: allowance divided by the machines last seen on the login, stopped &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; (default 3) points below each cutoff (only the weekly one for Ultra). The usage report&amp;#039;s notes carry each login&amp;#039;s cluster total and every machine&amp;#039;s share. No mesh config: nothing changes.&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;Cluster-wide pacing (M.ORCH-T2570, M.ORCH-T2571, M.ORCH-T2572).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshBurn.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and, on a background pass started from the pace tick, publishes this machine&amp;#039;s row per login (newest meter reading, tokens per minute, running subagents, demand = subagents plus active CLIs) and reads every machine&amp;#039;s rows on the database clock. &amp;lt;code&amp;gt;Mesh/MeshPace.cs&amp;lt;/code&amp;gt; is the pure math: rows older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; (default 120) are ignored, the newest reading from any machine is merged into the login&amp;#039;s reading, &amp;lt;code&amp;gt;Pacer&amp;lt;/code&amp;gt; runs on the summed subagents, and the allowance is split by demand with largest remainders, ties by machine id. Each peer writes its own share to &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt;. With this machine&amp;#039;s read older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; it paces alone: allowance divided by the machines last seen on the login, stopped &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; (default 3) points below each cutoff (only the weekly one for Ultra). The usage report&amp;#039;s notes carry each login&amp;#039;s cluster total and every machine&amp;#039;s share. No mesh config: nothing changes.&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;</description>
			<pubDate>Thu, 03 Dec 2026 01:22:37 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Dissertation.NestedHierarchyAbstraction/vision-down-build-up</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction/vision-down-build-up&amp;diff=2776&amp;oldid=2493</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction/vision-down-build-up&amp;diff=2776&amp;oldid=2493</guid>
			<description>&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;a href=&quot;https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction/vision-down-build-up&amp;amp;diff=2776&amp;amp;oldid=2493&quot;&gt;Show changes&lt;/a&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:17:56 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Dissertation.NestedHierarchyAbstraction/vision-down-build-up</comments>
		</item>
		<item>
			<title>Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part 2</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part_2&amp;diff=2775&amp;oldid=2494</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part_2&amp;diff=2775&amp;oldid=2494</guid>
			<description>&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;a href=&quot;https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part_2&amp;amp;diff=2775&amp;amp;oldid=2494&quot;&gt;Show changes&lt;/a&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:17:56 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Dissertation.NestedHierarchyAbstraction/vision-down-build-up/part_2</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2774&amp;oldid=2772</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2774&amp;oldid=2772</guid>
			<description>&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 01:17, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;00&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;23Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T01:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;43Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:17:56 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>Dissertation.NestedHierarchyAbstraction</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction&amp;diff=2773&amp;oldid=2469</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Dissertation.NestedHierarchyAbstraction&amp;diff=2773&amp;oldid=2469</guid>
			<description>&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 01:17, 3 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-l45&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&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;* S1.4.1 DNHA-T20 One vision and one owner per concern as conditions for coherence across repos (chapter 05).&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;* S1.4.1 DNHA-T20 One vision and one owner per concern as conditions for coherence across repos (chapter 05).&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;==== F1.5 Hardware is a level too — DNHA-T50 ====&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;&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;* S1.5.1 DNHA-T50 The capacity that builds the plan (mesh &amp;gt; node &amp;gt; session &amp;gt; agent) as a nested hierarchy mirroring the plan and meeting it at the leaf; the case&#039;s mesh mapped level by level; the standards on architecture description, leases and fencing, partitions and consensus, zero trust and distributed scheduling, with conformance and departures; threats and the measures that will test it. Design only, no results (chapter 06; later chapters renumbered 07 to 11).&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;=== E2. The paradigm placed in the literature — DNHA-T3 — MS ===&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;=== E2. The paradigm placed in the literature — DNHA-T3 — MS ===&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-l112&quot;&gt;Line 112:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 116:&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;| Measurement 2 story added (filed after the spec; its absence was the one C1 gap measurement 2 found)&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;| Measurement 2 story added (filed after the spec; its absence was the one C1 gap measurement 2 found)&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;| DNHA-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;| DNHA-T31&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-12-02&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;| Hardware as a level of the hierarchy added as chapter 06 at the owner&#039;s request; chapters 06 to 10 renumbered 07 to 11&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;| DNHA-T50&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;</description>
			<pubDate>Thu, 03 Dec 2026 01:17:55 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Dissertation.NestedHierarchyAbstraction</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2772&amp;oldid=2769</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2772&amp;oldid=2769</guid>
			<description>&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 01:02, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T00&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;55&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;34Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T01&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;00&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;23Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:02:00 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2771&amp;oldid=2767</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2771&amp;oldid=2767</guid>
			<description>&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 01:01, 3 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-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;No failover, because there is no authority to lose.&amp;lt;/strong&amp;gt; The rig can be off and the laptop still claims. The new single point of failure is the Hetzner box and the internet link to it. When the database is unreachable every peer stops new claims, keeps its running work, and reads tickets from a read-only SQLite mirror. Backups and a tested restore cover the box itself.&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;No failover, because there is no authority to lose.&amp;lt;/strong&amp;gt; The rig can be off and the laptop still claims. The new single point of failure is the Hetzner box and the internet link to it. When the database is unreachable every peer stops new claims, keeps its running work, and reads tickets from a read-only SQLite mirror. Backups and a tested restore cover the box itself.&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;# &amp;lt;strong&amp;gt;Peers trust each other through a peer key, not the owner key.&amp;lt;/strong&amp;gt; Each peer gets its own revocable key. The gateway seals it and uses it to mint renewing tokens, the same way &amp;lt;code&amp;gt;machine connect&amp;lt;/code&amp;gt; handles the owner key today, so the link never lapses. This key covers the machine-to-machine gateway (watch, interact, start CLI). Database access is a separate SQL login per machine.&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;Peers trust each other through a peer key, not the owner key.&amp;lt;/strong&amp;gt; Each peer gets its own revocable key. The gateway seals it and uses it to mint renewing tokens, the same way &amp;lt;code&amp;gt;machine connect&amp;lt;/code&amp;gt; handles the owner key today, so the link never lapses. This key covers the machine-to-machine gateway (watch, interact, start CLI). Database access is a separate SQL login per machine.&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;# &amp;lt;strong&amp;gt;Joining &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;takes a &lt;/del&gt;one&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-time code&lt;/del&gt;.&amp;lt;/strong&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An existing peer shows a short &lt;/del&gt;code (&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;orchestrator mesh invite&lt;/del&gt;&amp;lt;/code&amp;gt;). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The new machine runs &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;orchestrator mesh join &amp;amp;lt;peer&amp;gt; &amp;amp;lt;code&amp;gt;&lt;/del&gt;&amp;lt;/code&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The gateway &lt;/del&gt;also checks through Tailscale whois that the caller belongs to the owner&#039;s Tailscale user. Being on the tailnet is not enough to join.&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;# &amp;lt;strong&amp;gt;Joining &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &lt;/ins&gt;one &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;click&lt;/ins&gt;.&amp;lt;/strong&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The new machine runs &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/&lt;/ins&gt;code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt; &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;double-click &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Setup-Node.cmd&lt;/ins&gt;&amp;lt;/code&amp;gt;). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It makes its own SQL login through &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tailscale ssh&lt;/ins&gt;&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to the database box, whose browser check is the owner&#039;s approval, then trades peer keys with every member&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Each peer &lt;/ins&gt;also checks through Tailscale whois that the caller belongs to the owner&#039;s Tailscale user &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and that a fresh nonce the joiner wrote with its own login matches&lt;/ins&gt;. Being on the tailnet is not enough to join.&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;# &amp;lt;strong&amp;gt;Interact works everywhere, and one machine holds the keyboard.&amp;lt;/strong&amp;gt; Every wall surface (tile, phone card, pop-out) can type. Whoever typed last holds the keyboard. Another machine takes it once the holder has been idle for a short gap, or at once with &amp;quot;Take keyboard&amp;quot;. Every viewer sees who is typing. The owner&amp;#039;s own machines need no consent prompts. Member consent rules are unchanged.&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;Interact works everywhere, and one machine holds the keyboard.&amp;lt;/strong&amp;gt; Every wall surface (tile, phone card, pop-out) can type. Whoever typed last holds the keyboard. Another machine takes it once the holder has been idle for a short gap, or at once with &amp;quot;Take keyboard&amp;quot;. Every viewer sees who is typing. The owner&amp;#039;s own machines need no consent prompts. Member consent rules are unchanged.&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;# &amp;lt;strong&amp;gt;Pacing is per login across the whole cluster.&amp;lt;/strong&amp;gt; Each machine publishes each login&amp;#039;s burn and running subagents to the shared database. Every peer reads all of it and computes the same pace per login and the same split of the subagent allowance, by a deterministic rule. A machine that cannot reach the database falls back to a stricter local pace. No login passes its 5-hour or weekly cutoff, wherever its CLIs run.&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;Pacing is per login across the whole cluster.&amp;lt;/strong&amp;gt; Each machine publishes each login&amp;#039;s burn and running subagents to the shared database. Every peer reads all of it and computes the same pace per login and the same split of the subagent allowance, by a deterministic rule. A machine that cannot reach the database falls back to a stricter local pace. No login passes its 5-hour or weekly cutoff, wherever its CLIs run.&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 68:&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine. Claims, pacing, membership and tickets no longer go through the gateway, because they live in the shared database (a). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&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;* &amp;lt;strong&amp;gt;Admission &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;by &lt;/del&gt;one-time code &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;plus Tailscale identity&lt;/del&gt;.&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;strong&lt;/del&gt;&amp;gt; &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;orchestrator mesh invite&lt;/del&gt;&amp;lt;/code&amp;gt; on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;any current peer prints a code: single use, 128 bits written as words, lasting 10 minutes (a Vault setting). &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;orchestrator mesh join &lt;/del&gt;&amp;amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;peer&lt;/del&gt;&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt&lt;/del&gt;;code&amp;gt;&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;new &lt;/del&gt;machine &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connects over &lt;/del&gt;Tailscale. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The inviting &lt;/del&gt;gateway &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;asks the local Tailscale daemon&lt;/del&gt;&#039;s whois &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;API who &lt;/del&gt;the caller is&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and accepts only &lt;/del&gt;a node &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;owned by &lt;/del&gt;the same Tailscale user as itself&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Then both sides exchange certificate pins &lt;/del&gt;and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;peer keys over &lt;/del&gt;that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;channel&lt;/del&gt;. The code &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;authenticates &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pins&lt;/del&gt;, so neither side trusts on first use. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The new &lt;/del&gt;peer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is recorded in &lt;/del&gt;&amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in the shared database, &lt;/del&gt;and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;every peer reads it from there. The &lt;/del&gt;new &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;machine&#039;s SQL login for the shared database is made by the owner with the admin connection (kept only &lt;/del&gt;on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the owner&#039;s &lt;/del&gt;own machine&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;), because a peer must not be able to create logins&lt;/del&gt;.&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;* &amp;lt;strong&amp;gt;Admission &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in one click: Tailscale SSH, then a nonce and whois&amp;lt;/strong&amp;gt; (owner-approved revision, 2026-12-02, M.ORCH-T2560; it replaces the typed &lt;/ins&gt;one-time code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;). The new machine&#039;s &amp;lt;code&amp;gt;setup-node&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ps1&lt;/ins&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;makes the machine&#039;s own SQL login, &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mesh_&amp;amp;lt;machine&amp;gt;&lt;/ins&gt;&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the database box through &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tailscale ssh root@&lt;/ins&gt;&amp;amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;box&amp;gt;&amp;lt;/code&lt;/ins&gt;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Tailscale SSH&#039;s browser check is the owner&#039;s authorization&lt;/ins&gt;; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the box&#039;s admin password never leaves the box, and the new login&#039;s random password stays only on that machine (&amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/&lt;/ins&gt;code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &amp;lt;code&amp;gt;%APPDATA%\MindAttic\MindAttic.Tickets\database.json&lt;/ins&gt;&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;). With that login &lt;/ins&gt;the machine &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;writes its own &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row: its &lt;/ins&gt;Tailscale &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;x gateway URL, &lt;/ins&gt;gateway &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;certificate pin, protocol version and last seen, plus a fresh join nonce. It then calls each member&lt;/ins&gt;&#039;s &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gateway mesh-join endpoint. The member accepts only when (a) Tailscale &lt;/ins&gt;whois &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;says &lt;/ins&gt;the caller is a node &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of &lt;/ins&gt;the same Tailscale user as itself and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(b) the nonce presented matches the one in the caller&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row, which only &lt;/ins&gt;that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;machine&#039;s own login could have written&lt;/ins&gt;. The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;member mints a peer key for the joiner (&amp;lt;&lt;/ins&gt;code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;TermPeerKeys.Mint&amp;lt;/code&amp;gt;) and &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;joiner mints one back. Pins come from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt;, each written by its own machine&lt;/ins&gt;, so neither side trusts on first use. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Each side stores the other as a gateway remote of kind &amp;lt;code&amp;gt;&lt;/ins&gt;peer&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;SealedPeerKey&amp;lt;/code&amp;gt;. Existing members check &lt;/ins&gt;&amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;periodically &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pair with &lt;/ins&gt;new &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rows &lt;/ins&gt;on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;their &lt;/ins&gt;own&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, so every Team Wall shows every &lt;/ins&gt;machine.&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;* &amp;lt;strong&amp;gt;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&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;* &amp;lt;strong&amp;gt;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;forgets &lt;/del&gt;its key, and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the owner drops &lt;/del&gt;its SQL login. A lost laptop is cut off without rotating the rig&#039;s owner key.&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;* &amp;lt;strong&amp;gt;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the peer&#039;s &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; row is deleted, every peer &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;revokes &lt;/ins&gt;its key, and its SQL login &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is dropped through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt; (or the command says how). A peer token carries the peer&#039;s name and every request checks it against the revocation list, so a revoked peer is cut off at once, not when its last 60-minute token runs out&lt;/ins&gt;. A lost laptop is cut off without rotating the rig&#039;s owner key.&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;* &amp;lt;strong&amp;gt;Claude logins stay per machine.&amp;lt;/strong&amp;gt; They remain DPAPI-sealed per Windows user per machine and signed in with &amp;lt;code&amp;gt;orchestrator login&amp;lt;/code&amp;gt; (docs/REMOTE_HOST.md:165). The mesh never moves credentials. M.ORCH-T2562 confirms this. Every Team Premium seat and the Ultra login are signed in on every machine, each by the owner by hand the first time on that machine (see the owner decisions at the end).&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;Claude logins stay per machine.&amp;lt;/strong&amp;gt; They remain DPAPI-sealed per Windows user per machine and signed in with &amp;lt;code&amp;gt;orchestrator login&amp;lt;/code&amp;gt; (docs/REMOTE_HOST.md:165). The mesh never moves credentials. M.ORCH-T2562 confirms this. Every Team Premium seat and the Ultra login are signed in on every machine, each by the owner by hand the first time on that machine (see the owner decisions at the end).&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l313&quot;&gt;Line 313:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 313:&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;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&amp;#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &amp;quot;this ticket moved to LAPTOP; commit or drop your work&amp;quot;.&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;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&amp;#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &amp;quot;this ticket moved to LAPTOP; commit or drop your work&amp;quot;.&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;* &amp;lt;strong&amp;gt;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. In a mesh the daemon&amp;#039;s &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt; sync takes the repo&amp;#039;s &amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease first (&amp;lt;code&amp;gt;MeshLeases.TakeDumpCommit&amp;lt;/code&amp;gt;, a &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row keyed &amp;lt;code&amp;gt;DUMP_COMMIT:&amp;amp;lt;repo&amp;gt;&amp;lt;/code&amp;gt; that the lease pass leaves alone) and releases it after the push; refused or unreachable, it stages nothing and tries again next interval. Not yet done: the committed file and dump holding the shared tables only, and &amp;lt;code&amp;gt;tickets db sync&amp;lt;/code&amp;gt; taking the same lease.&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;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. In a mesh the daemon&amp;#039;s &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt; sync takes the repo&amp;#039;s &amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease first (&amp;lt;code&amp;gt;MeshLeases.TakeDumpCommit&amp;lt;/code&amp;gt;, a &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row keyed &amp;lt;code&amp;gt;DUMP_COMMIT:&amp;amp;lt;repo&amp;gt;&amp;lt;/code&amp;gt; that the lease pass leaves alone) and releases it after the push; refused or unreachable, it stages nothing and tries again next interval. Not yet done: the committed file and dump holding the shared tables only, and &amp;lt;code&amp;gt;tickets db sync&amp;lt;/code&amp;gt; taking the same lease.&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;One-click node setup (M.ORCH-T2559, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;setup-node.ps1&amp;lt;/code&amp;gt; (double-click &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt;, or the &amp;lt;code&amp;gt;irm .../setup-node.ps1 &amp;amp;#124; iex&amp;lt;/code&amp;gt; line in docs/REMOTE_HOST.md) checks Tailscale, installs the tools, maps D: and R: (&amp;lt;code&amp;gt;setup-common.ps1&amp;lt;/code&amp;gt;, shared with &amp;lt;code&amp;gt;setup-host.ps1&amp;lt;/code&amp;gt;), clones the workspace through &amp;lt;code&amp;gt;clone-repo.ps1&amp;lt;/code&amp;gt;, makes the machine&#039;s SQL login through &amp;lt;code&amp;gt;tailscale ssh&amp;lt;/code&amp;gt;, deploys Tickets, Orchestrator and Launcher, installs the hooks and turns the gateway on bound to the Tailscale address; the gateway adds loopback itself. Not yet done: the mesh-join endpoint and key exchange (T2560), peers pairing from &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; (T2561), the login-per-machine view (T2562).&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;Cluster-wide pacing (M.ORCH-T2570, M.ORCH-T2571, M.ORCH-T2572).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshBurn.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_burn&amp;lt;/code&amp;gt; and, on a background pass started from the pace tick, publishes this machine&#039;s row per login (newest meter reading, tokens per minute, running subagents, demand = subagents plus active CLIs) and reads every machine&#039;s rows on the database clock. &amp;lt;code&amp;gt;Mesh/MeshPace.cs&amp;lt;/code&amp;gt; is the pure math: rows older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; (default 120) are ignored, the newest reading from any machine is merged into the login&#039;s reading, &amp;lt;code&amp;gt;Pacer&amp;lt;/code&amp;gt; runs on the summed subagents, and the allowance is split by demand with largest remainders, ties by machine id. Each peer writes its own share to &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt;. With this machine&#039;s read older than &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; it paces alone: allowance divided by the machines last seen on the login, stopped &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; (default 3) points below each cutoff (only the weekly one for Ultra). The usage report&#039;s notes carry each login&#039;s cluster total and every machine&#039;s share. No mesh config: nothing changes.&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;== Owner decisions (2026-12-02) ==&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;== Owner decisions (2026-12-02) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 01:01:59 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/REMOTE HOST</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/REMOTE_HOST&amp;diff=2770&amp;oldid=2755</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/REMOTE_HOST&amp;diff=2770&amp;oldid=2755</guid>
			<description>&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 00:57, 3 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-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;| never&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;| never&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 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;== Adding a full machine to the mesh: one click ==&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;&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;To add a machine that runs its own CLIs (not a viewer), use the mesh instead (docs/MESH_ARCHITECTURE.md, M.ORCH-T2559). On the new Windows 11 PC, install Tailscale and sign it in on your account, then either double-click &amp;lt;code&amp;gt;Setup-Node.cmd&amp;lt;/code&amp;gt; in a copy of this repo, or paste into PowerShell:&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;&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;pre class=&quot;md-code lang-powershell&quot;&amp;gt;irm https&amp;amp;#58;//raw.githubusercontent.com/mindattic/MindAttic.Orchestrator/main/setup-node.ps1 &amp;amp;#124; iex&amp;lt;/pre&amp;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;&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;It asks for one UAC prompt, your GitHub sign-in and Tailscale SSH&#039;s browser check (which approves the machine&#039;s own SQL login on the shared database box), and does the rest. Last, sign each Claude login in on that machine by hand. Running it again repairs a half-finished node, and running it on a machine that already has everything changes nothing there.&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;== Moving to a VM: three steps ==&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;== Moving to a VM: three steps ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:57:06 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/REMOTE_HOST</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2769&amp;oldid=2766</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2769&amp;oldid=2766</guid>
			<description>&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 00:57, 3 December 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-multi&quot; lang=&quot;en&quot;&gt;(One intermediate revision by the same user not shown)&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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T00:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;45&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;33Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T00:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;55&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;34Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:57:06 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2767&amp;oldid=2765</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2767&amp;oldid=2765</guid>
			<description>&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 00:52, 3 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-l309&quot;&gt;Line 309:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 309:&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;Membership record (M.ORCH-T2563, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshConfig.cs&amp;lt;/code&amp;gt; reads this machine&amp;#039;s mesh connection and name from &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the connection). No file means a mesh of one: every claim path behaves exactly as before. &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; gets one row per machine (protocol, build, last seen) from the daemon&amp;#039;s lease tick. Not yet done: moving the organization tables (&amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt;) to the shared connection, which needs the Orchestrator store to open those three tables on a second connection.&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;Membership record (M.ORCH-T2563, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshConfig.cs&amp;lt;/code&amp;gt; reads this machine&amp;#039;s mesh connection and name from &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the connection). No file means a mesh of one: every claim path behaves exactly as before. &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; gets one row per machine (protocol, build, last seen) from the daemon&amp;#039;s lease tick. Not yet done: moving the organization tables (&amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt;) to the shared connection, which needs the Orchestrator store to open those three tables on a second connection.&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;* &amp;lt;strong&amp;gt;Claim leases (M.ORCH-T2565).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshClaims.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_state&amp;lt;/code&amp;gt; in the MindAttic.Mesh database and grants, renews, releases and fences claims with the statements in f, on the database clock. &amp;lt;code&amp;gt;orchestrator next --claim&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;orchestrator claim&amp;lt;/code&amp;gt; record the local claim first (under the assignments lock, which settles CLIs on one machine), then ask the mesh; refused there, or with the database unreachable, the local claim is undone and the ticket isn&#039;t handed out. The daemon (&amp;lt;code&amp;gt;MeshLeases.Keeper&amp;lt;/code&amp;gt;) renews every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt;, releases rows no local claim stands behind, claims local claims made on paths that don&#039;t ask the mesh, and sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; after an outage once its own claims are renewed. &amp;lt;code&amp;gt;MeshClaims.MayClose&amp;lt;/code&amp;gt; is the fenced close check. Not yet done: the close itself in the Tickets CLI running in one cross-database transaction with that check&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and &lt;/del&gt;the commit gate (mindattic-agent-standard &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;commit&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gate&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;py&lt;/del&gt;&amp;lt;/code&amp;gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which reads &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ticket_work&lt;/del&gt;&amp;lt;/code&amp;gt;) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;asking &lt;/del&gt;&amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt;.&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;* &amp;lt;strong&amp;gt;Claim leases (M.ORCH-T2565).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshClaims.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_state&amp;lt;/code&amp;gt; in the MindAttic.Mesh database and grants, renews, releases and fences claims with the statements in f, on the database clock. &amp;lt;code&amp;gt;orchestrator next --claim&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;orchestrator claim&amp;lt;/code&amp;gt; record the local claim first (under the assignments lock, which settles CLIs on one machine), then ask the mesh; refused there, or with the database unreachable, the local claim is undone and the ticket isn&#039;t handed out. The daemon (&amp;lt;code&amp;gt;MeshLeases.Keeper&amp;lt;/code&amp;gt;) renews every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt;, releases rows no local claim stands behind, claims local claims made on paths that don&#039;t ask the mesh, and sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; after an outage once its own claims are renewed. &amp;lt;code&amp;gt;MeshClaims.MayClose&amp;lt;/code&amp;gt; is the fenced close check. Not yet done: the close itself in the Tickets CLI running in one cross-database transaction with that check&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;Commit gate asks &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mesh (M.ORCH-T2585).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;&lt;/ins&gt;commit&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/ins&gt;gate&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.py&amp;lt;/code&amp;gt;&#039;s close check &lt;/ins&gt;(mindattic-agent-standard&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, wired by &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;install&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hooks&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ps1&lt;/ins&gt;&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;when this machine has a mesh config, runs &amp;lt;code&amp;gt;orchestrator may-close &amp;amp;lt;ID&amp;gt; --session &amp;amp;lt;sid&amp;gt;&amp;lt;/code&amp;gt; (&lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MeshClaims.CloseRefusal&lt;/ins&gt;&amp;lt;/code&amp;gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: exit 2 refuses the close while another machine, or another CLI here (a different session), holds the ticket&#039;s &lt;/ins&gt;&amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;row. Unreachable, timed out (&amp;lt;code&amp;gt;MINDATTIC_MESH_CHECK_SECS&amp;lt;/code&amp;gt;, default 15) or an older &amp;lt;code&amp;gt;orchestrator&amp;lt;/code&amp;gt; without the command: the close is allowed and a warning goes to &amp;lt;code&amp;gt;mesh-close.log&amp;lt;/code&amp;gt; in the gate&#039;s state dir. A mesh of one never calls it&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;* &amp;lt;strong&amp;gt;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&amp;#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &amp;quot;this ticket moved to LAPTOP; commit or drop your work&amp;quot;.&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;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&amp;#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&amp;#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &amp;quot;this ticket moved to LAPTOP; commit or drop your work&amp;quot;.&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;* &amp;lt;strong&amp;gt;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;&amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is not built &lt;/del&gt;yet.&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;* &amp;lt;strong&amp;gt;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In a mesh the daemon&#039;s &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt; sync takes the repo&#039;s &lt;/ins&gt;&amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;first (&amp;lt;code&amp;gt;MeshLeases.TakeDumpCommit&amp;lt;/code&amp;gt;, a &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt; row keyed &amp;lt;code&amp;gt;DUMP_COMMIT:&amp;amp;lt;repo&amp;gt;&amp;lt;/code&amp;gt; that the lease pass leaves alone) and releases it after the push; refused or unreachable, it stages nothing and tries again next interval. Not &lt;/ins&gt;yet &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;done: the committed file and dump holding the shared tables only, and &amp;lt;code&amp;gt;tickets db sync&amp;lt;/code&amp;gt; taking the same lease&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;== Owner decisions (2026-12-02) ==&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;== Owner decisions (2026-12-02) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:52:03 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2766&amp;oldid=2763</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2766&amp;oldid=2763</guid>
			<description>&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 00:47, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T00:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;35&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;24Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T00:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;45&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;33Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:47:08 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2765&amp;oldid=2760</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2765&amp;oldid=2760</guid>
			<description>&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 00:47, 3 December 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-multi&quot; lang=&quot;en&quot;&gt;(One intermediate revision by the same user not shown)&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-l305&quot;&gt;Line 305:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 305:&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;M.ORCH-T2573 to M.ORCH-T2576.&amp;lt;/strong&amp;gt; Milestone 2. Milestone 1 relies on per-machine /allocate claiming from the shared database.&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;M.ORCH-T2573 to M.ORCH-T2576.&amp;lt;/strong&amp;gt; Milestone 2. Milestone 1 relies on per-machine /allocate claiming from the shared database.&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;* &amp;lt;strong&amp;gt;MAT-T530 &amp;quot;Add the laptop as a gateway remote&amp;quot;&amp;lt;/strong&amp;gt; (Agency). Superseded by M.ORCH-T2560, which does the same with a renewing peer key. Its status is unchanged by this revision.&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;MAT-T530 &amp;quot;Add the laptop as a gateway remote&amp;quot;&amp;lt;/strong&amp;gt; (Agency). Superseded by M.ORCH-T2560, which does the same with a renewing peer key. Its status is unchanged by this revision.&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;== Built so far ==&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;&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;Membership record (M.ORCH-T2563, part).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshConfig.cs&amp;lt;/code&amp;gt; reads this machine&#039;s mesh connection and name from &amp;lt;code&amp;gt;%APPDATA%\MindAttic\Mesh\database.json&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;SqlServer&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Machine&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;MINDATTIC_MESH_SQLSERVER&amp;lt;/code&amp;gt; overrides the connection). No file means a mesh of one: every claim path behaves exactly as before. &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; gets one row per machine (protocol, build, last seen) from the daemon&#039;s lease tick. Not yet done: moving the organization tables (&amp;lt;code&amp;gt;members&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;organizations&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;org_members&amp;lt;/code&amp;gt;) to the shared connection, which needs the Orchestrator store to open those three tables on a second connection.&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;Claim leases (M.ORCH-T2565).&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;Mesh/MeshClaims.cs&amp;lt;/code&amp;gt; creates &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mesh_members&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mesh_state&amp;lt;/code&amp;gt; in the MindAttic.Mesh database and grants, renews, releases and fences claims with the statements in f, on the database clock. &amp;lt;code&amp;gt;orchestrator next --claim&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;orchestrator claim&amp;lt;/code&amp;gt; record the local claim first (under the assignments lock, which settles CLIs on one machine), then ask the mesh; refused there, or with the database unreachable, the local claim is undone and the ticket isn&#039;t handed out. The daemon (&amp;lt;code&amp;gt;MeshLeases.Keeper&amp;lt;/code&amp;gt;) renews every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt;, releases rows no local claim stands behind, claims local claims made on paths that don&#039;t ask the mesh, and sets &amp;lt;code&amp;gt;recovered_at&amp;lt;/code&amp;gt; after an outage once its own claims are renewed. &amp;lt;code&amp;gt;MeshClaims.MayClose&amp;lt;/code&amp;gt; is the fenced close check. Not yet done: the close itself in the Tickets CLI running in one cross-database transaction with that check, and the commit gate (mindattic-agent-standard &amp;lt;code&amp;gt;commit-gate.py&amp;lt;/code&amp;gt;, which reads &amp;lt;code&amp;gt;ticket_work&amp;lt;/code&amp;gt;) asking &amp;lt;code&amp;gt;mesh_claims&amp;lt;/code&amp;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;Off the tick, and the moved-ticket message (M.ORCH-T2581, part).&amp;lt;/strong&amp;gt; The daemon&#039;s lease pass runs on a background task: the tick only starts a pass when one is due and none is running, and logs what finished passes left, so an unreachable shared database never stalls the tick. Every mesh connection waits at most &amp;lt;code&amp;gt;MeshConnectTimeoutSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 5) to connect. When a local claim&#039;s ticket is held by another machine, the claiming CLI is told in its session, once per grant, through the same nudge file the other daemon messages use (&amp;lt;code&amp;gt;nudge-&amp;amp;lt;pid&amp;gt;-mesh-moved.txt&amp;lt;/code&amp;gt;): &quot;this ticket moved to LAPTOP; commit or drop your work&quot;.&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;Pull before work (M.ORCH-T2569, part).&amp;lt;/strong&amp;gt; Every ticket handed out by &amp;lt;code&amp;gt;next --claim&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;claim&amp;lt;/code&amp;gt; has its checkout brought up to date first (&amp;lt;code&amp;gt;MeshLeases.SyncCheckout&amp;lt;/code&amp;gt;): fetch, fast-forward, or on a clean tree with local commits a merge (aborted on conflict). Uncommitted work is never touched. The &amp;lt;code&amp;gt;dump_commit&amp;lt;/code&amp;gt; lease is not built yet.&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;== Owner decisions (2026-12-02) ==&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;== Owner decisions (2026-12-02) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:47:07 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2763&amp;oldid=2761</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2763&amp;oldid=2761</guid>
			<description>&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 00:37, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T00:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;32Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-03T00:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;35&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;24Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:37:05 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator&amp;diff=2762&amp;oldid=2759</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator&amp;diff=2762&amp;oldid=2759</guid>
			<description>&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 00:17, 3 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-l1161&quot;&gt;Line 1,161:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1,161:&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;* [[MindAttic.Orchestrator/FEATURES|Features reference (M.ORCH-T2150)]] — Commands and options below are as src\MindAttic.Orchestrator.Cli\Program.cs registers them. orchestrator &amp;amp;lt;command&amp;gt; --help always prints…&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;* [[MindAttic.Orchestrator/FEATURES|Features reference (M.ORCH-T2150)]] — Commands and options below are as src\MindAttic.Orchestrator.Cli\Program.cs registers them. orchestrator &amp;amp;lt;command&amp;gt; --help always prints…&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;* [[MindAttic.Orchestrator/HEALTH|Health checks: probe contract and reuse choices (M.ORCH-T2019)]] — Part of the health dashboard epic (M.ORCH-T1935) and its contract story (M.ORCH-T2013). This is the design the probes (M.ORCH-T2014…&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;* [[MindAttic.Orchestrator/HEALTH|Health checks: probe contract and reuse choices (M.ORCH-T2019)]] — Part of the health dashboard epic (M.ORCH-T1935) and its contract story (M.ORCH-T2013). This is the design the probes (M.ORCH-T2014…&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;* [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture: every machine a peer]] — Design record for epic M.ORCH-T2540, written under M.ORCH-T2543 (2026-12-02)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. The &lt;/del&gt;owner &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;signs it off by approving the code tickets under…&lt;/del&gt;&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;* [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture: every machine a peer]] — Design record for epic M.ORCH-T2540, written under M.ORCH-T2543 (2026-12-02) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and revised the same day with the &lt;/ins&gt;owner&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s answers…&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;* [[MindAttic.Orchestrator/ORCHESTRATION|How orchestration works]] — MindAttic.Orchestrator keeps Claude agents working around the clock on the workspace&amp;#039;s tickets, and spends each 5-hour usage window almost…&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;* [[MindAttic.Orchestrator/ORCHESTRATION|How orchestration works]] — MindAttic.Orchestrator keeps Claude agents working around the clock on the workspace&amp;#039;s tickets, and spends each 5-hour usage window almost…&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;* [[MindAttic.Orchestrator/RELEASE|MindAttic.Orchestrator — Release charter]] — A Windows daemon, WPF dashboard and CLI that keeps Claude agents working the workspace&amp;#039;s tickets around the clock (/allocate) and spends…&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;* [[MindAttic.Orchestrator/RELEASE|MindAttic.Orchestrator — Release charter]] — A Windows daemon, WPF dashboard and CLI that keeps Claude agents working the workspace&amp;#039;s tickets around the clock (/allocate) and spends…&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:17:21 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2761&amp;oldid=2757</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=Main_Page&amp;diff=2761&amp;oldid=2757</guid>
			<description>&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 00:17, 3 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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;Start at the source.&amp;lt;/strong&amp;gt; [[MindAttic.Docs/source/ECOSYSTEM|The ecosystem]] is the one vision every repo flows from; [[MindAttic.Docs/source/WATERFALL|the waterfall]] is every open story and task, in build order.&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;02T23&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;05&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;29Z&lt;/del&gt;&amp;lt;/em&amp;gt;&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;&amp;lt;em&amp;gt;Last reviewed: 2026-12-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03T00&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;32Z&lt;/ins&gt;&amp;lt;/em&amp;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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&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;Rebuilt automatically (minutes after any repo&amp;#039;s docs change, daily in full, and on demand) by &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; straight from each repo&amp;#039;s own docs, with a mandatory secret scan on every file before anything is written here. Private repos are intentionally excluded — workspace policy is that a private repo never gets a public docs site. This page is generated: edit &amp;lt;code&amp;gt;tools/build-hub.ps1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;docs/PORTFOLIO.md&amp;lt;/code&amp;gt; in the main workspace repo, not this file directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:17:20 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:Main_Page</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2760&amp;oldid=2758</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2760&amp;oldid=2758</guid>
			<description>&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;a href=&quot;https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;amp;diff=2760&amp;amp;oldid=2758&quot;&gt;Show changes&lt;/a&gt;</description>
			<pubDate>Thu, 03 Dec 2026 00:17:20 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator&amp;diff=2759&amp;oldid=1932</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator&amp;diff=2759&amp;oldid=1932</guid>
			<description>&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 23:07, 2 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-l1161&quot;&gt;Line 1,161:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1,161:&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;* [[MindAttic.Orchestrator/FEATURES|Features reference (M.ORCH-T2150)]] — Commands and options below are as src\MindAttic.Orchestrator.Cli\Program.cs registers them. orchestrator &amp;amp;lt;command&amp;gt; --help always prints…&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;* [[MindAttic.Orchestrator/FEATURES|Features reference (M.ORCH-T2150)]] — Commands and options below are as src\MindAttic.Orchestrator.Cli\Program.cs registers them. orchestrator &amp;amp;lt;command&amp;gt; --help always prints…&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;* [[MindAttic.Orchestrator/HEALTH|Health checks: probe contract and reuse choices (M.ORCH-T2019)]] — Part of the health dashboard epic (M.ORCH-T1935) and its contract story (M.ORCH-T2013). This is the design the probes (M.ORCH-T2014…&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;* [[MindAttic.Orchestrator/HEALTH|Health checks: probe contract and reuse choices (M.ORCH-T2019)]] — Part of the health dashboard epic (M.ORCH-T1935) and its contract story (M.ORCH-T2013). This is the design the probes (M.ORCH-T2014…&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;* [[MindAttic.Orchestrator/MESH_ARCHITECTURE|Mesh architecture: every machine a peer]] — Design record for epic M.ORCH-T2540, written under M.ORCH-T2543 (2026-12-02). The owner signs it off by approving the code tickets under…&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;* [[MindAttic.Orchestrator/ORCHESTRATION|How orchestration works]] — MindAttic.Orchestrator keeps Claude agents working around the clock on the workspace&amp;#039;s tickets, and spends each 5-hour usage window almost…&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;* [[MindAttic.Orchestrator/ORCHESTRATION|How orchestration works]] — MindAttic.Orchestrator keeps Claude agents working around the clock on the workspace&amp;#039;s tickets, and spends each 5-hour usage window almost…&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;* [[MindAttic.Orchestrator/RELEASE|MindAttic.Orchestrator — Release charter]] — A Windows daemon, WPF dashboard and CLI that keeps Claude agents working the workspace&amp;#039;s tickets around the clock (/allocate) and spends…&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;* [[MindAttic.Orchestrator/RELEASE|MindAttic.Orchestrator — Release charter]] — A Windows daemon, WPF dashboard and CLI that keeps Claude agents working the workspace&amp;#039;s tickets around the clock (/allocate) and spends…&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 02 Dec 2026 23:07:09 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator</comments>
		</item>
		<item>
			<title>MindAttic.Orchestrator/MESH ARCHITECTURE</title>
			<link>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2758&amp;oldid=0</link>
			<guid isPermaLink="false">https://mindattic.com/wiki/docs/index.php?title=MindAttic.Orchestrator/MESH_ARCHITECTURE&amp;diff=2758&amp;oldid=0</guid>
			<description>&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;= Mesh architecture: every machine a peer =&lt;br /&gt;
&lt;br /&gt;
Design record for epic &amp;lt;strong&amp;gt;M.ORCH-T2540&amp;lt;/strong&amp;gt;, written under M.ORCH-T2543 (2026-12-02). The owner signs it off by approving the code tickets under M.ORCH-T2540. Nothing here is built until then.&lt;br /&gt;
&lt;br /&gt;
== Summary: every decision on one screen ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;Every machine is a full Orchestrator.&amp;lt;/strong&amp;gt; Each runs its own daemon, CLIs, gateway and dashboard, and can always work on its own. Joining the mesh adds abilities and takes none away. The rig never gives up anything.&lt;br /&gt;
# &amp;lt;strong&amp;gt;One machine is the authority.&amp;lt;/strong&amp;gt; It is the only writer of tickets, claims, cluster pacing and (later) placement. The first machine in the mesh is the authority, which means the rig. Every other machine is a worker and a viewer and asks the authority through the gateway. Nothing is shared between machines by copying databases.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Claims are leases.&amp;lt;/strong&amp;gt; The authority grants a ticket to exactly one (machine, CLI) with a lease that the claimant&amp;#039;s daemon keeps renewing. If the lease lapses, the ticket comes back only after a grace period. Every close carries the lease&amp;#039;s generation number, so a stale holder can never close or re-claim over a newer one.&lt;br /&gt;
# &amp;lt;strong&amp;gt;No automatic failover with two machines.&amp;lt;/strong&amp;gt; Two machines cannot hold a majority vote, so automatic failover would risk both of them acting as the authority at once. If the rig is gone, the laptop keeps its running CLIs and hand-driven work but takes no new claims. The owner can move the authority with one fenced command. Automatic failover arrives only once three or more machines can vote.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Peers trust each other through a peer key, not the owner key.&amp;lt;/strong&amp;gt; Each peer gets its own revocable key. The gateway seals it and uses it to mint renewing tokens, the same way &amp;lt;code&amp;gt;machine connect&amp;lt;/code&amp;gt; handles the owner key today, so the link never lapses.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Joining takes a one-time code.&amp;lt;/strong&amp;gt; An existing peer shows a short code (&amp;lt;code&amp;gt;orchestrator mesh invite&amp;lt;/code&amp;gt;). The new machine runs &amp;lt;code&amp;gt;orchestrator mesh join &amp;amp;lt;peer&amp;gt; &amp;amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;. The gateway also checks through Tailscale whois that the caller belongs to the owner&amp;#039;s Tailscale user. Being on the tailnet is not enough to join.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Interact works everywhere, and one machine holds the keyboard.&amp;lt;/strong&amp;gt; Every wall surface (tile, phone card, pop-out) can type. Whoever typed last holds the keyboard. Another machine takes it once the holder has been idle for a short gap, or at once with &amp;quot;Take keyboard&amp;quot;. Every viewer sees who is typing. The owner&amp;#039;s own machines need no consent prompts. Member consent rules are unchanged.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Pacing is per login across the whole cluster.&amp;lt;/strong&amp;gt; Each machine publishes each login&amp;#039;s burn and running subagents to the authority. The authority computes one pace per login and splits the subagent allowance between the machines using that login. A machine that cannot reach the authority falls back to a stricter local pace. No login passes its 5-hour or weekly cutoff, wherever its CLIs run.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Placement, the end state, scores (machine × signed-in login) pairs.&amp;lt;/strong&amp;gt; The score weighs login headroom (unused window that would otherwise expire is spent first), the machine&amp;#039;s free RAM against one CLI&amp;#039;s footprint, and repo readiness. The authority places work until every login reaches its cutoffs, and never past them. Milestone 1 does not build this: each machine&amp;#039;s own /allocate draws from the authority, and pacing caps it.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Git stays the arbiter for code.&amp;lt;/strong&amp;gt; Each machine has its own checkouts on main and pushes with fetch, merge, push. The commit gate stays per checkout. Exactly-once claims keep two machines off one ticket. Only the authority commits &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt;.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Version skew is guarded.&amp;lt;/strong&amp;gt; The mesh protocol carries a version number. A peer on another protocol version can still watch and type, but cannot claim or pace until it is updated, and every dashboard says so.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Migration is opt-in and leaves the old roles alone.&amp;lt;/strong&amp;gt; Standalone acts as a mesh of one. The host and client roles and &amp;lt;code&amp;gt;machine connect&amp;lt;/code&amp;gt; keep working for the VM case. Mesh peers appear as gateway remotes, so the Team Wall merges them without new plumbing.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Milestone 1 is rig plus laptop working completely&amp;lt;/strong&amp;gt; (definition in the Build plan). Failover and the placement scorer come in milestone 2.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== a. Topology and authority ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision.&amp;lt;/strong&amp;gt; The mesh has one &amp;lt;strong&amp;gt;authority&amp;lt;/strong&amp;gt; and N &amp;lt;strong&amp;gt;peers&amp;lt;/strong&amp;gt;. Every machine, the authority included, is a worker (runs CLIs) and a viewer (a dashboard showing every machine&amp;#039;s CLIs). The authority is the single writer of:&lt;br /&gt;
&lt;br /&gt;
* the ticket database (MindAttic.Tickets) and the Orchestrator&amp;#039;s store of record (MindAttic.Orchestrator). Both are on the rig&amp;#039;s full SQL Server instance today (docs/DATA_STORES.md:9, :32);&lt;br /&gt;
* &amp;lt;strong&amp;gt;claims&amp;lt;/strong&amp;gt; (assignments): today &amp;lt;code&amp;gt;NamedClaim.Claim&amp;lt;/code&amp;gt; does its check and write as one step under the local assignments lock (src/MindAttic.Orchestrator.Core/Scheduling/NamedClaim.cs:24-28). In the mesh that one step runs on the authority, behind a gateway endpoint;&lt;br /&gt;
* the membership record (who is in the mesh, their pins and key fingerprints, the authority&amp;#039;s epoch);&lt;br /&gt;
* cluster pacing (d) and placement (e).&lt;br /&gt;
&lt;br /&gt;
Each peer keeps writing its own machine-local state, just as it does today: its CLIs, TermHost sessions, &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt; per Claude home (src/MindAttic.Orchestrator.Core/Sessions/AccountDirs.cs:25) and &amp;lt;code&amp;gt;machine.json&amp;lt;/code&amp;gt;. Peers reach the authority only through the gateway. The &amp;lt;code&amp;gt;/tickets&amp;lt;/code&amp;gt; endpoint already runs the tickets CLI on the machine that &amp;quot;owns the ticket database&amp;quot; for the owner&amp;#039;s own client (src/MindAttic.Orchestrator.Gateway/GatewayApp.cs:209-224). The mesh widens that to peer keys and adds claim, lease, pacing and membership endpoints next to it.&lt;br /&gt;
&lt;br /&gt;
The founder of a mesh, the machine where the first &amp;lt;code&amp;gt;mesh invite&amp;lt;/code&amp;gt; runs, becomes the authority at epoch 1. For milestone 1 that is the rig.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; The codebase already has single-writer semantics: the host role &amp;quot;is the one writer&amp;quot; and the client &amp;quot;never&amp;quot; writes the committed databases (docs/REMOTE_HOST.md:12-16). The claim check-and-write is already atomic under one lock. Moving that lock to one machine keeps every existing guarantee and reuses an endpoint shape (&amp;lt;code&amp;gt;/tickets&amp;lt;/code&amp;gt;) that is already authenticated and audited. Exactly-once claims then follow from one serialised writer, which is the simplest thing that can be proven correct.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;Fully peer-to-peer with distributed locks.&amp;lt;/em&amp;gt; Each claim would need consensus across machines that sleep and roam. Two-node lock protocols cannot tell &amp;quot;peer asleep&amp;quot; from &amp;quot;network split&amp;quot;, so they either block or double-claim. Raft or Paxos inside the Orchestrator is a large, permanent cost for a mesh of two to four machines.&lt;br /&gt;
* &amp;lt;em&amp;gt;Each machine claims locally and syncs databases.&amp;lt;/em&amp;gt; Two machines would claim one ticket during the sync gap, and merging two SQL stores is a problem class of its own. This is the bug the epic exists to prevent.&lt;br /&gt;
* &amp;lt;em&amp;gt;SQL Server opened to the tailnet so peers write it directly.&amp;lt;/em&amp;gt; Peers could then claim without the one lock, and a database port would be exposed. It also ties every peer to SQL Server, which blocks a future Linux peer (M.ORCH-T2538).&lt;br /&gt;
* &amp;lt;em&amp;gt;Keep host/client.&amp;lt;/em&amp;gt; It turns the second machine into a viewer and stops its daemon (src/MindAttic.Orchestrator.Core/Setup/MachineSetup.cs:56-63, :453), which is the opposite of the goal.&lt;br /&gt;
&lt;br /&gt;
== b. Identity, trust and auth over Tailscale ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;A peer key of its own.&amp;lt;/strong&amp;gt; At admission each side mints a random peer key for the other. The receiving machine stores it sealed for its Windows user, as &amp;lt;code&amp;gt;GatewayRemote.SealedOwnerKey&amp;lt;/code&amp;gt; is today (src/MindAttic.Orchestrator.Core/Settings/GatewayRemote.cs:34). &amp;lt;code&amp;gt;GatewayClient.MintIfDueAsync&amp;lt;/code&amp;gt; gains a third key kind next to the owner and member keys (src/MindAttic.Orchestrator.Core/Sessions/GatewayClient.cs:140-160). It mints a 60-minute interact token whenever fewer than 10 minutes remain, so the link renews itself and never lapses. A peer token&amp;#039;s subject is the owner, with scope &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;. That grants list, watch, interact and start-CLI on that machine, plus the mesh endpoints (claims, pacing, membership, ticket forwarding to the authority). It does not grant &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; (the host model&amp;#039;s work-branch queue, GatewayApp.cs:240) or the owner-key-only administration.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Admission by one-time code plus Tailscale identity.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh invite&amp;lt;/code&amp;gt; on any current peer prints a code: single use, 128 bits written as words, lasting 10 minutes (a Vault setting). &amp;lt;code&amp;gt;orchestrator mesh join &amp;amp;lt;peer&amp;gt; &amp;amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; on the new machine connects over Tailscale. The inviting gateway asks the local Tailscale daemon&amp;#039;s whois API who the caller is, and accepts only a node owned by the same Tailscale user as itself. Then both sides exchange certificate pins and peer keys over that channel. The code authenticates the pins, so neither side trusts on first use. The new peer is recorded with the authority and announced to every peer.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Gateway exposure.&amp;lt;/strong&amp;gt; On a mesh peer the gateway binds to the machine&amp;#039;s Tailscale 100.x address (plus loopback), never to every network. The default for non-mesh machines stays &amp;lt;code&amp;gt;127.0.0.1&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Settings/GatewaySettings.cs:14).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Revocation.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;orchestrator mesh remove &amp;amp;lt;peer&amp;gt;&amp;lt;/code&amp;gt; on any peer: the authority drops the peer and every peer forgets its key, so a lost laptop is cut off without rotating the rig&amp;#039;s owner key.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Claude logins stay per machine.&amp;lt;/strong&amp;gt; They remain DPAPI-sealed per Windows user per machine and signed in with &amp;lt;code&amp;gt;orchestrator login&amp;lt;/code&amp;gt; (docs/REMOTE_HOST.md:165). The mesh never moves credentials. M.ORCH-T2562 confirms this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; A 60-minute &amp;lt;code&amp;gt;--token&amp;lt;/code&amp;gt; remote (src/MindAttic.Orchestrator.Gateway/GatewayOptions.cs:31) would drop every link within an hour. The self-renewing pattern already exists and is proven for the owner and member keys. A key per peer makes revocation local and leaves the owner key&amp;#039;s power where it is.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;Share the owner key with peers.&amp;lt;/em&amp;gt; Copies of the owner key would live on every laptop. It unlocks &amp;lt;code&amp;gt;/tickets&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;/branches&amp;lt;/code&amp;gt; and admin on every machine, and revoking one lost machine would mean rotating it everywhere.&lt;br /&gt;
* &amp;lt;em&amp;gt;Tailnet membership alone.&amp;lt;/em&amp;gt; Anything ever added to the tailnet (a phone, a shared node, a compromised device) could drive CLIs that hold commit rights. That would be an open door.&lt;br /&gt;
* &amp;lt;em&amp;gt;An invite link or file.&amp;lt;/em&amp;gt; A link has to be carried between machines, usually over channels less private than the screen. A code read off one screen and typed into the other covers the same need.&lt;br /&gt;
* &amp;lt;em&amp;gt;Tailscale whois as the only check.&amp;lt;/em&amp;gt; Whois tells who owns a node, not that the owner meant to admit it. Used as a second factor it costs nothing.&lt;br /&gt;
&lt;br /&gt;
== c. Interact semantics ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Every surface can type.&amp;lt;/strong&amp;gt; The inline tile stream and the phone card stop being watch-only (src/MindAttic.Orchestrator.Wpf/TeamWallWindow.cs:191 connects with &amp;lt;code&amp;gt;watch: true&amp;lt;/code&amp;gt;, :427 pops out with &amp;lt;code&amp;gt;interact: false&amp;lt;/code&amp;gt;). Each opens with interact when the gateway lists the session with &amp;lt;code&amp;gt;access=interact&amp;lt;/code&amp;gt;, which every session does for a peer token.&lt;br /&gt;
* &amp;lt;strong&amp;gt;One keyboard per CLI.&amp;lt;/strong&amp;gt; TermHost tracks a keyboard holder per session. A viewer&amp;#039;s keystrokes are delivered when that viewer holds the keyboard, or when the holder has been idle for &amp;lt;code&amp;gt;InputHandoffSeconds&amp;lt;/code&amp;gt; (a Vault setting, default 2). The keyboard then passes to the new typist. Keystrokes from a non-holder inside that window are dropped. Every viewer&amp;#039;s frame shows &amp;quot;Typing: RIG&amp;quot; (the holder&amp;#039;s machine name). &amp;quot;Take keyboard&amp;quot; takes it at once, and the previous holder sees &amp;quot;Keyboard taken by LAPTOP&amp;quot;. Resize follows the keyboard holder.&lt;br /&gt;
* &amp;lt;strong&amp;gt;No consent between the owner&amp;#039;s own peers.&amp;lt;/strong&amp;gt; HubPolicy and TermHubPolicy govern org members&amp;#039; CLIs and Windows accounts on a host (src/MindAttic.Orchestrator.Core/Setup/HubPolicy.cs:8, src/MindAttic.Orchestrator.Term/TermHubPolicy.cs:5). A peer token&amp;#039;s subject is the owner, so those rules never fire for it. Member grants and consents work unchanged on every peer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; It is one person on several screens, so the hazard is interleaved keystrokes, not someone else typing. Last-typist-wins with an idle gap matches how the owner moves between machines, and nobody has to remember a &amp;quot;take control&amp;quot; step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;Free-for-all (every viewer&amp;#039;s input delivered).&amp;lt;/em&amp;gt; Two half-typed lines interleave into one prompt sent to an agent with commit rights.&lt;br /&gt;
* &amp;lt;em&amp;gt;A strict lock released by hand.&amp;lt;/em&amp;gt; The owner walks away from the rig and finds the laptop locked out.&lt;br /&gt;
* &amp;lt;em&amp;gt;Watch-only tiles plus pop-out to type.&amp;lt;/em&amp;gt; This is today&amp;#039;s behaviour, and the owner asked for the opposite.&lt;br /&gt;
&lt;br /&gt;
== d. Cluster-wide pacing ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;What is per machine today.&amp;lt;/strong&amp;gt; The &amp;lt;em&amp;gt;level&amp;lt;/em&amp;gt; of a window is already account-wide. &amp;lt;code&amp;gt;ClaudeMeterProbe&amp;lt;/code&amp;gt; asks Claude&amp;#039;s own usage endpoint, the one &amp;lt;code&amp;gt;/usage&amp;lt;/code&amp;gt; shows (src/MindAttic.Orchestrator.Core/Budget/ClaudeMeterProbe.cs, class summary), so spending on another machine shows up there. Three things are only local:&lt;br /&gt;
&lt;br /&gt;
* the burn rate estimated from this machine&amp;#039;s transcripts;&lt;br /&gt;
* the subagent allowance computed from this machine&amp;#039;s subagent marks (src/MindAttic.Orchestrator.Core/Budget/AccountPacer.cs:18-22);&lt;br /&gt;
* the time between meter readings.&lt;br /&gt;
&lt;br /&gt;
With one login on two machines, each machine grants the full allowance and predicts from half the burn. Their combined spend can run past the cutoff between readings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Every peer&amp;#039;s daemon publishes, for each login it runs, the newest meter reading with its timestamp, its tokens per minute and its running subagents. It does this on its existing pace tick, and it is M.ORCH-T2570.&lt;br /&gt;
* The authority computes one pace per login (M.ORCH-T2571) with the existing math: &amp;lt;code&amp;gt;Pacer&amp;lt;/code&amp;gt; and, for the Ultra login that has no 5-hour window, &amp;lt;code&amp;gt;Pacer.WeeklyPace&amp;lt;/code&amp;gt; (src/MindAttic.Orchestrator.Core/Budget/Pacer.cs:518, called at AccountPacer.cs:275). The inputs are the newest meter reading from any machine and the &amp;lt;strong&amp;gt;sum&amp;lt;/strong&amp;gt; of burn and subagents across machines. It then splits the subagent allowance between the machines running that login, in proportion to their demand, and returns each machine its share.&lt;br /&gt;
* Each peer writes its share into that login&amp;#039;s &amp;lt;code&amp;gt;rl-status.json&amp;lt;/code&amp;gt;, so the pace gates and hooks are unchanged.&lt;br /&gt;
* Cutoffs stay exactly as configured: 98% of the 5-hour window and 90% of the week by default, per member through &amp;lt;code&amp;gt;/org limit&amp;lt;/code&amp;gt;. They are enforced on the cluster sum.&lt;br /&gt;
* &amp;lt;strong&amp;gt;If the authority is unreachable&amp;lt;/strong&amp;gt;, a peer paces each login locally with the allowance divided by the number of machines last seen running that login, and stops new work at the cutoff minus &amp;lt;code&amp;gt;MeshOfflinePaceMarginPercent&amp;lt;/code&amp;gt; (a Vault setting, default 3 points). It does this until it has heard from the authority again within &amp;lt;code&amp;gt;MeshPaceStaleSeconds&amp;lt;/code&amp;gt; (a Vault setting).&lt;br /&gt;
* The dashboard&amp;#039;s usage shows each login&amp;#039;s cluster total and every machine&amp;#039;s share of it (M.ORCH-T2572).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; It reuses the pacer whole and changes only its inputs. Because the meter is already account-wide, the only new data is burn and subagent counts, which are small and summable. The offline fallback errs toward stopping early, never toward passing a cutoff.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;Each machine paces alone with a fixed split (for example 50/50).&amp;lt;/em&amp;gt; That wastes the window whenever one machine is idle.&lt;br /&gt;
* &amp;lt;em&amp;gt;Pin each login to one machine.&amp;lt;/em&amp;gt; That defeats &amp;quot;any CLI on any login on any machine&amp;quot;.&lt;br /&gt;
* &amp;lt;em&amp;gt;Each machine reads the meter more often.&amp;lt;/em&amp;gt; It narrows the overshoot but cannot close it. Burn between readings is still invisible to the other machine, and the endpoint is not built for hammering.&lt;br /&gt;
&lt;br /&gt;
== e. Placement and scheduling ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision (end state).&amp;lt;/strong&amp;gt; The authority places each approved, unclaimed ticket on the best &amp;lt;strong&amp;gt;(machine, login)&amp;lt;/strong&amp;gt; pair. Candidate pairs are the logins signed in on that machine. A pair is eligible only when:&lt;br /&gt;
&lt;br /&gt;
* the login&amp;#039;s cluster pace (d) allows new work,&lt;br /&gt;
* the machine&amp;#039;s free RAM, after the MemoryGuard&amp;#039;s own floor (src/MindAttic.Orchestrator.Core/Activity/MemoryGuard.cs:69), covers one more CLI tree at &amp;lt;code&amp;gt;CliFootprintGb&amp;lt;/code&amp;gt; (a Vault setting, default 1.3; measured at about 1.24 GB on 2026-11-17),&lt;br /&gt;
* the machine is on the current protocol version, and&lt;br /&gt;
* the machine has the repo&amp;#039;s checkout, or can clone it.&lt;br /&gt;
&lt;br /&gt;
Eligible pairs are scored, most important first:&lt;br /&gt;
&lt;br /&gt;
# login headroom that expires soonest. Unused 5-hour or weekly headroom that resets sooner is spent first (&amp;quot;use it or lose it&amp;quot;);&lt;br /&gt;
# machine RAM and CPU headroom;&lt;br /&gt;
# repo readiness, which prefers a machine already working in that repo&amp;#039;s checkout.&lt;br /&gt;
&lt;br /&gt;
The authority then tells the chosen machine to start the CLI on that login and claim the ticket (M.ORCH-T2573 to M.ORCH-T2575). It keeps placing until every login sits at its cutoffs or no machine has room (M.ORCH-T2576). Logins and limits disappear from the owner&amp;#039;s view. He approves tickets and the cluster spends what it has, never more.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Milestone 1 builds none of the scorer.&amp;lt;/strong&amp;gt; Each machine runs /allocate as today. Every claim goes through the authority, so it is exactly-once, and cluster pacing caps every login. That already makes the rig and the laptop &amp;quot;code tickets until thresholds&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; Placement needs claims, leases, cluster pacing and machine headroom to be right first. Building the scorer on milestone 1&amp;#039;s foundations puts every rule in one place, the authority.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;Work-stealing, where each machine grabs when free.&amp;lt;/em&amp;gt; That is milestone 1&amp;#039;s behaviour and it is correct, but it cannot prefer an expiring window or keep RAM-poor machines (the 16 GB laptop holds about 6 CLIs) from overcommitting.&lt;br /&gt;
* &amp;lt;em&amp;gt;A login pinned per machine.&amp;lt;/em&amp;gt; See d.&lt;br /&gt;
&lt;br /&gt;
== f. Failure modes ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Claim leases.&amp;lt;/strong&amp;gt; A claim carries machine, CLI, session, login and a &amp;lt;strong&amp;gt;lease generation&amp;lt;/strong&amp;gt;. The claimant&amp;#039;s daemon renews it every &amp;lt;code&amp;gt;ClaimLeaseMinutes / 3&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;ClaimLeaseMinutes&amp;lt;/code&amp;gt; is a Vault setting, default 10). When renewals stop, the claim becomes &amp;lt;strong&amp;gt;orphaned&amp;lt;/strong&amp;gt;, and every dashboard shows it as &amp;quot;LAPTOP unreachable since 14:02&amp;quot;. The ticket returns to the queue only after a further &amp;lt;code&amp;gt;ClaimOrphanGraceMinutes&amp;lt;/code&amp;gt; (a Vault setting, default 30). A sleeping laptop often still holds uncommitted work in its own checkout, and a short grace would double the work.&lt;br /&gt;
* &amp;lt;strong&amp;gt;The sleeper returns.&amp;lt;/strong&amp;gt; If its lease is still the newest generation, it renews and carries on. If the ticket was re-granted meanwhile, its daemon tells that CLI &amp;quot;this ticket moved to RIG; commit or drop your work&amp;quot;. Its close is refused, because a stale generation is fenced, and it can still push commits. Git sorts out any overlap at merge.&lt;br /&gt;
* &amp;lt;strong&amp;gt;A CLI dies mid-ticket.&amp;lt;/strong&amp;gt; Same as today (NamedClaim.cs, class summary): the claim is released when the CLI is gone. The difference is that the claimant&amp;#039;s daemon reports it to the authority.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Lost peer on every dashboard&amp;lt;/strong&amp;gt; (M.ORCH-T2567). Its tiles grey out, they are labelled with the last time it was seen, and they come back without a manual refresh.&lt;br /&gt;
* &amp;lt;strong&amp;gt;The authority goes down.&amp;lt;/strong&amp;gt; Peers keep every running CLI, keep interact among the reachable machines, keep committing and pushing, and pace on the offline fallback (d). They grant &amp;lt;strong&amp;gt;no new claims&amp;lt;/strong&amp;gt;. &amp;lt;code&amp;gt;tickets&amp;lt;/code&amp;gt; reads are served from a read-only snapshot. &amp;lt;code&amp;gt;orchestrator mesh take-authority&amp;lt;/code&amp;gt; on a surviving peer moves the authority. It needs the owner at that machine, it bumps the epoch, and a returning old authority sees the higher epoch and demotes itself, so two authorities can never both act. The new authority needs the store of record. In milestone 2 that means the ticket and Orchestrator databases restored from the old authority&amp;#039;s latest replica (M.ORCH-T2566). &amp;lt;strong&amp;gt;Automatic&amp;lt;/strong&amp;gt; failover is enabled only when three or more peers can vote, and then by majority.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Version skew&amp;lt;/strong&amp;gt; (M.ORCH-T2568). &amp;lt;code&amp;gt;/health&amp;lt;/code&amp;gt; already returns the build version (GatewayApp.cs:156). The mesh adds an integer protocol version. A peer on a different protocol keeps watch and interact but is refused claims, pacing and placement, and every dashboard shows &amp;quot;LAPTOP needs update&amp;quot;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Many machines on main&amp;lt;/strong&amp;gt; (M.ORCH-T2569). Each machine works in its own checkouts on main, with no branches and no worktrees. The commit gate stays per checkout (mindattic-agent-standard/shared/hooks/commit-gate.py, header): it guards agents sharing one checkout, and no checkout is shared across machines. Across machines, exactly-once claims keep two agents off one ticket, and the existing landing rule (fetch, merge, push, retry when rejected) handles different tickets in one repo. The gate&amp;#039;s &amp;quot;close only from the claim&amp;#039;s holder&amp;quot; check asks the authority instead of the local store. &amp;lt;code&amp;gt;data/orchestrator.db&amp;lt;/code&amp;gt;, which git carries between machines (docs/REMOTE_HOST.md:8-9), is committed only by the authority. Peers never stage it, so the binary file cannot conflict.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; Every failure falls back to doing less, never to doing something twice. With two machines, automatic election is not safe (see &amp;quot;No automatic failover&amp;quot; in the summary). An explicit, fenced handover is.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;A short lease with immediate requeue.&amp;lt;/em&amp;gt; Every laptop lid-close would start the ticket again on the rig.&lt;br /&gt;
* &amp;lt;em&amp;gt;Automatic failover between two machines.&amp;lt;/em&amp;gt; Split brain gives two authorities and double claims.&lt;br /&gt;
* &amp;lt;em&amp;gt;Peers claim locally while cut off and reconcile later.&amp;lt;/em&amp;gt; Reconciliation discovers the double claim only after both machines have done the work.&lt;br /&gt;
&lt;br /&gt;
== g. Migration ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The decision.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Standalone is a mesh of one.&amp;lt;/strong&amp;gt; Nothing changes on a machine until &amp;lt;code&amp;gt;mesh invite&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; runs there. The rig becomes the authority by founding the mesh. Its daemon, CLIs and dashboard keep running throughout, so it never loses local capability.&lt;br /&gt;
* &amp;lt;strong&amp;gt;The host and client roles stay as they are&amp;lt;/strong&amp;gt; (src/MindAttic.Orchestrator.Core/Setup/MachineRole.cs:7-18, MachineTopology.cs:39) for the remote-VM case in docs/REMOTE_HOST.md. A machine in the client role cannot join a mesh, because the client role stops its daemon. It must first go back to standalone. &amp;lt;code&amp;gt;MachineRole.HostRemoteName&amp;lt;/code&amp;gt; (MachineRole.cs:32, one host) is untouched. Mesh peers are a separate list.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Mesh peers are gateway remotes with kind &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;.&amp;lt;/strong&amp;gt; They are stored in &amp;lt;code&amp;gt;GatewaySettings.Remotes&amp;lt;/code&amp;gt; with a sealed peer key. &amp;lt;code&amp;gt;TeamWallWindow.RefreshAsync&amp;lt;/code&amp;gt; (TeamWallWindow.cs:209), which merges &amp;lt;code&amp;gt;LocalSource&amp;lt;/code&amp;gt; (:239) with every remote, shows them with no new plumbing. Existing &amp;lt;code&amp;gt;gateway remote add&amp;lt;/code&amp;gt; remotes keep working (M.ORCH-T936&amp;#039;s Team Wall).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Membership lives next to &amp;lt;code&amp;gt;machine.json&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt;, in a per-machine &amp;lt;code&amp;gt;mesh.json&amp;lt;/code&amp;gt; under &amp;lt;code&amp;gt;%LOCALAPPDATA%&amp;lt;/code&amp;gt;. It is never in &amp;lt;code&amp;gt;orchestrator.db&amp;lt;/code&amp;gt; (M.ORCH-T2563).&lt;br /&gt;
* &amp;lt;strong&amp;gt;The tickets CLI on a peer forwards to the authority&amp;lt;/strong&amp;gt; (M.ORCH-T2564), so agents keep typing &amp;lt;code&amp;gt;tickets ...&amp;lt;/code&amp;gt; unchanged.&lt;br /&gt;
* Once milestone 1 is accepted, docs/REMOTE_HOST.md gains a pointer here. The host and client roles are retired only by a later ticket, and only if the owner wants it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Why.&amp;lt;/strong&amp;gt; Nothing existing breaks: every new path is opt-in and additive, and reusing gateway remotes means the wall, TermViewer and RemoteViewer work unchanged.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Rejected alternatives.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;em&amp;gt;Build the mesh on &amp;lt;code&amp;gt;machine connect&amp;lt;/code&amp;gt;.&amp;lt;/em&amp;gt; It forces the client role and hands off the daemon (MachineSetup.cs:88-114).&lt;br /&gt;
* &amp;lt;em&amp;gt;Convert the rig to the host role.&amp;lt;/em&amp;gt; The host role is meant for a remote VM, and it would make the laptop a client.&lt;br /&gt;
&lt;br /&gt;
== h. Verification ==&lt;br /&gt;
&lt;br /&gt;
Agents never run test suites unasked. The owner runs &amp;lt;code&amp;gt;/test&amp;lt;/code&amp;gt; on the repo after each feature lands. Each feature adds NUnit tests:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature&lt;br /&gt;
! NUnit tests it adds&lt;br /&gt;
|-&lt;br /&gt;
| Type into a peer&amp;#039;s CLI&lt;br /&gt;
| peer-key minting renews before expiry; inline tile and phone card open with interact when &amp;lt;code&amp;gt;access=interact&amp;lt;/code&amp;gt;; keyboard holder handoff after &amp;lt;code&amp;gt;InputHandoffSeconds&amp;lt;/code&amp;gt;, drop of a non-holder&amp;#039;s keys, &amp;quot;Take keyboard&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Join with one command&lt;br /&gt;
| invite code single use and expiry; whois owner mismatch refused; pin and key exchange both ways; remove revokes on every peer&lt;br /&gt;
|-&lt;br /&gt;
| One authority&lt;br /&gt;
| claim on two peers at once (a race test) grants exactly one; lease renewal, orphaning, grace requeue; stale generation close refused; epoch fencing demotes a returning authority; protocol skew refuses claims but allows interact&lt;br /&gt;
|-&lt;br /&gt;
| Cluster-wide pacing&lt;br /&gt;
| sum of two machines&amp;#039; burn gates at 98% / 90%; allowance split by demand; offline fallback margin; Ultra weekly-only path&lt;br /&gt;
|-&lt;br /&gt;
| Placement&lt;br /&gt;
| eligibility (RAM floor, pace, version, checkout); score order, with an expiring window first; stop at thresholds&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Two-machine acceptance&amp;lt;/strong&amp;gt; (M.ORCH-T2577), run by the owner on the rig and the laptop:&lt;br /&gt;
&lt;br /&gt;
# Fresh laptop with Tailscale: &amp;lt;code&amp;gt;mesh invite&amp;lt;/code&amp;gt; on the rig, &amp;lt;code&amp;gt;mesh join&amp;lt;/code&amp;gt; on the laptop. Both walls show both machines&amp;#039; CLIs.&lt;br /&gt;
# Type into a laptop CLI from the rig, and a rig CLI from the laptop. Typing on both at once shows a single holder.&lt;br /&gt;
# Start /allocate on both machines in one repo. Every ticket is claimed once, and both machines land commits on main.&lt;br /&gt;
# Run one login on both machines near its 5-hour cutoff. The combined spend stops at 98% (Ultra: the weekly line).&lt;br /&gt;
# Close the laptop lid mid-ticket. The rig shows it as orphaned, and the ticket is not re-granted before the grace period ends. Reopen the lid: the laptop renews and finishes.&lt;br /&gt;
# Stop the rig&amp;#039;s Orchestrator. The laptop keeps its CLIs and refuses new claims. Restart the rig and everything resumes.&lt;br /&gt;
# The rig alone (laptop off) works exactly as a standalone machine did before the mesh.&lt;br /&gt;
&lt;br /&gt;
== Build plan ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Milestone 1, &amp;quot;rig and laptop work completely&amp;quot;:&amp;lt;/strong&amp;gt; both machines remain standalone-capable, each types into the other&amp;#039;s CLIs, claims are exactly-once with leases, pacing is correct across both, a lost peer shows on every dashboard, skew is guarded and both commit to main safely. The rig is the authority. There is no automatic or manual failover yet, and no scorer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Decision&lt;br /&gt;
! Feature / story&lt;br /&gt;
! Tasks&lt;br /&gt;
! Milestone&lt;br /&gt;
|-&lt;br /&gt;
| c, b (link)&lt;br /&gt;
| Type into a peer&amp;#039;s CLI M.ORCH-T2544 (under M.ORCH-T2539)&lt;br /&gt;
| T2556 self-renewing peer link, T2557 interact from every wall surface, T2558 input ownership&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| b&lt;br /&gt;
| Plug a machine into the mesh M.ORCH-T2546 (under M.ORCH-T2545)&lt;br /&gt;
| T2559 serve this machine, T2560 join both ways, T2561 find peers, T2562 confirm per-machine logins&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| a&lt;br /&gt;
| Exactly-once claims M.ORCH-T2548 (under M.ORCH-T2547)&lt;br /&gt;
| T2563 membership record, T2564 tickets reach the authority, T2565 claim leases&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| f&lt;br /&gt;
| The mesh survives a lost machine M.ORCH-T2549&lt;br /&gt;
| T2567 lost peer, T2568 version skew, T2569 many machines on main&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| f&lt;br /&gt;
| (same story)&lt;br /&gt;
| T2566 authority failover&lt;br /&gt;
| &amp;lt;strong&amp;gt;2&amp;lt;/strong&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| d&lt;br /&gt;
| No login over its limits M.ORCH-T2551 (under M.ORCH-T2550)&lt;br /&gt;
| T2570 publish login burn, T2571 pace on cluster burn, T2572 show cluster usage&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| e&lt;br /&gt;
| Tickets go to the best machine and login M.ORCH-T2553 (under M.ORCH-T2552)&lt;br /&gt;
| T2573 machine headroom, T2574 scorer, T2575 dispatch, T2576 work until thresholds&lt;br /&gt;
| &amp;lt;strong&amp;gt;2&amp;lt;/strong&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| h&lt;br /&gt;
| Rig and laptop work as one M.ORCH-T2555 (under M.ORCH-T2554)&lt;br /&gt;
| T2577 acceptance checklist&lt;br /&gt;
| 1 (checklist steps 1-7), extended in 2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Tickets this design changes.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;M.ORCH-T2566 Authority failover.&amp;lt;/strong&amp;gt; Narrowed to a fenced, owner-run &amp;lt;code&amp;gt;mesh take-authority&amp;lt;/code&amp;gt; plus epoch demotion, with automatic majority failover only once three or more peers exist. It moves to milestone 2.&lt;br /&gt;
* &amp;lt;strong&amp;gt;M.ORCH-T2573 to M.ORCH-T2576.&amp;lt;/strong&amp;gt; Milestone 2. Milestone 1 relies on per-machine /allocate through the authority.&lt;br /&gt;
* &amp;lt;strong&amp;gt;MAT-T530 &amp;quot;Add the laptop as a gateway remote&amp;quot;&amp;lt;/strong&amp;gt; (Agency). Superseded by M.ORCH-T2560, which does the same with a renewing peer key.&lt;br /&gt;
&lt;br /&gt;
== Open questions for the owner ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;A second store of record for failover.&amp;lt;/strong&amp;gt; Manual failover to the laptop needs the ticket and Orchestrator databases to exist there: either SQL Server Express on the laptop with a replica, or SQLite on the laptop as an authority-capable store. It is not needed for milestone 1. Which one, when milestone 2 comes?&lt;br /&gt;
# &amp;lt;strong&amp;gt;Logins on the laptop.&amp;lt;/strong&amp;gt; Which logins should be signed in on the laptop: all Team Premium seats and the Ultra login, or a subset? Placement only uses logins that are signed in on a machine.&lt;br /&gt;
# &amp;lt;strong&amp;gt;The defaults.&amp;lt;/strong&amp;gt; Are these right to start with? Lease 10 minutes, orphan grace 30 minutes, keyboard handoff 2 seconds, offline pace margin 3 points. All of them are Vault settings that can be changed later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Orchestrator]].&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.Orchestrator/blob/main/docs/MESH_ARCHITECTURE.md MindAttic.Orchestrator/docs/MESH_ARCHITECTURE.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.Orchestrator]]&lt;/div&gt;</description>
			<pubDate>Wed, 02 Dec 2026 23:07:09 GMT</pubDate>
			<dc:creator>Docs Sync</dc:creator>
			<comments>https://mindattic.com/wiki/docs/index.php/Talk:MindAttic.Orchestrator/MESH_ARCHITECTURE</comments>
		</item>
</channel></rss>