Skip to content

HostShutdownResult

Experimental

host/shutdown result (ADR 73975 D2, B2): the mode echo. The reply itself is the acknowledgement: the wire layer writes it during task settlement, before the wind-down finalizer runs the drain, so receipt means only “shutdown accepted”. Drained is signaled by the finalizer’s session/closed frames, then EOF and serve exit; the caller waits for exit before powering down. parked echoes the effective mode: true = this shutdown parks pending prompts, false = it aborts them (or the host predates B2, whose {} deserializes to false — correctly, since a B1 host always aborts). Parked-prompt COUNTS are not here: the drain runs after the reply, so any count at reply time would be a pre-drain snapshot, not the parked set — the parked set is the pending approvals left pending in the log, and the trailing clean SessionEnd makes the next resume re-present them (MspLoadClean).

  • parked — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/HostShutdownResult

{
"description": "`host/shutdown` result (ADR 73975 D2, B2): the mode echo. The reply\nitself is the acknowledgement: the wire layer writes it during task\nsettlement, before the wind-down finalizer runs the drain, so\nreceipt means only \"shutdown accepted\". Drained is signaled by the\nfinalizer's `session/closed` frames, then EOF and serve exit; the\ncaller waits for exit before powering down.\n`parked` echoes the effective mode: `true` = this shutdown parks\npending prompts, `false` = it aborts them (or the host predates B2,\nwhose `{}` deserializes to `false` — correctly, since a B1 host\nalways aborts). Parked-prompt COUNTS are not here: the drain runs\nafter the reply, so any count at reply time would be a pre-drain\nsnapshot, not the parked set — the parked set is the pending\napprovals left pending in the log, and the trailing `clean`\nSessionEnd makes the next resume re-present them (MspLoadClean).",
"properties": {
"parked": {
"description": "The effective shutdown mode (ADR 73975 D2, B2).",
"type": "boolean"
}
},
"type": "object",
"x-msp-descriptor": "host/shutdown",
"x-msp-stability": "experimental"
}