Runtime 1.1.0: New Architecture, Migration, and Common Errors

Updated May 22, 2026 · 2 min read

What Runtime 1.1.0 moves into the execution layer, how to migrate to @senpi-ai/runtime, and fixes for TypeBox and margin errors.

Runtime 1.1.0 (May 2026) moves execution, risk management, exits, and telemetry into the runtime layer so the LLM only handles the signal - what to trade and when.

~30x

Faster reaction

sub-300ms vs 5-8s

~75%

Cheaper trades

maker-first default

~80%

Lower token cost

cheaper models viable

Other headline improvements

Runtime-enforced risk controls
daily loss caps, drawdown halts, consecutive-loss and per-asset cooldowns, enforced by the runtime, not by fragile Python.
Long-lived processes with built-in health checks
no more silent stalls; operators get alerts within minutes.
Fleet-wide learning telemetry
each agent can read its own and the fleet's full decision history, including trades passed on and why.

Upgrade path

Existing Senpi Railway deploys auto-updated to 1.1.0. For existing strategies, tell your agent: "upgrade my strategies to the latest senpi-trading-runtime skill." New strategies pick it up by default - nothing extra required. Source: github.com/Senpi-ai/senpi-trading-runtime.

Migrating from @senpi/trading-recipe to @senpi-ai/runtime

The runtime package was renamed, and the CLI changed from openclaw senpi trading-recipe to openclaw senpi runtime.

  • Install the new package: openclaw plugins install @senpi-ai/runtime.
  • New CLI: openclaw senpi runtime create -p <yaml>, ... runtime list, ... runtime delete <id>.
  • Update the plugin id in your openclaw.json to @senpi-ai/runtime.

Common runtime errors

Cannot find module '@sinclair/typebox/value' (gateway fails to load the runtime).

Fix

Happens on custom installs (git checkout, dist-only copy, or Docker images without devDependencies). Run npm install in the @senpi-ai/runtime package root, or npm ci --omit=dev from a lockfile, so node_modules includes @sinclair/typebox. The runtime uses TypeBox to validate scanner options at load time - if it is missing, the plugin will not load at all.

unknown method: senpi.getActionHistory

Fix

A regression in older @senpi-ai/runtime builds (broke openclaw senpi action list/inspect/history/decisions between 2026-04-16 and 2026-05-12). Fixed in the latest release. Update the plugin and restart the gateway.

Positions silently fail with no_margin_configured

Fix

Hits recipes that set only strategy.budget plus strategy.slots with no margin_per_slot or margin_pct, starting in 1.0.98-dev. Fixed in the latest release. Update the plugin and restart the gateway.

For runtime gateway/signal-level errors (OpenClaw Gateway is unreachable, Signal Dropped), see article 19.

Runtime source

Read the 1.1.0 changelog and source on GitHub.

View on GitHub
Share

Related articles