diff --git a/README.md b/README.md index ce113a4..303164c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ ## Documents +- [KDE Desktop](spec/kde-desktop.md) — accepted D-089 software split and Plasma + Setup direction, with disabled registry proposals and remaining integrations. + - **[Accepted contract registry](spec/contract-registry.md)** — consolidated scope, approval basis, normative sources and open implementation boundaries (D-001–D-082). diff --git a/examples/v1/kde.layer.yaml b/examples/v1/kde.layer.yaml index aa009a3..5f69ca2 100644 --- a/examples/v1/kde.layer.yaml +++ b/examples/v1/kde.layer.yaml @@ -1,4 +1,5 @@ -# Illustrative package set; Core provisioning is inherited, native KDE adapter pending. +# Minimal illustrative subset; full D-089 candidate lives in purposes/proposals/kde.yaml. +# Plasma Setup is selected; its completion adapter is not implemented here. apiVersion: archipelago/v1 kind: Layer metadata: @@ -16,10 +17,14 @@ spec: runtime: - name: plasma-desktop - name: sddm + - name: plasma-setup runtime: units: + - name: plasma-setup.service + activation: enable - name: sddm.service activation: enable + provisioner: plasma-setup/v1 functional_checks: [kde-session] actions: - id: kde-session diff --git a/ru/spec/decision-log.md b/ru/spec/decision-log.md index c9cec6b..9dcef28 100644 --- a/ru/spec/decision-log.md +++ b/ru/spec/decision-log.md @@ -1,5 +1,17 @@ # Журнал решений Archipelago +## D-089 — состав KDE и Plasma Setup (Accepted, 2026-11-06) + +Пользователь принимает предложенное разделение нативного/Flatpak-софта KDE и +upstream Plasma Setup как provisioner, поручает подготовить YAML-реестры и +инфраструктуру. Нативно: Plasma/KWin, System Settings, Discover, Dolphin, Konsole, +Spectacle и Ark, интеграция KIO/portals/Polkit/KWallet, сеть/звук/питание, Plymouth +и Toolbx/Podman по D-076. Flatpak: Okular, Gwenview, Kate, Elisa, KCalc, KClock. +Отдельные policy/кэш/экспорт KDE используют общий Core прогона. Точные входы, +передача управления display manager, Discover backend и приёмка ещё требуют +реализации. Одобрена подготовка, не автоматическая публикация или release-допуск. +Подробности: [KDE Desktop](../../spec/kde-desktop.md). + ## D-088 — репозиторные Host Extensions сохраняют поддержку (Accepted, 2026-11-06) Явное указание пользователя уточняет D-037/D-057: добавление по имени из репозитория diff --git a/spec/contract-registry.md b/spec/contract-registry.md index 1af477f..c44de8b 100644 --- a/spec/contract-registry.md +++ b/spec/contract-registry.md @@ -1,5 +1,12 @@ # Accepted contract registry +### KDE product amendment — D-089 (2026-11-06) + +Accepted KDE native/Flatpak software split and Plasma Setup provisioning direction: +[KDE Desktop](kde-desktop.md). Registry, composition and pipeline proposals are +prepared but disabled; input resolution, adapters, acceptance and release admission +remain open. This amendment does not turn candidate YAML into a stable lock/API. + [Русская версия](../ru/spec/contract-registry.md) **As of 2026-11-05. Coverage: D-001–D-082, RFC-0001–0011.** diff --git a/spec/decision-log.md b/spec/decision-log.md index 9ed1dcf..89e3636 100644 --- a/spec/decision-log.md +++ b/spec/decision-log.md @@ -1,5 +1,17 @@ # Archipelago Decision Log +## 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](kde-desktop.md). 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 diff --git a/spec/kde-desktop.md b/spec/kde-desktop.md new file mode 100644 index 0000000..7f406d0 --- /dev/null +++ b/spec/kde-desktop.md @@ -0,0 +1,85 @@ +# KDE Desktop, Flatpak and Plasma Setup + +**Status:** Accepted product direction under D-089 (2026-11-06); implementation +profiles are disabled candidates, not validated layer locks or release admission. + +## Accepted composition + +KDE is a separate Desktop Purpose composed with the same exact Core commit and +package inputs used in its release cycle. Core is built once, not rebuilt within +the KDE path. Native components are Plasma/KWin, System Settings, Discover, +Dolphin, Konsole, Spectacle, Ark and desktop integration (KIO, KDE portals, +Polkit/KWallet, network/audio/power, Plymouth). D-076 Toolbx/rootless Podman applies. + +Deliver Okular, Gwenview, Kate, Elisa, KCalc and KClock as independently removable +and updateable stable Flathub applications. Exact refs, runtimes, package versions +and checksums must be resolved and validated before enabling a build. The policy +in `purposes/proposals/kde-flatpak-apps.json` is a private adapter input, not a +stable manifest extension. A default browser is not selected by this decision. + +The KDE ISO carries its own application/runtime export, imports it once at initial +installation, and retains normal Flatpak origins. Updates must not reinstall apps +the user removed. A KDE-specific persistent cache isolates its refresh/export +lifecycle from GNOME. The current GNOME cache path need not migrate. Reuse common +preparer/import logic after parameterizing the existing GNOME-specific assumptions; +do not symlink mutable installation directories between Purposes. + +## Provisioning + +Use upstream Plasma Setup for first-account and initial settings creation. Its +documented completion marker is `/etc/plasma-setup-done`; its service orders before +`display-manager.service`. The installed-only drop-in must also exclude Archiso +using `/run/archipelago-live`, since upstream's `rd.live.image` condition alone +does not identify our live medium. Do not ship completion markers in the image. + +Archipelago observes completed provisioning, validates the primary account/home, +administrative access and container subordinate IDs, then records its existing +completion marker. It does not replace the upstream account creation mechanism. +Configure temporary setup identities through upstream sysusers/lifecycle; D-060 +and the persistent-account deletion restriction apply. Existing-user Purpose +switching, cancellation/retry and update/rollback marker inheritance need explicit +adapter coverage. SDDM remains a candidate, with exact snapshot compatibility and +handoff still to be checked. Do not start two display managers together. + +## Discover and update identity + +Discover's native Archipelago backend must invoke the shared CLI transaction +contract: verified target, downgrade protection, immutable plan, staged deployment, +explicit activation and D-088 support/customization reporting. Flatpak/fwupd retain +their own backends. Do not route OS changes through live ALPM. GNOME Software's +plugin is not a Discover plugin. + +Before enabling KDE, replace the binary GNOME-marker/Core inference with explicit +Purpose identity. Image identity, installer, update plans, Host Extension +finalization and selected boot profile must all agree. The intended channel is +`stable/kde`; the present two-variant publisher/catalog/retention logic requires +generalization. D-087's existing Core/GNOME authorization is not evidence of KDE +release acceptance, and this scaffolding does not publish or schedule KDE. + +## Acceptance to implement + +- Core checks on the full Core + KDE candidate, not only a separately tested Core. +- Live install, first installed boot, Plasma Setup account creation and retry, + normal display-manager login and Plasma Wayland session. +- Network ownership, audio, power, portals, file dialogs, screen capture, + administrative authorization, keyring, and Toolbx/rootless Podman persistence. +- Presence of the six Flatpaks and their runtimes in the installed machine; + independent update/removal and no unintended reseeding by OS updates. +- Host Extension activation with correct supported/customed classification, + Managed Overlay acceptance and explicit rollback with retained data. +- Update from a previous installed KDE image to a newer image, including Discover + presentation and final booted identity. This is separate from fresh ISO acceptance. +- Plymouth graphical display/handoff and independent reproducibility evidence. + +No KDE build, VM test, runtime-ref resolution or GUI acceptance has been performed +as part of creating these registry proposals. + +## Upstream references + +- https://invent.kde.org/plasma/plasma-setup +- https://github.com/KDE/plasma-setup/blob/master/README.md +- https://github.com/KDE/plasma-setup/blob/master/files/plasma-setup.service.in +- https://planet.kde.org/kristen-mcwilliam-2026-02-17-plasma-setup-released + +README/service reviewed on 2026-11-06. These moving upstream references are design +evidence, not pinned build inputs; inspect the actual Arch package before integration. diff --git a/spec/open-questions.md b/spec/open-questions.md index c60efe8..42cc8c1 100644 --- a/spec/open-questions.md +++ b/spec/open-questions.md @@ -1,5 +1,11 @@ # Archipelago Open Questions +KDE product choices are accepted by D-089: native/Flatpak split and Plasma Setup. +Open implementation work is tracked in [KDE Desktop](kde-desktop.md): exact package +and Flatpak/runtime inputs, display-manager handoff, completion observer, explicit +Purpose identity, Discover backend, per-Purpose cache and three-variant publication. +KDE proposals remain disabled until those integrations and acceptance are ready. + D-088 fixes repository-name additions as support-preserving (`customed`), local files as unsupported, and provenance across update/removal. Presentation uses ten sorted effective package names then `… +N packages`. General out-of-band mutation