Files
mesh-sdk/go/seatlist/seatlisttest/seats/node-build-node.json
T
jschoubben 5fa64be894 Revert the revert of G's mesh-sdk merge (#191): G's sdk stands again over reader release 3
Main reverted G's half merge (#189, reverted by 8afc3eb in #191) and then took the reader release's S1-S5, which
copied G's code. G's form holds where they differ (process_bus.go, seats.go, state.go and their tests); the
release's kept names stay so main's callers keep building: SeatViewPrefix beside SeatReadPrefix, and QueueInvoke's
empty strings on not-ok (with its test TestQueueInvoke). The tree differs from G's head f30dee54 only by those and
the release's two tests (objects cap option, seat states and stream kinds).

Builds: design 47 G (the milestone's sdk part, as at f30dee54)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-13 12:49:56 +01:00

140 lines
3.0 KiB
JSON

{
"format": 1,
"seat": "node-build-node",
"scope": "node",
"grain": "whole",
"domain": "Delivery",
"decision": "novox/hq ADR 0525, ADR 0536, ADR 0553",
"pulled-by-kind": true,
"yields": true,
"acts": [
{
"step": "build",
"on": "typescript",
"bound": "60m"
}
],
"accepts": [
{
"name": "delivery",
"body": {
"$ref": "#/defs/StepAsk"
},
"callers": [
"seat:mesh-builds"
]
},
{
"name": "check",
"body": {
"$ref": "#/defs/StepAsk"
},
"callers": [
"seat:mesh-delivery-checker"
]
},
{
"name": "step",
"body": {
"$ref": "#/defs/StepAsk"
},
"callers": [
"seat:mesh-pipeline-runner"
]
},
{
"name": "recheck",
"body": {
"$ref": "#/defs/StepAsk"
},
"callers": [
"seat:mesh-delivery-checker"
]
}
],
"description": "The Node build module on a node: it takes the asks of the builder and the checker, runs them as steps and answers.",
"includes": [
"build-step"
],
"states": [
{
"name": "steps",
"template": "state",
"key-forms": [
{
"key": "<node>.<id>",
"value": {
"$ref": "#/defs/Step"
},
"description": "a step on a node"
}
],
"description": "the steps this module runs",
"history": 5
},
{
"name": "pauses",
"template": "state",
"key-forms": [
{
"key": "paused.<node>",
"value": {
"$ref": "#/defs/Pause"
},
"description": "whether a node is paused"
},
{
"key": "dropped.<id>",
"value": {
"$ref": "#/defs/Drop"
},
"description": "an ask its caller no longer waits for"
},
{
"key": "capacity.<node>",
"value": {
"$ref": "#/defs/Capacity"
},
"description": "a node's capacity"
}
],
"description": "the pause and the capacity of each node",
"history": 1
},
{
"name": "toolchains",
"template": "state",
"key-forms": [
{
"key": "<node>.<language>",
"value": {
"$ref": "#/defs/Toolchain"
},
"description": "the toolchain a node reports"
}
],
"description": "the toolchains the nodes report",
"history": 1
},
{
"name": "detected-steps",
"template": "state",
"history": 1,
"description": "each artifact's detected steps, one key per artifact (design 47 G section 326, section 414)",
"key-forms": [
{
"key": "<module>.<artifact>",
"value": {
"$ref": "#/defs/DetectedSteps"
},
"description": "an artifact's detected steps"
}
]
}
],
"family": {
"name": "node-build-node.events",
"max-age-days": 7
}
}