Design 08 sign-in-page: the private interface fact renders mesh0 (L-2)

The assignment's tunnel name contradicts what runs, so the fact takes the name the
machine and its other readers use; one shared value is the later, thorough fix.
This commit is contained in:
jochen
2026-11-24 21:35:37 +01:00
parent 3a3a18a9ab
commit 34950da403
2 changed files with 5 additions and 2 deletions
@@ -109,3 +109,5 @@ PREPARE CHECK. The node-engine says no running for a module restarted in place a
## The build
L-1. The resource `sign-in-state` (§12's folder) carries `unknown` `module` (ADR 0422 §3: the module's own process reacts, as its README says and its tests show). The watcher leaves a path it does not know (anything but `watch.sock`, `check-address`, `pending/` and its files, `names.json`, `sequence`) as it is and writes it to the journal once per path; the README (§24) says so and one unit test (§25) shows it. Not `move-out` (ADR 0422 §4 would move the module's own files at every look), not `program` (§2: no other program writes there).
L-2. The fact `private-interface` renders the literal `mesh0`. Quick, not thorough: the private network's interface on the laptop is `mesh0`, and netcheck and networkmanager's configuration already name it literally; one value every module reads is the thorough fix, outside this milestone (a finding the lead carries; the laptop's assignment names the tunnel `wg0`, which contradicts what runs).
@@ -165,8 +165,9 @@ by nothing (DMC-6).
finds the link carrying the default route: among the kernel's IPv4 default routes, or the IPv6 ones when there is
no IPv4 default, the one with the lowest metric whose link is neither one `route` routed (a VPN's) nor the private
network's interface; none when there is no such link (DQ-2). The private network's interface name it reads from a
fact the module renders beside `suffix`, `/etc/node-resolver/private-interface`, from the node's tunnel
interface the mesh holds in its assignment (DQ-1). It sets that
fact the module renders beside `suffix`, `/etc/node-resolver/private-interface` (DQ-1), which renders the literal
`mesh0` (L-2): that is the private network's interface where the resolver runs, and netcheck and `networkmanager`'s
configuration already name it so. One value every module reads is the thorough fix, outside this milestone. It sets that
link's domains, through resolved, to the domains the link has plus one routing-only domain `~<name>` per name,
keeping every search domain and routing domain it has, and takes the names off the link it gave them to before,
when that differs. A round in which they are in place changes nothing. It never sets a link's servers, its default