Reference implementation of the Causal Seal format — decision provenance for governed generation (emitter + Level-1 verifier).
Project description
Causal Seal — an open format for decision provenance in generative AI
Status: v1.0-draft — published for community review. Site: causalseal.org · Paper: doi.org/10.5281/zenodo.21431267
Content provenance (C2PA) proves where an artifact comes from. Log integrity proves a record wasn't altered. The Causal Seal proves something neither does: why a generative system produced a specific output — by cryptographically binding the output to the causal parameters that governed its generation.
- SPEC.md — the specification (data model, canonicalization, verification, conformance, regulatory mapping).
- causal_seal.py — minimal reference implementation, standard library only: emitter + Level-1 verifier + CLI (
demo,verify,selftest). - causal-seal.schema.json — JSON Schema for automated validation.
- test-vectors/ — computed vectors: a valid seal (with its exact expected fingerprint) and a tampered one that must fail.
- docs/verify.html — public verifier (live): paste a seal (and optionally the output text), get 🟢/🔴 — computed entirely in the browser, nothing sent anywhere. Validated against the test vectors.
- paper/PAPER.md — companion paper (draft): Causal Seals: Decision Provenance for Governed Generation · archived preprint: 10.5281/zenodo.21431267.
- pyproject.toml — packaging: ready for
pip install causal-sealat publication.
$ python causal_seal.py selftest
OK invalid-001.json: verifier says FAIL (fingerprint mismatch) — expected FAIL
OK valid-001.json: verifier says PASS (seal verified, Level 1) — expected PASS
selftest: ALL GOOD
The specification standardizes the envelope of proof, not the engine of governance: implementing the format is intended to be royalty-free (see SPEC §9); how an emitter produces a genuinely causal state is its own concern — and its own advantage.
Spec text: CC BY 4.0. Reference implementation: zero dependencies, Python 3.10+.
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 causal_seal-0.1.0.tar.gz.
File metadata
- Download URL: causal_seal-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e5b65787ae3d2a91b925f8e0897881ea0509863c8c2a95ebb823d667ce22e56
|
|
| MD5 |
14e1bc8188e4e57e74bb629716598d04
|
|
| BLAKE2b-256 |
057287d84d355c9f26e25080dd7f06771cc27f6eb220bba812eaf13ba03f25dd
|
File details
Details for the file causal_seal-0.1.0-py3-none-any.whl.
File metadata
- Download URL: causal_seal-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32fc400d1d741fa6a5fda16065ae8b959a6debf082f8a648c17950da92fa08cb
|
|
| MD5 |
1dfe2d863cdb9486709adcbe79054c3d
|
|
| BLAKE2b-256 |
8da39a627bbfae7a2f7d5e4c4e8573121d7ad031d22cbac83855ff81385ae1db
|