The seat set's test takes node-engine as a seat defined whole, with ADR 0618's manifest-reads among its added verbs

mesh-contracts now defines the node-engine seat whole (ADR 0613 §3): its verbs carry answers and it says
manifest-reads-changed, so the set compares it as it compares every whole seat. Nothing else here is redundant: the
seat's hand-written list went in SDK-8, and the compose-candidate layouts keep their checks, which a generated package
does not carry, until the seat's client package exists (ADR 0625 §2, proposed).

Claude-Session: https://claude.ai/code/session_01JG73KG7AfSdh6FP8VrBqCn
This commit is contained in:
2026-11-04 12:40:03 +01:00
parent 1027803e1d
commit effd0c00a6
+4 -3
View File
@@ -54,10 +54,11 @@ func TestUseSeatsReplacesTheSetButNeverEmptiesIt(t *testing.T) {
if err := json.Unmarshal(raw, &compiled); err != nil { if err := json.Unmarshal(raw, &compiled); err != nil {
t.Fatal(err) t.Fatal(err)
} }
whole := []string{"npm-package-registry", "mesh-broker", "mesh-config", "mesh-vault", "mesh-delivery-checker"} whole := []string{"npm-package-registry", "mesh-broker", "mesh-config", "mesh-vault", "mesh-delivery-checker", "node-engine"}
dropped := map[string]bool{"mesh-vault.accept": true, "mesh-vault.move-asks": true} dropped := map[string]bool{"mesh-vault.accept": true, "mesh-vault.move-asks": true}
// Verbs a seat at the seat list's grain gained in the milestone, each optional until its holders serve it. // Verbs a seat gained in the milestone, each optional until its holders serve it: node-engine's manifest-reads (ADR
addedVerbs := map[string]bool{"node-engine.pull-waits": true} // 0618 §3) came with its move whole.
addedVerbs := map[string]bool{"node-engine.pull-waits": true, "node-engine.manifest-reads": true}
norm := func(v any) any { norm := func(v any) any {
b, _ := json.Marshal(v) b, _ := json.Marshal(v)
var out any var out any