rfc/spec/contract-registry.md

19 KiB
Raw Permalink Blame History

Accepted contract registry

Native stores without PackageKit — D-095 (2026-11-07)

PackageKit is excluded from dependencies, image contents and integration. Host Extension packages use CLI → typed archipelagod only. Stock Arch Software/Discover keep Flatpak/fwupd and packaged native OS-update D-Bus plugins. D-094 local-import authorization remains; D-093's PackageKit broker/backend clauses below are superseded.

Host management and PackageKit amendment — D-093 (2026-11-07)

Accepted: archipelagod as the named service entrypoint sharing the CLI's engine; all installed-host management routed through typed system D-Bus APIs. Host Extension packages are available through PackageKit's Archipelago backend and the same direct CLI API; Managed Overlays use explicit ordered-selection APIs. Plans retain exact snapshot/input/intent identity; original user authorization survives PackageKit mediation; no live ALPM or parallel deployment writer. Staged changes are presented as pending restart, not live installation. RFC-0013 is normative, extending RFC-0012 additively. Implementation/acceptance remain pending.

Installed-system service amendment — D-092 (2026-11-07)

Accepted: system D-Bus control for GNOME Software, Discover and installed CLI, systemd-activated service in the unified binary, per-operation Polkit, passwordless active-local refresh/download and active-local-admin current-track updates, durable asynchronous operations, safe cancellation/reconnection/reconciliation. RFC-0012 specifies the v1 contract. This refines C-018/D-067's initial no-daemon assumption only for installed systems; build/live/offline direct execution retains common engine/locking contracts. Implementation and acceptance remain pending. Earlier coverage dates below are historical.

KDE release amendment — D-091 (2026-11-07)

The user authorizes KDE ISO/image/layer publication to stable/kde after hardware confirmation, then a pipeline-built SDDM Plasma/Breeze default update. Discover update acceptance remains a subsequent hardware check. See KDE Desktop.

Repository cadence and storage amendment — D-090 (2026-11-06), amended by D-098

Accepted: prompt manual fixes, snapshot-bound scheduled builds, user-directed urgent CVE runs, terra infrastructure on tank, a dedicated mirror dataset and at most three native ZFS repository snapshots. Installed Host Extensions follow the base snapshot. D-098 replaces the schedule with an anchored three-day OSTree interval and day-30 ISO media, replaces installed-VM acceptance with Rust contract tests plus manual user checks, and keeps one current commit per public ref with three retained ISO media per variant. See release snapshots and release cadence and testing.

KDE product amendment — D-089 (2026-11-06)

Accepted KDE native/Flatpak software split and Plasma Setup provisioning direction: KDE Desktop. 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.

Русская версия

As of 2026-11-05. Coverage: D-001–D-082, RFC-0001–0011. This is the consolidated index of accepted contracts, not a new approval or an implementation claim. C-xxx identifiers are stable navigation keys; D-xxx remain the approval/history identifiers. All entries below are Accepted, with the explicitly limited scope shown. A frozen format is identified separately.

C-025 — Temporary hardware-test signing

Accepted: D-078. A separate OpenPGP key remains on terra; commits and summaries are signed and verified by clients. Public trust is embedded in new ISO images. General release formats, rotation/revocation and replay policy remain open. Normative source: RFC-0010, §6.

Authority and interpretation

D-088: repository-name Host Extensions retain support on a supported base, annotated customed with effective packages (ten names, then … +N packages). Local files remain unsupported; request provenance survives update and removal. Booted/pending remain separate; custom bases/overlays and overrides do not gain support. This refines historical blanket Host Extension wording below.

D-081/D-082: the next newly built stable ISO requires a production-oriented, Russian-localized CLI and validated GNOME Software image updates with package diff. All Desktop Purposes include Plymouth with boot/display-manager integration. These are delivery requirements, not claims of implemented GUI support.

D-079 refinement: target refs are stable/core and stable/gnome; the exact 20261105T164634Z pair has an explicitly approved, publicly recorded gate exception. C-013 remains binding for later identities; D-078 trust is reused for this promotion. D-080 refinement: Core generates all glibc locales, inherited by Desktop; GNOME includes artwork/backgrounds. This selects content, not completed implementation.

  • Decision log records approval and subsequent refinements. Linked RFCs and, where frozen, schemas define the normative contract.
  • Open questions track unresolved details. Accepted architecture does not freeze every wire format, adapter or example mentioned in an RFC.
  • D-061 ratifies RFC-0001–0007 with D-020–D-060. D-066–D-069 accept the subsequent implementation contracts; D-070 freezes the Layer authoring format only.
  • Read historical wording with later decisions: D-055 changes D-041 to zero/one Purpose; D-056 makes D-017 fallback explicit and full-set atomic; D-057 removes recovery as a support status; D-049 prohibits automatic rollback; D-036 narrows D-032 account continuity; D-060 preserves native DynamicUser lifecycle.
  • If documents conflict, report the conflict and resolve it explicitly. This index does not independently override an RFC or silently close open questions.

Register

ID Contract and accepted scope Approval basis Normative source Remaining implementation boundary
C-001 Platform boundaries: native OSTree objects/commits/refs/transport/deployments, existing Linux tools, ordinary filesystem/ELF execution, snapshot-pinned Arch OSTree. Archipelago owns semantic composition. D-001, D-002, D-013, D-035 RFC-0001, RFC-0003, RFC-0007 Optional OSTree capabilities and concrete integration adapters require evidence.
C-002 Independent immutable layer builds; Core starts with base + linux; composition produces one complete image. One effective owner per package; deterministic shared-dependency reassignment; indexed package payload comes from layer commits. D-003, D-004, D-020, D-021, D-022, D-024, D-025, D-026, D-044 RFC-0002, RFC-0003, RFC-0008 Complete artifact indexes, effective DB implementation and conformance fixtures.
C-003 Exactly one Core, zero/one Purpose; Desktop/Server/IoT roles and concrete variants. Official Core-only is supported; custom overlays do not gain support automatically. Hardware adaptation uses overlays/profiles, not a separate Hardware Layer. Purpose changes preserve data. D-007, D-008, D-009, D-041, D-055 RFC-0002, RFC-0008 Exact desktop contents, services, DM and native onboarding adapters.
C-004 Explicit overlay order and compatibility checks; no implicit dependency insertion/reordering. Scoped file/type/metadata overrides, ownership checks and provenance. Whole-package replacement is separate; unrestricted overwrite and standalone lower-package removal are excluded. D-010, D-038, D-039, D-040, D-054 RFC-0002, RFC-0008 Engine validation, effective-record transformations and filesystem fixtures.
C-005 Git-authored inputs; manifest intent separate from exact locks; one immutable ordered Arch + Archipelago snapshot per composition. Content identities, checksums and provenance; URLs/dates are not identities; no silent build-time refresh. D-005, D-023, D-042, D-043 RFC-0003, RFC-0008 Executable Snapshot/SourceSet/lock schemas and full canonicalization evidence.
C-006 Prefer binary packages; isolate source/package builds. DKMS binds to target kernel/ABI. Classify hooks/scriptlets across build/finalize/deploy/runtime; explicit deferred replacements; offline ordered finalization, depmod before initramfs; mandatory failures block publication even if pacman succeeds. D-011, D-012, D-027, D-058, D-059 RFC-0003, RFC-0005 Snapshot-specific adapters, ABI algorithm and execution/output evidence.
C-007 Host Extensions use isolated base-plus-full-requested-set recomposition, pinned package names or retained local archives, matching package DB and durable generation history. No live /usr mutation. Reapply atomically; failures preserve state and inputs; fallback requires explicit choice. D-014, D-017, D-018, D-037, D-056 RFC-0004, RFC-0009 Stable generation/request formats, all update/remove/restore workflows and package-action coverage.
C-008 Support status describes the booted deployment and effective modifications. Applied Host Extensions are unsupported; pending/desired changes are separate. No recovery support status or guarantee of arbitrary local package compatibility. D-015, D-016, D-057 RFC-0004 Complete diagnostics and detection of out-of-band changes.
C-009 Preserve persistent data across update/rebase/rollback/Purpose changes. One archipelago stateroot; Silverblue-style /var persistence; native deployment-local /etc and /usr/etc merge semantics. D-019, D-030, D-032 RFC-0007 Package persistence/migration adapters, especially /opt; no implicit global account sync.
C-010 Standard sysusers/tmpfiles, preserve existing IDs, never merge build account DBs. Human-only explicit deletion; ambiguous/system identities cannot be deleted. Native DynamicUser remains native. Initial single-user onboarding precedes later deployments; rollback account edge case is explicit. D-028, D-029, D-036, D-060 RFC-0006, RFC-0007 Reliable account classification and concrete reconciliation adapters.
C-011 Per-image pacman-format DB at a non-default location; prevent live mutations. Retain base-matched extension working/history DBs independently of deployments. D-031 RFC-0007, RFC-0008 Stable paths and fully validated DB construction/live-guard implementations.
C-012 systemd-boot and staged deployments; retain booted, previous rollback, pending and pinned. Successful creation selects the new deployment as next-boot default automatically. Bounded per-boot checks gate cleanup. Target lifecycle only for service starts. Explicit rollback and separate reboot; no automatic boot-entry switch on failure. D-033, D-034, D-046, D-047, D-048, D-049, D-077 RFC-0007, RFC-0009 General boot/storage profiles, saved/one-shot overrides, success records, shutdown diagnostics and retention implementation.
C-013 testing/stable publish the same verified immutable image on promotion. Both require full reproducibility and all functional gates. Core boot/login/extensions/overlays are inherited by each Purpose candidate, which adds service/session checks. Experiments remain private staging. D-045, D-050, D-051, D-052 RFC-0003, RFC-0010 Reproducibility proof, complete validation matrix and trustworthy release attestations.
C-014 Registries are initial architecture. Docker Compose + host cron, separated builder/KVM validator/publisher, monthly combined snapshots and daily pinned candidates. HTTP/native OSTree distribution, atomic signed channel discovery after full artifact verification; shared update/net-install/portal identities; purpose-separated OpenPGP keys. D-006, D-063, D-068 RFC-0001, RFC-0010 Deployment topology/URLs, key custody, exact schedules/quotas and worker isolation validation.
C-015 RFC v0 architecture ratified; implement an end-to-end profile first without narrowing the architecture or weakening public gates. Primary binary and functional modules are Rust. D-053, D-061, D-062 RFC-0001, decision log Delivery milestones are not claims of complete implementation or frozen module APIs.
C-016 Installation/first-run control: live prepares storage/deployment; primary-user setup may occur on first installed boot. Core terminal onboarding, native desktop tools where feasible. Experimental x86_64 UEFI VM: GPT, FAT32 ESP, ext4 root, systemd-boot, no encryption/Secure Boot. D-064, D-065 RFC-0006, RFC-0007 General installer schemas, native desktop adapters and broader hardware/storage profiles.
C-017 Strict YAML/JSON intent model; canonical JSON/SHA-256 identities; separate LayerLock/CompositionLock; per-package OSTree payload and original/effective ALPM records with transformation provenance. D-066 RFC-0008 Layer authoring is frozen by C-020; remaining lock/artifact schemas, canonicalization and DB adapters still need conformance evidence.
C-018 Unified CLI across builder/host/live; complete command catalog, capabilities, checked plan/apply under lock, JSON/errors and durable operations, phase-aware cancellation/resume, desired/pending/booted separation; initially no mandatory daemon. D-067 RFC-0009 Incremental command/backend implementation; accepted catalog is not an advertised binary capability list.
C-019 Mandatory base/linux/Core and complete KDE/GNOME runtime/build-context action coverage; inspect no-action packages too. Shared policy/ledger/adapters and hooks CLI; zero unresolved mandatory actions plus functional evidence. Approved phased implementation plan. D-069 RFC-0011, plan Exact desktop manifests, supported snapshot transitions and complete execution evidence.
C-020 Frozen Layer YAML/JSON v1: Core/Purpose/Overlay envelope, packages, runtime/provisioner inheritance, checks, actions, files, bounded overrides, compatibility/replacements, kernel/ABI references and strict validation. Changes require approval and schema versioning. D-070 Schema, validation, freeze record Production Rust parser, full semantic validation, ABI algorithm and exact desktop contents; Composition/lock/artifact formats are not frozen by D-070.

C-021 — Terra deployment and desktop update direction

Accepted: D-071. Deployment binding: Core/Purpose YAML and infrastructure repositories in git.fasoley.net/Archipelago; builders, validators, registry and portal on terra beside /opt/mirror, with standalone deployment files. Homepage/ISO/OSTree base is https://mirror.nw-sys.ru/archipelago/. Build exact YAML revisions against pinned inputs, compose from registry layer commits, then make ISO. Material You-inspired homepage with independent Arch Linux attribution. Registry-backed CLI updates precede PackageKit/GNOME Software/KDE Discover integration. Remaining boundaries: lock/release schemas, trust custody, worker isolation, pipeline and update implementation and their evidence. C-013/C-014 public gates still apply.

Refinements: D-072/D-073. Separate tank/archipelago, at most three monthly snapshots with retained-input protection; capture and bulk copying deferred during experimental live-mirror builds. Exact per-run evidence remains required.

C-022 — Daily experimental Core and base firmware

Accepted: D-074. Daily Core candidates from current sources and the live mirror, to exercise infrastructure and updates by image commit. Explicit linux-firmware in Core and the live installer, with its dependency closure. Public gates remain; hardware-wide support, reproducibility and update success need separate evidence.

C-023 — GNOME and Flatpak application lifecycle

Accepted: D-075. GNOME contract: first Desktop Purpose, native GNOME integration and first-user setup, approved native/Flathub application split, Flatpak-owned application lifecycle, GUI OS updates through the Archipelago transaction backend. Remaining: Software/PackageKit adaptation, onboarding/Flatpak runtime evidence, inherited Core/GNOME/update/reproducibility/publication gates.

C-024 — Toolbx on every Desktop Purpose

Accepted: D-076. Desktop Toolbx contract: upstream Toolbx, rootless Podman, explicit Arch environment, independent mutable container lifecycle and persistent home/session integration. Remaining: OCI binding, subordinate-ID and runtime/transition verification on each Desktop Purpose.

Implementation and evidence

Implementation status is independent of contract approval. Evidence lives in the component documentation and lab records, not in an inferred Accepted → implemented transition. Workspace paths: test-lab/CORE-ISO-RESULTS.md, system/EXTENSIONS.md, builder/HOOK-REVIEW.md, installer/CONTROL-LAYER.md, manifests/CORE-EXPERIMENT.md. Inspect their recorded run/commit/input identities before claiming conformance. In particular, schema fixtures, experimental ISO success and one DKMS module do not prove full desktop coverage, general hardware support or public release readiness.

Maintenance

When a contract is explicitly approved or refined, update the RFC/schema as needed, decision log, this registry (both languages), open questions and affected examples. Keep C IDs stable; record replacement/refinement links instead of silently rewriting history. New proposals remain in draft/review documents until approved. Add a row when a new independently identifiable contract is accepted; use existing rows for refinements. This register covers every accepted D-001–D-082 at least once; overlapping references are intentional. No new architectural decision is created by indexing them.