From a6e3b3bb4f369ef7f0febfde4b1b222f7c2d4eaf Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 4 Nov 2026 11:55:32 +0100 Subject: [PATCH] SD-M2a, SD-M2b: keep the record that made npm-package-registry and mesh-broker seats as their decision Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig --- go/seats/seats.go | 4 ++-- seats/mesh-broker/seat.json | 2 +- seats/npm-package-registry/seat.json | 2 +- ts/src/seats.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go/seats/seats.go b/go/seats/seats.go index fb55e4e..d3d6151 100644 --- a/go/seats/seats.go +++ b/go/seats/seats.go @@ -142,7 +142,7 @@ func List() []Seat { {Name: "query", Description: "One read-only statement against one database the store holds.", Input: map[string]any{"properties": map[string]any{"database": map[string]any{"description": "the database to query", "type": "string"}, "sql": map[string]any{"description": "the read-only statement", "type": "string"}}, "required": []string{"database", "sql"}, "type": "object"}, Replaces: []string{"psql"}}, }}, - {Name: MeshBroker, Scope: "mesh", Grain: "whole", Decision: "novox/hq ADR 0079; novox/hq ADR 0595", Delivers: "mesh-bus", Emits: []string{"created", "refused", "drifted", "drift-cleared", "full", "full-cleared", "orphaned", "recreated", "dropped"}, + {Name: MeshBroker, Scope: "mesh", Grain: "whole", Decision: "novox/hq ADR 0079", Delivers: "mesh-bus", Emits: []string{"created", "refused", "drifted", "drift-cleared", "full", "full-cleared", "orphaned", "recreated", "dropped"}, Serves: []Verb{ {Name: "list", Description: "Every entry the bus module created, its template, its settings and its fill against its cap.", Input: map[string]any{"properties": map[string]any{"module": map[string]any{"description": "one module (optional)", "type": "string"}}, "type": "object"}, @@ -381,7 +381,7 @@ func List() []Seat { {Name: "images", Description: "Every container image one machine's want and have name, each with the resources naming it: what the machine keeps when it prunes its images. Reads only.", Input: map[string]any{"properties": map[string]any{"node": map[string]any{"description": "the machine's name", "type": "string"}}, "required": []string{"node"}, "type": "object"}}, }}, - {Name: NpmPackageRegistry, Scope: "mesh", Grain: "whole", Decision: "novox/hq ADR 0109; novox/hq ADR 0605", Delivers: "npm-package-registry", Emits: []string{"published", "refused", "removed"}, + {Name: NpmPackageRegistry, Scope: "mesh", Grain: "whole", Decision: "novox/hq ADR 0109", Delivers: "npm-package-registry", Emits: []string{"published", "refused", "removed"}, Serves: []Verb{ {Name: "publish", Description: "Open a transfer, naming the artifact and the digest of every part; answers the digests the holder lacks, which the caller then sends by publish-part. A transfer already open answers the parts held, so a cut transfer goes on from there. With no parts and a version, the held digest is published under that version and nothing is stored (the trunk's claim).", Input: map[string]any{"properties": map[string]any{"commit": map[string]any{"description": "the source commit it was built from", "type": "string"}, "digest": map[string]any{"description": "its digest, sha256: (a Go package's h1: hash beside it in the version's record)", "type": "string"}, "fingerprint": map[string]any{"description": "the build's fingerprint", "type": "string"}, "kind": map[string]any{"description": "what it is", "enum": []string{"package", "image", "bundle", "archive", "upstream"}, "type": "string"}, "name": map[string]any{"description": "the package's, image's, bundle's or archive's name", "type": "string"}, "parts": map[string]any{"description": "every part's digest and size; none when the digest is already held", "items": map[string]any{"description": "one part of a transfer", "properties": map[string]any{"digest": map[string]any{"description": "the part's digest, sha256:: an image's layer or config, a package's file, a bundle's blob", "type": "string"}, "size": map[string]any{"description": "its size in bytes", "type": "integer"}}, "required": []string{"digest", "size"}, "type": "object"}, "type": "array"}, "tag": map[string]any{"description": "the tag it carries, for a tagged version", "type": "string"}, "transfer": map[string]any{"description": "the transfer's name, the caller's own; the same name opens the same transfer again", "type": "string"}, "version": map[string]any{"description": "the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone", "type": "string"}}, "required": []string{"transfer", "name", "kind", "digest"}, "type": "object"}, diff --git a/seats/mesh-broker/seat.json b/seats/mesh-broker/seat.json index 59df817..7587e3e 100644 --- a/seats/mesh-broker/seat.json +++ b/seats/mesh-broker/seat.json @@ -3,7 +3,7 @@ "seat": "mesh-broker", "scope": "mesh", "grain": "whole", - "decision": "novox/hq ADR 0079; novox/hq ADR 0595", + "decision": "novox/hq ADR 0079", "delivers": "mesh-bus", "description": "The mesh's bus, and the bus state modules ask of it in requires (design 25 ยง 12). create, apply, recreate and drop are granted to the bus module's own credential alone.", "verbs": [ diff --git a/seats/npm-package-registry/seat.json b/seats/npm-package-registry/seat.json index 3330edd..61f77c3 100644 --- a/seats/npm-package-registry/seat.json +++ b/seats/npm-package-registry/seat.json @@ -3,7 +3,7 @@ "seat": "npm-package-registry", "scope": "mesh", "grain": "whole", - "decision": "novox/hq ADR 0109; novox/hq ADR 0605", + "decision": "novox/hq ADR 0109", "description": "The mesh's npm packages: the npm registry protocol's read side, and publishing over the bus.", "delivers": "npm-package-registry", "includes": [ diff --git a/ts/src/seats.ts b/ts/src/seats.ts index c72a5b9..bf9c0dd 100644 --- a/ts/src/seats.ts +++ b/ts/src/seats.ts @@ -135,7 +135,7 @@ export const list: readonly Seat[] = [ ] }, { - "decision": "novox/hq ADR 0079; novox/hq ADR 0595", + "decision": "novox/hq ADR 0079", "delivers": "mesh-bus", "emits": [ "created", @@ -2864,7 +2864,7 @@ export const list: readonly Seat[] = [ ] }, { - "decision": "novox/hq ADR 0109; novox/hq ADR 0605", + "decision": "novox/hq ADR 0109", "delivers": "npm-package-registry", "emits": [ "published",