From 783fca77ec1ebf4643c9e8e599aa10eb71428063 Mon Sep 17 00:00:00 2001 From: skylartaylor Date: Tue, 24 Nov 2026 14:40:01 +0100 Subject: [PATCH] Accept main's current Sonar vulnerabilities as debt for the first run The policy's Sonar debt is now exactly main's 15 open VULNERABILITY issues, re-read live from SonarCloud at analysis 19880b44-8bb0-4538-a124-437045a56be2 (commit 27c629f78903a483cc8de1c111758bd7296ebbed): the 8 pinned before plus 7 new pythonsecurity:S8707 issues in scripts/engine_split. The gate conditions are unchanged. The epoch names the new analysis, and the guide records it. --- .github/nightly-signing-policy.json | 58 ++++++++++++++++++++++++++++- docs/nightly-release-preparation.md | 6 +-- 2 files changed, 60 insertions(+), 4 deletions(-) diff --git a/.github/nightly-signing-policy.json b/.github/nightly-signing-policy.json index d7836401dc..1a02a434ba 100644 --- a/.github/nightly-signing-policy.json +++ b/.github/nightly-signing-policy.json @@ -19,7 +19,7 @@ "max_age_seconds": 86400, "candidate_policy": { "schema": "craft-nightly-candidate-policy/v3", - "epoch": "photocraft-nightly-20261123-sonar-1a4ddfda", + "epoch": "photocraft-nightly-20261124-sonar-19880b44", "repository": "storytold/photocraft", "branch": "main", "required_workflows": [ @@ -233,6 +233,62 @@ "type": "VULNERABILITY", "severity": "MAJOR", "hash": "ccba4e415c24601f3c90259cda892a5f" + }, + { + "key": "AaIKwgPdp41A3KPnYjkm", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/rust_source.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "1e3597d53ca2697cd24474f23f3dd9df" + }, + { + "key": "AaIKwgSHp41A3KPnYjkn", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/engine_cut.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "8d5b0e969b98008acf17068d5f1f7f29" + }, + { + "key": "AaIKwgSHp41A3KPnYjko", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/engine_cut.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "8d5b0e969b98008acf17068d5f1f7f29" + }, + { + "key": "AaIKwgSHp41A3KPnYjkp", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/engine_cut.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "652c184165d354f1c10afab33097fd11" + }, + { + "key": "AaIKwgSHp41A3KPnYjkq", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/engine_cut.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "2dc7df4b6ee7f1302d680852231f2836" + }, + { + "key": "AaIKwgSRp41A3KPnYjkw", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/move_tests.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "ff32a731f85beee97a8bf8c7b1ccaa92" + }, + { + "key": "AaIKwgSRp41A3KPnYjkx", + "rule": "pythonsecurity:S8707", + "component": "storytold_photocraft:scripts/engine_split/move_tests.py", + "type": "VULNERABILITY", + "severity": "MAJOR", + "hash": "d6d2642646179ec403ab491e0cbcd899" } ] } diff --git a/docs/nightly-release-preparation.md b/docs/nightly-release-preparation.md index 234c5886c6..24fd38774a 100644 --- a/docs/nightly-release-preparation.md +++ b/docs/nightly-release-preparation.md @@ -61,7 +61,7 @@ This is not a hosted no-key test, a native signing result or a working nightly f ## Installed policy values and their sources -Read on 2026-11-23; re-read anything that may have moved before the policy is promoted to `release`. +Read on 2026-11-23, with the Sonar gate and debt re-read on 2026-11-24; re-read anything that may have moved before the policy is promoted to `release`. | Field | Value | Source | |---|---|---| @@ -73,8 +73,8 @@ Read on 2026-11-23; re-read anything that may have moved before the policy is pr | `platforms` | three rows | v0.23.1 stable identities, as in the example; the Windows publisher subject was confirmed by reading the stable v0.23.1 `photocraft.exe` Authenticode signature on Windows | | `candidate_policy.required_workflows` | CI (`ci.yml`, workflow `371199934`), 19 jobs | Workflow list API; jobs that succeeded on every recent main push run (the only always-run main workflow without path filters) | | `candidate_policy.sonar` | `storytold` / `storytold_photocraft`, app `12526` | `sonar-project.properties`; the SonarCloud check on main commits | -| Sonar conditions | `new_security_rating` accepted (max 5); the other five required | Quality gate of main analysis `1a4ddfda` (commit `6554712c`) | -| Sonar `issue_types` / `debt` | `VULNERABILITY`; the 8 unresolved main vulnerabilities | `api/issues/search` at the same analysis | +| Sonar conditions | `new_security_rating` accepted (max 5); the other five required | Quality gate of main analysis `19880b44` (commit `27c629f7`, 2026-11-24 12:40 UTC) | +| Sonar `issue_types` / `debt` | `VULNERABILITY`; all 15 unresolved main vulnerabilities, accepted as debt for the first run (Skylar's decision) | `api/issues/search` on main at the same analysis | The candidate check refuses whenever main's unresolved vulnerability set differs from `debt`, whether an issue is new or fixed, and whenever a required condition fails or a listed CI job is renamed. Refresh