fix: close release provenance and privacy gaps

This commit is contained in:
2026-09-02 11:25:52 +03:00
parent 7da2b72933
commit 79e5d04395
17 changed files with 2271 additions and 704 deletions

View File

@@ -107,6 +107,18 @@ export function liveContainerStatus() {
};
}
export function requireLiveContainerValidation(value) {
if (
value?.schema !== "portfolio-live-container-validation/v1" ||
value.status !== "verified"
) {
throw new Error(
"Live privacy scanners are not verified; pending or unsupported scanner state is a hard release failure.",
);
}
return value;
}
if (
process.argv[1] &&
import.meta.url === pathToFileURL(process.argv[1]).href