ZP11Research & insights

Proof-Pack Compatibility Is a Schema Problem

Make release evidence interoperable by defining receipt subjects, predicate versions, zone completeness, and reproducible verification across independent tools.

Two independently valid receipts can disagree about what PASS means. One builder includes integration tests in its result; another records only compilation. A bundle containing both signatures looks complete while giving its consumer no reliable way to compare their claims. The difficult Proof-Pack problem is semantic compatibility across producers.

ZP11 describes evidence across eleven zones. This article proposes an interoperability profile for those records: explicit subjects, typed predicates, a required-zone inventory, and defined handling of unfamiliar versions. It does not introduce a normative ZP11 schema. Input binding remains necessary, but a digest cannot explain what a producer actually checked.

The consumer needs to distinguish three failures: evidence about a different object, evidence whose meaning it cannot interpret, and evidence that does not cover a required zone. Treating all three as a generic signature failure makes recovery harder and encourages adapters that quietly discard inconvenient fields.

A verdict needs an object

“Tests passed” is incomplete. Which source tree, dependency set, tool configuration, environment, and test selection produced the result? The more of that identity is implicit, the easier it is to reuse evidence outside its valid scope.

Start with an input manifest. Existing attestation work provides useful building blocks: the in-toto Attestation Framework separates an artifact subject from a typed predicate, while SLSA build provenance records a build definition, resolved dependencies, and execution details. A zone profile can reuse those structures without claiming that build provenance proves every security property. It should identify the source revision, relevant dependency resolution, build instructions, tool versions or digests, policy revision, and declared test inventory. The output record should identify the artifact or artifacts produced. An implementation may need additional inputs, but these categories expose the main sources of drift.

Use content identity where reproducibility depends on bytes. A mutable label such as release-candidate can point to different content over time. A digest binds a record to particular bytes, provided the verifier obtains and checks those bytes through a defined process. A digest without available content can support identity comparison but cannot make a missing build reproducible.

Keep labels for human navigation and digests for verification. Both are useful, but they serve different purposes. A receipt can name a branch for context while requiring the exact source digest to match before the gate considers its verdict.

Heterogeneous zone receipts introduce an additional compatibility problem: coverage may describe one tree, dependency integrity another, and the independent re-run a third. Each receipt can be individually authentic while the assembled pack supports no single release candidate.

Distinguish four kinds of freshness

Time freshness asks how old the evidence is. Input freshness asks whether the candidate's inputs still match. Policy freshness asks whether the governing rules remain applicable. Trust freshness asks whether the signing identity remains acceptable under the verifier's current trust policy.

A two-minute-old receipt can be stale if its inputs changed one minute ago. A 45-minute-old receipt can still describe unchanged content exactly, although policy or trust conditions may require reevaluation. A simple age limit cannot replace these distinct checks.

For example, a static-analysis result may remain attached to the same source and analyzer version while the accepted severity threshold changes. The evidence of what the analyzer reported is still useful. The old PASS decision may no longer be sufficient. Preserve the underlying findings so the verifier can distinguish rerunning a tool from reevaluating a policy.

Figure 1 — Hypothetical receipts with four required input groups. Illustrative model — not measured data. A younger receipt can have weaker applicability than an older one.

Specify what consumers must understand

A receipt profile needs a versioned predicate type and a documented verdict vocabulary. PASS might mean all declared checks ran successfully; it must not also mean that no checks were selected. Represent skipped, unavailable, and unsupported results explicitly. Otherwise a producer can appear compliant by emitting less evidence.

Declare which fields are mandatory for interpretation and which are optional annotations. A consumer that does not understand a mandatory field must reject the receipt as unsupported. It should preserve unknown optional annotations when forwarding the record, without letting them change the acceptance result. This allows extensions without silently changing the meaning of an existing predicate.

Treat schema compatibility and policy acceptance as separate checks. A record can parse correctly and still come from an untrusted builder. Conversely, a trusted builder can emit a newer predicate version that the consumer cannot interpret. Give those conditions different diagnostics so upgrading an adapter does not accidentally expand the trust policy.

The four input groups in Figure 1 are source, resolved dependencies, tool configuration, and policy. The receipts match three groups at two minutes, all four at 45 minutes, and two at ten minutes. These counts test identity only; none measures how much security testing occurred.

Seal relationships, not just files

A pack can contain individually signed receipts that refer to different candidates. Verifying each signature is therefore necessary but insufficient. The verifier must check that the receipts agree on the identities and relationships required by the pack.

For a proposed implementation, the final seal might bind the input-manifest digest, artifact digests, zone-receipt digests, and governing policy identity. The verifier would then check each referenced receipt and confirm that all required zones apply to the same candidate. The seal is meaningful because the relationships are checked, not because the word “sealed” appears in a document.

Be explicit about missing and duplicate entries. A duplicate zone identifier should not allow a later PASS to conceal an earlier FAIL through parser behavior. An unknown zone should not count toward the required eleven. The verifier should reject ambiguity rather than relying on whichever value a particular parser happens to retain.

Figure 2 — An implementation model for checking receipt relationships before profile acceptance. Illustrative model — not measured data.

Make zone completeness independently checkable

For an illustrative eleven-zone profile, suppose a producer emits ten unique zone receipts and repeats one of them. Eleven files do not establish eleven-zone coverage. The consumer should compare the set of required zone identifiers with the set of valid, applicable receipts. Report the missing zone separately from the repeated identifier.

Multiple receipts for one zone can be legitimate when the profile defines partitions, such as two operating environments. In that situation, the receipt identity must include the partition, and the consumer must check the required partition set. A last-record-wins parser is not a conflict resolution policy. Conflicting results require an explicit rule or refusal.

Keep the required inventory outside the candidate's unrestricted control. Otherwise a producer could remove the inconvenient zone from its own manifest and still claim completeness. The consumer's profile selects the requirements; the pack supplies evidence against them.

Content availability is another distinct property. A receipt can correctly reference a digest even when the artifact is unavailable for inspection. Report identity verified, content retrievable, and execution reproducible separately. A signature does not guarantee that a future reviewer can rebuild the artifact, especially when dependencies or execution conditions were omitted.

Publish conformance examples alongside the profile

Provide one minimal valid receipt and a small collection of invalid variants with expected diagnostics. Include a missing subject, an unknown mandatory predicate version, a duplicate zone, and incompatible verdict meanings. Run the same examples through independently implemented consumers. Agreement on the happy path alone does not establish interoperability; disagreement on rejection behavior can be more consequential.

Preserve the original signed bytes through any adapter. A normalized view can simplify inspection, but it must remain traceable to the source record and must not acquire the original producer's signature by implication. Adapters should declare every translation of a field or verdict. This turns compatibility into an inspectable contract rather than a growing collection of undocumented exceptions.

Test the verifier with mismatched packs

A useful negative test suite deliberately substitutes one input at a time. Change the source identity while preserving the signature. Replace the policy revision. Remove a required receipt. Introduce duplicate zone names. Reference an unavailable artifact. Present valid receipts from two different candidates in one pack.

Each scenario should produce the expected refusal reason, and no malformed input should authorize a merge. Also test operational failure: interrupted retrieval, expired access to evidence, and a verifier restart. A fail-closed design must remain closed when it cannot finish its work, while providing enough diagnostics for recovery.

The final review question is concrete: can two independent consumers interpret the same pack and agree on subject identity, zone completeness, and predicate meaning? If the answer depends on mutable labels, implied context, or an operator remembering which build was intended, the Proof-Pack has not yet closed the interpretation gap.