Node-engine: a first start whose composing never ends is named by MESH_ENGINE_OWN_MODULE (A-404, live start recovery)

A-403 named the engine from the base's catalogue, but on novox the base stops at the first manifest it cannot read,
before mesh-host, so the engine stayed unnamed and its seat unserved.
This commit is contained in:
2026-11-14 15:53:44 +01:00
parent 1c3b2597ba
commit eaf011e971
+5
View File
@@ -992,6 +992,11 @@ func runLink(ctx context.Context, opts options) error {
// The engine's own module, first from its applied record of the build whose fingerprint is its own (design 47 G §527,
// §634, A-149); on a first start with no such record, from its first composing.
own.Set(ownModuleApplied(appliedStoreFor(opts.state), os.Getenv(compositions.FingerprintVar)))
// The live start's recovery (A-404): a first start whose composing never ends is named by its unit's environment, so it
// serves its seat (root-free); the name the assignments place on this node. Ended by the lookup from the bus after G.
if own.Get() == "" {
own.Set(os.Getenv("MESH_ENGINE_OWN_MODULE"))
}
queue := &link.Session{
Own: own,
Membership: membership,