120 lines
8.1 KiB
Markdown
120 lines
8.1 KiB
Markdown
# Archipelago — RFC v0
|
||
|
||
[Русская версия](ru/README.md)
|
||
|
||
**Status:** Accepted architectural baseline (D-061)\
|
||
**Version:** 0.0
|
||
**Date:** 2026-11-03
|
||
**Accepted:** 2026-11-04\
|
||
**Purpose:** Bootstrap the architecture discussion and implementation contract for the Archipelago project.
|
||
|
||
> RFC-0001–0007 are accepted as the RFC v0 architectural contract under D-061,
|
||
> interpreted with subsequent decisions through D-060. Explicitly open implementation
|
||
> contracts and illustrative schemas/paths remain unfrozen. Acceptance does not
|
||
> certify implementation, runtime behavior or public-release readiness.
|
||
|
||
## Documents
|
||
|
||
- D-096 (2026-11-09) requests staged kernel arguments and human-first CLI with
|
||
explicit debug/JSON output; [contract and evidence](spec/kernel-arguments-and-cli.md).
|
||
|
||
- D-095 (2026-11-07) removes PackageKit. Stock Arch GNOME Software/Discover keep
|
||
packaged native Archipelago OS D-Bus plugins and Flatpak; Host Extension package
|
||
installation uses the CLI and typed daemon API. Earlier PackageKit requirements
|
||
are superseded, while D-092/D-093 daemon and overlay contracts remain active.
|
||
|
||
- D-094 (2026-11-07) permits explicit administrator-authorized import of unsigned
|
||
local packages with retained checksums and local/unsupported provenance;
|
||
repository signatures remain mandatory. See RFC-0013 §4.3 and the decision log.
|
||
|
||
- [RFC-0013: Host management](rfc/RFC-0013-host-management-and-packagekit.md) —
|
||
accepted D-093: `archipelagod`, typed Host Extension/Managed Overlay interfaces,
|
||
installed-host CLI routing, amended by D-095; implementation pending.
|
||
|
||
- [RFC-0012: System service and D-Bus](rfc/RFC-0012-system-service-and-dbus.md) —
|
||
accepted D-092 (2026-11-07): installed-system daemon, per-action Polkit,
|
||
durable asynchronous transactions and native GUI/CLI clients; implementation pending.
|
||
|
||
- [Release cadence, automated checks and manual coverage](spec/release-cadence-and-testing.md)
|
||
— accepted D-098: Rust contract tests replace installed-VM acceptance, OSTree refs
|
||
every three days, ISO media on the 30th, one public commit per ref, three retained
|
||
ISO media per variant.
|
||
|
||
- [Repository snapshots and release cadence](spec/release-snapshots.md) — accepted
|
||
D-090, schedule amended by D-098: tank migration, three ZFS snapshots, base-bound
|
||
Host Extensions; implementation follows the current desktop/CLI/image task.
|
||
|
||
- [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).
|
||
|
||
- [`rfc/RFC-0001-architecture.md`](rfc/RFC-0001-architecture.md) — system architecture, boundaries, core invariants.
|
||
- [`rfc/RFC-0002-layers-and-overlays.md`](rfc/RFC-0002-layers-and-overlays.md) — OSTree-backed layers, purpose layers, managed overlays and host extensions.
|
||
- [`rfc/RFC-0003-build-and-composition.md`](rfc/RFC-0003-build-and-composition.md) — initial build/composition pipeline and filesystem contract.
|
||
- [`rfc/RFC-0004-host-extensions.md`](rfc/RFC-0004-host-extensions.md) — unsupported local package injection and update policy.
|
||
- [`rfc/RFC-0005-hooks-and-finalization.md`](rfc/RFC-0005-hooks-and-finalization.md) — package hook phases, baseline action matrix and composition finalization.
|
||
- [`rfc/RFC-0006-system-accounts.md`](rfc/RFC-0006-system-accounts.md) — standard system account provisioning, persistent identities and deletion policy.
|
||
- [`rfc/RFC-0007-ostree-platform-integration.md`](rfc/RFC-0007-ostree-platform-integration.md) — selected filesystem, pacman database, boot and activation baseline; remaining integration proposals.
|
||
- [`spec/decision-log.md`](spec/decision-log.md) — accepted decisions and current proposals.
|
||
- [`spec/open-questions.md`](spec/open-questions.md) — unresolved design questions.
|
||
- [`spec/rfc-v0-approval-review.md`](spec/rfc-v0-approval-review.md) — completed approval audit, recorded outcomes and remaining implementation gates.
|
||
- [`spec/ostree-capability-review.md`](spec/ostree-capability-review.md) — upstream documentation review and RFC integration gaps (2026-11-03); research, not accepted decisions.
|
||
- [`examples/desktop-composition.yaml`](examples/desktop-composition.yaml) — illustrative composition manifest.
|
||
- [`examples/core-composition.yaml`](examples/core-composition.yaml) — illustrative Archipelago Core composition without Purpose.
|
||
- [`examples/managed-overlay.yaml`](examples/managed-overlay.yaml) — illustrative managed overlay manifest.
|
||
- [`examples/host-extensions.yaml`](examples/host-extensions.yaml) — illustrative local host extension state.
|
||
|
||
## Implementation contracts and drafts
|
||
|
||
- [GNOME Desktop, Flatpak and shared Desktop Toolbx](spec/gnome-desktop.md), D-075/D-076.
|
||
|
||
- [Terra deployment and desktop updates](spec/terra-infrastructure.md), accepted D-071:
|
||
source registries, mirror integration, standalone deployment and CLI/UI direction.
|
||
|
||
- [Frozen Layer YAML/JSON v1](schemas/README.md), accepted D-070;
|
||
[block-by-block agreement](spec/layer-yaml-freeze.md).
|
||
|
||
- [RFC-0008](rfc/RFC-0008-manifests-locks-and-artifacts.md): manifests, two lock stages, identities and layer/package artifacts.
|
||
- [RFC-0009](rfc/RFC-0009-cli-contract.md): complete CLI coverage and operation lifecycle.
|
||
- [RFC-0010](rfc/RFC-0010-docker-build-and-distribution.md): Docker/cron, HTTP registry, pinning, net install and ISO portal.
|
||
- [RFC-0011](rfc/RFC-0011-package-actions-compatibility.md): mandatory Core/KDE/GNOME package-action compatibility.
|
||
- [Approval review](spec/contracts-v1-review.md), [package-action implementation plan](spec/package-actions-plan.md), [draft v1 examples](examples/v1/README.md).
|
||
|
||
RFC-0008 semantics are accepted by D-066 (2026-11-04); concrete schemas/adapters
|
||
remain pending. RFC-0009/D-067 CLI coverage and lifecycle are accepted (2026-11-04)
|
||
for incremental delivery. RFC-0010/D-068 infrastructure/publication is accepted
|
||
(2026-11-04), with deployment bindings and isolation validation pending.
|
||
RFC-0011/D-069 and its implementation plan are accepted (2026-11-04); exact desktop
|
||
manifests, transition matrix and implementation evidence remain pending.
|
||
D-061 accepts only RFC-0001–0007.
|
||
|
||
## RFC status vocabulary
|
||
|
||
- **Draft** — under discussion.
|
||
- **Proposed** — concrete proposal, not yet accepted.
|
||
- **Accepted** — approved architectural contract.
|
||
- **Rejected** — explicitly declined.
|
||
- **Superseded** — replaced by a later decision.
|
||
|
||
## Important terminology
|
||
|
||
- **Layer commit** — an immutable OSTree commit representing a versioned composition input.
|
||
- **Composition** — the deterministic merge of a set of layer commits into a complete filesystem tree.
|
||
- **Image commit** — the OSTree commit representing the complete deployable operating-system filesystem.
|
||
- **Managed Overlay** — a versioned, registry-published layer with explicitly elevated file replacement permissions.
|
||
- **Host Extension** — a host-local package addition through a separate composition. Repository-name additions retain support with `customed`; local files remain unsupported (D-088).
|
||
- **Purpose** — the system role, initially Desktop, Server, or IoT.
|
||
|
||
## Scope note
|
||
|
||
D-055 permits exactly one Core, zero or one Purpose and zero or more Managed
|
||
Overlays. The supported Archipelago Core variant ships without Purpose; users may
|
||
select one later or build custom overlay compositions. Custom sets do not
|
||
automatically receive official support. Core-only images remain distinct from
|
||
Core layer commits and pass the applicable public release gates.
|
||
|
||
Archipelago uses existing Linux mechanisms wherever practical. OSTree is the foundation for filesystem versioning, deployment, update and rollback. `systemd-nspawn`, pacman, makepkg, DKMS, mkinitcpio, depmod, systemd and established bootloader mechanisms are orchestrated rather than reimplemented.
|
||
|
||
The exact OSTree representation of a layer, package database strategy, boot integration and filesystem layout remain subject to the detailed contracts listed as open questions. In particular, OSTree does not provide a native semantic layer-merging engine; Archipelago must define and implement deterministic composition.
|