H2: every seat contract says each verb's description

A tools program that serves a seat's verbs as tools reads a verb's
description from the generated contract, one copy taken from seat.json,
instead of writing it again. Generated again in all five folders by
mesh-delivery's seatgen (feat/47-H2 b65b6173), which now writes
VerbDescription; seatgen -check clean, every package's vet and tests green.

Builds: design 47 H2 H-A-449
This commit is contained in:
2026-11-22 02:36:36 +01:00
parent e6ed560e48
commit 2dfdcc3316
15 changed files with 326 additions and 10 deletions
+12
View File
@@ -32,6 +32,18 @@ func Verbs() []string {
return []string{VerbConfig, VerbRenames}
}
// VerbDescription is a verb's description as the seat's definition says it, "" for a verb the seat does not serve or
// does not describe (design 47 H2 H-A-449).
func VerbDescription(verb string) string {
switch verb {
case VerbConfig:
return "Set, clear, list or read the history of config values: mesh config or node config for a predefined key, or a module's own value on one node, each set with why, validated, and naming each module on each node whose value moves."
case VerbRenames:
return "The open renames of config values (design 32 *A config value renamed*): per rename the module, the old and new name, when it moved, and the nodes still holding the old name open."
}
return ""
}
// The holder's own events, listed beside the seat and published under the holder's subjects (ADR 0620 §2).
const (
HolderEventConfigChanged = "config-changed"