Node-engine: named from the catalogue the base read, before the rest of the input (A-403)

Live on novox 2026-11-14 the G node-engine never ended a composing pass, so it never named its own module and never
served its seat node-engine: grants got no responders for root-free, judged novox not free, and the operator channel
held every Approve ask (the seed, hq#609) as no channel could prove who answered.
This commit is contained in:
2026-11-14 15:48:45 +01:00
parent 5caa760f5e
commit 1c3b2597ba
+5
View File
@@ -271,6 +271,11 @@ func taken(name string, raw []byte, m meshcatalog.ModulesByModuleValue) (man cat
func input(ctx context.Context, r Reader, mesh Mesh, s Scope, refuse func(module string, err error), wanted map[string]string) (compose.Input, error) {
b, err := readBase(ctx, r, mesh, s)
b.refuseOwn(refuse)
// The engine is named from the catalogue the base read, before the rest of the input, so a node whose input fails
// still serves its seat (root-free): live on novox 2026-11-14 no pass ended, so the seat was never served (A-403).
if s.Engine != nil && len(b.in.Catalogue) > 0 {
s.Engine(EngineModule(b.in, s.Node, s.OwnFingerprint))
}
if err != nil {
return compose.Input{}, err
}