Compatibility: Pactmark 0.1.x. This scenario mirrors the
evidence-document-pipeline example,
which is fixture-only and performs no live URL fetch.The situation
A documents team receives structured submissions — supplier declarations, conformity statements, compliance attestations — and must produce a durable record that a specific document, with specific bytes, passed specific checks at a specific time. This is the use case where Pactmark is closest to being only infrastructure. There is barely a model in it, and that is the point: the interesting property is reproducibility.Content addressing first
Figure 1. The document becomes an artifact identified by its digest before anything examines it. Every later reference points at that digest.Deterministic verifiers
Figure 2. Three bindings, one result. Change the bytes, the verifier or the rubric and the previous result stops applying.No model key required
Schema, checksum, policy and custom checks run without a provider account. The whole verification
path is CI-friendly.
Reproducible by construction
Same bytes, same verifier registration, same rubric version → same result. That is what makes the
record worth keeping.
Exporting
evidence verify re-checks the record’s internal references, so a
record whose artifact or verification has gone missing surfaces as
KAF_EVIDENCE_INVALID_REFERENCE rather than as a quiet gap.
Replay is the real test
replay verifies a terminal run from stored events and artifacts without executing any tool or
model. For a document pipeline this is the acceptance criterion:
1
Replay the run six months later
From backup, in a clean environment, on a different machine.
2
Confirm the artifact digest is unchanged
If the bytes moved, content addressing tells you immediately.
3
Confirm the same verifiers pass
Against the same rubric versions.
4
Confirm the evidence record still validates
Its references resolve, and its claim still says what it said.
The evidence
{"kind": "unavailable", "reason": "not_applicable"} is the honest way to say “no AI was involved
in this part”. It is meaningfully different from recording zero, and the schema makes that
distinction available.Retention shape
Append-only run truth does not mean indefinite retention. Deleting events while retaining artifacts
and evidence is a legitimate policy — as long as you know that
replay will no longer work for
those runs, and you decided that on purpose.
What you still own
Evidence document example
The runnable fixture-only pipeline.
Artifacts and verification
Bindings, rubrics and exception rules.