lifecycle
POST /lifecycle/restart — request a controlled restart/promotion of a
transient (Oneshot) daemon (ADR-008 P5-L).
REFUSES unless this daemon is an Oneshot residency AND the single-instance lock is enabled AND the target is not itself Oneshot. The accepted path raises the L8b quiescing flag (via the coordinator) so admission gates drain in-flight work; the Oneshot supervisor then self-terminates and app.rs persists the handover record. Production-neutral: no Oneshot daemon exists until L8d, so the accept path is unreachable in production.
post/lifecycle/restart
Request body
Response
Controlled restart accepted; quiescing/drain started