# Read results offline

Every run saves what it found, so you and your tools can read it without asking upstream again.

## The cache

A result stays fresh for `[settings] ttl`, 6 hours unless you say otherwise, and a run within that window reuses it instead of asking upstream. A failed check is never fresh, so the next run retries it. `--refresh` checks everything right away.

## Last results

`canibump status` prints what the last run found, with every line’s sites, and asks nobody. It exits the way a check does, here `11`.

```
$ canibump status
bumpable  libfoo-crash  github:libfoo/libfoo#412 merged (drop the libfoo crash patch)
waiting   libbar-arm64  gitlab:libbar/libbar!88 is open
dead      widget-leak   codeberg:widget/widget#7 closed without a reason; check it by hand (drop the widget leak workaround)
dead      qux-timeout   jira:issues.example.org#QUX-42 closed as not planned (raise the qux client timeout back to 30s)
bumpable  baz-locale    redmine:redmine.example.org#1234 closed as completed (drop LC_ALL=C from the baz wrapper)
```

It skips blockers you dropped from the manifest since, and warns about one whose condition changed.

## The state file

```
$ canibump status --path
/home/you/.cache/canibump/state/home/you/wait-on-a-pr/canibump.toml.json
```

The file lives under `$XDG_CACHE_HOME`, or `~/.cache` without it, and `%LOCALAPPDATA%` on Windows. Its name is the manifest’s absolute path, so every checkout gets its own. `--cache` or `[settings] cache` moves it, relative to the manifest. A state file canibump can’t parse gets dropped with a warning and rewritten.

The [state file reference](https://mlavrinenko.github.io/canibump/state-file/index.md) lists every field.

## JSON

`--json` prints the run as one JSON document instead of lines.

```
$ canibump --json | jq '.entries[0] | {id, status, detail}'
{
  "id": "libfoo-crash",
  "status": "bumpable",
  "detail": "github:libfoo/libfoo#412 merged"
}
```

The [JSON report reference](https://mlavrinenko.github.io/canibump/report/index.md) lists every field. `canibump schema report` and `canibump schema state` print the JSON Schemas that match your binary.
