Skip to content

Services, Actors & Live Ops

Mo draws a hard security boundary between runtime self-healing and code deployment:

  • Per-process isolation: Every HTTP api request 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.

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):

Terminal window
# 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 fix
mo replay failure.moex --fix main.mo
# Run a pure Mo query against live service state or a .moex export
mo query main.mo inspect_state
# Rehearse an upgrade & state migration offline, then push atomically
mo rehearse main.mo snapshot.moex
mo push main.mo --admin-socket /run/my-svc.sock