mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 20:46:22 +01:00
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.