{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "ReleaseArtifactVerification",
 "ref": "ReleaseArtifactVerification#c466",
 "hash": "sema:ReleaseArtifactVerification#mh:SHA-256:c4668a479ba21c1d2a8bc1f4475bcb1084eebf9125ea220110a3015f3fcf5d75",
 "stub": "c466",
 "layer": "Infrastructure",
 "type": "Verification",
 "summary": "Test the exact artifact consumers receive, and bind the evidence to its digest",
 "mechanism": "Before a release is declared verified, the artifact that will actually be distributed or deployed, such as a package, image, bundle, compiled bytecode, document or dataset, is identified by a content digest, installed, deployed or opened the way a consumer receives it, and exercised there. Each piece of evidence records the digest it ran against, as Verification#c8de states what it was checked against. Evidence gathered on a source tree, a development build or another digest counts for the artifact only for a property the build is stated to preserve, with that assumption recorded, as when a proof about source is carried to bytecode built by a pinned compiler; a reproducible build shows that builds match, not that a property survives the build. Packaging and installation, or opening for a document or dataset, are always checked on the artifact itself, and a changed digest invalidates the evidence until it is rerun or its assumption is restated. Tests that replace production components with stand-ins state which components they replaced.",
 "invariants": [
  "Every verification claim names the digest it ran against.",
  "Evidence gathered on anything other than the released digest counts only for a property the build is stated to preserve, with that assumption recorded.",
  "Packaging and installation, or opening for a document or dataset, are checked on the released artifact itself.",
  "Evidence that ran with stand-ins for production components names the substitutions."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Source-tree pass: tests pass on the repository and are counted for the artifact, though the build changes what they covered through flags, missing files or a stale lock file.",
  "Stand-in coverage: a test harness replaces a production component, so the production path is never exercised although the test count suggests it was.",
  "Rebuilt after testing: the artifact is rebuilt after verification, so the deployed digest was never tested.",
  "Environment gap: the artifact is exercised in an environment unlike the consumer's, with different permissions, configuration or neighbours."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "ReleaseArtifactVerification",
 "builds_on": [
  {
   "alias": "verification",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Verification",
   "ref": "Verification#c8de",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Verification"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "Deploy",
   "ref": "Deploy#bc5c",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Deploy"
  },
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "Canary",
   "ref": "Canary#d38c",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Canary"
  },
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "RolloutWatch",
   "ref": "RolloutWatch#e8ba",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RolloutWatch"
  },
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "Trace",
   "ref": "Trace#b68d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Trace"
  }
 ],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/ReleaseArtifactVerification",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/ReleaseArtifactVerification.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
