builder/GNOME-PROBE.md

2.9 KiB

Private GNOME integration probe

archipelago build gnome-probe WORKDIR BOOTSTRAP.tar.zst extends the existing monolithic Core experiment solely to test target GNOME adapters. It reads the compiled, structurally validated purposes/proposals/gnome.yaml package requirements and emits archipelago-gnome-probe.iso. It is not an independent Layer v1 producer, accepted GNOME release or complete package-action implementation.

Implemented probe inputs:

  • native GNOME/GDM, NetworkManager/resolved, PipeWire/WirePlumber and explicit packages;
  • GNOME Initial Setup vendor defaults; terminal firstboot is suppressed on this profile;
  • Rust observation of authenticated GDM sessions, AccountsService identity/home/wheel checks and deployment-local onboarding completion; no parallel account creation;
  • first-install stable Flatpak defaults, per-app completion records, retries and preservation of subsequently removed apps; normal Flatpak updates remain independent;
  • Flathub repository file verified against recorded SHA-256;
  • shared Desktop Arch Toolbx OCI digest/default; native subordinate-ID handling must still be proven on target;
  • en_US/ru_RU UTF-8 locales and initial desktop service defaults.

Probe limitation: stock Arch GNOME Software has no PackageKit plugin. The stock PackageKit ALPM service is masked. The probe also masks 90-packagekit-refresh.hook, whose sole action is a D-Bus StateHasChanged posttrans notification to that disabled daemon. It cannot run in the build chroot; the future Archipelago backend needs its own reviewed integration. The installed integration-status file states that OS GUI updates are pending. Neither the probe command nor passing its session checks allows publication as a complete Desktop Purpose. The real update backend, Software adaptation, full package-action coverage, Flatpak/Toolbx graphical/runtime acceptance and public gates are required before portal/registry release.

Flatpak apps in this probe are seeded online after onboarding, with independent retries. They are not preloaded into the ISO and must not be described as available offline. A locked sideload seed and offline installation verification remain work. Late Core→GNOME transitions and preservation of administrator network/DM choices require a separate transition adapter; the current finalize script is clean-install only.

For the private patched Toolbx trial, set ARCHIPELAGO_TOOLBOX_PACKAGE to the checksum-recorded toolbox-0.3-2.1-x86_64.pkg.tar.zst from purposes/common/desktop/toolbox-package/. The builder records its input identity, checks name/version/architecture, signs it with the existing private lab signer and explicitly selects archipelago/toolbox. Package ownership/MTREE remain intact. This is not a general package override API or public trust policy. Omitting the variable retains the stock package (whose digest-config issue is still present).