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

# Troubleshooting

> What to do when a command fails, by exit code and by error code, and how to get help.

## Start with doctor

`doctor` checks the project file, the agent's command, the MCP configuration, loopback ports, disk space, where secrets are kept and the grader model, and says how to fix each problem it finds. It exits 0 when it found nothing wrong. Run in a folder with no project, it says so, and exits with [code 3](https://docs.hex65.com/troubleshooting/exit-codes/3.md):

```sh theme={null}
proving doctor
```

```text Output theme={null}
fail  project file       No proving.yaml here or in any directory above. Run "proving init" to create one, or give --project.
      fix: run "proving init" in the agent's repository
```

## By exit code

Every command exits with a code that says what kind of problem it hit. Each has a page with its fixes: [Exit codes and their fixes](https://docs.hex65.com/troubleshooting/exit-codes.md).

## By error code

A refusal under a rule (an exam rule, a plan limit, a failed signature) prints an error code, such as `E_EXAM_CONTAMINATION`. Each has a page: [Error codes](https://docs.hex65.com/troubleshooting/errors.md).

## More detail

Run the command again with `--verbose`. With `--json`, the error is one JSON document with its `code`.

## Getting help

Community support is by email: [hello@hex65.com](mailto:hello@hex65.com). Include the command, its output with `--verbose`, the version (`proving --version`) and your platform. Never send keys, tokens or recordings.

A support bundle that collects this for you, with nothing private in it, is coming (coming, M1).


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