Record the Rust contract test for the Cockpit updater

This commit is contained in:
Archipelago 2026-11-16 23:00:46 +03:00
parent dd4a33db47
commit 0c7ebaf2be

View file

@ -49,7 +49,9 @@ decision until the Purpose itself is approved.
A small, dependency-free Cockpit page is enough; no PackageKit and no C bridge:
- files: `/usr/share/cockpit/archipelago-updates/{manifest.json,index.html,updates.js,style.css}`,
shipped by a distribution package inside the Purpose layer;
shipped by the Container Runner Purpose adapter
(`builder/adapters/container-runner-package.sh`), with a native Rust test enforcing
the D-Bus-only contract in the frozen-source checks;
- data path: `cockpit.dbus('org.archipelago.System1', {bus: 'system', superuser: 'try'})`
against the typed API that already exists in `contracts/dbus/org.archipelago.System1.xml`
(`GetStatus`, `Refresh`, `GetUpdateDetails`, `PrepareUpdate`, `Download`, `Stage`,