$ humancov scan AI-Provenance Scan ================== Total files scanned: 42 AI-generated: 28 Human-written: 10 Mixed: 2 Unknown (no header): 2 Of AI files: Reviewed: 21 / 28 (75%) Tested: 8 / 28 (29%)
Add headers to the top of your files. Works with 30+ languages automatically.
Run the command and get a full report. Binaries and ignored paths are skipped automatically.
Review AI code, set Reviewed: true. Everything updates automatically.
Run humancov init to detect your AI tool config files and inject provenance instructions automatically.
$ humancov init done: CLAUDE.md (Claude Code instructions added) done: .cursorrules (Cursor instructions added) skip: .windsurfrules (already has AI-Provenance instructions) 2 file(s) updated.
npm install -g humancov
click to copy
Requires Node >= 18. Zero config. Single dependency.
| Key | Required | Values | Description |
|---|---|---|---|
AI-Provenance-Origin |
yes | ai human mixed |
Who wrote the file |
AI-Provenance-Generator |
no | free-text | Tool used (claude-code, copilot...) |
AI-Provenance-Reviewed |
yes | true false partial |
Human review status |
AI-Provenance-Tested |
no | true false partial |
Human test status |
AI-Provenance-Confidence |
no | high medium low |
Reviewer confidence |
AI-Provenance-Notes |
no | free-text | Any context |
$ humancov scan --badge https://img.shields.io/badge/human--reviewed-75%25%20of%20AI%20files-green 
# .github/workflows/provenance.yml name: AI Review Check on: [push, pull_request] jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - run: npx humancov scan --check 80
Fails your build if not enough AI code has been human-reviewed.
$ humancov scan # scan repo, print report $ humancov scan --json # output as JSON $ humancov scan --badge # shields.io badge URL $ humancov scan --check 80 # CI gate: fail if < 80% $ humancov manifest # generate .humancov file $ humancov init # add instructions to AI tool configs