feat(ci): migrate signed-deploy gate to siax-templates G17 reference (ADR-W16-003)
masterplan-lock / check (push) Successful in 3s
Security Scan (SIAX Cloud) / security (push) Successful in 16s
CI (SIAX Cloud) / integration (push) Successful in 28s
CI (SIAX Cloud) / quality (push) Successful in 35s
masterplan-lock / check (pull_request) Successful in 5s
CI (SIAX Cloud) / security (pull_request) Successful in 13s
Security Scan (SIAX Cloud) / security (pull_request) Successful in 14s
CI (SIAX Cloud) / integration (pull_request) Successful in 28s
CI (SIAX Cloud) / security (push) Successful in 1m24s
CI (SIAX Cloud) / quality (pull_request) Successful in 1m9s

0pt's own "P007 pattern" release chain (added 2026-09-14) genuinely failed
the ADR-W16-003 promotion bar an audit (2026-09-15) checked it against:
syft/cosign installed via curl + a freshly-refetched checksums file (not a
pinned, out-of-band-verified digest), no vulnerability scan of the built
digest at all, cosign signed only the bare digest (no in-toto/SLSA
statement, no source-SHA/build-identity/environment/SBOM-hash binding, no
scoped key identity), and evidence committed straight back into this same
mutable repo (siax/production-evidence/*.json, siax/source-bundles/*.json
-- nine such commits already existed in this repo's history, deleted in
this change).

Delegates every bar item (1-7: pinned-tool install, SBOM, blocking vuln
scan, in-toto attestation, scoped-key signing, pubkey verification,
AUD0/ST0RE evidence storage) to sax3l/siax-templates' real, reviewed G17
reference implementation (PR #51, merged, pinned at
384e35060b91ea78ec045e14af114abf5d5eb23b), checked out at CI runtime via
the SIAX_CI_TOKEN org secret this repo already had wired for a different
cross-repo write -- picked over a vendored copy (the mechanism st0re/cl0ud/
api0 used) because 0pt has no prior vendoring convention anywhere in this
repo. Matches aud0/h0st's own migrations for the same reason. See
.siax/hooks/README.md for the full composition-mechanism rationale.

.siax/hooks/G17.sh is the adapter: owns only 0pt-specific values (image
repo, key identity, and a license-allowlist policy measured against 0pt's
own real SBOM -- 280 components, one genuine new finding this pass caught
that the old gate never checked at all: gcompat's NCSA license, triaged
and allowed as the real OS-substrate license it is).

cd.yml's own real signed-artifact wait/verify gate (predates this
migration, genuinely 0pt-specific -- polls the registry for release.yml's
artifact, verifies before triggering Coolify) is KEPT, updated from
`cosign verify` (bare digest) to `cosign verify-attestation --type ...`
to match the new attestation format `cosign attest` produces.

A fresh cosign keypair was generated for this migration -- the previously
committed cosign.pub had no corresponding private-key secret ever
provisioned on this repo (the old release.yml's own comment confirms:
"NOT YET SET on sax3l/0pt as of this writing"), so there was no real
existing key material to carry forward.

G20 (live-digest-equality) deliberately NOT wired in this pass: 0pt has no
Coolify application provisioned and no /version endpoint for it to poll
against -- see .siax/hooks/README.md "G20 -- deliberately not wired yet"
for what would need to exist first.

Verified for real during this migration (see PR description for the full
evidence): a real image built from this repo's own Dockerfile, pushed to a
local registry, SBOM'd (syft), scanned (trivy, 0 CRITICAL/HIGH findings),
DSSE-attested (cosign attest) and verified (cosign verify-attestation)
against the new cosign.pub, submitted to a mock AUD0 server enforcing the
real eventInputSchema contract, plus three real tamper-rejection negative
controls (wrong key, wrong predicate type, never-attested digest) against
this exact artifact, plus the reference implementation's own 29/29-assertion
selftest (including a real live check against production api.aud0.siax.io).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
2026-09-15 17:09:38 +02:00
co-authored by Claude Sonnet 5
parent 7555f3d504
commit a3df134caf
42 changed files with 401 additions and 665 deletions
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-0b53c4bfd5c6",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T13:12:49Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-0b53c4bfd5c6 to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "0b53c4bfd5c6bd9a368930a5433cb3dd3f51c724",
"digest": "sha256:f2f086b52e12a24c79ca1c80d588aeace6312f072185f845d59f4b53bcf5e6ae"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-0b53c4bfd5c6",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T13:12:49Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-0b53c4bfd5c6.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:f2f086b52e12a24c79ca1c80d588aeace6312f072185f845d59f4b53bcf5e6ae"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-0b53c4bfd5c6",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T13:12:49Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:f2f086b52e12a24c79ca1c80d588aeace6312f072185f845d59f4b53bcf5e6ae (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:f2f086b52e12a24c79ca1c80d588aeace6312f072185f845d59f4b53bcf5e6ae"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-2265dbb9a7cf",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T02:37:09Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-2265dbb9a7cf to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "2265dbb9a7cfb97fecd7b15a0e18ce84bc937558",
"digest": "sha256:372ac1a9b8ebfbfa54960e3447c667cc6606a13c7406db7806a05c0df63e7d13"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-2265dbb9a7cf",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T02:37:09Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-2265dbb9a7cf.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:372ac1a9b8ebfbfa54960e3447c667cc6606a13c7406db7806a05c0df63e7d13"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-2265dbb9a7cf",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T02:37:09Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:372ac1a9b8ebfbfa54960e3447c667cc6606a13c7406db7806a05c0df63e7d13 (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:372ac1a9b8ebfbfa54960e3447c667cc6606a13c7406db7806a05c0df63e7d13"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-570352eb80d2",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T03:17:55Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-570352eb80d2 to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "570352eb80d2809508506409b5e988673bc85a60",
"digest": "sha256:4c0f3ab6fd581bdaec7843cc6670c20b653cd6c931c614b07a24b22def481ce0"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-570352eb80d2",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T03:17:55Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-570352eb80d2.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:4c0f3ab6fd581bdaec7843cc6670c20b653cd6c931c614b07a24b22def481ce0"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-570352eb80d2",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T03:17:55Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:4c0f3ab6fd581bdaec7843cc6670c20b653cd6c931c614b07a24b22def481ce0 (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:4c0f3ab6fd581bdaec7843cc6670c20b653cd6c931c614b07a24b22def481ce0"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-6a125e10ccc3",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T12:39:15Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-6a125e10ccc3 to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "6a125e10ccc3bc9d9d6610154f40469a169d4cf3",
"digest": "sha256:a6f3ed9cf32fc94f292c564bf115aa70241a440245d68271ac018ec9378323ff"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-6a125e10ccc3",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T12:39:15Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-6a125e10ccc3.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:a6f3ed9cf32fc94f292c564bf115aa70241a440245d68271ac018ec9378323ff"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-6a125e10ccc3",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T12:39:15Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:a6f3ed9cf32fc94f292c564bf115aa70241a440245d68271ac018ec9378323ff (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:a6f3ed9cf32fc94f292c564bf115aa70241a440245d68271ac018ec9378323ff"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-7f3df904b741",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T12:51:12Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-7f3df904b741 to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "7f3df904b741cc6e842320e3be7d05d8223c6fee",
"digest": "sha256:993f12c0eb0d0ccde968865eca6d87654dee4bb08e80cc0f169a60e44209f536"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-7f3df904b741",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T12:51:12Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-7f3df904b741.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:993f12c0eb0d0ccde968865eca6d87654dee4bb08e80cc0f169a60e44209f536"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-7f3df904b741",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T12:51:12Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:993f12c0eb0d0ccde968865eca6d87654dee4bb08e80cc0f169a60e44209f536 (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:993f12c0eb0d0ccde968865eca6d87654dee4bb08e80cc0f169a60e44209f536"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-8be11b6485d3",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T03:45:04Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-8be11b6485d3 to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "8be11b6485d3a3f88960af68e71d45d35735d1a8",
"digest": "sha256:5b890676933a8dd19c96d0ba3f00d19d1051b75fd6259ed1d5414782532eb822"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-8be11b6485d3",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T03:45:04Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-8be11b6485d3.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:5b890676933a8dd19c96d0ba3f00d19d1051b75fd6259ed1d5414782532eb822"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-8be11b6485d3",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T03:45:04Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:5b890676933a8dd19c96d0ba3f00d19d1051b75fd6259ed1d5414782532eb822 (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:5b890676933a8dd19c96d0ba3f00d19d1051b75fd6259ed1d5414782532eb822"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-90ca9d6ec08b",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T02:56:55Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-90ca9d6ec08b to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "90ca9d6ec08baf7aa372c5198083fac64278d3e0",
"digest": "sha256:7ba57ea461bd0253c92428f36f6bec9602c5e9c3f2e537a834a9a5a5cf09ae71"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-90ca9d6ec08b",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T02:56:55Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-90ca9d6ec08b.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:7ba57ea461bd0253c92428f36f6bec9602c5e9c3f2e537a834a9a5a5cf09ae71"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-90ca9d6ec08b",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T02:56:55Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:7ba57ea461bd0253c92428f36f6bec9602c5e9c3f2e537a834a9a5a5cf09ae71 (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:7ba57ea461bd0253c92428f36f6bec9602c5e9c3f2e537a834a9a5a5cf09ae71"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-946baef8434d",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T13:26:03Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-946baef8434d to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "946baef8434d860bf98b31aa4bc3042601436bb8",
"digest": "sha256:1903f36bf4f6ea007849f8848a4b5ed1d1efe66026fc1f8ccb93461b814da9d1"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-946baef8434d",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T13:26:03Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-946baef8434d.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:1903f36bf4f6ea007849f8848a4b5ed1d1efe66026fc1f8ccb93461b814da9d1"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-946baef8434d",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T13:26:03Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:1903f36bf4f6ea007849f8848a4b5ed1d1efe66026fc1f8ccb93461b814da9d1 (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:1903f36bf4f6ea007849f8848a4b5ed1d1efe66026fc1f8ccb93461b814da9d1"
}
@@ -1,12 +0,0 @@
{
"id": "pe-artifact-a285c2f45f78",
"repo": "0pt",
"evidenceType": "artifact-digest",
"verifiedAt": "2026-09-15T03:22:20Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "pushed git.cloud.siax.io/sax3l/0pt:sha-a285c2f45f78 to git.cloud.siax.io/sax3l/0pt",
"tool": "docker",
"sourceSha": "a285c2f45f78af1291890176f97da643c28842c4",
"digest": "sha256:27b02219edbff19a57c88e6617a42363dbf7bdfd39002278f537b5cc571db49b"
}
@@ -1,12 +0,0 @@
{
"id": "pe-sbom-a285c2f45f78",
"repo": "0pt",
"evidenceType": "sbom",
"verifiedAt": "2026-09-15T03:22:20Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "siax/_release-artifacts/sbom-a285c2f45f78.spdx.json",
"tool": "syft",
"sbomFormat": "spdx-json",
"digest": "sha256:27b02219edbff19a57c88e6617a42363dbf7bdfd39002278f537b5cc571db49b"
}
@@ -1,13 +0,0 @@
{
"id": "pe-signature-a285c2f45f78",
"repo": "0pt",
"evidenceType": "signature",
"verifiedAt": "2026-09-15T03:22:20Z",
"verifiedBy": "gitea-ci",
"result": "pass",
"proofRef": "cosign verify --key cosign.pub git.cloud.siax.io/sax3l/0pt@sha256:27b02219edbff19a57c88e6617a42363dbf7bdfd39002278f537b5cc571db49b (verified in this same run)",
"tool": "cosign",
"signatureTool": "cosign",
"keyless": false,
"digest": "sha256:27b02219edbff19a57c88e6617a42363dbf7bdfd39002278f537b5cc571db49b"
}
@@ -1,9 +0,0 @@
{
"id": "sb-release-0b53c4bfd5c6",
"repo": "0pt",
"commitSha": "0b53c4bfd5c6bd9a368930a5433cb3dd3f51c724",
"branch": "main",
"buildId": "28418-1",
"artifactId": "git.cloud.siax.io/sax3l/0pt:sha-0b53c4bfd5c6",
"producedAt": "2026-09-15T13:12:49Z"
}
@@ -1,9 +0,0 @@
{
"id": "sb-release-2265dbb9a7cf",
"repo": "0pt",
"commitSha": "2265dbb9a7cfb97fecd7b15a0e18ce84bc937558",
"branch": "main",
"buildId": "26937-1",
"artifactId": "git.cloud.siax.io/sax3l/0pt:sha-2265dbb9a7cf",
"producedAt": "2026-09-15T02:37:09Z"
}
@@ -1,9 +0,0 @@
{
"id": "sb-release-570352eb80d2",
"repo": "0pt",
"commitSha": "570352eb80d2809508506409b5e988673bc85a60",
"branch": "main",
"buildId": "27177-1",
"artifactId": "git.cloud.siax.io/sax3l/0pt:sha-570352eb80d2",
"producedAt": "2026-09-15T03:17:55Z"
}

Some files were not shown because too many files have changed in this diff Show More