COR Proof — Python Validator
COR Proof (Chain-of-Reasoning Proof) is an open standard for capturing, validating, and auditing reasoning structure in AI and human–AI systems.
This package provides the Python reference implementation for Level 1 (L1) structural validation.
COR Proof L1 validates structure. It does not verify truth, factual accuracy, safety, compliance, or model quality.
What COR Proof L1 Does
COR Proof L1 defines a machine-verifiable format for representing:
- A single, falsifiable claim
- Declared evidence bound explicitly to the claim
- Reasoning atoms with traceable inputs and outputs
- Explicit assumptions that can be challenged independently
- A validation record
A schema-based validator can check structural compliance without reading the content. This is the difference between an informal explanation of reasoning and a structured, independently auditable artifact.
What COR Proof L1 Does Not Do
- Determine whether a claim is true
- Assess reasoning quality, coherence, or validity
- Evaluate evidence reliability or credibility
- Perform logical, semantic, or factual analysis
- Make safety, compliance, or model quality determinations
- Validate Level 2, 3, or 4 artifacts (higher-level validation is outside scope)
Installation
pip install cor-proof
Requires Python 3.9 or later.
Quick Start
Validate a file
cor-proof validate path/to/artifact.json
Exit codes: 0 valid · 1 invalid · 2 runtime error
Machine-readable output
cor-proof validate path/to/artifact.json --json
Print the bundled schema
cor-proof schema
cor-proof schema --json # compact single-line JSON
Python API
from cor_proof import validate
result = validate("path/to/artifact.json")
print(result) # human-readable summary
print(result.valid) # True or False
print(result.errors) # list of error strings if invalid
from cor_proof import load_schema
schema = load_schema()
# Returns the COR Proof JSON Schema (draft 2020-12) as a dict
Creating a test artifact
After pip install cor-proof, create a minimal artifact to validate:
{
"cor_version": "1.0.1",
"level": 1,
"id": "my-first-artifact",
"created_utc": "2026-01-01T00:00:00Z",
"language": "en",
"generator": { "actor_type": "human", "name": "me", "version": "1.0" },
"claim": { "id": "c1", "text": "My claim.", "type": "factual" },
"evidence": [{ "id": "e1", "type": "observation", "description": "My evidence." }],
"reasoning_atoms": [{
"id": "ra-001", "step_index": 1,
"statement": "Evidence supports claim.",
"inference_type": "induction",
"inputs": ["e1"], "outputs": ["c1"]
}],
"validation": {
"overall_status": "unvalidated",
"validators": []
},
"metadata": {}
}
Save as artifact.json and run:
cor-proof validate artifact.json
Reference examples
The repository includes reference examples under examples/:
examples/
valid/
l1_basic_claim.json — minimal valid artifact
invalid/
l1_missing_required_fields.json — missing top-level required fields
l1_empty_evidence.json — empty evidence array (minItems: 1)
Clone the repository to access them:
git clone https://github.com/OmnySync-Group/cor-proof-py.git
cd cor-proof-py
cor-proof validate examples/valid/l1_basic_claim.json
Specification & Schema
- Open spec and schema: github.com/OmnySync-Group/cor-proof
- This Python package: github.com/OmnySync-Group/cor-proof-py
- Issues: github.com/OmnySync-Group/cor-proof-py/issues
License
Apache 2.0 — see LICENSE.md
Maintained by OmnySync Group LLC as part of the Stake The Truth initiative.
Contact: founder@omnysyncai.com
Metadata
Release files for cor-proof 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cor_proof-0.1.0.tar.gz | 15.9 kB | Without provenance | Details for cor_proof-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cor_proof-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cor_proof-0.1.0-py3-none-any.whl |
Total release size: 29.2 kB
Release files / cor_proof-0.1.0.tar.gz
| Download URL | cor_proof-0.1.0.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27beea529e495b2a5ae57a222a3ac7cc5767b8159abdf428f658def64546aae8
|
|
BLAKE2b-256 checksum How to use checksums |
bfc458c7fcd67f3423f1955cd3f640ed1831f3b5139a504780822e8fff64be70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / cor_proof-0.1.0-py3-none-any.whl
| Download URL | cor_proof-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9d68afe3a9013a5d23cc4d4110029fff4912653dbfa2f3298493ca84ae951cd
|
|
BLAKE2b-256 checksum How to use checksums |
2ec6723b9cd71e17b280fc6ed48af23625c633543c52896450faf331e05323f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for cor-proof 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.