DCP Audit
dcp-audit is the small offline verifier for the Discovery Certification
Protocol. It checks a content-addressed Audit Bundle and deterministically
replays the recorded DCP decision. It does not call a model, access the Web, or
rerun the original Auto-Research system.
Install
Use an isolated environment because another distribution already uses the
top-level dcp package name.
python -m venv .venv
. .venv/bin/activate
python -m pip install dcp-audit
The numerical dependencies are pinned in the first release because a DCP certificate is compared with its fresh replay exactly.
Verify a Bundle
dcp verify path/to/audit-bundle
The default output is a short, human-readable summary.
Replay: VERIFIED
Bundle: sha256:...
Profile: full_audit_v1
Core: certified
Evidence: certified
Provenance: local_content_addressed_only
Formal issuance: no
Use JSON for automation.
dcp verify path/to/audit-bundle --json
The installed dcp command is the public CLI. The older
python -m dcp verify ... entry point remains available with its original
JSON-only output for compatibility with frozen audit workflows.
Exit status 0 means that the manifest, payload hashes, and kernel replay
agree. It does not mean that the scientific verdict must be certified.
Refuted and inconclusive decisions can also be validly replayed. Exit status
1 means verification failed, while 2 means the command was used
incorrectly.
Python API
from dcp.api import verify_bundle
report = verify_bundle("path/to/audit-bundle")
if not report["ok"]:
raise RuntimeError(report["errors"])
verdict = report["replayed_verdict"]
print(verdict["core"], verdict["evidence"])
Scope
This release supports the Core evidence bundle and full_audit_v1 profiles.
It verifies local content integrity and deterministic kernel replay. It does
not authenticate who ran the experiment, validate external registry
signatures, or issue a formal certificate. Those boundaries are stated in
every verification report.
The GitHub reference repository contains complete offline examples under
examples/audits/ and a separate generalized evidence-producing harness. Each
published Bundle retains its own producer and provenance record.
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 dcp_audit-0.4.2.tar.gz.
File metadata
- Download URL: dcp_audit-0.4.2.tar.gz
- Upload date:
- Size: 63.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b14dec42de35842ae9acb14ac197c635ab1a48dbbf82c35822caf62806adfce3
|
|
| MD5 |
6c0dd87902a34a44d585ed16bd8d0e3e
|
|
| BLAKE2b-256 |
24de04c2a9314c452205677ca91577ed8c4c76030e894bd6cbc8025a998772d2
|
Provenance
The following attestation bundles were made for dcp_audit-0.4.2.tar.gz:
Publisher:
publish.yml on cxcscmu/Discovery-Certification-Protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcp_audit-0.4.2.tar.gz -
Subject digest:
b14dec42de35842ae9acb14ac197c635ab1a48dbbf82c35822caf62806adfce3 - Sigstore transparency entry: 2485106060
- Sigstore integration time:
-
Permalink:
cxcscmu/Discovery-Certification-Protocol@59ca3a95fe8bf87e408b5940330e99e002675293 -
Branch / Tag:
refs/tags/dcp-audit-v0.4.2 - Owner: https://github.com/cxcscmu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@59ca3a95fe8bf87e408b5940330e99e002675293 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dcp_audit-0.4.2-py3-none-any.whl.
File metadata
- Download URL: dcp_audit-0.4.2-py3-none-any.whl
- Upload date:
- Size: 69.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89836a3f31f5df8feaf7d752cd56a8386d3af45798abddf50ab577ca5bc8b23c
|
|
| MD5 |
f0b6ade4c67f0da4ede93b6987b657bd
|
|
| BLAKE2b-256 |
64d0e27d4d5ba9217121463a309f17c80c52b7cb29a4cd18ac317cdc94bf864a
|
Provenance
The following attestation bundles were made for dcp_audit-0.4.2-py3-none-any.whl:
Publisher:
publish.yml on cxcscmu/Discovery-Certification-Protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcp_audit-0.4.2-py3-none-any.whl -
Subject digest:
89836a3f31f5df8feaf7d752cd56a8386d3af45798abddf50ab577ca5bc8b23c - Sigstore transparency entry: 2485106671
- Sigstore integration time:
-
Permalink:
cxcscmu/Discovery-Certification-Protocol@59ca3a95fe8bf87e408b5940330e99e002675293 -
Branch / Tag:
refs/tags/dcp-audit-v0.4.2 - Owner: https://github.com/cxcscmu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@59ca3a95fe8bf87e408b5940330e99e002675293 -
Trigger Event:
push
-
Statement type: