The node-engine seat's read verb converged (ADR 0683, design 33 control-verbs §10)

The holder of node-packet-filter refuses allow and disallow on an adopted node
and never assumes converged, so it asks the node-engine the node's convergence
state: adopted or converged, since when, and the found firewall's kind when
adopted. The composition answer gains withheld-parts, each part a compose kept
because its read did not answer, with why: the filter's node-packet-filter.allowed.
Packages generated again by seatgen (seatgen -check clean).

Builds: design 33 control-verbs §10; design 08 control-verbs §4; ADR 0683; H-A-316, H-A-321
This commit is contained in:
2026-11-21 21:02:53 +01:00
parent 87eab81be1
commit efcef83cf4
6 changed files with 181 additions and 25 deletions
+40
View File
@@ -283,5 +283,45 @@
}
]
}
},
{
"name": "converged answers an adopted node with its found firewall",
"of": "verb:converged.answer",
"given": {
"state": "adopted",
"since": "2026-10-02T09:00:00Z",
"found": "ufw"
}
},
{
"name": "converged answers a converged node since it converged",
"of": "verb:converged.answer",
"given": {
"state": "converged",
"since": "2026-11-21T19:00:00Z"
}
},
{
"name": "composition names the filter part kept because allowed did not answer",
"of": "verb:composition.answer",
"given": {
"node": "desk",
"module": "nftables",
"started": true,
"composition": {
"key": ""
},
"judged": {
"judgement": "",
"waits_for_yes": false,
"words": ""
},
"withheld-parts": [
{
"part": "node-packet-filter.allowed",
"why": "asked of the seat node-packet-filter's verb allowed on desk, which did not answer within 10s"
}
]
}
}
]
+78 -24
View File
@@ -5,7 +5,7 @@
"grain": "whole",
"domain": "Core",
"decision": "novox/hq ADR 0563",
"description": "The node seat every node's engine holds (novox/hq ADR 0563, ADR 0618 §3, §4): its hand acts on the operator's warrant, its read-only judgements, its compositions and what it reads of a manifest. Each verb is answered on this node's subject, mesh.seat.node-engine.tool.<verb>.<node>, and each event is published on mesh.seat.node-engine.event.<event>.<node>, the node's name its last token, or, for an event whose subject names <node>, there (composed.<node>, running.<node>.<module>): the grants part grants a node's account only its own node's subjects (ADR 0363 §2).",
"description": "The node seat every node's engine holds (novox/hq ADR 0563, ADR 0618 \u00a73, \u00a74): its hand acts on the operator's warrant, its read-only judgements, its compositions and what it reads of a manifest. Each verb is answered on this node's subject, mesh.seat.node-engine.tool.<verb>.<node>, and each event is published on mesh.seat.node-engine.event.<event>.<node>, the node's name its last token, or, for an event whose subject names <node>, there (composed.<node>, running.<node>.<module>): the grants part grants a node's account only its own node's subjects (ADR 0363 \u00a72).",
"acts": [
{
"step": "compose",
@@ -15,7 +15,7 @@
"verbs": [
{
"name": "hand-over",
"description": "Hand a directory this machine uses as found to the mesh (novox/hq ADR 0563 §3, §5): the engine judges the path as it does every hand-over (absolute, as it states it, used as found, reached through no link) and refuses in words, or asks the operator on their channel at the level approve, binding the owner, group and mode it will set. Nothing changes on the call: only the operator's yes hands it over. One ask is open per path; acts shows where it stands.",
"description": "Hand a directory this machine uses as found to the mesh (novox/hq ADR 0563 \u00a73, \u00a75): the engine judges the path as it does every hand-over (absolute, as it states it, used as found, reached through no link) and refuses in words, or asks the operator on their channel at the level approve, binding the owner, group and mode it will set. Nothing changes on the call: only the operator's yes hands it over. One ask is open per path; acts shows where it stands.",
"input": {
"properties": {
"path": {
@@ -39,7 +39,7 @@
},
{
"name": "access-act",
"description": "Ask the operator for the take act on a library whose root holds data outside its group (novox/hq ADR 0328 §7, ADR 0563 §3, §4), on the library's home engine: the access as declared and its root as last declared, judged and refused in words or asked at the level approve. Only the operator's yes sets the library's group, group write and setgid under its root. One ask is open per access.",
"description": "Ask the operator for the take act on a library whose root holds data outside its group (novox/hq ADR 0328 \u00a77, ADR 0563 \u00a73, \u00a74), on the library's home engine: the access as declared and its root as last declared, judged and refused in words or asked at the level approve. Only the operator's yes sets the library's group, group write and setgid under its root. One ask is open per access.",
"input": {
"properties": {
"access": {
@@ -68,7 +68,7 @@
},
{
"name": "judge-directories",
"description": "Which of this machine's declared directories the engine would refuse to make or keep, one line each (novox/hq ADR 0563 §2). Read-only: changes no owner or mode.",
"description": "Which of this machine's declared directories the engine would refuse to make or keep, one line each (novox/hq ADR 0563 \u00a72). Read-only: changes no owner or mode.",
"input": {
"properties": {},
"type": "object"
@@ -80,7 +80,7 @@
},
{
"name": "setuid-search",
"description": "Throw away the engine's last search for setuid programs and start a full one (novox/hq ADR 0563 §2); until it completes root-free answers that the machine is not judged yet. Refused while one runs, and when one was started within the hour, naming when the next may start.",
"description": "Throw away the engine's last search for setuid programs and start a full one (novox/hq ADR 0563 \u00a72); until it completes root-free answers that the machine is not judged yet. Refused while one runs, and when one was started within the hour, naming when the next may start.",
"input": {
"properties": {
"why": {
@@ -97,7 +97,7 @@
},
{
"name": "root-free",
"description": "Whether this machine is root-free (novox/hq ADR 0259 §8, ADR 0563 §6): free only on the engine's own verdict, at most fifteen minutes old, that the account agents run as cannot become root without a person, and the login shell's execute not served here. Anything else is no pass, and says why. Answered by this machine's engine alone.",
"description": "Whether this machine is root-free (novox/hq ADR 0259 \u00a78, ADR 0563 \u00a76): free only on the engine's own verdict, at most fifteen minutes old, that the account agents run as cannot become root without a person, and the login shell's execute not served here. Anything else is no pass, and says why. Answered by this machine's engine alone.",
"input": {
"properties": {},
"type": "object"
@@ -121,7 +121,7 @@
},
{
"name": "acts",
"description": "Every act this machine's engine was asked through this seat (novox/hq ADR 0563 §9): each hand-over, access act and setuid search, open, done or refused, with who asked, the ask and the operator's warrant. Read-only.",
"description": "Every act this machine's engine was asked through this seat (novox/hq ADR 0563 \u00a79): each hand-over, access act and setuid search, open, done or refused, with who asked, the ask and the operator's warrant. Read-only.",
"input": {
"properties": {
"id": {
@@ -242,7 +242,7 @@
"type": "string"
},
"digest": {
"description": "a composition's digest (sha256:…), to read that revision rather than the latest",
"description": "a composition's digest (sha256:\u2026), to read that revision rather than the latest",
"type": "string"
},
"module": {
@@ -287,7 +287,7 @@
},
"self": {
"type": "boolean",
"description": "the node composes the module itself (ADR 0547 §2)"
"description": "the node composes the module itself (ADR 0547 \u00a72)"
},
"backup": {
"type": "string",
@@ -517,6 +517,27 @@
"withheld-unknown": {
"type": "string",
"description": "withheld unknown: the grants part does not answer, when its verb withheld did not answer"
},
"withheld-parts": {
"type": "array",
"description": "each part a compose kept because its read did not answer, with why (design 08 control-verbs \u00a74, H-A-321): for the packet filter's holder the part node-packet-filter.allowed, its filter file kept as it runs",
"items": {
"type": "object",
"required": [
"part",
"why"
],
"properties": {
"part": {
"type": "string",
"description": "the read asked, as <seat>.<verb>"
},
"why": {
"type": "string",
"description": "why it did not answer, naming the holder asked"
}
}
}
}
},
"required": [
@@ -595,7 +616,7 @@
},
{
"name": "compose-candidate",
"description": "Compose a check's candidate on this machine in shadow, with its own sealed values and the indexer's manifest verdicts, and say per module placed here whether it composes (with its digest and whether the candidate changes it), is refused by the candidate or is held without it, each with why, and the verdict of the machine's own composition (novox/hq ADR 0593 §7). Read-only: applies nothing and writes nothing. Answered by this machine's engine alone, within the asker's bound.",
"description": "Compose a check's candidate on this machine in shadow, with its own sealed values and the indexer's manifest verdicts, and say per module placed here whether it composes (with its digest and whether the candidate changes it), is refused by the candidate or is held without it, each with why, and the verdict of the machine's own composition (novox/hq ADR 0593 \u00a77). Read-only: applies nothing and writes nothing. Answered by this machine's engine alone, within the asker's bound.",
"optional": true,
"input": {
"properties": {
@@ -640,7 +661,7 @@
"unready",
"not-judged"
],
"description": "the node's verdict (ADR 0593 §7, §9)"
"description": "the node's verdict (ADR 0593 \u00a77, \u00a79)"
},
"modules": {
"type": "array",
@@ -686,7 +707,7 @@
{
"name": "manifest-reads",
"optional": true,
"description": "The reader capabilities this machine's engine states (manifest words, forms and seat names it reads, novox/hq ADR 0618 §3) and when it last stated them. An engine built before it said them states none, which a reader takes as the baseline. Read-only. Answered by this machine's engine alone.",
"description": "The reader capabilities this machine's engine states (manifest words, forms and seat names it reads, novox/hq ADR 0618 \u00a73) and when it last stated them. An engine built before it said them states none, which a reader takes as the baseline. Read-only. Answered by this machine's engine alone.",
"input": {
"type": "object",
"properties": {}
@@ -720,7 +741,7 @@
"node",
"stated-at"
],
"description": "what this machine's engine reads of a manifest (ADR 0618 §3)"
"description": "what this machine's engine reads of a manifest (ADR 0618 \u00a73)"
},
"class": "read"
},
@@ -787,7 +808,7 @@
},
{
"name": "seat-list",
"description": "The seat list this engine holds and what it waits for (novox/hq ADR 0636 §7): each seat's source (trunk or bootstrap) and digest, the seats held from the bootstrap alone, the definitions refused, the last error and whether the seat mesh-catalog has answered. Read-only.",
"description": "The seat list this engine holds and what it waits for (novox/hq ADR 0636 \u00a77): each seat's source (trunk or bootstrap) and digest, the seats held from the bootstrap alone, the definitions refused, the last error and whether the seat mesh-catalog has answered. Read-only.",
"input": {
"type": "object",
"properties": {}
@@ -798,7 +819,7 @@
},
{
"name": "seat-list-again",
"description": "Make this engine read the seat list from the seat mesh-catalog now (novox/hq ADR 0636 §7), the recovery of a list unread; it answers what it holds afterwards, and the error when the read failed. A read that changed nothing still ends the engine's wait.",
"description": "Make this engine read the seat list from the seat mesh-catalog now (novox/hq ADR 0636 \u00a77), the recovery of a list unread; it answers what it holds afterwards, and the error when the read failed. A read that changed nothing still ends the engine's wait.",
"input": {
"type": "object",
"properties": {}
@@ -1057,6 +1078,39 @@
"$ref": "#/defs/ProcessBuilds"
},
"class": "read"
},
{
"name": "converged",
"description": "The node's convergence state, which the node-engine keeps (ADR 0168, ADR 0683; design 33 control-verbs \u00a710): adopted or converged, since when it became so, and for an adopted node the kind of the firewall found. Read-only: the holder of node-packet-filter asks it at its start and at every allow and disallow, and refuses when it does not answer.",
"class": "read",
"input": {
"type": "object",
"properties": {}
},
"answer": {
"type": "object",
"required": [
"state"
],
"properties": {
"state": {
"type": "string",
"enum": [
"adopted",
"converged"
],
"description": "the node's mode: adopted (the found firewall's terms) or converged (the mesh's own filter)"
},
"since": {
"type": "string",
"description": "when the node became so, RFC 3339; absent where the engine recorded no time for it"
},
"found": {
"type": "string",
"description": "the kind of the firewall found, for an adopted node"
}
}
}
}
],
"events": [
@@ -1696,7 +1750,7 @@
"description": "one finding of the observer that wrote it"
}
],
"description": "the findings this node's engine raises about itself, one key per finding, in the layout of the seat mesh-conditions (its findings state): a key written raises the condition of the same key, a key deleted clears it (novox/hq ADR 0564 §2, ADR 0636 §1); today `machine.<node>.seat-list-unread`"
"description": "the findings this node's engine raises about itself, one key per finding, in the layout of the seat mesh-conditions (its findings state): a key written raises the condition of the same key, a key deleted clears it (novox/hq ADR 0564 \u00a72, ADR 0636 \u00a71); today `machine.<node>.seat-list-unread`"
},
{
"name": "bounds",
@@ -1708,7 +1762,7 @@
"key": "<what>.<id>",
"value": {
"type": "object",
"description": "one bound a wait of the node-engine runs against, kept with its own time to live: its expiry is heard as the bus's delete marker and ends the wait (design 47 G §560, A-77)",
"description": "one bound a wait of the node-engine runs against, kept with its own time to live: its expiry is heard as the bus's delete marker and ends the wait (design 47 G \u00a7560, A-77)",
"properties": {
"v": {
"type": "integer",
@@ -1815,7 +1869,7 @@
},
"auto": {
"type": "boolean",
"description": "the engine asked it itself, on finding a library's root holding data outside its group (ADR 0563 §4)"
"description": "the engine asked it itself, on finding a library's root holding data outside its group (ADR 0563 \u00a74)"
}
},
"required": [
@@ -1825,7 +1879,7 @@
"at",
"state"
],
"description": "one act asked through the seat, as acts reads it (ADR 0563 §9)"
"description": "one act asked through the seat, as acts reads it (ADR 0563 \u00a79)"
},
"ActSaid": {
"type": "object",
@@ -1870,7 +1924,7 @@
"state",
"node"
],
"description": "what the seat says of an act: the act, the path or access, the caller as the runtime proved it and the ask (ADR 0563 §1)"
"description": "what the seat says of an act: the act, the path or access, the caller as the runtime proved it and the ask (ADR 0563 \u00a71)"
},
"Acts": {
"type": "object",
@@ -1961,7 +2015,7 @@
"at",
"why"
],
"description": "what a node-engine says when what it reads changed or its node returned (ADR 0618 §4)"
"description": "what a node-engine says when what it reads changed or its node returned (ADR 0618 \u00a74)"
},
"Module": {
"type": "object",
@@ -2061,7 +2115,7 @@
"why",
"judged"
],
"description": "the engine's root-free verdict (ADR 0563 §6)"
"description": "the engine's root-free verdict (ADR 0563 \u00a76)"
},
"Said": {
"type": "object",
@@ -2106,7 +2160,7 @@
},
"SeatList": {
"type": "object",
"description": "what an engine holds of the seat list (novox/hq ADR 0636 §7)",
"description": "what an engine holds of the seat list (novox/hq ADR 0636 \u00a77)",
"properties": {
"status": {
"type": "object",
@@ -3160,7 +3214,7 @@
},
"Running": {
"type": "object",
"description": "a module's build running on a node, and its health: what the node-engines of other nodes and the grants part decide a seat's pass from (ADR 0660 §2), and the assigner reads a provider's and a canary's health and a put's end from (design 47 G 520); said again on the same subject each time healthy changes and for every module the have holds at the engine's start, kept last per subject with no age limit",
"description": "a module's build running on a node, and its health: what the node-engines of other nodes and the grants part decide a seat's pass from (ADR 0660 \u00a72), and the assigner reads a provider's and a canary's health and a put's end from (design 47 G 520); said again on the same subject each time healthy changes and for every module the have holds at the engine's start, kept last per subject with no age limit",
"properties": {
"v": {
"type": "integer",