{
 "_type": "https://in-toto.io/Statement/v1",
 "subject": [
  {
   "name": "corecp-agent_0.50.0~dev.1790968402_amd64.deb",
   "digest": {
    "sha512": "e647c0ef4634146f887cae4fbca07679ff8e61d1a1c0d5f625467ce2d99da8bba6d61ae9c7efb90810f549d1c8736463a74f984445d24f4aceb282cf60029f87",
    "sha256": "eeabf203e596efd1f21f776dee13c14540ed2c91ce3b91835f4eff2fa2637a47"
   }
  }
 ],
 "predicateType": "https://slsa.dev/provenance/v1",
 "predicate": {
  "buildDefinition": {
   "buildType": "https://corecp.dev/build/deb/v1",
   "externalParameters": {
    "package": "corecp-agent",
    "version": "0.50.0~dev.1790968402",
    "architecture": "amd64",
    "buildScript": "corectl/packaging/build-deb.sh",
    "sourceCommit": null,
    "sourceCommitNote": "unknown: this build ran from a source tree with no git history (the build server holds an rsync copy), and no caller passed CORECP_SOURCE_COMMIT"
   },
   "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.1790968402-eeabf203e596efd1",
    "startedOn": "2026-10-02T19:13:47Z",
    "finishedOn": "2026-10-02T19:13:47Z"
   }
  }
 },
 "_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."
}
