From 4137045b1dc8aaf6ff3f616de149b58d11f2a12a Mon Sep 17 00:00:00 2001 From: skylartaylor Date: Wed, 25 Nov 2026 01:08:50 +0100 Subject: [PATCH] docs(nightly): record the Sonar policy correction as an activation prerequisite The pinned candidate validator needs each reviewed issue type to map from an accepted gate condition, and the installed policy does not. Note that the policy is corrected in the activation review with Skylar before any run, since the callers cannot run before then. --- docs/nightly-release-preparation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/nightly-release-preparation.md b/docs/nightly-release-preparation.md index b494bae7c3..b8e94fe144 100644 --- a/docs/nightly-release-preparation.md +++ b/docs/nightly-release-preparation.md @@ -133,3 +133,13 @@ enabled, so no `app.ron` is written anywhere); if it is ever turned on, its stat `apps/vectorcraft/src/profile_root.rs` fences it off stable's folders, a portable copy and the installation on every platform, and `apps/vectorcraft/src/profile.rs` (`install_data_root`) is the one hook every data path follows. + +## Activation prerequisite: the Sonar issue scope + +The pinned candidate validator requires every entry in `candidate_policy.sonar.issue_types` to map +from a reviewed `accepted_conditions` row, and it requires the gate condition set to equal +`accepted_conditions` plus `required_conditions`. The installed policy lists `VULNERABILITY` with no +accepted condition, so it fails that contract before SonarCloud is read. Correct the policy in this +app's activation review with Skylar, together with the live gate conditions, before the first run: +the callers cannot run before that review anyway, because their `producer_workflow_id` stays null +until `nightly.yml` is registered on `main` and the signer is promoted to `release`.