diff --git a/spec/decision-log.md b/spec/decision-log.md index b9952c7..a4e121f 100644 --- a/spec/decision-log.md +++ b/spec/decision-log.md @@ -632,6 +632,7 @@ on 2026-11-04. Implementation and the explicitly open details remain pending. | D-116 | Collect unreachable OSTree objects on installed hosts through `archipelago cleanup plan/apply` and a guarded boot timer. Plan inventories deployment roots, overlay-selected/source layer commits, Host Extension bases, current-context plan targets, repository size, and refs intentionally retained. Apply takes the shared lock, refuses live/no-booted/pending states, adds keep refs for the complete protected graph and runs only `ostree prune --refs-only`. It does not run `ostree admin cleanup`, delete deployments, or expire service/history refs: deployment retirement remains bound to OSTree finalize-staged retention, and service/history roots require D-047/D-048 evidence. It expires its own `archipelago/keep/*` refs and superseded `service/bases|overlays|overlay-builds` refs for commits no longer named by a deployment, active plan or retained intent, so retired deployments release their objects; absent optional commit metadata is tolerated, not an error. Tesseract release values are quoted in `os-release`; the Container Runner Cockpit update page uses the typed system D-Bus API; Desktop Plymouth uses an Archipelago-branded BGRT-derived theme with firmware-logo display disabled. Explicit user direction, 2026-11-16. | Accepted | | D-117 | Give the Container Runner Purpose a complete local virtualisation stack so the stock Cockpit Machines page can run KVM guests, not only containers: `qemu-system-x86`, `qemu-img`, the virtio-gpu/virtio-vga display devices, `qemu-hw-uefi-vars`, `libvirt` with `libvirt-dbus` (the dependency of `cockpit-machines` in Arch), `dnsmasq` for libvirt's default NAT network, `dmidecode`, `edk2-ovmf` for UEFI guests, `swtpm` for emulated TPM 2.0 and `virt-install` for creating machines from Cockpit. `libvirtd.service` is enabled by the Purpose preset; libvirt state, disk images and machine definitions live in `/var` as workload state and survive OS updates and rollback. `/dev/kvm` availability and membership of the operator in the `kvm` group are documented operator prerequisites, not silently granted. Core, Desktop Purposes and the live ISO are unchanged. Explicit user direction, 2026-11-17. | Accepted | | D-118 | Ship Toolbx and rootless Podman in Core, so they are inherited by Core-only images, Container Runner and every Desktop Purpose, and install the same upstream Arch Toolbx default (`quay.io/toolbx/arch-toolbox:latest` in `/etc/containers/toolbox.conf`) that D-076 established for Desktop Purposes. Core images therefore include the stock Arch `toolbox` package and its dependency closure (which includes `flatpak` on Arch) plus `podman`; subuid/subgid ranges come from the standard shadow allocation at account creation, and user overrides in `~/.config/containers/toolbox.conf` and existing containers are preserved. Toolbx containers are workload state in the user's home, not OS payload, and an OS update or rollback must not recreate them. This extends D-076 beyond Desktop Purposes; it does not make Toolbx a replacement for Host Extensions. Explicit user direction, 2026-11-17. | Accepted | +| D-119 | Do not pin the Discover adapter to a Plasma point release. `build-discover-adapter.sh` derives the source version from the snapshot's installed `discover` package, downloads the matching upstream archive and its published sha256, builds the backend against exactly that version, and writes the full package identity to `discover-version.txt`. KDE staging compares that identity with the target tree instead of a hardcoded string; the `plasma-setup` recipe is rendered from a template with the same version and verified hash, and Core derives the package filename from `.PKGINFO`. A future Plasma point release therefore needs no adapter edit; a missing source or checksum still fails explicitly. Explicit user direction, 2026-11-17. | Accepted | | D-114 | Run the Zen kernel in Desktop Purposes. GNOME and KDE install `linux-zen` and remove the Core `linux`; Core, Container Runner and the live ISO keep the stock kernel. The replacement is declared in the Purpose manifest as `spec.packages.replacements` (`target: linux`, `replacement: linux-zen`, `expected_owner: core/arch`, reason) and the private layer adapter performs the removal explicitly; it may delete only payload listed in the replaced package's own `files` index, its database entry, and the module directory where that package installed `vmlinuz` (a generated initramfs there is not package payload and would otherwise leave a second, stale kernel), so a declaration never authorizes an arbitrary Core deletion, and no Purpose may drop a Core package without one. Kernel-dependent steps keep deriving the version from the single remaining `/usr/lib/modules/*` entry. Applies D-038 to the desktop baseline; explicit user direction, 2026-11-15. | Accepted | | D-113 | Show the operating-system image size in the native software centers and declare its licence as MIT. Every image commit records `archipelago.image-size` (compressed transfer bytes of the composed tree) and `archipelago.image-installed-size` (checkout bytes) as signed commit metadata, measured by `builder/adapters/image-size.py` before the final commit; clients receive them with `--commit-metadata-only`, so `GetStatus`/`GetUpdateDetails` expose `download_size`/`installed_size` before any image bytes are downloaded. Discover renders the transfer size and the installed size and reports `MIT`; GNOME Software sets the download size and the same licence. Absence of the metadata on older target commits stays "unknown" rather than a zero-byte size. Explicit user direction, 2026-11-14. | Accepted | | D-112 | Make the native software clients show real update progress and a distributor identity. `Progress.percent` becomes a monotonic 0–100 estimate: phase checkpoints keep their bands and fetching OSTree commands refine the value inside the band from libostree's terminal progress, obtained by running them under a PTY (`script -qec`) and stripping ANSI/CR redrawing. Discover and GNOME Software keep one monotonic value across `PrepareUpdate`→`Stage`, and neither renders the transient `reconciling` observation window as an update error. The `archipelago` package ships `archipelago.svg` and `archipelago-symbolic.svg` in `hicolor/scalable/apps`; Discover and GNOME Software use them for the OS resource and backend badge, and the desktop finalizers refresh the icon cache. Amends the RFC-0012 `Progress.percent` wording and client reconciliation behaviour. Explicit user direction, 2026-11-14. | Accepted |