Design trustworthy evidence
Evidence is not a value alone. It is an attributable observation about a named subject and assertion, produced at a known time under reviewable trust conditions.
Figure 1. Evidence is specified before collection and reviewed after use; review informs the next specification without rewriting history.
Evidence object
| Field | Meaning | Failure to avoid |
|---|---|---|
evidence_id | Stable identity for duplicate and replay reasoning. | Issuing a new id for the same replayed observation. |
subject | Service or asset the observation describes. | Using a display label that cannot bind to the contract. |
assertion | Typed name matched to a contract requirement. | Fuzzy matching arbitrary text. |
value | Observed boolean, number or other expected value. | Encoding unknown as false without distinction. |
observed_at | Time the condition was observed. | Substituting ingestion time. |
expires_at | Optional end of validity. | Reusing evidence indefinitely. |
kind | Runtime, scheduled, test, document or human. | Hiding the evidence method. |
provenance | Producer or source identity. | Leaving origin implicit. |
integrity_hash | Digest of the canonical evidence payload. | Hashing an unstable or incomplete representation. |
independent | Whether the source is considered independent for the claim. | Assuming independence without governance. |
Transport envelope
The telemetry envelope has its own schema identity and a bounded list of records. Admission rejects unsupported schema, malformed lists, duplicate ids, missing ids and oversized batches before any decision is made.
{
"schema_version": "assurance-telemetry/v1",
"records": [{
"evidence_id": "restore-test-001",
"subject": "checkout",
"assertion": "restore_minutes",
"value": 42,
"observed_at": "2026-10-30T03:00:00+00:00",
"expires_at": "2027-01-30T03:00:00+00:00",
"kind": "test",
"provenance": "recovery-exercise-runner"
}]
}
Quality dimensions
| Dimension | Design decision | Possible test |
|---|---|---|
| Relevance | Exact subject and assertion binding. | Wrong-subject negative control. |
| Timeliness | Observation and expiry relative to decision horizon. | Expired and future-skew cases. |
| Authenticity | Producer identity and signature custody. | Unknown key and invalid signature. |
| Integrity | Canonical payload and digest comparison. | One-field tampering. |
| Uniqueness | Producer sequence and nonce. | Duplicate and rollback replay. |
| Independence | Source relationship to evaluated control. | Require independence in the engine. |
| Reconstructibility | Retain input identity, decision and reasons. | Replay from retained artifacts. |
Adapter boundary
An adapter converts an external record into immutable Evidence. It may verify integrity, signature and replay metadata, but it never decides whether a control passes.
adapter = MappingEvidenceAdapter(
keyring=signature_verifier,
require_signature=True,
replay_guard=replay_guard,
require_replay=True,
)
batch = ingest_json_envelope(payload, adapter)
Freshness is claim-specific
A backup test may remain useful for weeks; a payment-service availability observation may be valid for seconds. Set expiry from the decision being supported, not from a single global convenience value.
Evidence-plan checklist
- State the assertion and falsifier before collecting data.
- Name the authoritative producer and how it is authenticated.
- Define observation time, validity window and future-skew policy.
- Define integrity, signature and replay requirements.
- Document independence and conflicts of interest.
- Retain enough context to reproduce the decision.
- Specify what happens when the producer or trust provider is unavailable.