{
 "_type": "https://in-toto.io/Statement/v1",
 "subject": [
  {
   "name": "corecp-agent_0.50.0~dev.1790676863_amd64.deb",
   "digest": {
    "sha512": "ba1176bc3e4726b3844079ab3fba2f2a901a816a90970c817ebe3313bd5c0973d0fa7f6a3d42426797d2b96629d5b0ad68e3b194fd38820801b34fee82d2d297",
    "sha256": "6724f6f1d77f9fcc589d2a72c4fef6357d8e750b8ce0349fcc555021d770313e"
   }
  }
 ],
 "predicateType": "https://slsa.dev/provenance/v1",
 "predicate": {
  "buildDefinition": {
   "buildType": "https://corecp.dev/build/deb/v1",
   "externalParameters": {
    "package": "corecp-agent",
    "version": "0.50.0~dev.1790676863",
    "architecture": "amd64",
    "buildScript": "corectl/packaging/build-deb.sh",
    "sourceCommit": "f4e62c275ea21ada83e64919a07f8ee1f1ff6b0b"
   },
   "internalParameters": {
    "toolchain": {
     "go": "go version go1.26.6 linux/amd64",
     "dpkg-deb": "Debian 'dpkg-deb' package archive backend version 1.23.7 (amd64).",
     "node": "v22.22.1"
    }
   },
   "resolvedDependencies": [
    {
     "name": "corectl/go.mod",
     "digest": {
      "sha256": "3834798984095c14befd46f5cb51895c1e3096b4e26af2fa34b667456a832ea9"
     }
    },
    {
     "name": "corectl/go.sum",
     "digest": {
      "sha256": "c740cef2b1321a7ea24040f29b9929866ad70b599ad835a8ce71ba77742b45b0"
     }
    },
    {
     "name": "supply-chain/inventory.json",
     "digest": {
      "sha256": "a216088ceea4f10f074bee5abccd91051be9d25bc0dac70a4d661bce1315638c"
     }
    }
   ]
  },
  "runDetails": {
   "builder": {
    "id": "https://build.corecp.dev/corecp-build",
    "builderDependencies": []
   },
   "metadata": {
    "invocationId": "corecp-agent-0.50.0~dev.1790676863-6724f6f1d77f9fcc",
    "startedOn": "2026-09-29T10:14:56Z",
    "finishedOn": "2026-09-29T10:14:56Z"
   }
  }
 },
 "_note": "SLSA Build L1 with a signed statement. This document is produced by the build script itself and signed with the release key, which lives on the same machine that builds and serves the packages (docs/build-infra.md). That is enough to say what went into an artifact and to detect a change to this statement after the fact. It is not L2 or L3: the build is not run by an isolated service, nothing here attests that the source tree was unmodified, and the builder could produce a false statement about its own output. Read it as a manifest of intent that is hard to edit, not as a proof of an untampered build."
}
