From 5042d9c4267304f69411b714fb09b8feb64b0f07 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 20 Nov 2026 02:51:01 +0100 Subject: [PATCH] C-acts: the build seats' acting rules name no bound MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit acts stays as the declaration the graph's edges and tiers are built from; the bound of the build seats' rule goes with the acting part's hold. The generated contracts do not change. Builds: design 47 H §750, §764 (the acting part's hold); lead answers H-A-57, H-A-70 Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy --- .../mesh-delivery-contracts/seats/node-build-go/seat.json | 3 +-- .../seats/node-build-image/seat.json | 3 +-- .../seats/node-build-node/seat.json | 3 +-- modules/mesh-delivery-sdk/buildstep/seat_acts_test.go | 7 ++++--- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/modules/mesh-delivery-contracts/seats/node-build-go/seat.json b/modules/mesh-delivery-contracts/seats/node-build-go/seat.json index 44ad2671..0de300b1 100644 --- a/modules/mesh-delivery-contracts/seats/node-build-go/seat.json +++ b/modules/mesh-delivery-contracts/seats/node-build-go/seat.json @@ -10,8 +10,7 @@ "acts": [ { "step": "build", - "on": "go", - "bound": "60m" + "on": "go" } ], "accepts": [ diff --git a/modules/mesh-delivery-contracts/seats/node-build-image/seat.json b/modules/mesh-delivery-contracts/seats/node-build-image/seat.json index fe1d6afd..78bb6394 100644 --- a/modules/mesh-delivery-contracts/seats/node-build-image/seat.json +++ b/modules/mesh-delivery-contracts/seats/node-build-image/seat.json @@ -10,8 +10,7 @@ "acts": [ { "step": "build", - "on": "kind:image", - "bound": "60m" + "on": "kind:image" } ], "accepts": [ diff --git a/modules/mesh-delivery-contracts/seats/node-build-node/seat.json b/modules/mesh-delivery-contracts/seats/node-build-node/seat.json index a291d993..a04b6240 100644 --- a/modules/mesh-delivery-contracts/seats/node-build-node/seat.json +++ b/modules/mesh-delivery-contracts/seats/node-build-node/seat.json @@ -10,8 +10,7 @@ "acts": [ { "step": "build", - "on": "typescript", - "bound": "60m" + "on": "typescript" } ], "accepts": [ diff --git a/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go b/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go index 53198d98..3458ae1a 100644 --- a/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go +++ b/modules/mesh-delivery-sdk/buildstep/seat_acts_test.go @@ -6,7 +6,8 @@ import ( "testing" ) -// The seat's `build` acting rule matches an artifact by its kind, an image having no language (design 47 G §324, §397). +// The seat's `build` acting rule matches an artifact by its kind, an image having no language (design 47 G §324, §397), +// and names no bound: the acting part's hold ends (H-A-57, H-A-70). func TestTheSeatsBuildRuleActsOnTheKindImage(t *testing.T) { raw, err := os.ReadFile("../../mesh-delivery-contracts/seats/node-build-image/seat.json") if err != nil { @@ -18,7 +19,7 @@ func TestTheSeatsBuildRuleActsOnTheKindImage(t *testing.T) { if err := json.Unmarshal(raw, &def); err != nil { t.Fatal(err) } - if len(def.Acts) != 1 || def.Acts[0].Step != "build" || def.Acts[0].On != "kind:image" { - t.Errorf("acts = %+v; wanted the one rule {build, kind:image}", def.Acts) + if len(def.Acts) != 1 || def.Acts[0].Step != "build" || def.Acts[0].On != "kind:image" || def.Acts[0].Bound != "" { + t.Errorf("acts = %+v; wanted the one rule {build, kind:image} with no bound", def.Acts) } }