The space THIS FOLDER'S LOCAL DAEMONS belong to: the one its runtime records name, else
resolveSpace.
down, status and every "is the manager up" helper ask this. They must not inherit
resolveSpace's blind spot: it reads the space from the .cotal/auth account records, an
OPEN mesh has none, and the default it then answers with is not the space the daemons here run
under. The records are consulted FIRST because they are the only source that always knows - a
daemon started by a container entrypoint or by cotal supervise typed by hand has one, whatever
else the root does or does not hold.
RESIDUE NEVER WEDGES THE FOLDER, and TWO LIVE STACKS ARE REFUSED. A record left by a crash names
a space whose daemon is gone; if another space is running here, the running one is the answer, and
a dead record alone still names its space so a stop can clear it. Two spaces running under one
root is a state this cannot arbitrate - the broker, its store and this folder's stack are shared,
so no single answer is right - and it throws rather than picking one, the same refusal
assertSingleSpaceBroker makes for the tenants it can see.
The space THIS FOLDER'S LOCAL DAEMONS belong to: the one its runtime records name, else resolveSpace.
down,statusand every "is the manager up" helper ask this. They must not inherit resolveSpace's blind spot: it reads the space from the.cotal/authaccount records, an OPEN mesh has none, and the default it then answers with is not the space the daemons here run under. The records are consulted FIRST because they are the only source that always knows - a daemon started by a container entrypoint or bycotal supervisetyped by hand has one, whatever else the root does or does not hold.RESIDUE NEVER WEDGES THE FOLDER, and TWO LIVE STACKS ARE REFUSED. A record left by a crash names a space whose daemon is gone; if another space is running here, the running one is the answer, and a dead record alone still names its space so a stop can clear it. Two spaces running under one root is a state this cannot arbitrate - the broker, its store and this folder's stack are shared, so no single answer is right - and it throws rather than picking one, the same refusal
assertSingleSpaceBrokermakes for the tenants it can see.