Converted mechanically from mesh-sdk's compiled list at 5a38a12 by a program kept out of the repository; the three new registry seats follow npm-package-registry, operator-channel the mesh's own seats. Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
96 lines
2.9 KiB
JSON
96 lines
2.9 KiB
JSON
{
|
|
"format": 1,
|
|
"seat": "mesh-conditions",
|
|
"scope": "mesh",
|
|
"grain": "seat-list",
|
|
"decision": "novox/hq ADR 0564",
|
|
"verbs": [
|
|
{
|
|
"name": "conditions",
|
|
"description": "What is wrong with the mesh now: every open condition, urgent first, then oldest, raised from the observers' findings (the watchman, the self-check, the healers, the assigner) and cleared when the finding goes, never by hand. Given a key, that one whole with its evidence; with history, every transition lately.",
|
|
"input": {
|
|
"properties": {
|
|
"days": {
|
|
"description": "with history: how many days back (default 7, at most 90)",
|
|
"type": "string"
|
|
},
|
|
"history": {
|
|
"description": "\"true\": every raising, change, silence and clearing lately, oldest first",
|
|
"enum": [
|
|
"true",
|
|
"false"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"description": "a condition's key: that one whole; with history, only its transitions",
|
|
"type": "string"
|
|
},
|
|
"machine": {
|
|
"description": "only those about this machine",
|
|
"type": "string"
|
|
},
|
|
"scope": {
|
|
"description": "only this scope: machine, plan, call, build, merge, provider, seat, bus, core, probe, mesh, delivery or module",
|
|
"type": "string"
|
|
},
|
|
"severity": {
|
|
"description": "only urgent, or only warning",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
{
|
|
"name": "silence",
|
|
"description": "Stop one condition's messages for a while, a hand act with why: it stays open and in status, and the silence is kept as its transition in history.",
|
|
"input": {
|
|
"properties": {
|
|
"cause": {
|
|
"description": "the cause in a word (the condition's kind when absent)",
|
|
"type": "string"
|
|
},
|
|
"for": {
|
|
"description": "how long: 30m, 4h, 2d; at most 7d",
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"description": "the condition's key",
|
|
"type": "string"
|
|
},
|
|
"why": {
|
|
"description": "why, required and recorded",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"key",
|
|
"for",
|
|
"why"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
{
|
|
"name": "resync",
|
|
"description": "Read every observer's findings again and raise and clear what differs from the open conditions: the recovery of a keeper that missed a change.",
|
|
"input": {
|
|
"properties": {},
|
|
"type": "object"
|
|
}
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"name": "condition-raised"
|
|
},
|
|
{
|
|
"name": "condition-changed"
|
|
},
|
|
{
|
|
"name": "condition-cleared"
|
|
}
|
|
]
|
|
}
|