What this actually is, and three things that were assumed
Four things settled by talking them through, all of which had been true in somebody's head and written nowhere. It is not a mesh in the peer-to-peer sense and will not become one. 0001 now says what it is instead: machines linked by a private network, one node holding knowledge of all of them, modules as the way anything is built and delivered, and agents hired onto nodes to do the work. The word describes what machines can reach, not how they are governed. "Master" overstates it the other way -- nothing needs that node to keep running, only to change. 0006 gains the option that would make it a real mesh, recorded as considered rather than rejected by silence: every node holding the whole inventory, a replication process, an elected master with promotion on failure. What settles it is not the complexity but that it still would not deliver the name, because application databases are not replicated -- so a genuine peer-to-peer mesh means becoming a replicated database system for every consumer's data too. That is a larger product than the thing it would support. Also in 0006: three central roles, not one. Losing the control plane costs change, losing the broker costs being told anything, and losing the hub costs nodes in different places reaching each other at all -- which is operation, not administration. Whether they are one node is not decided. And SSH access is identity's. It appeared three times as something that uses the overlay and never as something the mesh provides, which reads as settled when nothing decided it. Nobody else could: the mesh is the only thing that knows which humans and agents exist and which nodes they may reach. Node to node SSH stays out -- the host has no inbound control surface by decision, and nodes reaching each other that way is a second control path through the back door. 0007 gains the requirement underneath all of it. Reachability was recorded as a fact to track and never as a thing some node must have. The broker's node and the hub must be dialable by every node at a stable address, or nothing can join and a disconnected node cannot return. A mesh entirely behind NAT cannot be raised. That is a precondition and it belongs with the others. The link staying on the underlay is also argued now rather than asserted. At join time it is forced; afterwards it is a choice, and the reason is that a repair channel carried over the thing being repaired is not one. Moving it onto the overlay, with fallback, is recorded as open with what it would have to get right -- a WireGuard interface has no link state to test, and a silent fallback is this repository's recurring fault in a new place. 0010 says in one line what was the intention throughout: the module system is the CI/CD. Not a pipeline beside the mesh. Build, test, publish and deploy are one reconciliation seen at four points, which is why a thing that cannot be a module cannot be delivered.
This commit is contained in:
@@ -84,6 +84,45 @@ with a declared one, the disagreement is a **reportable condition**, not a silen
|
||||
home-hosted node is a server that cannot be dialled. This keeps that and stops encoding it as a
|
||||
pattern match.
|
||||
|
||||
### Some nodes must be reachable, and this had not been said
|
||||
|
||||
*Written 2026-08-29, on being asked and finding no answer.*
|
||||
|
||||
Everything above treats reachability as a **fact to record** — which node can be dialled, so that
|
||||
exposure and certificate issuance can be placed. It never said the converse, and the converse is a
|
||||
hard requirement:
|
||||
|
||||
| role | dialled by | so it needs |
|
||||
|---|---|---|
|
||||
| **the node running the broker** | every node, outbound ([ADR 0002](0002-nodes-communicate-over-a-broker.md)) | to be reachable from wherever nodes are, at a **stable address** |
|
||||
| **the hub** | every node not co-located with its peer | the same |
|
||||
|
||||
**Across the internet, "reachable from wherever nodes are" means publicly reachable.** For a mesh
|
||||
confined to one network it does not — the requirement is about the nodes that exist, not about the
|
||||
public internet.
|
||||
|
||||
**Stable is the sharper half.** A token carries the broker's *address, not a name*, because there
|
||||
is no resolution before joining ([ADR 0004](0004-a-node-and-how-it-joins.md)). A broker node whose
|
||||
address moves invalidates every token issued for it, and a node that was disconnected across the
|
||||
change cannot get back.
|
||||
|
||||
**A mesh whose nodes are all behind NAT cannot be raised.** That is a real precondition and it
|
||||
belongs with the others rather than being discovered.
|
||||
|
||||
### The link stays on the underlay, and that is a repair channel
|
||||
|
||||
The obvious objection is that all traffic should run over the overlay. Nearly all of it does — SSH,
|
||||
services, node to node — and the exception is each node's own outbound link to the broker.
|
||||
|
||||
**At join time it is forced**: a node has no overlay yet, so it cannot use one to ask for one.
|
||||
**Afterwards it is a choice**, and the reason is that the link is how a broken node is fixed. A
|
||||
repair channel carried over the thing being repaired is not a repair channel: a node whose only
|
||||
path home was the overlay is gone the moment an overlay declaration is wrong.
|
||||
|
||||
**What it does not cost is confidentiality.** The link is already authenticated and encrypted
|
||||
against a pinned fingerprint ([ADR 0004](0004-a-node-and-how-it-joins.md)), so moving it onto the
|
||||
overlay would not protect traffic that is unprotected today.
|
||||
|
||||
## A filter rule names its source
|
||||
|
||||
`scope: public` is declared in five manifests, is part of no rule type, and is **referenced by no
|
||||
@@ -122,3 +161,31 @@ forbidden is a listening thing that accepts instructions and changes the machine
|
||||
mesh's own for internal ones. A single-CA lab would hide any bug living in the split.
|
||||
- **What happens when the hub is down**: nothing takes over. Non-co-located paths stop; co-located
|
||||
peers and every assigned workload keep running.
|
||||
|
||||
## Open — the link over the overlay, with a fallback
|
||||
|
||||
*Raised 2026-08-29 and deliberately left open, because the honest gain is smaller than it looks
|
||||
and it is a decision rather than a derivation.*
|
||||
|
||||
The proposal: a node prefers the overlay for its link and drops to the underlay when the overlay
|
||||
is not working — so ordinary operation is private and the underlay stays as the way back.
|
||||
|
||||
**Two things it would have to get right:**
|
||||
|
||||
- **The trigger cannot be "is the overlay up".** A WireGuard interface has no link state; once
|
||||
configured it is up whether or not the far end exists. So there is no flag to read, and failing
|
||||
over means *try, fail, time out, retry elsewhere*.
|
||||
- **Running on the fallback has to be visible.** A node that quietly drops to the underlay is a
|
||||
node whose overlay is broken with nothing to say so, and it will stay broken because everything
|
||||
still works. That is this repository's recurring fault — a failure that reads as success — and a
|
||||
fallback is the easiest place in the design to reintroduce it.
|
||||
|
||||
**What stops it being an obvious win:** if the underlay path must stay available for the fallback,
|
||||
the broker stays exposed on it. So the exposure is unchanged and the traffic was already encrypted
|
||||
— the gain is which network carries bytes, not what an attacker can reach.
|
||||
|
||||
**The version that would buy something is overlay-only**, with the broker firewalled to the overlay
|
||||
in steady state, accepting that a node whose overlay breaks needs hands-on recovery. That is a real
|
||||
trade: it exchanges the automatic way back in for a closed port.
|
||||
|
||||
Not decided either way here.
|
||||
|
||||
Reference in New Issue
Block a user