From 6e343831c9a1779af9d58805e6ab90e58890da9b Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 11 Nov 2026 22:44:28 +0100 Subject: [PATCH] =?UTF-8?q?JUDGE=20(A-30,=20=C2=A7529,=20=C2=A7387):=20a?= =?UTF-8?q?=20part=20that=20is=20no=20foundation=20part=20asks=20its=20fin?= =?UTF-8?q?dings=20state=20and=20its=20finding-events=20stream=20in=20requ?= =?UTF-8?q?ires,=20and=20consumes=20findings-asked?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit claude-code, mesh-build-go, mesh-provisioner and mesh-self-check drop their old state findings and stream -findings for the requires entries findings (state) and finding-events (events: the three finding events, 7 days, 16 MiB); mesh-knowledge gains finding-events and the consume. The manifest forms follow mesh-watcher's. The judge refused each for the old form (§529, §577) or for the missing stream or consume (§387). Builds: design 47 G §387, §529, §577, A-30 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h --- modules/claude-code/module.json | 19 ++++++-- modules/mesh-build-go/module.json | 70 ++++++++++++++++++++++------ modules/mesh-knowledge/module.json | 9 +++- modules/mesh-provisioner/module.json | 8 +++- modules/mesh-self-check/module.json | 27 +++++++++-- 5 files changed, 110 insertions(+), 23 deletions(-) diff --git a/modules/claude-code/module.json b/modules/claude-code/module.json index c6e8e56f8..a21e3e056 100644 --- a/modules/claude-code/module.json +++ b/modules/claude-code/module.json @@ -25,6 +25,11 @@ "max-age-days": 7, "max-mib": 16 } + }, + { + "name": "findings", + "storage": "key-value", + "template": "state" } ], "binds": { @@ -59,8 +64,7 @@ "proposals", "questions", "memory", - "waits", - "findings" + "waits" ], "emits": [ "judged" @@ -248,7 +252,16 @@ "path": "${dir:state}/settings.json", "mode": "0600", "owner": "${machine:account}", - "takes-config": ["role", "mcp_servers", "managed_settings", "instructions", "output_styles", "skills", "commands", "agents"], + "takes-config": [ + "role", + "mcp_servers", + "managed_settings", + "instructions", + "output_styles", + "skills", + "commands", + "agents" + ], "merge": "json", "template": "files/settings.json" } diff --git a/modules/mesh-build-go/module.json b/modules/mesh-build-go/module.json index f53e4bc78..19c0890ae 100644 --- a/modules/mesh-build-go/module.json +++ b/modules/mesh-build-go/module.json @@ -15,13 +15,24 @@ "state": [ "toolchains", "keys", - {"name": "steps", "ttl-seconds": 172800}, "pauses", "findings" + { + "name": "steps", + "ttl-seconds": 172800 + }, + "pauses" ], "claims": [ { "name": "node-build-go", "scope": "node", - "serves": ["current", "drop", "pause", "resume", "steps", "kept-artifact"] + "serves": [ + "current", + "drop", + "pause", + "resume", + "steps", + "kept-artifact" + ] } ], "consumes": [ @@ -78,22 +89,51 @@ "streams": [ { "name": "toolchains-go", - "events": ["toolchain.**"] - }, - { - "name": "mesh-build-go-findings", - "events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"], - "max-age-days": 7, - "max-mib": 16 + "events": [ + "toolchain.**" + ] } ], "requires": [ - {"name": "detected-steps", "storage": "key-value", "template": "state", "options": {"history": 1}}, - {"name": "kept-builds", "storage": "object-store", "template": "objects", "options": {"max-mib": 1024}}, + { + "name": "detected-steps", + "storage": "key-value", + "template": "state", + "options": { + "history": 1 + } + }, + { + "name": "kept-builds", + "storage": "object-store", + "template": "objects", + "options": { + "max-mib": 1024 + } + }, "forge-account", "go-toolchain", "go-package-registry", - "node-tools" + "node-tools", + { + "name": "findings", + "storage": "key-value", + "template": "state" + }, + { + "name": "finding-events", + "storage": "stream", + "template": "events", + "options": { + "events": [ + "finding-written.*", + "finding-cleared.*", + "findings-stated.*" + ], + "max-age-days": 7, + "max-mib": 16 + } + } ], "binds": { "go-package-registry": "${dir:state}/go-package-registry.json" @@ -149,7 +189,11 @@ "path": "${dir:state}/settings.json", "mode": "0600", "owner": "mesh-build-go", - "takes-config": ["capacity", "cores-per-step", "build-hours"], + "takes-config": [ + "capacity", + "cores-per-step", + "build-hours" + ], "merge": "json", "template": "files/settings.json" }, diff --git a/modules/mesh-knowledge/module.json b/modules/mesh-knowledge/module.json index 268989503..c765e2862 100644 --- a/modules/mesh-knowledge/module.json +++ b/modules/mesh-knowledge/module.json @@ -78,7 +78,11 @@ {"name": "asked", "storage": "key-value", "template": "state"}, {"name": "findings", "storage": "key-value", "template": "state"}, {"name": "sent", "storage": "key-value", "template": "state"}, - {"name": "reviews", "storage": "stream", "configuration": {"when-full": "refuse", "max-mib": 512, "max-age-days": "none", "grant": "readers", "events": ["part-reviewed"]}} + {"name": "reviews", "storage": "stream", "configuration": {"when-full": "refuse", "max-mib": 512, "max-age-days": "none", "grant": "readers", "events": ["part-reviewed"]}}, + { + "name": "finding-events", "storage": "stream", "template": "events", + "options": {"events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"], "max-age-days": 7, "max-mib": 16} + } ], "contributes": { "postgres-database": { @@ -217,7 +221,8 @@ "mesh-delivery-gate.transition", "mesh-delivery-gate.merged", "messenger.offered", - "messenger.closed" + "messenger.closed", + "mesh-conditions.findings-asked" ], "uses": [ "operator-channel" diff --git a/modules/mesh-provisioner/module.json b/modules/mesh-provisioner/module.json index 787d4484d..5a47b0219 100644 --- a/modules/mesh-provisioner/module.json +++ b/modules/mesh-provisioner/module.json @@ -59,8 +59,7 @@ "collect", "provisions", "plans", - "refused", - "findings" + "refused" ], "core-credentials": true, "own-secrets": { @@ -121,6 +120,11 @@ "max-age-days": 7, "max-mib": 16 } + }, + { + "name": "findings", + "storage": "key-value", + "template": "state" } ] } diff --git a/modules/mesh-self-check/module.json b/modules/mesh-self-check/module.json index 8fd198865..ab0317fc9 100644 --- a/modules/mesh-self-check/module.json +++ b/modules/mesh-self-check/module.json @@ -37,10 +37,10 @@ "mesh-delivery-assigner.views.assignments", "mesh-delivery-assigner.views.seat-holders", "mesh-delivery-indexer.views.modules", - "mesh-delivery-indexer.views.manifests" + "mesh-delivery-indexer.views.manifests", + "mesh-conditions.findings-asked" ], "state": [ - "findings", "verdict", { "name": "verdicts", @@ -94,5 +94,26 @@ ], "runtime": true } - } + }, + "requires": [ + { + "name": "findings", + "storage": "key-value", + "template": "state" + }, + { + "name": "finding-events", + "storage": "stream", + "template": "events", + "options": { + "events": [ + "finding-written.*", + "finding-cleared.*", + "findings-stated.*" + ], + "max-age-days": 7, + "max-mib": 16 + } + } + ] }