> For the complete documentation index, see [llms.txt](https://zkcross-network-1.gitbook.io/learn.zkcross.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zkcross-network-1.gitbook.io/learn.zkcross.network/security-and-control/guardian-enforcement.md).

# Guardian Enforcement

<figure><img src="https://2970403064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwOUbJmiTegGBEv1M988A%2Fuploads%2FbAY03xKW9A3cdH4lW85l%2FGuardian%20gate%20diagram.png?alt=media&amp;token=5a772fbd-f1f1-4868-82c6-feb4dc08a018" alt=""><figcaption></figcaption></figure>

The Guardian is central to the zkCross worldview.

It is the reason automation can remain useful without becoming discretionary.

The Guardian checks every action against the rules that define valid execution. Those checks include:

* protocol and contract allowlists
* action scope and parameter boundaries
* exposure and concentration limits
* slippage and price deviation thresholds
* emergency states and route viability
* settlement assumptions and invariant consistency

<figure><img src="https://2970403064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwOUbJmiTegGBEv1M988A%2Fuploads%2FAWTswsRNTk5JyWUNQcTC%2FSurf%20Guardian%20Layer%20Architecture.png?alt=media&amp;token=34bdc587-942b-406b-a86d-3636aeaaa842" alt=""><figcaption></figcaption></figure>

This is what turns zkCross from a flexible execution tool into controlled infrastructure.

Without Guardian-style enforcement, cross-chain automation is just a promise. With it, automation becomes inspectable and bounded.


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://zkcross-network-1.gitbook.io/learn.zkcross.network/security-and-control/guardian-enforcement.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
