Verification Schemas

This page documents the serialized artifact formats emitted by karpal-verify and the compatibility contract around their schema_version markers.

Versioned artifacts

Current version

The current published schema version is 1. In Rust code this is exposed through constants such as VERIFICATION_REPORT_SCHEMA_VERSION, LEAN_MANIFEST_SCHEMA_VERSION, and VERIFICATION_SIDECAR_SCHEMA_VERSION.

Version 1 guarantees

Consumer guidance

External CI tooling, bots, or archive readers should:

  1. accept schema_version == "1"
  2. ignore unknown optional fields for forward compatibility
  3. treat a future schema bump as a breaking parser boundary

Additive vs. breaking changes

The schema version stays at 1 for additive changes such as new optional counters, new optional metadata blocks, or richer cross-linking fields. A future version bump is required if a required field is removed, renamed incompatibly, changes type, or changes meaning.