Files
vectorcraft/docs
skylartaylor 8c17f1c256 policy: keep the Sonar gate shape the candidate contract admits
The installed policy had no accepted condition at all, so `VULNERABILITY` had no reviewed
accepted failure and the gate condition count could not match.

`packaging/nightly-release-tests.py` gains test_sonar_policy_keeps_the_shared_candidate_contract,
which mirrors the Sonar rules the pinned candidate contract() applies - non-empty issue scope,
accepted failures one-to-one with the issue types, one condition per gate metric, all six live gate
conditions, the reviewed A threshold and the A..E bound - so this tree refuses the shape before a
nightly run reaches admission.

docs/nightly-release-preparation.md records the accepted rating, and the section that said
the installed policy fails this contract now states the scope it ships.
2026-11-26 00:20:11 +01:00
..