Files
mesh-delivery/modules/mesh-delivery-contracts/seats/node-build-node/fixtures/verbs.json
T
jschoubben f06c9cf5fd C1c-1: the three build seats' verb output answers a run's answer in chunks
The part build-step gains the verb `output` (the ask and the call in, the ask and the chunk count out, marked chunks, read by the
askers of a run), and the fields output and output-object of step-ended name the run's answer inline or as an object the holder
keeps. The three seats' fixtures carry the verb; the generated Go and TypeScript follow.

Builds: design 47 G A-254, A-139, §712, §354

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 09:34:48 +01:00

145 lines
3.8 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": "output asks a run's answer by its ask",
"of": "verb:output.input",
"given": {
"ask": "m2kx9a1b3c4d5f",
"call": "0123456789abcdef0123456789abcdef"
}
},
{
"name": "output answers how many chunks carry the answer",
"of": "verb:output.answer",
"given": {
"ask": "m2kx9a1b3c4d5f",
"chunks": 3
}
}
]