Files
mesh-delivery/modules/mesh-delivery-contracts/seats/node-build-node/fixtures/verbs.json
T
jschoubben fad9f059ee BM4b (sdk): an end over the steps state's value is read through the verb answer
A step's end is an event, not a verb's answer, so an end over what the steps
state's value or step-ended carries has a reader of its own: keepOver keeps it
in the steps objects as answer.<ask>, the step key and step-ended carry
answer-object in place of output-object, and the build seats gain the read
verb answer (ask and call, marked chunks); output stays the run text's reader.
Step.Whole and StepEnded.ReadOutput read through answer.

Builds: design 47 H2 §791; H-A-412 (2) and its addendum
2026-11-22 01:08:58 +01:00

213 lines
5.5 KiB
JSON

[
{
"name": "drop names the ask and why",
"of": "verb:drop.input",
"given": {
"id": "a1b2",
"by": "mesh-delivery-builder",
"why": "a newer fingerprint supersedes it"
}
},
{
"name": "kept-artifact asks",
"of": "verb:kept-artifact.input",
"given": {
"module": "artifact-store",
"fp": "src2:1480985e",
"digest": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
}
},
{
"name": "kept-artifact answers where the bytes are",
"of": "verb:kept-artifact.answer",
"given": {
"module": "artifact-store",
"fp": "src2:1480985e",
"digest": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
"size": 18874368,
"store": "mesh-build-go-kept",
"object": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
}
},
{
"name": "kept-artifact refuses a module that is claims no oci-artifact-registry",
"of": "verb:kept-artifact.answer",
"given": {
"module": "mesh-delivery-gate",
"fp": "src2:aaaaaaaa",
"refused": "claims no oci-artifact-registry",
"words": "mesh-delivery-gate claims no oci-artifact-registry: its build is fetched from the store"
}
},
{
"name": "kept-artifact refuses a build it no longer keeps",
"of": "verb:kept-artifact.answer",
"given": {
"module": "artifact-store",
"fp": "src2:1480985e",
"refused": "not kept",
"words": "this node keeps no build of artifact-store at src2:1480985e"
}
},
{
"name": "kept-artifact refuses a build kept under another digest",
"of": "verb:kept-artifact.answer",
"given": {
"module": "artifact-store",
"fp": "src2:1480985e",
"digest": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"refused": "digest differs",
"words": "artifact-store at src2:1480985e is kept as eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
}
},
{
"name": "kept-artifact answers an error, never none",
"of": "verb:kept-artifact.answer",
"given": {
"module": "artifact-store",
"fp": "src2:1480985e",
"error": "the kept builds could not be read"
}
},
{
"name": "steps asks an artifact's pipeline steps at a commit",
"of": "verb:steps.input",
"given": {
"module": "nats",
"artifact": "nats:program",
"fingerprint": "fp-0123",
"fetch": {
"repository": "novox/mesh-catalog",
"commit": "0123456789abcdef0123456789abcdef01234567"
}
}
},
{
"name": "steps answers lint and unit tests",
"of": "verb:steps.answer",
"given": {
"artifact": "nats:program",
"fingerprint": "fp-0123",
"steps": [
{
"step": "lint"
},
{
"step": "unit",
"packages": [
"./modules/nats"
]
}
]
}
},
{
"name": "steps drops an artifact's kept steps with a reason",
"of": "verb:steps.input",
"given": {
"module": "nats",
"artifact": "nats.program",
"drop": true,
"why": "the detection was wrong"
}
},
{
"name": "steps answers a drop with the artifact",
"of": "verb:steps.answer",
"given": {
"dropped": "nats.program"
}
},
{
"name": "steps answers a drop that the hand-act log refused",
"of": "verb:steps.answer",
"given": {
"error": "the hand-act log refused: nothing was deleted"
}
},
{
"name": "answer asks a step's kept end by its ask, naming the call of its chunks",
"of": "verb:answer.input",
"given": {
"ask": "m2kx9a1b3c4d5f",
"call": "0123456789abcdef0123456789abcdef"
}
},
{
"name": "answer answers how many chunks carry the kept end",
"of": "verb:answer.answer",
"given": {
"ask": "m2kx9a1b3c4d5f",
"chunks": 3
}
},
{
"name": "output asks a step's output by its ask",
"of": "verb:output.input",
"given": {
"ask": "m2kx9a1b3c4d5f"
}
},
{
"name": "output answers the last 64 KB, the size and the failing tests with their words",
"of": "verb:output.answer",
"given": {
"ask": "m2kx9a1b3c4d5f",
"output": "--- FAIL: TestTheBusWhole (0.20s)\n bus_test.go:41: no responders\nFAIL\n",
"size": 181234,
"failing": [
{
"test": "TestTheBusWhole",
"words": "bus_test.go:41: no responders"
}
]
}
},
{
"name": "output answers an output past the objects' max-age as no longer kept",
"of": "verb:output.answer",
"given": {
"ask": "m2kx9a1b3c4d5e",
"no-longer-kept": true
}
},
{
"name": "current answers a holder that takes asks and the asks it runs, whoever asked",
"of": "verb:current.answer",
"given": {
"node": "anchor",
"takes": true,
"since": "2026-11-21T22:00:00Z",
"capacity": 2,
"asks": [
{
"id": "m2kx9a1b3c4d5f",
"kind": "step",
"module": "nats",
"started": "2026-11-21T22:01:00Z",
"asker": "mesh-delivery-pipeline"
},
{
"id": "a1b2",
"kind": "build",
"module": "nats",
"started": "2026-11-21T22:02:00Z",
"asker": "mesh-delivery-builder"
}
]
}
},
{
"name": "current answers a paused holder, since when",
"of": "verb:current.answer",
"given": {
"node": "home-server",
"takes": false,
"why-not": "paused",
"since": "2026-11-21T21:00:00Z",
"capacity": 2,
"asks": []
}
}
]