Runtime Modes
Stub Runtime vs Real Runtime
elo-agent-onboarder currently generates stub-ready installation packages. These packages are designed
to validate directory layout, boot flow, health checks, and EOW status reporting before you replace the stub with
a real OpenClaw-compatible runtime.
Stub Runtime
- Generated as
bin/openclaw-runtime.example.js. - Auto-copied to
bin/openclaw-runtime.jswhen no real runtime exists yet. - Exposes a minimal
/healthendpoint. - Lets you test local start scripts, systemd units, docker compose, and EOW status reporting.
Real Runtime
- Replace
bin/openclaw-runtime.jswith your actual OpenClaw-compatible runtime entrypoint. - Keep
config/openclaw-runtime.jsonas the stable config boundary. - Keep
/healthcompatible so generated health checks keep working. - Keep status reporting through
report-status.shor your own equivalent runtime logic.
Expected File Layout
install-root/
bin/
openclaw-runtime.js
openclaw-runtime.example.js
config/
openclaw-runtime.json
openclaw-runtime.example.json
data/
logs/
runtime-contract.json
report-status.sh
healthcheck.sh
Migration Path
- Generate a profile package from EOW.
- Run it as-is with the stub runtime to verify the boot chain.
- Replace
bin/openclaw-runtime.jswith your real runtime. - Adjust
config/openclaw-runtime.jsonfor your runtime-specific needs. - Keep the generated health and status contracts unless your runtime has a stronger compatible implementation.