SIGN IN SIGN UP

fix(release): keep the manifest OS contract in reviewed key order

The host-packages packager emits manifest.json with canonically sorted
keys, so parsed evidence carries operatingSystem as {codename, id,
version}. Cloning that into the release manifest broke the contract
validator's JSON.stringify deep-equality against the policy's reviewed
{id, version, codename} order. Rebuild the object in policy key order,
require the exact evidence key set, and key-sort the test fixture the
way the packager does so the suite reproduces the drift.

Co-authored-by: Cursor <cursoragent@cursor.com>
M
Michael Shimeles committed
881ba49112d4e1fe3d6763fa7104003d1e392635
Parent: 77eae96
Committed by Michael Shimeles <69605071+michaelshimeles@users.noreply.github.com> on 8/11/2026, 10:21:27 PM