"Cross-platform Vox — runbook"

Cross-platform Vox — runbook

This page ties together how Vox is meant to run on servers, generated apps, and mobile-adjacent clients. It complements deployment compose SSOT, mobile / edge AI SSOT, and mens SSOT.

Lane S — Server script / worker

Lane A — App / generated server

  • Entry: vox run in app mode (default auto-detection or RunMode::App): compiler pipeline + generated server under target/generated (see Vox full-stack web UI SSOT).
  • Deploy: vox deploy / vox-container and Compose emission — deployment compose SSOT.

Lane M — Mobile native

  • No vox binary on stock iOS/Android for full language stack or Ollama; see mobile / edge AI SSOT.
  • Mens: native apps act as HTTP clients: register via POST /v1/populi/join with a NodeRecord, using the same VOX_MESH_* / control URL conventions as servers.
  • Inference: set VOX_INFERENCE_PROFILE (e.g. mobile_litert, cloud_openai_compatible) so MCP-compatible tooling does not assume desktop Ollama on loopback.

Lane R — Remote mobile workspace client

  • Entry: phone browser or mobile shell connects to a remote Vox host over authenticated network APIs.
  • Role: planning/chat, bounded edits, validation, and orchestrator monitoring happen remotely; the phone is a client, not the toolchain host.
  • Host requirement: the remote host owns repo checkout, Cargo/git/tooling, .vox/cache, and long-lived MCP/orchestrator processes.
  • Non-goal: Lane R does not imply on-device parity with vox CLI or full server-script runtime semantics.

WASM clarification

WASI / Wasmtime (vox run --isolation wasm on a workstation) is not the same as in-browser WebGPU + WASM. Browser tiers are optional and policy-gated; see mobile / edge AI SSOT (browser row).

Docker image / feature matrix

Images are operator-defined tags unless your registry publishes blessed names. The table below is the documentation convention aligned with the repo Dockerfile and examples/mens-compose.yml.

Documented tag (convention)VOX_CLI_FEATURES (build-arg)Primary CMDPorts (typical)
vox (default build)(empty)vox mcp3000
vox:mens-workermens,script-executionvox mcp, vox populi serve, or vox run --mode script per service3000, 9847 (control plane)

Env-over-features

Prefer runtime environment when behavior is already gated in-tree:

Rebuild with different VOX_CLI_FEATURES only when you need code paths that are not linked in the default binary (e.g. mens, script-execution).