LuciProof — Deterministic Evidence Gates for AI Agent Deliverables.
LuciProof is a local, fail-closed checker for AI-generated work. It independently verifies declared artifacts and can gate explicitly declared AI-generated pull requests with commit-bound release evidence.
luciproof verifies declared files and URLs against a trusted manifest by recomputing file fingerprints, byte sizes, MIME types, and bounded URL evidence.
LuciProof verifies declared files and URLs against a trusted manifest. It cannot prove undeclared claims or semantic truth.
It performs artifact-grounded verification by recomputing independent facts from local artifacts and comparing them with explicitly declared evidence in a manifest.
Core claim:
LuciProof verifies declared evidence independently and reports when the files or URLs do not match the trusted manifest.
This repository includes a narrow GitHub Actions gate for explicitly classified pull requests. AI-generated changes use the configured AI label or marker; human-authored changes use the configured human marker. The gate runs fixed Ruff, pytest, and demo-manifest checks, binds runner evidence to the exact pull-request head, repository, number, and base SHA, then fails closed when a declaration or required evidence is missing, stale, blocked, or non-passing.
python -m luciproof assure \
--policy .luciproof/ai-change-policy.json \
--manifest .luciproof/ai-change.json \
--event "$GITHUB_EVENT_PATH" \
--runtime-results .luciproof/runtime/results.json \
--output .luciproof/runtime/assurance-report.json \
--root .
The workflow is an evidence gate, not a general AI safety certificate,
penetration test, legal opinion, or proof of semantic truth. See
docs/GITHUB_GATE_SETUP.md and
docs/AI_CHANGE_ASSURANCE_SPEC.md.
The committed declaration is intentionally non-authorizing; an AI pull request
must replace it with a scoped, time-bounded declaration.
pip install .
luciproof verify --manifest evidence.json
luciproof verify --manifest evidence.json --format json --report report.json
luciproof verify --manifest examples/demo-manifest.json --report examples/demo-report.json
A manifest is a JSON or YAML file with one or more artifacts.
Required fields per artifact:
path— relative path from the manifest directory, or absolute path.sha256— lowercase 64-hex SHA-256 digest.bytes— expected file byte size.
Optional fields:
mimetype— expected MIME/type string.url— URL to verify.expected_title— optional page title for URL verification.expected_content_sha256— optional SHA-256 of URL response body.
Global optional controls:
verify_urls— run URL checks (trueby default).url_timeout_seconds— bounded URL timeout (default3.0).url_redirect_limit— max redirects (default5).url_max_bytes— max bytes to read from each URL response (default1,000,000).
Each check resolves to one of:
PASS— evidence matches the manifest.FAIL— mismatch with declared evidence.BLOCKED— evidence check could not complete due to environment/network.UNTESTED— evidence was declared but intentionally skipped by policy.VERIFIER_ERROR— verifier implementation failed internally.
VERIFIER_ERROR is never counted as a detection of false claims.
- Missing or malformed manifest -> verifier error.
- Missing evidence file ->
FAIL. - URL timeout, DNS failure, or connection errors ->
BLOCKED. - Malformed JSON/YAML evidence file ->
FAIL. - Any runtime exception in the verifier is surfaced as
VERIFIER_ERROR.
- LuciProof verifies only what is explicitly declared.
- It does not trust prior agent assertions about what exists.
- It does not call any model APIs.
- It does not use cloud dependencies.
- It does not claim true semantic understanding beyond declared evidence checks.
- Human-readable CLI output with per-artifact results.
- JSON report file including full evidence checks and timestamps.
src/luciproofCLI and library.- JSON schemas under
src/luciproof/schemas. - Deterministic tests in
tests. - Comparison and launch copy in
docs/.
See docs/ROADMAP.md.
Apache-2.0 unless ownership conflict is documented in docs/ROADMAP.md and governance handoffs.