shipwithjev

Catalog / Tools & apps

0257GitHub

commit-miner

Classifies Git diffs and commit messages into change types and candidate security-fix/CWE labels for inspection.

devanshbatham/commit-minerREADME ↗
# commit-miner

Classify Git commit diffs and messages with Jev. Bug fixes, security fixes/CWEs, and change types.

## Install

Requires Rust/Cargo and Git.

```bash
git clone https://github.com/devanshbatham/commit-miner.git
cd commit-miner
cargo install --path . --locked
export PATH="$HOME/.cargo/bin:$PATH"
export TYPESAFE_API_KEY='your-key'
```

## Use

```bash
commit-miner scan . -n 500
commit-miner scan https://github.com/owner/repo -n 500
commit-miner scan . --commit SHA_OR_REF
commit-miner scan . --since 2026-01-01 --until 2026-03-31 -o report.html
commit-miner scan . -n 500 -o report.csv
```

| Argument | Meaning |
| --- | --- |
| `-n, --commits N` | Latest N; default 250, or all matches with dates |
| `--commit SHA_OR_REF` | Exactly one commit; cannot combine with count/dates |
| `--since / --until YYYY-MM-DD` | Inclusive UTC committer dates |
| `-w, --workers N` | Default and maximum 8 |
| `-f, --format html\|csv` | Report format; stdout if no output path |
| `-o, --output PATH` | Save report; infer format from extension |
| `--only security,change_performance` | Filter displayed classifications |
| `--cwe 79,89` | Filter by CWE |
| `--plain` | Disable color and animation |

`commit-miner scan --help` lists all arguments. `commit-miner categories` lists classifications/CWEs. Filters preserve the full saved scan. Managed GitHub clones refresh automatically; local directories use their current HEAD.

New scans show estimated Jev cost from reported token usage and known model pricing. [Calculation details](docs/JEV_PROTOCOL.md#cost).

## Saved scans

```bash
commit-miner list
commit-miner show SCAN_ID --only security
commit-miner export SCAN_ID -o report.html
```

Saved locally (`~/.local/share/commit-miner` on Linux); override with `--data-dir PATH`. Ctrl+C reta

Also filed under Tools & apps

  1. 0616

    Jevstiller: distill Jev calls into a local model

    A self-hosted proxy that trains a local model on Jev's answers. It served 72% of Banking77 locally at 15 ms, with a 2% audit and a bound on disagreement.

    tomerglick57 · Tools & apps · 15 ms local

  2. 0611

    Scruple: code checks for what linters miss

    Semantic-aware linting with System One models: rules you can state in a sentence, checked against your code by Jev.

    @nalexpeae · Tools & apps

  3. 0606

    Algolia-style Postgres search with a Jev reranker

    Typo tolerance, typeahead, barcodes and facet counts in plain Postgres SQL, plus an optional Jev step that asks one question per top-10 result.

    @alex_forman1 · Tools & apps

  4. 0604

    Virtual Closet: outfits from closet videos

    built a virtual closet & outfit generator from raw closet videos. classification + semantic search thanks to jev 🥰. clueless closet dreams finally coming to life

    @maitreemervana · Tools & apps