Skip to main content
SuperformOS Strategy Canvas — automated vault strategy lanes and controls
New to strategy authoring? Start with Strategy Quickstart, then use Strategy DSL and Action Config as field references.
The Strategy Canvas is where operators define automated vault behavior. Strategies evaluate rules on ticks and dispatch DeFiX intents to the OMS when conditions pass. Public SuperVault detail pages expose the canvas as a read-only tab. Manager actions such as create, update, reorder, run, stop, and archive are available only in the authenticated Operate surface. The canvas is organized by action lane:

Strategy Lifecycle

The Strategy Engine API currently models these states directly. Vault-level kill switches and emergency locks can still prevent a strategy from publishing even when the stored state is RUNNING.

Create or Update a Strategy

A strategy contains:
  • Name.
  • Indicators.
  • Rule tree.
  • Action config.
  • Conviction config.
  • Risk parameters.
  • Cooldown and concurrency controls.
Create and update calls do not carry priority. Ordering is handled by the dedicated reorder endpoint. Updates require a version for optimistic concurrency. A stale version returns 409 Conflict.

Authoring References

Strategy authoring is split into focused references:

Reorder Strategies

Drag within a lane to change priority. The UI persists order through:
The request includes vault_id, lane, and the complete ordered list of non-archived strategy IDs for that lane. The backend atomically assigns priorities 1..N from list position.
The ordered list must include every non-archived strategy in the lane exactly once. Priority is server-managed; create and update requests no longer set it.

Rule Trees

Rules are boolean trees: Conviction config can require repeated passing ticks before publishing an intent.

Action Config

Action config tells the engine what to do after rules pass. Common fields include:
  • action
  • size_expr
  • objective
  • execution_name
  • execution_address
  • target_address
  • from_address
  • target_type
  • execution_params
  • max_slippage_bps
A target must be whitelisted and authorized by the active merkle root before OMS execution can succeed.

Emergency Locks

Emergency liquidity exits create target-scoped locks. While a lock exists for a yield source address:
  • User-defined strategies targeting that address cannot publish new intents.
  • Affected toggles and reorder handles are disabled in the UI.
  • Strategies on other targets remain operable.
  • The paired EMERGENCY_EXIT strategy is controlled from Pause Operations, not the normal editor.
The canvas reads emergency_locks from shard / vault state and displays a banner when active.

Intent History

The Intent History view is the operator-facing execution ledger for strategies. It maps Strategy Engine projections to OMS events and fills. Use it to answer:
  • Which strategy created the intent?
  • What lifecycle state is it in?
  • Which OMS events have arrived?
  • Were fills mined?
  • What gas was used?
  • Which transaction hash settled the fill?
Prefer the search endpoint for new tooling:
See Strategy Engine API and OMS API.

Session Key Gate

Strategies need OMS execution readiness. If a vault lacks a valid session key, the canvas blocks automation and points operators to grant or renew the key. See OMS API for the session-key endpoints.

API Reference