Skip to main content

vcr-core

The shared spine for the Verified-Check Record (VCR v0.1) program: one home for the schema, the verdict vocabulary, the record builder, and the EES metric. Imported by The Enforcement Gap (N2) and HarnessBench so the program cannot drift on how a check is recorded or scored.

  • vcr_core/schema/vcr-v0.1.schema.json — the frozen VCR v0.1 JSON Schema (canonical copy).
  • vcr_core.build_record(...) / validate_base(record) — assemble + base-validate a record.
  • vcr_core.Verdict, ENFORCED_CLASSES, RESULT_VALUES, POLARITIES — the value sets.
  • vcr_core.score_ees(rows) — EES = TPR − FPR (Youden's J); un-gameable, block-everything = 0.

Consumers add their own profile constraints on top of validate_base (e.g. N2 requires subject.kind == "harness_config" and transcript-digest evidence); they never redefine the field structure or the value enums.

v0.1 (frozen 2026-08-16)

v0.1 is an additive, backward-compatible extension of v0, signed off by the program's schema owner: it adds over_blocked and declined on verdict.result, and the optional polarity field (must_block|must_allow) on the check. Nothing was removed, so every v0 record is still valid. Sibling projects (N1, N4) may adopt the frozen result.

Delta signed off 2026-08-24 (additive within v0.1, same predicateType): subject.kind gains skill_bundle and mcp_server for the agent-tooling attestation profile (N3). Producers on older validator copies simply cannot emit the new kinds until they upgrade; every existing record stays valid.

uv sync && uv run pytest

Metadata

Release files for vcr-core 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vcr-core 0.2.0
File Size Uploaded
vcr_core-0.2.0.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vcr-core 0.2.0
File Interpreter ABI Platform
vcr_core-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.8 kB

Release files / vcr_core-0.2.0.tar.gz

Download URL vcr_core-0.2.0.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a9cbf1acb0c185e0bf72b3810b8c00f8c0642bece167b44543e8f887366bfa2
BLAKE2b-256 checksum
How to use checksums
226df2bbe5ff3f5d6657208c7a160203ce581fb0241c98bfa8bce7f50fabbce8
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 Sep 3, 2026.

Transparency log

Release files / vcr_core-0.2.0-py3-none-any.whl

Download URL vcr_core-0.2.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fbb82e6a16895a62282f9dc404901a577cfa45ac4dcb88f39c499463b462935
BLAKE2b-256 checksum
How to use checksums
830cbd03cbd4ee11fd6632ce391e6b76f60374baa57f32a240a635ba1d20ef0d
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 Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page