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

> ## Agent Instructions
> These docs describe the Ancha CLI, npm package @ancha-labs/cli version 0.1.4, and the hosted workspace at app.ancha.io. Coding agents should start at https://docs.ancha.io/coding-agents. Run the CLI as `ancha` after `npm install -g @ancha-labs/cli`, or as `npx -y @ancha-labs/cli@0.1.4` without installing. Pass --json for machine-readable output, or set ANCHA_JSON=1. Every command ends with a `next:` line naming the next command. Exit codes: 0 pass, 1 a check failed or a comparison regressed, 2 usage, config or authentication error, 3 infrastructure error, 4 unimplemented endpoint with --strict.

# ancha report

> Print the summary of a finished run again, or write a self-contained offline HTML report into the run's directory.

`ancha report` reprints a finished run's summary. With `--html`, it writes a self-contained `report.html` you can open offline or attach to a pull request.

```bash theme={null}
ancha report [options] <run>
```

| Argument | Description |
| - | - |
| `run` | Run id (run\_…) or "latest" |

| Option | Description |
| - | - |
| `--out <dir>` | Where run directories are (default: .ancha/runs) |
| `--html` | Write a self-contained offline report.html in the run directory |

## Examples

```bash theme={null}
ancha report latest
```

```text Output theme={null}
✓ starter  3/3 (100%)

pass (minimum pass rate 100%)  run run_20261031-070757_e0649a40912674ba
```

```bash theme={null}
ancha report latest --html
```

The command prints the path of the new `report.html`, inside the run's directory. With `--json`, it prints `{"runId": "...", "path": "..."}`.

The HTML report shows a matrix of trials (failed, passed, invalid and skipped grading), and each scene expands to its check results and evidence. It loads nothing remote.

## Exit codes

`0` when the run exists. `2` for an unknown run ID.


## Related topics

- [CLI overview](https://docs.ancha.io/cli/overview.md)
- [Attempts and runs](https://docs.ancha.io/concepts/attempts-and-runs.md)
- [ancha agent](https://docs.ancha.io/cli/agent.md)
- [ancha doctor](https://docs.ancha.io/cli/doctor.md)
- [Troubleshooting](https://docs.ancha.io/troubleshooting.md)


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