rfc/spec/decision-log.md

84 KiB
Raw Permalink Blame History

Archipelago Decision Log

D-100 — Container Runner Purpose (Accepted, 2026-11-10)

The user accepted a server Purpose server/container-runner: Podman, a browser management surface (Cockpit), stock Tailscale for mesh networking, and the normal Archipelago contract (one Purpose per image, Core inheritance, OSTree updates). Contract and package evidence: purposes/proposals/container-runner.md and its manifest. Explicit decisions recorded with the acceptance:

  • Cockpit is enabled on 9090 for LAN and tailnet with its stock self-signed certificate; no plaintext and no unauthenticated access.
  • Tailscale is installed but disabled. No auth key, node identity or account is baked into the image; the operator enables tailscaled and runs tailscale up manually.
  • firewalld is installed but disabled and ships no rules; opening ports is the operator's responsibility.
  • qemu-user-static binfmt registration ships by default for foreign-architecture images.
  • Storage stays ext4 with the current Core layout. Filesystem profiles and installed disk layout are explicitly deferred; btrfs remains a future optional profile.
  • The update channel is stable/container; updates follow the same cadence and publication principles as the other editions.
  • No acceptance scenarios are required for this edition. A separate, non-pipeline build produces the ISO and the OSTree ref from the already-built Core of the cycle; the absence of acceptance evidence must remain visible in the release record.
  • Cockpit's updates page is provided by an Archipelago Cockpit plugin over the org.archipelago.System1 D-Bus API, not by PackageKit (D-095). First version authorizes through Cockpit's admin escalation; per-user polkit refinement is open.
  • The Cockpit plugin set is limited to what the snapshot packages (podman, machines, storaged, files); network/PCP plugins are not packaged on Arch and are not promised.

Correction and root cause (same session): the extension Stage failed on every host with ostree: error: --stage cannot currently be combined with --retain arguments. The deploy command was passing --retain (historically) and later --retain-rollback --retain-pending, all of which OSTree forbids with --stage. The deploy args now omit retain flags, and the completion path retries the transiently-held host lock instead of stranding an interrupted stage. The Busy retry is retained as well.

D-106 — LTE/WWAN modem support (Accepted, 2026-11-11)

On a KDE host the HP lt4120 Snapdragon X5 modem (03f0:9d1d) enumerates in ECM (USB Ethernet) mode and is claimed by cdc_ether, so ModemManager sees no modem. libmbim, libqmi and modemmanager were present, but the modem must be switched to MBIM/QMI first. Decisions:

  • Ship usb_modeswitch in Core so udev switches composite WWAN devices to their modem mode on every edition.
  • Add modemmanager to the KDE Purpose and enable ModemManager.service, so mobile broadband works through NetworkManager/plasma-nm out of the box.
  • libmbim/libqmi are already pulled by the KDE/GNOME dependency closures.

The actual switch/connection still requires a physical replug or reboot after the update and is a manual check; SIM/APN configuration stays with the operator.

D-107 — Virtual keyboard in the SDDM greeter (Accepted, 2026-11-11)

Follow-up to D-105: plasma-keyboard was shipped, but the virtual keyboard still did not appear in the SDDM login screen on a KDE Wayland host. Diagnosis:

  • maliit-keyboard/maliit-framework were removed from Arch [extra] in November 2025 (the Maliit keyboard is Qt5-only); the Qt6 replacement is plasma-keyboard ("Virtual Keyboard for Qt based desktops"), which D-105 already ships.
  • KWin drives the virtual keyboard in the greeter; SDDM must pass --inputmethod plasma-keyboard to kwin_wayland, otherwise the greeter session has no input method and the keyboard button does nothing.

Decision: append --inputmethod plasma-keyboard to the SDDM Wayland CompositorCommand in the KDE finalizer. The Plasma session (post-login) still uses the standard System Settings "Virtual Keyboard" toggle.

Superseded in part by D-110 (2026-11-13): the KDE Purpose now uses Plasma Login Manager instead of SDDM, so the CompositorCommand flag no longer exists. The same requirement is met by system-wide kxkbrc/plasmakeyboardrc, which the Plasma-based greeter inherits.

D-105 — Full firmware set in Core, KDE virtual keyboard, resilient extension staging (Accepted, 2026-11-11)

On a KDE host, extension add linux-firmware-qcom plasma-keyboard … planned the requested set but never applied it. Logs show PrepareChange succeeded (outcome: planned), then the immediate Stage was rejected with org.archipelago.System1.Error.Busy because a concurrent read-only update check was active, and the CLI did not retry, leaving the plan unapplied.

Decisions:

  • Ship the complete Linux firmware set in Core, so it reaches every edition: linux-firmware plus linux-firmware-{amd,amdgpu,atheros,broadcom,cirrus,intel, liquidio,marvell,mediatek,mellanox,nfp,nvidia,other,qcom,qlogic,radeon,realtek, ti,whence}. Firmware is base-platform content, not a per-host Host Extension.
  • Add plasma-keyboard (Qt Virtual Keyboard) to the KDE Purpose for tablet-mode on-screen input.
  • Make the installed-host CLI's Stage retry Busy for up to 180 seconds so a periodic update check no longer strands a prepared extension/overlay/kargs plan.

D-104 — kmscon on tty1 with console provisioning (Accepted, 2026-11-10)

The user requested kmscon on tty1 for Core and Container Runner, with first-boot provisioning moved onto that console. GNOME/KDE keep their display manager on tty1; kmscon remains available on tty2+ through the packaged autovt@ alias.

Implementation:

  • A packaged /usr/bin/archipelago-console-login is the kmscon (and fallback agetty) login program. On an installed, unprovisioned, non-desktop system it starts archipelago-keyring.service and runs archipelago firstboot on that terminal, then exec /bin/login -p. The live ISO (/run/archipelago-live) and GNOME/KDE (gnome-firstboot/kde-firstboot) skip onboarding and go straight to login.
  • kmscon.conf selects that wrapper via login=.
  • Core and Container Runner enable kmsconvt@tty1 and disable getty@tty1/archipelago-firstboot@tty1; GNOME/KDE disable the tty1 kmscon instance but keep tty2+; the live ISO enables kmscon on tty1.
  • The packaged OnFailure=getty@%i fallback now invokes the same wrapper, so a kmscon failure (no KMS) still offers provisioning followed by a normal login.
  • Manual hardware verification of kmscon rendering/provisioning and GDM/SDDM VT switching is still required; no automated acceptance is claimed.
  • Correction (D-109, 2026-11-12): kmscon never started on Core/Container Runner or the live ISO because those images lack mesa. tty1 there now runs getty, and the onboarding wrapper is a getty@tty1 vendor drop-in under /usr/lib; the earlier /etc copy was discarded by the package recipe. kmscon/autovt remains for GNOME/KDE only.

D-103 — Safe ESP synchronization and bounded deployment retention (Accepted, 2026-11-10)

A KDE host failed to boot after an update: the 1 GiB ESP was full, boot-sync copied the new deployment's 213 MB initramfs only partially and then published the new loader entry anyway, so systemd-boot selected an entry whose kernel/initramfs were absent. Investigation also found that every update used ostree admin deploy --retain, and that boot-sync never pruned old ESP copies or checked free space.

An intermediate proposal to use a 4 GiB ext4 XBOOTLDR partition at /boot was rejected before publication. Stock systemd-boot inherits filesystem support from UEFI firmware (FAT in practice; ext4 needs an unreliable external EFI driver), and stock OSTree requires a POSIX /boot because it writes /boot/loader.N plus the loader symlink and uses atomic renames. FAT /boot fails the symlink; ext4 XBOOTLDR is unreadable by systemd-boot. Consequently /efi cannot be a "pure ESP" with stock systemd-boot on this OSTree layout; that would require GRUB or a patched OSTree boot scheme, neither adopted now.

The corrected decision:

  • Storage layout: keep two partitions: a 2 GiB FAT32 ESP mounted at /efi and an ext4 root with /boot on the root filesystem. systemd-boot and its entries/kernels live on the ESP; the initial installer seeds the ESP after deploy.
  • Retention: do not pass any --retain flag with --stage; OSTree rejects the combination (--stage cannot currently be combined with --retain arguments). Staged-deploy retention is applied later by ostree admin finalize-staged, which keeps booted, previous rollback, pending and explicitly pinned (D-046). A best-effort ostree admin cleanup runs after a successful stage. This also fixes the Host Extension path, whose Stage had silently failed on the same argument error on every host.
  • Safe sync: boot-sync prunes ESP copies not present in /boot/ostree, checks free space before writing, copies incomplete directories through a temporary name and verifies them, and copies loader entries only after every referenced kernel/initrd exists on the ESP. A failure keeps the previous entries/default instead of publishing a broken one. The installer performs the same ordered verification for the first ESP seed.
  • Do not mount the FAT32 ESP at /boot; OSTree needs a POSIX filesystem there.
  • Amendment (2026-11-11): /boot is a bind mount of the root filesystem on the two-partition layout, so mountpoint /boot must not skip ESP mirroring. The skip is now conditioned on /boot being a genuinely separate filesystem.
  • A pure-ESP layout remains possible only through a separate future decision to switch the bootloader (for example GRUB) or to change OSTree's boot layout.

This amends the D-065 storage profile. It does not change the file-system choice for /var or the deferred disk-profile work.

D-102 — kmscon with Terminus on all editions (Accepted, 2026-11-10)

The user selected kmscon as the userspace KMS console instead of fbcon on every edition, with the Terminus font, including the ISO installer. Package facts checked against the 2026-11-10 snapshot: kmscon 10.1.0-1 is in extra and ships kmsconvt@.service (Conflicts getty, OnFailure=getty@%i, Alias autovt@) plus mod-psf.so; terminus-font 4.49.1-8 ships the ter-v24b.psf.gz Unicode bitmap. The PSF backend needs no pango/freetype/fontconfig and the official package has no mesa/libEGL dependencies (those belong to AUR kmscon-git).

Implementation decisions recorded with the acceptance:

  • kmscon and terminus-font are Core packages, so every edition inherits them; the live ISO package list includes them too.
  • The default console is Terminus through the PSF backend (font-engine=psf, font-name=.../ter-v24b.psf.gz) with xkb-layout=us,ru and the grp:alt_shift_toggle switch; vconsole.conf also sets FONT=ter-v24b for the fbcon fallback.
  • Installed editions keep tty1 for archipelago-firstboot (Core/Container Runner) or the display manager (GNOME/KDE). kmscon is reached through the autovt@.service alias for logind-opened VTs (tty2+); a failed kmscon falls back to getty via the packaged OnFailure.
  • The live ISO runs kmscon on tty1, with the normal /bin/login prompt; serial ttyS0 remains a getty and is unaffected.
  • Measured image growth: +17.6 MiB installed / +4.1 MiB compressed for Core, Container Runner and ISO; +4.8 MiB installed / +2.5 MiB compressed for GNOME and KDE, because xkeyboard-config/libdrm/libxkbcommon are already present. No mesa.
  • No installed-VM acceptance is claimed. VT switching, GPU handoff to GDM/SDDM and suspend/resume remain manual hardware checks. The fallback keeps a broken KMS console from removing login access.
  • Correction (D-109, 2026-11-12): "no mesa dependency" was wrong. The package declares no mesa, but every render engine it ships (mod-gltex, mod-drm3d) needs libGLESv2/libEGL/libgbm at runtime, and Core/Container Runner/ISO carry none of them, so kmscon could not start there. Those editions now use the plain kernel console with getty; kmscon stays enabled only for GNOME/KDE, which ship mesa, on logind VTs (tty2+).

D-101 — Disable ttyS0 units on provisioned installed systems (Accepted, 2026-11-10)

The user reported that installed hosts without a serial port continuously log errors from ttyS0-related units. All editions must, by default, disable and mask serial-getty@ttyS0.service, getty@ttyS0.service and archipelago-firstboot@ttyS0.service after provisioning, and the change must reach already-deployed systems through the normal update path.

Implementation: Core ships archipelago-serial-off.service (conditioned on /run/ostree-booted, absence of /run/archipelago-live, and the presence of /etc/archipelago/provisioned) and a multi-user.target.d drop-in that wants it. Because the drop-in lives in /usr/lib, an OSTree update activates it on existing hosts; no new preset run is required. The live ISO keeps its serial console. New images also stop enabling the ttyS0 units. An operator with a real serial console can remove the mask. This is a distribution default, not a security boundary.

D-099 — Toolbx default is the upstream arch-toolbox:latest (Accepted, 2026-11-10)

The user directed that the Toolbx default image be the upstream quay.io/toolbx/arch-toolbox reference with its implicit latest tag, not the synthetic archipelago-pinned alias that D-076 used to reach an immutable digest. Seed of the decision: on the user's hardware the stock Toolbx rejected the synthetic alias outright, while the plain upstream reference created and entered a container, so the pinning mechanism defeated the D-076 requirement that Toolbx actually work.

Consequences recorded with the decision: purposes/common/desktop/toolbox.conf selects quay.io/toolbx/arch-toolbox:latest; no exact-reference remap is installed (toolbox-registries.conf becomes explanatory only); existing user containers are not rewritten; the manual acceptance probe now proves that the configured reference resolves to the upstream Arch image instead of a fixed digest. D-076's requirement of Toolbx plus rootless Podman in every Desktop Purpose is unchanged; only its digest-pinning mechanism is superseded. Immutable-input expectations for OS layers are unaffected — this reference is workload software created explicitly by the user.

D-098 — Rust/manual release checks, three-day OSTree and day-30 ISO (Accepted, 2026-11-09)

The user explicitly replaces installed-VM acceptance in the normal release cycle with Rust contract tests plus user-performed manual hardware/GUI checks, and splits publication: OSTree layers every three days, ISO media on the 30th of each month. Contract: release cadence, automated checks and manual coverage.

Seed of the decision, recorded so the reasoning is auditable rather than inferred from the outcome:

  1. The Core acceptance of run 20261109T160658Z failed in the harness, not in the image: the second reboot was issued with sudo after a >5-minute tree composition had expired the sudo timestamp, so the runner waited for a login prompt that could not appear. This was the third harness-induced failure in a row and consumed most of the four-hour action budget.
  2. The remainder of the VM matrix cannot prove the properties that actually matter for the target hardware — firmware, Wi-Fi, suspend, GPU/GUI — so its cost bought partial, indirect evidence.
  3. Installed systems update through OSTree, so frequent ISO regeneration is not required for updates; media are needed for new installations only.

Implementation decisions recorded with the same decision:

  • cargo test --workspace and the portal contract test replace the VM phases; desktop/hardware scenarios are delegated to the user and are labelled manual. Former one-run waiver/--existing/--core-build paths are removed, not merely disabled, so unattended runs cannot silently reuse stale media.
  • The cadence is an anchored three-day interval (anchor 2026-11-09 00:00 UTC), not a day-of-month arithmetic rule, because day % 3 breaks the interval at every month boundary. Day 30 takes precedence and produces ISO plus refs; a monthly day-30 run replaces, not duplicates, that day's grid release.
  • Public OSTree keeps only the current commit of each published ref; intermediate image/layer/purpose commits are pruned. Updates fetch the newest commit directly and the Broadcom host keeps its own pinned working deployment, so no installed system depends on an intermediate public commit.
  • ISO retention stays at three media per variant. Each ISO embeds its own OSTree repository, so retained media remain installable without their base commits in the central repository; the catalog continues to describe the retained media.
  • Private archives retain sources, logs and evidence but not duplicate repo/, output/, composition trees or VM disks. Package snapshots and the package cache are excluded from compaction because Host Extensions/DKMS resolve against the base snapshot (D-037/D-097).
  • Publication admission now accepts a frozen-source Rust evidence record; signatures, OSTree identity checks, image/layer provenance checks and atomic publication are unchanged.

Amendment, 2026-11-10 (explicit user direction): Flatpak cache refresh is removed from the three-day OSTree cycle and runs only when ISO media are built (calendar day 30), because the seeds are shipped only in installation media. OSTree-only cycles reuse the last verified seed, still import it into the image and still compile the Software adapter; prepare-flatpak-tools.sh recreates the bootstrap tools root if a host has no seed yet. Rationale: a full refresh consumed hours of the four-hour action budget while changing nothing that an installed system receives.

Supersedes the schedule and mandatory-VM portions of D-090, D-087 and D-085. D-050/D-051/D-052's functional gates are not declared satisfied by tests: they are re-scoped to explicit manual checks for this personal distribution, and release records must state that boundary. Reintroducing automated boot/hardware gates would require a new decision.

D-097 — Admit DKMS packages without a package allowlist (Accepted, 2026-11-09)

The user explicitly removes the DKMS package allowlist after broadcom-wl-dkms was rejected solely because its archive hash was absent. Host Extensions admit DKMS source packages by their native /usr/src/<directory>/dkms.conf payload, without approved package names, versions or hashes. DKMS framework/source package actions execute in isolated staging without per-package review; this refines D-058's action admission for this Host Extension adapter. Native framework hooks remain replaced by explicit build/install validation for every target image kernel. Exact snapshot/signature/provenance checks, target-matching headers, module ABI checks and atomic failure preservation remain required. Admission is not proof that every third-party driver builds against every kernel.

Prepare and push code and next-build sources only. Do not change or restart the currently running pipeline, update the user's host or claim new image acceptance.

D-096 — Kernel arguments and human-first CLI (Accepted, 2026-11-09)

The user explicitly requested rpm-ostree-style deployment kernel-argument management, human-readable interactive CLI without raw JSON/admission/retry-token noise, and explicit --debug/--json modes for acceptance and troubleshooting. They also required a complete pipeline/acceptance format audit and a normal build/publication cycle. The previous one-run VM waiver does not carry forward. Implement through the shared daemon/Polkit/transaction engine; no automatic reboot or independent live writer. Implementation details and evidence boundaries: kernel arguments and CLI. Feature approval does not certify implementation or completed runtime acceptance.

D-095 — Remove PackageKit; stock Desktop stores with native OS plugins (Accepted, 2026-11-07)

The user explicitly removes PackageKit from project dependencies, integration and image contents. This supersedes the PackageKit portions of D-075/D-093 and the PackageKit-specific trust-flag clause of D-094. Keep one Host Extension package installation path: archipelago extension → typed archipelagod API → checked staging and explicit reboot. Repository names and protected local FD imports remain supported intents; D-094's local authorization/provenance and repository signature requirements remain unchanged. Do not add another live package writer.

Use stock Arch GNOME Software and Discover packages. Ship Archipelago OS-update D-Bus adapters/plugins in Archipelago packages inside OSTree; preserve graphical OS updates and Flatpak support without rebuilding or patching the stores for PackageKit. Retain the existing fwupd integration. Do not install PackageKit, its libraries/Qt bindings or an Archipelago PackageKit backend. Remove the broker API and its special caller-delegation path. Direct clients retain per-operation Polkit authorization. Existing evidence/history is retained, not publication input.

Normal-pipeline acceptance must verify PackageKit package absence, native OS-plugin loading, GUI OS-update staging and CLI Host Extensions. D-092/D-093's daemon, durable transactions, Managed Overlays and single-writer contracts otherwise stand.

D-094 — Explicit administrative import of unsigned local packages (Accepted, 2026-11-07)

The user selects acceptance of unsigned local .pkg.tar.zst files with explicit administrator authorization while implementing D-093. Use the separate org.archipelago.system.extension-local action and the protected FD-import path; retain the exact imported bytes, SHA-256 and local provenance. Import does not execute package scriptlets, enable Host Extensions or stage a deployment. Planning and staging remain separately authorized under the stored plan's actual actions. Applied local packages remain unsupported, with booted and pending state separate. Repository package signatures remain mandatory. This does not turn local inputs into repository-trusted packages; PackageKit's only-trusted flag cannot accept an unsigned local input. Preserve retained exact local inputs for atomic update reapplication under D-056/RFC-0012. Resolves the unsigned-local policy in question 30; key provisioning and implementation verification remain separate work.

See RFC-0013 §4.3 and RFC-0004.

D-093 — archipelagod, PackageKit Host Extensions and D-Bus host management (Accepted, 2026-11-07)

The user explicitly requests contract-level adoption and immediate Git publication of Host Extension package installation through PackageKit backed by D-Bus, Managed Overlays over D-Bus and CLI-wide installed-host management through archipelagod. Accept RFC-0013, extending D-092. The canonical daemon/unit are archipelagod/archipelagod.service, retaining the existing bus name, transaction API and shared Rust engine; archipelago remains the unified CLI. This refines single-executable packaging without creating a second package/composition engine. All installed-host management uses typed daemon APIs; build/live/offline contexts retain direct execution and common locking guarantees.

PackageKit's Archipelago backend is a D-Bus client, not the live ALPM backend or an OS updater. It operates on base-snapshot-bound Host Extension intent; local packages use protected FD import, exact-byte checksums and retained provenance. Original caller authorization survives privileged PackageKit mediation. Separate admin actions cover enable/change/local/override/restore/overlay mutations; D-092's passwordless current-track update permission does not grant these actions. Managed Overlays use explicit ordered, exact-commit desired sets and preserve snapshot/dependency/conflict/replacement contracts. All changes use shared checked plans, atomic composition, staged deployments and explicit reboot. Native OS, PackageKit package, Flatpak and fwupd frontends coexist with explicit ownership.

Architecture and contract are accepted for implementation. PackageKit ABI/glue, general overlay implementation, future host method schemas and verification remain work, not implied capabilities or release evidence. D-091's active SDDM pipeline is independent and must still be completed.

D-092 — Installed-system D-Bus service and user-controlled transactions (Accepted, 2026-11-07)

The user explicitly accepts the proposed rpm-ostree-inspired service architecture and requests a detailed contract, immediate Git publication, then a durable root implementation plan. Accept RFC-0012: one system-bus service activated by systemd, implemented by the unified Rust binary, shared update engine, asynchronous durable transactions, Polkit per operation, reconnection/cancellation/progress, and matching native GNOME/KDE/CLI clients. Normal GUI and installed-system CLI operations do not spawn sudo/pkexec. Public status and active-local-session refresh/download do not prompt; current trusted-track updates are passwordless for active local administrators. Other mutations require distinct authorization. No implicit reboot, rollback, extension fallback, trust change or downgrade. Fast signed availability is separate from optional package diff. Identical refreshes coalesce; conflicting mutations do not.

This refines D-067/RFC-0009's no-daemon-first assumption for installed systems only; build-host and installer/offline contexts retain direct execution with common engine/locking invariants. The detailed v1 boundary and acceptance criteria are normative in RFC-0012. Library selection, on-disk migration and worker adapters remain implementation work. Approval is not implementation or release evidence; the running D-091 SDDM update pipeline continues independently.

D-091 — KDE Desktop publication and SDDM follow-up (Accepted, 2026-11-07)

The user confirms Archipelago KDE Desktop readiness after hardware testing and explicitly authorizes immediate publication of the checked ISO and OSTree image and layers, with the installed profile's stable/kde update track. Publish the existing 20261107T055158Z candidate first, then deliver the Plasma SDDM theme default through a checked pipeline rebuild and update. The user will validate the update through Discover. Extend recurring publication to KDE alongside Core/GNOME under D-090 cadence; record exact release identities and outstanding evidence in each release exception. This authorization does not claim independent reproducibility, autonomous replay of the calibrated VM onboarding, or completed Discover update acceptance. See KDE Desktop.

D-090 — Snapshot-based scheduled rebuilds and terra storage migration (Accepted, 2026-11-06)

Explicit user approval: promptly release Archipelago/layer/content fixes; run regular snapshot capture and full rebuilds at 00:00 UTC on the 15th and 30th of each month; urgent CVE runs require explicit user instruction. Disable daily scheduling immediately. Move terra's Archipelago infrastructure and working mirror onto tank, mirror contents in a separate ZFS dataset. Publish immutable native ZFS snapshot views under /archipelago/arch-repo-snapshot/<UTC-date-time>/, retaining at most three. Update the entire isolated bootstrap from the selected snapshot, then build Core and Purpose, check ISOs and publish to the portal/OSTree. Host Extensions use their base's snapshot, with the URL/identity advanced in new images. Execute migration/new scheduling after the current GUI/CLI/image task. Details and supersession: release snapshots. This is approval, not implementation or new release-admission evidence.

D-089 — KDE composition and Plasma Setup (Accepted, 2026-11-06)

The user accepts the proposed KDE native/Flatpak split and upstream Plasma Setup as provisioner, and requests YAML registries and infrastructure scaffolding. Native desktop/integration: Plasma/KWin, System Settings, Discover, Dolphin, Konsole, Spectacle and Ark, with portals/KIO/Polkit/KWallet, networking/audio/power, Plymouth and D-076 Toolbx/Podman. Independent Flatpaks: Okular, Gwenview, Kate, Elisa, KCalc and KClock. Keep a separate KDE application policy/cache/export and reuse the cycle's Core. See KDE Desktop. Exact input resolution, display-manager handoff, Discover backend and acceptance remain implementation work. This approves preparation, not automatic KDE publication or release admission.

D-088 — repository Host Extensions retain support (Accepted, 2026-11-06)

Explicit user instruction refines D-037/D-057: repository-name additions retain supported on a supported base, with a separate customed annotation. Local package files remain unsupported even if names match repository packages. Custom bases/overlays and lower-package overrides do not gain support. Preserve each request's source through update reapply and removal; never infer missing legacy provenance from a name. Removal rebuilds from the base and remaining set, preserving inputs/history and user data. Classify booted; show pending separately.

Working presentation: sorted effective added package names, including dependencies, up to ten names followed by … +N packages for the remaining count. customed is an annotation, not a third support class. Unverified bases are not supported. General out-of-band mutation detection and local-file/override adapters remain open.

The accompanying explicit GNOME request hides both stoken Software Token launchers using distribution-owned XDG NoDisplay=true overrides, retaining the package/VPN library. Deliver via the new image without changing the user's running host.

D-087 — daily stable publication (Accepted, 2026-11-06)

Explicit user direction: publish the daily Core/GNOME pipeline to stable/core and stable/gnome, matching already installed ISO update profiles and the user's chosen Arch Linux package release cycle. This supersedes the pipeline's hardware-test destination and authorizes recurring stable publication with its current checks. Each publication records exact candidate identities and outstanding admission limitations. It does not assert completion of reproducibility, general Managed Overlay or GUI update acceptance, and does not reuse one-build D-079.

This file is the compact record of architectural decisions discussed by the RFC Committee.

For the current consolidated contract scope, see the contract registry.

ID Decision Status
D-001 OSTree is the foundation for immutable filesystem storage, commits, refs, deployments, updates and rollback. Accepted
D-002 Archipelago uses existing Linux mechanisms (nspawn, pacman, DKMS, mkinitcpio, depmod, systemd) rather than reimplementing them. Accepted
D-003 A managed Layer is an independently versioned OSTree commit. Accepted
D-004 A composition resolves layer commits and produces one complete image OSTree commit. Accepted
D-005 Source manifests, RFCs, composition definitions and build recipes are stored in Git. Accepted
D-006 Registry infrastructure is part of the initial architecture, not a later optional feature. Accepted
D-007 Initial purpose categories are Desktop, Server and IoT. Accepted
D-008 A dedicated Hardware Layer category is excluded from the initial scope; generic support comes from Arch Core and its kernel capabilities. Accepted
D-009 Hardware-specific adaptations can be expressed through Managed Overlays and hardware profile manifests. Accepted
D-010 Managed Overlays are versioned OSTree commits and may replace lower-layer files only with explicit permissions. Accepted
D-011 DKMS modules are built against a specific kernel ABI and required build/validation failures block publication. Accepted
D-012 Binary packages are preferred; source builds are exceptions for adaptation, unavailable packages, project-owned software and DKMS. Accepted
D-013 The resulting OS preserves conventional Linux filesystem and ELF execution contracts; no Nix-style store model is introduced. Accepted
D-014 Host Extensions allow explicit local .pkg.tar.zst injection outside the supported managed composition. Accepted
D-015 Applying Host Extensions changes host support status to unsupported. Accepted
D-016 Host Extension failures do not obligate changes to Arch Core, Archipelago source code or RFCs. Accepted
D-017 Host Extension update behavior uses best-effort reapplication (Option B); on failure, deploy the supported upstream image without extensions as an available choice and preserve the prior deployment and local inputs. Accepted
D-018 Host Extensions must not directly mutate the live immutable /usr; they are applied in staging and materialized as a local OSTree deployment. Accepted
D-019 Persistent user and runtime state must not be implicitly deleted by update, rollback, rebase or purpose changes. Accepted
D-020 Layers are built independently, without mandatory exact-commit coupling to lower layers. Core is independent of other layers and provides the foundation for all others. Compatibility respects Arch Linux package contracts and applicable ABI constraints; resolved compositions still pin exact input commits. Accepted
D-021 Arch Core starts from the Arch Linux base metapackage plus the linux kernel package. Additional firmware and boot/deployment integration inputs remain to be specified. Accepted
D-022 Purpose layers extend Core, with desktop implementations such as KDE Plasma, GNOME and XFCE. Managed Overlays and local Host Extensions occupy upper composition positions and can change lower payloads under their respective policies. Accepted
D-023 All layers in a composition must use one common pinned package repository snapshot. Mixing snapshots is forbidden because it risks ABI and system breakage. Independent layer builds must conform to this shared snapshot contract. Accepted
D-024 Each package has one effective owning layer in a composition. Upper layers reuse packages provided below without duplication; dependencies absent below belong to the extending layer. Overlay package replacement must be explicit. Layer package requirements are described separately from the layer's own payload, preserving independent builds. Accepted
D-025 A shared package dependency absent from lower layers is included once and owned by the first requiring layer in deterministic composition order. Other layers reuse it. Recomposition after removal of its owner retains the package if still required and assigns a new owner. Effective ownership belongs to the resolved composition and does not mutate input layer commits. Accepted
D-026 Layer OSTree commits contain package payloads and a package ownership index, including dependency payloads needed for composition. The Composition Engine includes each resolved package once from these commits and records its effective owner. Package Registry installation is not the mechanism for materializing layer package payloads during composition. Exact index format and final pacman database construction remain open. Accepted
D-027 Package installation and package scripts execute in isolated layer builds; system-wide generated artifacts are regenerated against the final composition in explicitly declared steps (including depmod before mkinitcpio). Required failures block publication. Runtime initialization is a separate lifecycle. Detailed hook classification is proposed in RFC-0005. Accepted
D-028 Layers supply standard Arch/systemd sysusers, tmpfiles and service declarations. Reconcile system accounts at every boot using standard mechanisms, preserve existing UID/GID assignments, and retain accounts/groups when declarations disappear. Do not merge build account databases or impose a global custom UID/GID registry. Identity continuity across OSTree update/rollback requires an explicit implementation contract. Accepted
D-029 Archipelago permits explicit deletion only of human/user accounts, not service/system accounts, including those no longer referenced by a layer. Preserve system identities/groups; account deletion does not implicitly authorize persistent-data deletion. Reliable account classification remains to be specified. Accepted
D-030 Use one archipelago stateroot and Silverblue-style persistent-data symlinks into /var, including /opt -> /var/opt. Keep standard OSTree per-deployment /etc and /usr/etc defaults. Packaged /opt content still needs an adaptation contract. Accepted
D-031 Store the image's pacman-format installed-package database outside pacman's default location; disable ordinary live-host pacman mutation. Retain persistent working/history database copies for Host Extension composition. Exact paths, disabling mechanism and safe refresh/generation lifecycle remain to be specified in RFC-0007. Accepted
D-032 Adopt native OSTree per-deployment configuration and rollback semantics, refining D-028's cross-deployment continuity requirement. Human-user access preservation remains a priority and an unresolved contract because native rollback does not guarantee latest account/credential state. D-029 remains the account-deletion policy. Accepted
D-033 Focus the initial boot integration exclusively on systemd-boot; reuse OSTree and the Arch-packaged mkinitcpio integration where suitable. Other bootloaders may be considered later. Accepted
D-034 Use staged deployments for normal updates and an explicit retention policy. Retention counts, finalization failure UX and health-based automatic recovery remain open. Accepted
D-035 Use the OSTree version supplied by Arch Linux, pinned with the common package snapshot and recorded package identity. Optional deployment features remain explicit choices. Accepted
D-036 Initial account UX targets a generic single-user PC: provision the primary user in the initial deployment and preserve it through normal forward configuration inheritance. Native rollback to a deployment predating an additional user may omit that account; this is an accepted edge case with manual recovery using the same UID/GID and retained home data. Universal latest-account/credential synchronization is not required for MVP. Refines D-032. Accepted
D-037 Host Extensions preserve explicit user package intent and generation history. Build each local image from its selected base and matching package database; on base changes reapply the declared set to the new base rather than carrying an old mutated database forward. Removing an extension recomposes from the base and remaining intent, preserving persistent data. Inputs may be packages selected by name from the base's pinned repository snapshot or local package files retained by checksum; resolve dependencies from that snapshot and validate local package compatibility. D-017 governs reapplication failure. Accepted
D-038 Package addition and lower-layer package replacement are distinct explicit intents. Additions must not silently replace base packages. Replacements operate on whole packages with final-composition dependency, conflict, ownership and applicable kernel ABI validation, and are recorded in managed manifests or local requests. Removing an override recomposes with the selected base package; base updates revalidate overrides, with D-017 handling Host Extension failures. Explicit Managed Overlay file overrides remain a separate provenance-tracked mechanism. Accepted
D-039 Composition order is Core, Purpose, Managed Overlays in the explicit composition-manifest list order, then local Host Extensions. Overlays may declare required overlays, before/after constraints and incompatibilities. Validate rather than silently reorder the list; missing required overlays, violated ordering, cycles and incompatibilities fail with diagnostics. Later position grants no implicit replacement permission. Accepted
D-040 Add absent paths; merge common directories only with matching ownership, modes and xattrs unless metadata override is explicit. Deduplicate shared packages under D-025; different packages claiming a file conflict even with identical bytes unless replacement is authorized. Type changes require explicit permission. File deletions declare path, expected owner and reason, are recorded in diff/provenance, and do not implicitly authorize recursive directory deletion or persistent-data mutation. Treat symlinks as objects without implicitly following them for overrides. Whole-package removal uses package semantics. Accepted
D-041 A composition selects exactly one Purpose, distinguished by role (Desktop/Server/IoT) and concrete variant (e.g. desktop/kde or desktop/gnome). Multiple desktop environments require an explicitly designed Purpose variant or additional Managed Overlay, not multiple Purpose layers. Purpose changes create a new deployment, preserve persistent data and do not automatically migrate/delete desktop user settings. Revalidate overlay compatibility; incompatible overlays block the transition until explicitly resolved. Display-manager selection, systemd switching and other desktop integration belong to the concrete Purpose's content and lifecycle contract, not a generic compositor desktop policy. Accepted
D-042 Separate declarative manifest intent from a resolved lockfile. Resolve/update records exact layer commits, common package snapshot, architecture, resolved package versions/checksums, schema versions and finalization inputs. Build/compose consumes locked inputs without silently refreshing or substituting artifacts. Missing artifacts fail; manifest/lock mismatch requires a new resolve. Images record manifest and lock identities in provenance. Accepted
D-043 A package snapshot is an immutable, ordered repository set combining pinned Arch repositories and an Archipelago repository revision for a target architecture, with repository database checksums and available package identities. Its content-derived snapshot_id is shared by all managed layers; package changes create a new snapshot. Dates/URLs alone are not identity; transport locations may change if locked content matches. A snapshot defines available packages, while a lock records selected inputs. Local Host Extension files are explicit external inputs with dependencies resolved from the base snapshot. Accepted
D-044 Layer commits separate a system payload namespace from layer metadata (manifest, package index, overrides and provenance). They are composition inputs, not bootable deployments. Payload includes declared runtime packages/dependencies, excluding incidental build tools/state. The package index maps package identity/checksum to files and metadata needed for a coherent pacman database; layer changes and generated outputs have distinct provenance. Composition selects indexed content, deduplicates shared packages and applies authorized overrides; layer metadata is not copied wholesale into the OS root. Exact namespace names and serialization remain illustrative. Accepted
D-045 Initial image update channels are testing and stable, implemented with native OSTree refs/signatures/summary plus release metadata. Publish validated immutable image commits; promote testing to stable by pointing to the same commit without rebuilding. Make objects and required metadata available before channel publication; failed required checks leave the previous channel target unchanged. Updates select a coherent full composition, never mixed-snapshot layer updates. Custom compositions resolve/validate a complete new lock before deployment; Host Extensions are reapplied afterward. Exact release gates and retention remain open. Accepted
D-046 Retain the booted deployment, a previous rollback deployment, a pending deployment when present, and all explicitly pinned deployments. Preparation preserves current/rollback recovery. Older unpinned deployments may be cleaned after a successful transition, defined by system readiness and required Archipelago checks, with optional Purpose-specific checks. On low space, clean eligible caches/old unpinned deployments while preserving the minimum; otherwise stop the update. User data and Host Extension package inputs/history require separate explicit cleanup. Use native OSTree pinning and garbage collection with retained deployment/ref roots. Accepted
D-047 Core defines required boot readiness checks; Purpose may add explicitly declared checks, executed through systemd with bounded time and diagnostics. Record success for the specific deployment after checks on the current boot; optional service failures do not implicitly fail the transition. Required failure preserves recovery state and blocks success-gated cleanup. No automatic reboot in MVP. Rollback boot selection and reboot are separate actions; automatic versus explicit selection of the previous default entry on check failure remains to be clarified. Accepted
D-048 Purpose services, service-start scripts and layer runtime checks must be declared in manifests and execute after image deployment in the appropriate target lifecycle. Start services and run boot checks only in the target booted deployment, not against the currently running host while preparing a replacement. Build-time validation and artifact finalization remain before publication under D-027. Accepted
D-049 Rollback requires an explicit user command. Failed required boot checks do not automatically change the default boot entry, switch the running deployment or reboot. Report the failure and recommend rollback with an actionable command; the user makes the final decision. An explicit rollback selects the recovery deployment for the next boot without implicitly rebooting. Resolves D-047's boot-selection question. Accepted
D-050 Public testing and stable both require full reproducibility and successful required validation, including applicable scripts and runtime checks in the supported validation matrix; known failing checks/scripts block publication. Testing validates new software and RFC-driven changes before stable, not broken builds. Experiments belong in access-restricted staging for selected Archipelago developers or reproducible local environments on user-controlled infrastructure using a local source manifest tree. Extends D-045's channel model and strengthens the reproducibility baseline; exact reproducibility evidence and validation matrix remain to be specified. Accepted
D-051 Public-release functional validation covers Core boot, local login, successful Host Extension package installation/activation and Managed Overlay application/activation. Validate the resulting system, not just command success. Purpose validation in a clean environment requires declared target services to be enabled/activated as intended and operational without errors. User-corrupted persistent/application data is outside this clean-environment guarantee; distribution-controlled defaults and activation must work. These functional gates apply to testing and stable and do not replace separate reproducibility evidence. Accepted
D-052 Purpose release validation inherits every Core functional gate from D-051, since a Purpose deployment includes Core. Run boot, local login, Host Extension installation/activation and Managed Overlay application/activation against the complete Core + Purpose candidate, then validate Purpose-specific services. Passing Core separately does not waive those checks for the composed Purpose image. Accepted
D-053 Retain the full architecture while implementing one end-to-end profile first: x86_64 UEFI VM, one concrete Purpose, local builder, online installation and CLI-driven operations. Select the concrete Purpose and storage profile before boot integration. Other Purposes, remote builders, workload-manager integrations, offline media and advanced storage/boot features follow in later milestones. Public release gates remain unchanged. Accepted
D-054 RFC v0 excludes unrestricted Managed Overlay replacement capabilities, including replace_lower_layer_files: true. Replacements require scoped paths/path sets, expected owner, operation and reason, including for trusted overlays. Support additions, explicit whole-package replacements and scoped file overrides. Standalone removal of lower-layer packages is deferred pending a separate authorization/dependency contract; mass file deletion must not simulate it. Removing an overlay remains recomposition from the remaining selection under D-025. Accepted
D-055 A composition contains exactly one Core, zero or one Purpose, and zero or more Managed Overlays. The official supported Archipelago Core variant ships with zero Purpose layers. Users may construct custom overlay systems or select one Purpose later through system management, creating a validated new deployment while preserving data. Further customization uses Overlays or Host Extension packages, not additional Purpose layers. Custom overlay sets do not automatically gain official support but may later be adopted as an official Purpose. Core functional gates apply to Core-only images and every Core + Purpose candidate; Purpose service gates apply when selected. Supersedes only D-041's mandatory Purpose cardinality, preserving its other policies and D-052. Accepted
D-056 Reapply the complete Host Extension set atomically on base update. If installation or validation fails, preserve the current deployment, boot selection, prior recovery deployment and local inputs. Offer the new unmodified supported upstream image, but activate it only on explicit user selection. Do not automatically drop individual packages or activate fallback. Users may explicitly change the requested set and retry. Refines D-017's failure policy. Accepted
D-057 Support status describes the current booted deployment and its effective local modifications, primarily for issue diagnostics. Merely enabling Host Extensions or requesting/preparing changes does not alter that deployment's status; show requested and pending state separately. Applied Host Extensions make the deployment unsupported. Absence of Host Extensions alone does not establish official support for a custom overlay composition. Remove recovery from the status model rather than adding a separate recovery state. Report deployment/base identities and effective local modifications so issue reports distinguish official images from user-modified compositions. Accepted
D-058 Classify every package hook/scriptlet action into layer build, composition finalization, deployment preparation or runtime, with explicitly justified inapplicable actions. Unknown actions block publication until reviewed. Deferred actions require explicit replacements/lifecycle mappings; do not silently disable hooks. Generate system-wide indexes and initramfs against the final composition. Finalization uses predetermined locked inputs, no network and explicit action ordering. Required action failures block publication even when pacman itself exits successfully. Extends D-027; snapshot-specific adapters and individual action-matrix policies remain separate implementation/approval work. Accepted
D-059 Finalize aggregate schema, MIME, icon and library caches, vendor hwdb, selected distribution locales and distribution trust outputs against the composed image. Populate mutable font caches, system accounts/directories, machine-id and SSH host keys through the installed target lifecycle. Start services in the target deployment; declare initial defaults and preserve administrator enablement choices across updates. Machine-local trust, hwdb and linker configuration changes require corresponding cache regeneration integration. Reuse Arch/systemd tools; verify exact commands and paths against the pinned snapshot. Accepts these RFC-0005 action-family placements without freezing adapter/schema details. Accepted
D-060 D-029's deletion prohibition applies to persistent system/service account records. Standard systemd DynamicUser= allocation and release remain normal service lifecycle, not Archipelago deletion of a persistent account. Do not introduce a custom identity lifecycle for these transient users. Accounts whose human-versus-system classification is ambiguous remain ineligible for deletion through Archipelago. Accepted
D-061 RFC Committee approves RFC v0 (RFC-0001–0007) as an architectural contract on 2026-11-04, interpreted with D-020–D-060. Ratifies D-001–D-016 and D-018–D-019 with subsequent refinements. Explicitly open implementation contracts, formats, adapters, package database assembly, boot profile and reproducibility evidence remain to be agreed; illustrative examples are not stable APIs. Acceptance does not claim implementation or waive testing/stable release gates. Proceed sequentially through implementation contracts and code. Accepted
D-062 Implement the primary archipelago binary and functional modules in Rust. Laboratory tooling may use other languages; this does not freeze artifact schemas or FFI/adapter interfaces. Accepted
D-063 Plan monthly package repository snapshots, eventually created through ZFS on the mirror host. Defer that infrastructure until a bootable, working experimental archipelago-core-latest.iso exists. Snapshot identity and public testing/stable reproducibility requirements remain governed by D-043/D-050; a monthly label or latest filename does not replace immutable input identity. Accepted
D-064 Include installation and first-run control in the live/installed archipelago workflow: prepare target storage, install the system, and support deferred provisioning with primary-user creation on the first installed boot. Prefer native GNOME/KDE initial-setup tools where feasible; provide terminal CLI onboarding for Archipelago Core. Preserve D-036: create the primary user in the initial deployment before subsequent normal rollback targets. Exact disk profile, frontend adapters, completion/retry state and privilege/API contracts remain open. Accepted
D-065 Select the first experimental Core ISO profile: x86_64 UEFI VM, GPT with FAT32 ESP and ext4 root, systemd-boot, without encryption or Secure Boot. A separate /boot may be introduced if boot integration requires it. Acceptance exercises host-binary/nspawn ISO construction, live disk partitioning and installation of a viable OSTree deployment/bootloader, boot from the installed disk, first-run user provisioning and base services, then activation of a test Managed Overlay and a package Host Extension. Artifact schemas and package database adapters are experimental; public release gates remain unchanged. Accepted

Implementation contract drafts

Each entry has its own approval status. D-066 was explicitly accepted on 2026-11-04; D-067–D-069 and the package-action implementation plan were explicitly accepted on 2026-11-04. Implementation and the explicitly open details remain pending.

ID Decision Status
D-066 Accept strict YAML/JSON intent manifests, SHA-256 canonical JSON identities independent of transport, separate LayerLock/CompositionLock and indexed per-package OSTree payload with effective ALPM records, retained originals and explicit transformation provenance; see RFC-0008. Approved 2026-11-04; concrete schemas/adapters and implementation evidence remain pending. Accepted
D-067 Accept the unified CLI for build host, installed system and installer/live: complete command coverage, checked plan/apply under mutation locks, shared JSON/errors and durable operation records, phase-aware cancellation/resume, separate desired/pending/booted state, explicit reboot/rollback/fallback, capability reporting and initial operation without a mandatory daemon; see RFC-0009. Approved 2026-11-04; implementation is incremental. Accepted
D-068 Accept Docker Compose with host cron and separate builder/KVM validator/publisher roles, monthly immutable Arch + Archipelago snapshots and daily pinned candidate builds, HTTP/native OSTree distribution, complete verified artifacts before atomic signed channel updates, shared update/net-install/portal release identities, purpose-separated OpenPGP keys and same-image promotion. Core x86_64 is first after release gates; KDE/GNOME require independent acceptance. Deployment bindings, keys, exact schedules/limits and worker isolation validation remain pending; see RFC-0010. Approved 2026-11-04. Accepted
D-069 Accept mandatory action coverage for base/linux, Core integration packages and complete KDE/GNOME runtime closures, plus build dependencies in their build contexts; inventory scriptlets/hooks/helpers and no-action packages, shared versioned policy/adapters/result ledger and hooks CLI. Required failures block candidates even with pacman exit zero; readiness requires zero unresolved mandatory actions and functional evidence including desktop onboarding/session/services and inherited Core checks. Approve the phased implementation plan from inventory through publication gates. Exact desktop manifests and supported snapshot transitions require separate agreement; see RFC-0011 and spec/package-actions-plan.md. Approved 2026-11-04. Accepted

Layer schema freeze

ID Decision Status
D-070 Freeze Layer YAML/JSON v1 after explicit block-by-block approval on 2026-11-04: envelope/packages, runtime/provisioner inheritance and check lifecycles, actions, files, bounded overrides, compatibility/replacements, exact kernel/ABI references and strict validation. Normative structural schema: schemas/layer-v1.schema.json; semantics: spec/layer-yaml-freeze.md and RFC-0008. Changes require separate approval and schema versioning. Complete desktop package sets, ABI algorithm, adapters, Composition/lock schemas and implementation evidence remain separate work. Accepted

Terra infrastructure binding

ID Decision Status
D-071 Host Core/Purpose YAML source registries and infrastructure code at git.fasoley.net under Archipelago alongside rfc. Deploy registry, ISO/home portal and CLI-based layer/image/ISO builders on terra beside /opt/mirror, replacing superserv1 for new infrastructure work; retain standalone deployment files. Base URL is https://mirror.nw-sys.ru/archipelago/, with ISO and OSTree below it. Build from exact YAML revisions and pinned mirror inputs, publish layers, compose from the artifact repository, then build/publish ISO. Use Material You-inspired presentation and clear independent Arch Linux attribution. Implement registry-backed CLI updates, then plan PackageKit/GNOME Software/KDE Discover integration through the same staged transaction contract. D-068 release/trust gates remain; see spec/terra-infrastructure.md. Explicitly approved 2026-11-04. Accepted

Daily experimental Core and firmware

ID Decision Status
D-074 Build experimental Core daily from current source commits and the current Arch mirror to exercise the infrastructure and commit-based OS updates end to end. A newly built image commit is an update candidate; unchanged commits are not new payload. Include linux-firmware explicitly in Core and the live installer, using its normal dependency closure rather than relying on linux to pull it. This does not claim every device is supported or all firmware has source available. D-073 snapshot deferral and D-050 public release gates remain. Explicit user direction, 2026-11-05. Accepted

Snapshot storage and experimental build sequencing

ID Decision Status
D-072 Use a separate tank/archipelago ZFS dataset for future mirror captures, leaving the live mirror at /opt/mirror/data. Retain at most three monthly snapshots. This refines D-063/D-068 retention: referenced release/lock inputs cannot be silently destroyed to satisfy the cap; if no snapshot can be safely retired, capture must stop. User explicitly approved separate storage and the three-monthly-snapshot cap on 2026-11-05. Capture activation is subsequently deferred by D-073. Accepted
D-073 Defer snapshot creation and bulk mirror copying while the project matures. Use the live mirror for experimental image construction, prioritize reproducibility work and RFC conformance, and move to frozen snapshots for release construction later. Retain exact per-run input identities/checksums, reject changed or unavailable inputs rather than silently substituting them, and do not treat a mutable mirror or a successful experiment as a sealed Snapshot/public release. D-050 and public release gates remain. User explicitly directed this sequencing on 2026-11-05. Accepted

GNOME Desktop and shared Desktop Toolbx

ID Decision Status
D-075 Implement GNOME as the first Desktop Purpose with full GNOME integration, Flatpak out of the box, GNOME Software/PackageKit integration with Archipelago whole-image updates and GNOME Initial Setup for first-user/timezone/settings onboarding. Approved native applications: Shell/GDM/Settings/Software, Nautilus, Console, Disks, System Monitor. Approved stable Flathub apps: Web, Calculator, Calendar, Contacts, Text Editor, Loupe, Papers, Clocks, Weather; GNOME Nightly is opt-in. Flatpak owns application lifecycle independently of OS deployments. Build/test Core+GNOME and publish eligible artifacts to portal/repository; inherited Core, GNOME and public gates remain. See spec/gnome-desktop.md. Explicitly approved 2026-11-05. Accepted
D-076 Every Desktop Purpose must support upstream Toolbx with rootless Podman and an explicitly selected Arch Linux execution environment, analogous to Silverblue's mutable development environment. Reuse a reviewed upstream Arch Toolbx image where suitable; record OCI identity, validate subordinate IDs/storage/network/session/home integration and persistence across OS updates. Container package management is separate from Host Extensions and cannot mutate host /usr. Do not recreate/delete user containers on OS update. Exact image binding and adapters require evidence. Explicitly requested 2026-11-05. Accepted

Default selection after deployment creation

ID Decision Status
D-077 Every successful operation creating a new target-system OSTree deployment automatically selects it as the default for the next boot: installation, update/rebase, Purpose changes, Managed Overlays and Host Extensions. No separate activation/boot-selection command is required. Staged deployments materialize the boot entry through native successful finalization; preparation alone does not reboot or switch the running root. Failed operations preserve the existing boot selection. Explicit rollback selects its requested previous deployment; failed boot checks still do not trigger automatic rollback under D-049. Building a layer/image commit alone is not deployment creation. Explicit user direction, 2026-11-05. Accepted

Temporary hardware-test update trust

ID Decision Status
D-078 Use a separate OpenPGP signing key on terra for the temporary hardware-test OSTree repositories. Sign commits and summary; update clients must verify both. Embed the public key in new installer images; never send the private key to the build host. Existing images without the updater/key require an explicit bootstrap or a new ISO. This selects an experimental trust binding, not the testing/stable release format, key-rotation policy or full update acceptance. Explicit user approval, 2026-11-05. Accepted

Stable references and current-cycle exception

ID Decision Status
D-079 Adopt stable/core and stable/gnome as target image/layer refs. After reporting successful target-hardware use, the user explicitly authorized a release-gate exception for the current cycle (20261105T164634Z), despite incomplete D-050–D-052 evidence. Promote the same signed commits/ISO bytes with the existing D-078 key and record limitations publicly; retain hardware-test aliases for existing clients. The exception binds exact artifact identities, does not assert missing checks passed, and does not waive gates for subsequent identities. Explicit approval, 2026-11-05. Accepted
D-080 Generate all glibc-supported locales in Core, inherited by Desktop Purposes, and include GNOME artwork/backgrounds in the GNOME image. This extends the locale selection under D-059 and GNOME contents under D-075; application lifecycle remains unchanged. Explicit user request, 2026-11-05. Accepted

Status guidance

ID Decision Status
D-083 Deliver independent GNOME applications as preinstalled Flatpaks with their runtimes on installation media, preserving user removal and independent updates. Keep Shell/GDM/Settings/Software/Files/terminal and system integration native; apply the same split to future KDE. Supersedes the interim native-default-app direction; delivery acceptance checks installed app/runtime presence on a deployed VM. Explicit user approval, 2026-11-06. Accepted
D-084 Stop the yabloko candidate pipeline and move building to root@tall-bridge; installing necessary tools there is authorized. Transfer artifacts directly to terra for storage, signing and publication. Rename the signing profile to archipelago-stable while retaining the existing fingerprint and installed-client trust. Explicit user direction, 2026-11-06. Accepted
D-085 Complete the operational cycle through publication of assembled OSTree layers and new ISOs on terra, and enable daily execution at the previously agreed 00:00 UTC / 03:00 MSK. The pipeline must own progression, durable status and failure reporting without requiring repeated operator/LLM prompts. Explicit execution request, 2026-11-06. This does not extend D-079 to new identities or certify outstanding stable/testing admission gates; experimental hardware-test publication must retain its actual scope. Accepted
D-086 Return all builds and VM acceptance, including Flatpak application preparation/downloads, to yabloko. Retain a persistent Flatpak repository cache and attempt updates each build. Simplify the pipeline and make its stages, logs and operation understandable to a human. The final instruction cancels the proposed tall-bridge download relay and supersedes D-084's worker placement; terra retains artifact storage, signing and publication. Explicit user direction, 2026-11-06. Existing release gates remain unchanged. Accepted
D-115 Add local Host Extension archives by path: archipelago extension add ./package.pkg.tar.zst, with --file PATH as the explicit RFC-0009 form. A path is recognised by ./, ../, /, ~/ or an archive suffix; anything else is a package name, and an unknown option is an error. Each archive is imported through HostExtensions.ImportPackage over the protected FD (exact copied bytes, SHA-256 of the copy, .PKGINFO identity) under extension-local; import runs no scriptlets and stages nothing. One plan and one Stage then cover the complete mixed request, so names and archives are applied atomically and a local input keeps source=local, its retained checksum and unsupported provenance. Composition inherits the ALPM database of the selected managed base: every pacman invocation names /usr/lib/archipelago/package-db explicitly (the installed host has no populated /var/lib/pacman, which made the hardware import check fail before parsing the archive), sync databases stay bound to the base snapshot, and a base update recomposes from the new base DB. Disposable staging workspaces are removed whole on success, failure, cancellation and timeout, and a workspace untouched for a day is purged as orphaned. Hardware acceptance of the corrected import remains a user manual check. Explicit user direction, 2026-11-16. Accepted
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
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-120 Collect unreachable OSTree objects at the very end of a successful update/overlay Stage instead of requiring a separate cleanup call. The transaction already holds the shared sysroot lock and has just finished writing the pending deployment, so the internal collection may protect that pending deployment and still expire superseded keep/service composition refs; the pending commit and every input it names remain in the protected graph. The result is reported on the Stage/apply outcome (cleanup.state and the byte record) but collection failure never turns a successfully staged deployment into a failed update; the boot timer and manual cleanup apply remain fail-closed and still refuse a pending deployment. This extends D-116; explicit user direction, 2026-11-18. Accepted
D-121 Ship phone integration in the KDE Purpose only: kdeconnect is an ordinary package of the pinned snapshot, so it arrives with the same provenance, signatures and update channel as Plasma. The GNOME Purpose does not ship GSConnect. Arch publishes no package for it, the earlier self-built-package path (build-gnome-extension.sh plus a local repository entry) was withdrawn, and a user who wants the extension installs it from the GNOME Shell extension catalog into their own profile; the OS image neither provides, enables, reinstalls nor removes it across updates. This is a product decision, not an open question: native GNOME phone integration would need a new decision. Explicit user direction, 2026-11-21. 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
D-111 Provide sleep-to-disk for Desktop Purposes: archipelago power hibernate-setup (root) creates a swap file /var/swap/hibernate.swap sized to RAM + 20%, enables it with an fstab entry, derives resume_offset from filefrag, and stages a deployment with resume=UUID=<root>/resume_offset=<N> through the existing kernel-argument path. The GNOME/KDE images ship the mkinitcpio resume hook (required by the busybox initramfs) and a /usr/lib/archipelago/hibernate marker; the command refuses to run on an image without it or when /var has no room, and it is explicit rather than default because the file is as large as RAM. /var is not encrypted, so the hibernation image on disk contains RAM. Explicit user direction, 2026-11-13. Accepted
D-110 Replace SDDM with Plasma Login Manager in the KDE Purpose. The greeter is a Plasma session: plasmalogin.service carries Alias=display-manager.service, the Plasma Login KCM (kcm_plasmalogin, shipped in plasma-login-manager) replaces sddm-kcm, and no SDDM theme or CompositorCommand configuration is shipped. Keyboard layouts and the on-screen keyboard reach the greeter through system-wide /etc/xdg/kxkbrc (LayoutList=ru,us) and /etc/xdg/plasmakeyboardrc (enabledLocales=ru_RU,en_US), which the greeter and user sessions both read. The KDE Purpose takes plasma-meta as-is so Plasma's own Settings coverage stays complete and upstream component changes are accepted. Supersedes the SDDM parts of D-089/D-091/D-107. Explicit user direction, 2026-11-13. Accepted
D-109 Make the console independent of the renderer. Core, Container Runner and the live ISO keep the plain kernel console with Terminus (vconsole.conf) and getty on tty1; kmscon stays enabled only for GNOME/KDE, which ship mesa, on the VTs logind opens (tty2+). A packaged getty@tty1 vendor drop-in runs /usr/bin/archipelago-console-login, so onboarding no longer depends on kmscon. Diagnosis: every kmscon render engine needs libEGL/libgbm/libGLESv2 from mesa, which the Arch package does not depend on and Core/CR/ISO do not ship, so kmscon could not start; the onboarding drop-in was written under runtime/etc, which the package recipe silently discarded (now a build error). Corrects D-102's "no mesa dependency" claim and the kmscon-on-tty1 parts of D-102/D-104. Explicit user direction, 2026-11-12. Accepted
D-108 Move the Arch mirror to the ZFS dataset tank/archipelago/archlinux and derive one immutable monthly repository snapshot per cycle (@monthly-YYYY-MM-DD, at most three retained, auto-mounted read-only and published at /archipelago/arch-repo-snapshot/<date>/$repo/os/$arch). ISO and OSTree builds run on the 1st of the month: the cycle creates the snapshot before compiling and binds every build to that snapshot URL, retiring the three-day OSTree cadence and the day-30 ISO schedule. Package resolution stays reproducible per snapshot; a missing artifact fails the cycle instead of falling back to the rolling mirror. Explicit user direction, 2026-11-12. Accepted
D-107 Append --inputmethod plasma-keyboard to the SDDM Wayland CompositorCommand so the virtual keyboard works in the KDE greeter; maliit-keyboard was removed from Arch and plasma-keyboard is its Qt6 replacement. Explicit user direction, 2026-11-11. Accepted
D-106 Ship usb_modeswitch in Core and modemmanager (enabled) in KDE so composite WWAN modems like the HP lt4120 Snapdragon X5 switch out of ECM mode and appear in ModemManager. Explicit user direction, 2026-11-11. Accepted
D-105 Ship the full linux-firmware-* split set in Core for every edition, add plasma-keyboard to KDE for tablet mode, and retry a Busy extension Stage for up to 180 s instead of dropping the prepared plan. Diagnosis: a concurrent update check made Stage return Error.Busy after PrepareChange succeeded. Explicit user direction, 2026-11-11. Accepted
D-104 Run kmscon on tty1 for Core and Container Runner and put first-boot provisioning on that console through /usr/bin/archipelago-console-login; desktops keep the DM on tty1 and kmscon on tty2+, the live ISO uses kmscon on tty1, and the getty fallback uses the same wrapper. Explicit user direction, 2026-11-10. Accepted
D-103 Fix the unbootable-update incident: keep a 2 GiB FAT32 ESP at /efi and /boot on ext4 root, use --retain-rollback --retain-pending instead of bare --retain so retention is booted/previous/pending/pinned, seed the ESP at install and make boot-sync space-checked, pruned and entry-last. Reject the proposed ext4 XBOOTLDR because stock systemd-boot reads only firmware filesystems and stock OSTree needs a POSIX /boot; a pure ESP with systemd-boot is not possible. Amends D-065. Explicit user direction, 2026-11-10. Accepted
D-102 Ship kmscon 10.1 with the Terminus PSF font on all editions and the live ISO. Installed systems use kmscon for logind VTs (tty2+) via the packaged autovt alias, keeping tty1 for firstboot or the display manager and keeping getty as OnFailure fallback; the ISO uses kmscon on tty1. No mesa dependency. Growth +17.6 MiB installed on Core/Container Runner/ISO and +4.8 MiB on desktops. Explicit user direction, 2026-11-10. Accepted
D-101 Disable and mask ttyS0 getty/firstboot units on provisioned installed systems in all editions, and roll the policy out through a Core-owned systemd drop-in so existing deployments receive it on update; the live ISO keeps its serial console and the operator may unmask. Explicit user direction, 2026-11-10. Accepted
D-100 Accept the Container Runner server Purpose (Podman, Cockpit, stock Tailscale, binfmt) with Cockpit on LAN+tailnet and self-signed TLS, Tailscale and firewalld installed but disabled with no baked keys or rules, ext4 storage with filesystem profiles deferred, stable/container channel, same cadence/publication principles, no acceptance scenarios, and a Cockpit updates plugin over archipelagod D-Bus instead of PackageKit. Explicit user direction, 2026-11-10. Accepted
D-099 Set the Toolbx default to the upstream quay.io/toolbx/arch-toolbox:latest reference and withdraw the synthetic archipelago-pinned digest remap, because stock Toolbx rejected the alias on hardware while the plain reference works. Existing containers are not rewritten; D-076's Toolbx/rootless-Podman requirement remains. Explicit user direction, 2026-11-10. Accepted
D-098 Replace installed-VM acceptance in the normal cycle with cargo test --workspace plus portal contract checks, and delegate firmware/Wi-Fi/GPU/GUI scenarios to explicit user manual verification. Publish OSTree refs on an anchored three-day interval (anchor 2026-11-09 00:00 UTC) and ISO media on calendar day 30 at 00:00 UTC. Remove waiver/--existing/--core-build reuse paths; admission requires frozen-source Rust evidence while signatures, identity and provenance checks stay. Keep only the current public OSTree commit per ref and prune intermediate history; retain three ISO media per variant, each embedding its own repository; compact private archives to evidence and exclude package snapshots/cache. Seeded by three harness-induced VM failures, the unprovable hardware remainder and OSTree-based updates; supersedes schedule/mandatory-VM parts of D-090/D-087/D-085. Explicit user direction, 2026-11-09. See spec/release-cadence-and-testing.md. Accepted
ID Decision Status
D-081 Before publishing the next newly built stable ISO, organize the production CLI, remove laboratory commands from its public interface, provide Russian localization, and implement GNOME Software OS updates through Archipelago transactions with old/new package-version details. Study rpm-ostree/Fedora Atomic principles as needed. GUI discover/plan/stage/reboot and failure paths require actual validation; D-079 does not waive these new-image requirements. Explicit user direction, 2026-11-05. Accepted
D-082 Include Plymouth in every Desktop Purpose, initially GNOME, with initramfs/boot/display-manager integration and accessible text diagnostics. Core-only remains console-oriented. Package presence alone is not integration acceptance. Explicit user direction, 2026-11-05. Accepted

D-055 revises D-041's exactly-one Purpose requirement to zero-or-one. D-053's first implementation profile is a delivery milestone, not a composition restriction.

Later decisions refine earlier entries without erasing their discussion history: D-032's open account-continuity scope is resolved by D-036; D-034's retention and automatic-recovery questions are resolved by D-046–D-049; D-047's boot-selection question is resolved by D-049. D-050–D-052 extend D-045's channels and release gates; their implementation evidence and publication contracts remain open.

Only mark a decision Accepted after explicit approval in RFC Committee discussion. D-061 ratifies the initial Proposed decision rows; historical wording is interpreted through later refinements. D-058/D-059 and RFC v0 approval supersede D-027's original proposal-only description of the hook baseline. Explicit implementation questions remain open despite architectural acceptance.