Services, Actors & Live Ops
Mo draws a hard security boundary between runtime self-healing and code deployment:
- Per-process isolation: Every HTTP
apirequest runs in its own isolated VM heap and budget; a bug aborts only that request, rolls back uncommitted SQLite transactions, captures a failure artifact, and keeps the server alive. - No unattended LLM deploys: Untrusted production crash payloads never trigger autonomous live redeploys. Instead, humans or agents diagnose offline and review diffs before upgrading.
Durable service & Admin Control Plane
Section titled “Durable service & Admin Control Plane”Public HTTP endpoints expose only application routes. Operator inspection and live operations run exclusively over an opt-in local mode-0600 Unix domain socket (--admin-socket):
# Export a verified, mode-0600 state or failure artifact (.moex)mo fetch --admin-socket /run/my-svc.sock
# Replay a captured failure offline and verify a candidate fixmo replay failure.moex --fix main.mo
# Run a pure Mo query against live service state or a .moex exportmo query main.mo inspect_state
# Rehearse an upgrade & state migration offline, then push atomicallymo rehearse main.mo snapshot.moexmo push main.mo --admin-socket /run/my-svc.sock