From a5cafab0e84f7a3e646a41d69cd2894b3716e7de Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 12 Nov 2026 06:06:42 +0100 Subject: [PATCH] =?UTF-8?q?AS20=20(=C2=A7558):=20the=20assigner's=20invoke?= =?UTF-8?q?s=20name=20the=20fields=20it=20relies=20on=20of=20the=20catalog?= =?UTF-8?q?=20seat's=20revision?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds: design 47 G §558, §530 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h --- modules/mesh-delivery-assigner/manifest_test.go | 4 ++++ modules/mesh-delivery-assigner/module.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/mesh-delivery-assigner/manifest_test.go b/modules/mesh-delivery-assigner/manifest_test.go index 49fab370..5b287c86 100644 --- a/modules/mesh-delivery-assigner/manifest_test.go +++ b/modules/mesh-delivery-assigner/manifest_test.go @@ -142,6 +142,10 @@ func TestManifest(t *testing.T) { "seat:operator-channel.asks"}; !slices.Equal(slices.Sorted(slices.Values(m.Invokes)), want) { // ADR 0668 §4: the ended asks at bind t.Errorf("invokes = %v, want %v", m.Invokes, want) } + // design 47 G §558 (AS20): the assigner relies on the revision's `none-yet`, so its invokes name it in the long form. + if f := m.InvokeFields["seat:mesh-catalog.revision"]; !slices.Equal(f, []string{"none-yet"}) { + t.Errorf("the fields of the revision invoke = %v", f) + } // design 47 G §633, §706, A-112: the bounds of the wait on an outside cause are `config` keys, each filling a file the // manifest declares, which the process reads at its start; the environment names only the files. var raw struct { diff --git a/modules/mesh-delivery-assigner/module.json b/modules/mesh-delivery-assigner/module.json index 163efe1d..0b7c2970 100644 --- a/modules/mesh-delivery-assigner/module.json +++ b/modules/mesh-delivery-assigner/module.json @@ -68,7 +68,7 @@ "mesh-delivery-indexer.manifests", "mesh-delivery-indexer.modules", "seat:mesh-catalog.registrations", - "seat:mesh-catalog.revision", + {"verb": "seat:mesh-catalog.revision", "fields": ["none-yet"]}, "seat:mesh-catalog.seat-definitions", "seat:mesh-conditions.conditions", "seat:mesh-hand-acts.hand-act",