A lightweight local CLI acceptance gate for AI-generated engineering work
Project description
prove-it-ai-gate
Don't trust agent output. Accept evidence.
A lightweight local CLI acceptance gate for AI-generated engineering work. Checks agent transcripts, evidence folders, workspace state, and validation outputs before accepting AI-generated work.
Warning: This tool checks evidence quality, not absolute correctness. It is not a substitute for human review on high-risk changes.
Project Status
prove-it-ai-gate is currently an early beta.
Stable core:
transcript-checkworkspace-checkevidence-checkaccept
Experimental:
reuse-scancapturewiki uploadevidence cleanup/archive
Use the stable core for local dogfooding. Treat experimental features as evolving APIs.
Installation
pip install prove-it-ai-gate
Or from source:
git clone https://github.com/hrishikesh-thakre/prove-it-ai-gate.git
cd prove-it-ai-gate
pip install .
Requires Python 3.9+.
Quick Start
ai-gate init
ai-gate transcript-check --transcript transcript.jsonl
ai-gate workspace-check --repo ./my-project
ai-gate evidence-check --evidence ./evidence --task-type audit
# Full acceptance gate
ai-gate accept \
--repo ./my-project \
--evidence ./evidence \
--transcript transcript.jsonl \
--task-type audit
# Scan a knowledge wiki before starting work (experimental)
ai-gate reuse-scan --brief brief.md --local-wiki ./wiki-exports
# Capture reusable learnings after acceptance (experimental)
ai-gate capture --evidence ./evidence --output ./learnings
Decision States
| Decision | Meaning |
|---|---|
ACCEPT |
Required evidence exists and checks passed |
ACCEPT_WITH_CONDITIONS |
Mostly acceptable, but follow-ups remain |
REJECT |
Evidence proves a failure or unacceptable risk |
BLOCKED |
Required evidence is missing or invalid |
Built-in Checks
| Check | What it catches |
|---|---|
transcript_truncation_check |
Agent used truncated tool output without replacement evidence |
workspace_hygiene_check |
Agent modified target repo during read-only task, scratch files in repo |
evidence_folder_schema_check |
Missing, empty, or placeholder evidence files |
confidence_claim_check |
Unsupported high-confidence claims, heuristic overclaim |
scope_completeness_check |
Bare "Complete" claims without scoped corpus definition |
heuristic_extraction_check |
Filename/keyword matching claimed as full coverage |
closeout_transcript_crosscheck |
Closeout claims "no changes" but transcript shows write events |
evidence_inventory_integrity |
Inflated inventory counts vs transcript tool outputs |
evidence_validation_integrity |
Test/lint output mismatch with closeout claims |
evidence_depth |
Shallow/minimal evidence stubs |
git_status_authenticity |
Fabricated git status not matching transcript |
Dogfood
Run automated dogfood cases to verify the gate catches known failure patterns:
python scripts/run_dogfood.py
See dogfood/dogfood_report.md for results and examples/dogfood/ for test case fixtures.
Policy Packs
Three built-in policies in prove_it_ai_gate/policies/:
| Policy | Use Case |
|---|---|
read_only_audit.yml |
Audits, reviews, listings, evaluations |
code_change.yml |
Code modifications with tests and validation |
corpus_audit.yml |
Full-corpus scans with extraction artifacts |
Evidence Folder Contract
Every agent task should produce:
evidence/
brief.md, plan.md, commands.jsonl, changed_files.txt
closeout.md, risks.md
validation/test_output.txt, lint_output.txt, typecheck_output.txt, audit_guard.txt
artifacts/inventory.json, extracted_findings.json
workspace/git_status_before.txt, git_status_after.txt, diff_summary.patch
transcript.jsonl
See docs/evidence-folder-contract.md for requirements by task type.
Docs
- Evidence Folder Contract
- Acceptance Policy Model
- Transcript Schema
- Workspace Hygiene
- Confidence Rules
- Prove It Without Me
- Release Readiness
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prove_it_ai_gate-0.3.2.tar.gz.
File metadata
- Download URL: prove_it_ai_gate-0.3.2.tar.gz
- Upload date:
- Size: 49.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b33c07a18ef8b7000a703bb61a807d518268b41627ed3c9b58288d17796430a6
|
|
| MD5 |
f8f179b59c5cfeee351eff2c05c7d1d9
|
|
| BLAKE2b-256 |
c6261241f99a6058f09d936954feec430ecac9d6d418280773a98188e0515ad4
|
Provenance
The following attestation bundles were made for prove_it_ai_gate-0.3.2.tar.gz:
Publisher:
release.yml on hrishikesh-thakre/prove-it-ai-gate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prove_it_ai_gate-0.3.2.tar.gz -
Subject digest:
b33c07a18ef8b7000a703bb61a807d518268b41627ed3c9b58288d17796430a6 - Sigstore transparency entry: 1971046953
- Sigstore integration time:
-
Permalink:
hrishikesh-thakre/prove-it-ai-gate@4201021b2a43750eaa2b01f5cedaf0ab5df6f2e4 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/hrishikesh-thakre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4201021b2a43750eaa2b01f5cedaf0ab5df6f2e4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file prove_it_ai_gate-0.3.2-py3-none-any.whl.
File metadata
- Download URL: prove_it_ai_gate-0.3.2-py3-none-any.whl
- Upload date:
- Size: 42.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df54569e620b614e8380e195497a85f3cc946223e3a13b1fe91acb077cee30d6
|
|
| MD5 |
7fa67fab2ed4dc9d95fea3c8a18c745b
|
|
| BLAKE2b-256 |
fbbe4cda2acc980395fc17f78980e53bc6d42fca3b2dd8198324b3061e5c318e
|
Provenance
The following attestation bundles were made for prove_it_ai_gate-0.3.2-py3-none-any.whl:
Publisher:
release.yml on hrishikesh-thakre/prove-it-ai-gate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prove_it_ai_gate-0.3.2-py3-none-any.whl -
Subject digest:
df54569e620b614e8380e195497a85f3cc946223e3a13b1fe91acb077cee30d6 - Sigstore transparency entry: 1971047034
- Sigstore integration time:
-
Permalink:
hrishikesh-thakre/prove-it-ai-gate@4201021b2a43750eaa2b01f5cedaf0ab5df6f2e4 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/hrishikesh-thakre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4201021b2a43750eaa2b01f5cedaf0ab5df6f2e4 -
Trigger Event:
push
-
Statement type: