lifecycle
POST /lifecycle/restart — request a controlled restart/promotion of a
Changed ontransient (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
- The document declares no server URL.
- Auth
- API key in query parameter auth
- or API key in header Authorization
Request body
Response
Controlled restart accepted; quiescing/drain started
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info