From a904102a0774614687e5153f0cb0d22cf7a966a3 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 11 Nov 2026 10:39:46 +0100 Subject: [PATCH] C6: a placed module and a place change name the watched branch and the build's fingerprint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds: design 47 G §14, §78, §114, §402 Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ --- .../mesh-module-assigner/fixtures/states.json | 36 +++++++++++++++++++ seats/mesh-module-assigner/seat.json | 16 +++++++++ 2 files changed, 52 insertions(+) diff --git a/seats/mesh-module-assigner/fixtures/states.json b/seats/mesh-module-assigner/fixtures/states.json index 04e940b..d08098b 100644 --- a/seats/mesh-module-assigner/fixtures/states.json +++ b/seats/mesh-module-assigner/fixtures/states.json @@ -58,6 +58,19 @@ } } }, + { + "name": "a module's key on a watched branch and a build", + "of": "state:assignments/.", + "given": { + "v": 1, + "node": "ace", + "placed": { + "module": "plex", + "branch": "beta", + "build": "src2:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, { "name": "an open proposal", "of": "state:proposals/", @@ -82,6 +95,29 @@ "state": "answering" } }, + { + "name": "a proposal placing a module on a watched branch at an earlier build", + "of": "state:proposals/", + "given": { + "id": "p-20261110t120000-aabbccdd", + "by": "operator", + "why": "run nats from beta, back one build", + "at": "2026-11-10T12:00:00Z", + "changes": [ + { + "op": "place", + "node": "ace", + "module": "nats", + "branch": "beta", + "build": "src2:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "base": { + "ace": 3 + }, + "state": "answering" + } + }, { "name": "a candidate", "of": "state:candidates/.", diff --git a/seats/mesh-module-assigner/seat.json b/seats/mesh-module-assigner/seat.json index 1eb0669..cd483f5 100644 --- a/seats/mesh-module-assigner/seat.json +++ b/seats/mesh-module-assigner/seat.json @@ -407,6 +407,14 @@ "module": { "type": "string" }, + "branch": { + "type": "string", + "description": "the watched branch this node runs the module from; absent, the first watched branch of the module's registration (design 47 G 14)" + }, + "build": { + "type": "string", + "description": "the fingerprint of the build the node runs; absent, the newest delivered of the branch (design 47 G 78, 402)" + }, "ports": { "type": "object", "additionalProperties": { @@ -636,6 +644,14 @@ "module": { "type": "string" }, + "branch": { + "type": "string", + "description": "for place, the watched branch the node runs the module from; absent, the first watched branch of the module's registration (design 47 G 14)" + }, + "build": { + "type": "string", + "description": "for place, the build of that branch the node runs, a return to an earlier build being this one value; absent, the newest delivered of the branch (ADR 0666 section 24)" + }, "ports": { "type": "object", "additionalProperties": {