HUNCH_STORE | unset | Path of the SQLite store to use, unless --target names a target with its own store. When unset, hunch uses the nearest .hunch/store.sqlite in the spec’s folder or above, or creates one at the git repository root. See Store. |
HUNCH_TARGET | unset | The target to use when none is given: --target on the CLI, target= in judge() and ajudge(), so a server or app runs as dev without a code change. See targets. |
HUNCH_MAX_COST | unset (no cap) | The most one set of asks may be charged, in US dollars (a judgment’s missing answers; its escalations and test’s order check are separate sets): nothing is asked if the estimate is above it, and a request is sent only if its worst case still fits. --max-cost overrides it on the CLI. Read once when hunch is imported. |
HUNCH_CONCURRENCY | 16 | Requests in flight at once for each judgment. The 100,000-row test ran at 32 with no rate-limit errors. Read once at import. |
FASTEMBED_CACHE_PATH | ~/.cache/hunch/encoders | Where hunch distill and distilled: models keep the encoder they download once (about 90 MB). |
NO_COLOR | unset | Any value turns off bold and dim text on the hunch review screen. Output is also plain when it is not a terminal. |
GITHUB_STEP_SUMMARY | set by GitHub Actions | When set, hunch test also appends a Markdown table of its results to this file, which GitHub shows on the run’s summary page. See Test in CI. |