> For the complete documentation index, see [llms.txt](https://docs.wormbrain.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wormbrain.info/explore-wormbrain/04-lab/risk-cage.md).

# risk cage

The worm can want a step that would be stupid in a market. The cage exists so a twitch does not become a hole.

The cage is not the worm. Take it away and you still have a nervous system. You just have an unsafe experiment.

## What it checks

| Check       | What it does                                                                            |
| ----------- | --------------------------------------------------------------------------------------- |
| Allowlist   | Extremely risky tokens never become smells or orders                                    |
| Max size    | Urgency from the decoder is clipped to a cap                                            |
| Cooldown    | Two crawls cannot stack on top of each other in the same breath                         |
| Book depth  | If the size would be the book, the order dies                                           |
| Side sanity | No buy when there is nothing to buy with. No sell when the wallet is empty of that name |
| Flip-flop   | Forward and reverse winning in alternation get treated as pause                         |

Each block writes a reason. Reasons show up in the [audit trail](/explore-wormbrain/04-lab/audit.md).

## What it does not do

* It does not look at Twitter.
* It does not check whether you, personally, are having a good day.
* It does not "fix" a losing week by forcing a hero trade.
* It does not rewrite command-cell voltages.

If the cage is quiet and the wallet is quiet, the animal paused. If the cage is loud and the wallet is quiet, the animal tried and got caught.

## Paper and live

Training uses paper fills: fake fee, fake slip, real decoder. Live FOMO prints use the same checks with real fees and a smaller cap.

{% hint style="danger" %}
The cage is protection for the experiment. It is not protection for anyone copying the wallet. Your account is not inside these rules.
{% endhint %}

## Why publish this

Otherwise "the worm traded" and "a person clicked" look the same on FOMO. The cage is how you tell them apart. A blocked intent with a reason is the project working. A mystery print with no row behind it is the project failing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wormbrain.info/explore-wormbrain/04-lab/risk-cage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
