K4, K5 (node-engine waits): the seat says wait-held and wait-ended, and the have carries its wait

defs.Wait has the fields of a wait (owner, step compose or kept-build, node, on, bound, since, clock-from, words, reason)
and, in the have, ask-at and act; wait-held.<node>.<module> and wait-ended.<node>.<module> are kept last per subject on
the stream running is kept on; the have's value gains wait, waits stays. Generated code waits for K21.

Builds: design 47 G §498, §499, §541, §556, §560, §629

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 20:31:03 +01:00
parent 7d730a4a75
commit a5cf2c5df1
3 changed files with 135 additions and 0 deletions
+27
View File
@@ -131,5 +131,32 @@
"stopped": true,
"at": "2026-11-11T09:00:00Z"
}
},
{
"name": "a kept build's wait is held",
"of": "event:wait-held",
"subject": "mesh.seat.node-engine.event.wait-held.ace.postgres",
"given": {
"owner": "node-engine",
"step": "kept-build",
"node": "ace",
"on": "the kept build of postgres",
"bound": "60m",
"since": "2026-11-11T10:00:00Z",
"clock-from": "2026-11-11T10:00:00Z",
"words": "waiting for the kept build of postgres on ace",
"reason": "node away"
}
},
{
"name": "a hold of the composition ends",
"of": "event:wait-ended",
"subject": "mesh.seat.node-engine.event.wait-ended.ace.postgres",
"given": {
"owner": "node-engine",
"step": "compose",
"since": "2026-11-11T10:00:00Z",
"reason": "restore point missing"
}
}
]
+23
View File
@@ -515,5 +515,28 @@
"contract": 3,
"at": "2026-11-05T12:00:00Z"
}
},
{
"name": "a have that waits for the recovery module, with its wait, ask-at and act (design 47 G 560, 629)",
"of": "state:have/<node>.<module>",
"given": {
"v": 1,
"fp": "0123456789ab",
"phase": "held",
"detail": "waiting for a restore point",
"wait": {
"owner": "node-engine",
"step": "compose",
"on": "the recovery module's ended",
"bound": "90m",
"since": "2026-11-11T10:00:00Z",
"clock-from": "2026-11-11T10:00:00Z",
"words": "waiting for the point of postgres's data",
"reason": "recovery wait",
"ask-at": "2026-11-11T10:00:00Z",
"act": "a-20261111t100000"
},
"health": "waits"
}
}
]