Control panel · CLI parity from the dashboard

Hands on the wheel.

Every write action the agents perform from the CLI is also wired here. Kill, flip a strategy's lifecycle, drop a manual order, fire a refit — all gated by the same OrderManager + kill-switch + caps that protect the CLI path.

Auth lock
no token stored — if CUANAGENT_DASHBOARD_TOKEN is set on the server, write routes will return 401 until you paste it below

Kill switch

Trigger

Clear

Find active id with cuan risk status or on the /risk page.

Strategy lifecycle

Promote: research → paper (gated on Sharpe ≥ 1.2 AND |DD| ≤ 30%). Paper → live needs force=true.

Manual order

Order is queued; PositionMonitor.tick() submits via OrderManager (kill-switch + caps + live-gate enforced).

Cancel order

Find the order id from cuan order list or the /trades page. Worker calls broker.cancel_order on next tick.

Trigger learning + reflection

Walk-forward refit

Reflect on closed trades

Generates one reflection row per recently-closed position.

Reclassify regime