What the kill switch actually does
Halyrd uses a two-layer risk system. The Risk Engine is the policy layer — it decides whether a trade fits the strategy and risk rules. TWAK is the physics layer — it decides whether a transaction is permitted to exist at all, at the signing level, outside our application code. The kill switch operates exclusively at the physics layer. It revokes the TWAK session that grants the agent signing rights. Once revoked:- The agent cannot submit any live transaction to BSC, regardless of what the policy layer says
- No token swap, no position entry, no exit — nothing can be signed
- This holds even if the agent’s own code attempts to execute a trade
How to activate the kill switch
Navigate to Settings (
/settings). The kill switch is in its own section near the bottom of the page, marked with a red button.To prevent accidental activation, the dialog requires you to type a short confirmation phrase — for example, “revoke signing” — before the action can be confirmed. This friction is intentional: the kill switch has immediate, real consequences.
/risk) physics column updates to show the kill switch state: “Revoked”KILL entry with a timestamp, confirming the session was revoked and noting that live signing is no longer availableAfter activation
The kill switch affects the physics layer only. The agent’s paper-trading loop and journal continue running normally after activation. The agent keeps pulling live market data, computing signals, and logging paper trades — it just cannot sign any real transactions. No paper-trade journal entries are lost, and evaluation metrics keep accumulating.
| Activity | After kill switch |
|---|---|
| Paper-trading loop | ✅ Continues |
| Journal entries (paper) | ✅ Continues |
| Evaluation metric tracking | ✅ Continues |
| Risk Engine policy checks | ✅ Continues |
| Live BSC transaction signing | 🚫 Blocked at the signing layer |
| Live position entries | 🚫 Blocked |
| Live position exits | 🚫 Blocked |
Kill switch vs. demotion — what’s the difference?
Both demotion and the kill switch take the agent off live trading, but they work differently and serve different purposes.| Demotion | Kill switch | |
|---|---|---|
| Triggered by | Automatic drawdown breach | You, manually |
| TWAK session | Preserved — paper trades can graduate back to live | Revoked — no live signing possible at all |
| Recovery | Automatic (daily breach) or manual re-approval (max breach) | Requires restoring the TWAK session |
| Paper trading | Continues | Continues |
| Risk layer affected | Policy layer (Risk Engine) triggers the state change | Physics layer (TWAK signing) |