The Hunkbot Folder

Everything Hunkbot keeps is in ~/.hunkbot, or in HUNKBOT_HOME where it is set. Its folders are readable by their owner alone.

The Layout

config.toml                       the configurationrepos/<owner>/<name>/             a blobless clone of each repository reviewedcheckouts/<owner>/<name>/pr-<n>/  the head, where the agents read; removed once readreviews/<owner>/<name>/pr-<n>/<review>/                                  each review, kept wholefeedback.jsonl                    every judgment and every fault missedlearnings/<owner>/<name>.jsonl    what people taught, given to later reviewsskills.json                       what the skill's install wrote, for uninstall

A Review's Folder

change.json

The change: its files, hunks and units, and the files left out.

finders/<unit>-<angle>.json

Each finder's answer and cost, or its error.

verifier/<n>.json

Each verifier's answer and cost, or its error.

review.json

The review whole: the findings with their states and reasons, the gaps, the costs, the verdict.

posted.json

Where it was posted.

A review's id is the time it started, in UTC: 20261124T120000Z.

Clones and Checkouts

A repository is cloned once and kept for its next review. One review at a time fetches into a clone. A review removes its checkout once done; a checkout left by a review stopped half way is removed by hunkbot clean.