> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# E_DIRTY_TREE

> The agent's working tree has uncommitted changes.

The tool's own refusals carry this code.

## What it means

The agent's working tree has uncommitted changes.

## Why it happens

An exam attempt records exactly which agent version took it, and uncommitted changes make that version unknown.

## How to fix it

Commit or set aside your changes, then attempt again.

The command exits with [code 13](https://docs.hex65.com/troubleshooting/exit-codes/13.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.