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
This commit is contained in:
+2
-2
@@ -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:<hex> (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:<hex>: 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"},
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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": [
|
||||
|
||||
+2
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user