> For the complete documentation index, see [llms.txt](https://docs.coveragelabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coveragelabs.io/services/fuzzing-campaign/invariant-development.md).

# Invariant Development

## Invariant Identification

During this phase we collaborate closely with your engineering team to identify both system-level invariants (e.g "The sum of user balances must always equal the total supply") and function-level invariants (e.g "This function must never decrease the protocol's balance"). These invariants are documented in clear English, accompanied by preconditions and bounds to ensure they reflect realistic scenarios. Our team conducts structured brainstorming sessions with your engineering team to identify implicit protocol rules.

## Iterative Improvement

We refine invariants based on short fuzzing campaign results, tightening preconditions and arithmetic bounds to ensure all code paths are tested and eliminate false positives. The goal is to produce a suite that is both rigorous and maintainable, while capable of evolving alongside your codebase.&#x20;


---

# 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:

```
GET https://docs.coveragelabs.io/services/fuzzing-campaign/invariant-development.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
