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.
Metadata
Release files for dcp-audit 0.4.2
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 |
|---|---|---|---|---|
| dcp_audit-0.4.2.tar.gz | 63.1 kB | With provenance | Details for dcp_audit-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dcp_audit-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for dcp_audit-0.4.2-py3-none-any.whl |
Total release size: 132.7 kB
Release files / dcp_audit-0.4.2.tar.gz
| Download URL | dcp_audit-0.4.2.tar.gz |
|---|---|
| Size | 63.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b14dec42de35842ae9acb14ac197c635ab1a48dbbf82c35822caf62806adfce3
|
|
BLAKE2b-256 checksum How to use checksums |
24de04c2a9314c452205677ca91577ed8c4c76030e894bd6cbc8025a998772d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.
Transparency logRelease files / dcp_audit-0.4.2-py3-none-any.whl
| Download URL | dcp_audit-0.4.2-py3-none-any.whl |
|---|---|
| Size | 69.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89836a3f31f5df8feaf7d752cd56a8386d3af45798abddf50ab577ca5bc8b23c
|
|
BLAKE2b-256 checksum How to use checksums |
64d0e27d4d5ba9217121463a309f17c80c52b7cb29a4cd18ac317cdc94bf864a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.
Transparency logSecurity for dcp-audit 0.4.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for dcp_audit-0.4.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.
Transparency logA 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.