Past WriteUplinkNamesBound (15 s) the refusal read the bare signal the
deadline killed the process with ("install failed: signal: killed"); it
now names the bound and says the file was left as it was, for either
step (install or mv).
Builds: design 08 sign-in-page §6, C-8
It answered an empty outside_writes while the bus answered the kept
history; the socket now reads the guard's own history (its own history
file, the same the bus's tools() reads in production), so both answer
the same (§5, DQ-5).
Builds: design 08 sign-in-page §5, §9, DQ-5
It treated the verb's own uplink-names.new as unknown and accepted any
bare *.tmp; it now knows exactly uplink-names, uplink-names.new,
uplink-names.applied and uplink-names.applied.tmp, as §6 and §8 name
them, and nothing else.
Builds: design 08 sign-in-page §6, §8, C-7
The checks/owned check refuses a directory without unknown (ADR 0422 §8).
/var/lib/node-resolver stays, its value "module" (lead answer L-1), not
"program": no other program writes there. The guard looks for a path it
does not know every round and, finding one, leaves it exactly as it is
and says so to the journal once, never every round.
Builds: design 08 sign-in-page §6, C-7
C-4: the guard reads the link's domains fresh with rawDomainsOf before
skipping a round, never trusting its own applied record alone, so a
network manager that rewrites the link's domains, or a restarted
resolved, is found and the names are set again.
note (c): fallback.json's since is the time of the guard's first round,
never the zero time; it moved only on a real turn before, so the first
round's write carried a zero since.
Builds: design 08 sign-in-page §7, §8, C-4
C-6: import noderesolver (mesh-networking's seat definition) at the zero
version; routes, route, unroute and uplink-names answer with its
RoutesAnswer, RouteAnswer, UnrouteAnswer and UplinkNamesAnswer, never a
map or a parallel struct, and uplink-names' input names is a JSON array
(arrayArg), never a comma- or space-split string.
C-8: the names file write's 15 s is the stated constant
WriteUplinkNamesBound, not an inline literal.
Builds: design 08 sign-in-page §2, §5, §6, §9, DQ-12, C-6, C-8
The fact itself was missing from the manifest (R2's own gap): the guard
and the uplink-names verb's DefaultRouteLink already read
/etc/node-resolver/private-interface, but nothing rendered it. Its
template is the literal "mesh0" per L-2, quick not thorough: the live
interface, named the same way already by netcheck's TunnelInterface and
networkmanager's unmanaged-devices. One value every module reads instead
is L-2's finding, carried outside this milestone.
Builds: design 08 sign-in-page §7, DQ-1
R2's acceptance criteria name this case directly: the file's list changes
while the default-route link stays the same, and the guard gives the new
names to that same link without moving them first.
Builds: design 08 sign-in-page §7, §9
Says the verb and its answer, the two new files (uplink-names, its
applied record) and fallback.json, the guard's round over the default-
route link, the sudo -n install / mv -f commands, and that uplink-names
only sets how resolved answers those names over a link, never the link
itself.
Builds: design 08 sign-in-page §10
routes (bus and the machine socket) gains uplink_names {names, link,
refused}, the applied list's names resolved holds on that link now, never
the file's, and mesh_resolvers {silent, since} from the guard's fallback
state. The guard writes that state at each of ADR 0688's two turns, and
once more at its own first round, since it goes at every boot.
Builds: design 08 sign-in-page §2, §8, §9
Each round it finds the link carrying the default route (the lowest-metric
kernel default route that is neither one route routed nor the private
network's interface), gives it the names from uplink-names's file plus
its own search and routing domains, and takes them off the link they were
on before when that differs. What it applied is kept in
uplink-names.applied, read at its own start so a restart never infers
which link to take them off, and a resolved refusal is journalled once
per change, not every round. The guard's own names are left out of
whether a link is judged `route` routed, so the fallback still gives a
link holding only them its default route back while the mesh's resolvers
are silent (ADR 0688 stands).
Builds: design 08 sign-in-page §7, §8
The verb checks each host name (root, wildcard, trailing dot, a label over
63 bytes, the mesh's own domain or under it, more than 8), writes
/var/lib/node-resolver/uplink-names whole through sudo -n install then
sudo -n mv -f, and answers the names with the link carrying the default
route (the lowest-metric kernel default route that is neither routed nor
the private network's interface) and when they were set.
Builds: design 08 sign-in-page §2, §5, §6