From 2b5a7fe831c189aeb53ba26d45ef1e5c884a82f8 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 2 Nov 2026 21:19:38 +0100 Subject: [PATCH] Pack the checker's settings template as its files archive, or the indexer's judge refuses the manifest Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL --- modules/mesh-delivery-checker/manifest_test.go | 8 ++++++-- modules/mesh-delivery-checker/module.json | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/mesh-delivery-checker/manifest_test.go b/modules/mesh-delivery-checker/manifest_test.go index df61846..7d995a3 100644 --- a/modules/mesh-delivery-checker/manifest_test.go +++ b/modules/mesh-delivery-checker/manifest_test.go @@ -187,8 +187,12 @@ func TestManifestProcess(t *testing.T) { // 1678/AC1 if _, bus := p["bus"]; bus { t.Errorf("the process declares a bus: it runs on its own broker credential") } - if len(m.Build.Artifacts) != 2 { - t.Fatalf("artifacts = %+v, want the program and the tools", m.Build.Artifacts) + // The settings template is packed as the files archive (novox/hq ADR 0349 ยง2), or the indexer's judge refuses it. + if len(m.Build.Artifacts) != 3 { + t.Fatalf("artifacts = %+v, want the program, the tools and the files archive", m.Build.Artifacts) + } + if a := m.Build.Artifacts[2]; a.Name != "files" || a.Kind != "archive" || a.From != "files" { + t.Errorf("files artifact = %+v, want an archive from files/", a) } if a := m.Build.Artifacts[1]; a.Name != "tools" || a.Kind != "bundle" || a.Language != "go" || a.Binary != "mesh-delivery-checker-tools" || !reflect.DeepEqual(a.Loads, []string{"mesh-delivery-checker-tools"}) { diff --git a/modules/mesh-delivery-checker/module.json b/modules/mesh-delivery-checker/module.json index 23247f5..767884c 100644 --- a/modules/mesh-delivery-checker/module.json +++ b/modules/mesh-delivery-checker/module.json @@ -149,6 +149,11 @@ "loads": [ "mesh-delivery-checker-tools" ] + }, + { + "name": "files", + "kind": "archive", + "from": "files" } ] }