rfc/spec/rfc-v0-approval-review.md
Pavel Isaev 0bdec1f6d3 docs: approve RFC v0 architectural baseline
Ratify RFC-0001 through RFC-0007 and record decisions through D-061. Define composition, lifecycle, support and release policies; add the approval audit, OSTree capability review and illustrative manifests. Preserve explicit implementation questions and unfrozen schemas.
2026-11-04 00:53:43 +03:00

12 KiB
Raw Permalink Blame History

RFC v0 Approval Review

  • Status: Accepted — approval record under D-061; original recommendations retained with recorded outcomes
  • Date: 2026-11-04
  • Coverage: RFC-0001–0007, D-001–D-061, open questions, illustrative examples and the upstream capability review

1. Accepted approval boundary

RFC Committee approved v0 as an architectural contract on 2026-11-04 (D-061). Acceptance does not certify an implementation or freeze illustrative schemas, paths, command lines or all optional features. Implementation contracts must be agreed before the corresponding component becomes stable. Public testing/stable publication still requires D-050–D-052 evidence; architectural approval cannot waive it.

All seven RFCs are Accepted within that boundary. D-061 explicitly ratifies D-001–D-016 and D-018–D-019, interpreted through D-020–D-060. Findings and original recommendations below describe the review starting point; recorded outcomes take precedence, including rejection of the original A3 recommendation and A4 recovery state.

2. Document-by-document findings

Document Established baseline Approval work / implementation boundary
RFC-0001 OSTree, three execution contexts, registries, standard Linux paths Ratify legacy decisions; distinguish architecture-wide Desktop/Server/IoT and workload goals from the first delivered profile (A1). Trust implementation remains a release prerequisite.
RFC-0002 Independent layers, one snapshot, ownership, explicit order and conflicts Decide unrestricted override capability and package removal (A2); clarify Core test composition (A3). Package index/DB remains the principal implementation gate.
RFC-0003 Locked inputs, same-commit promotion, public release gates Define scope of reproducibility evidence before publication; clarify candidate validation precedes public ref publication. Schemas and canonical metadata remain implementation contracts.
RFC-0004 Best-effort reapplication, retained inputs, new-base DB, explicit replacements Resolve atomic-set and fallback policy, enabled versus applied support status, and recovery as a separate state (A4).
RFC-0005 Phase separation accepted as D-027 Detailed classification, action matrix, default cache policy and finalizer graph still need approval (A5); snapshot-specific adapters require verification.
RFC-0006 Standard accounts, no system-account deletion, deployment-local state Clarify DynamicUser lifecycle (A6). Non-root immutable ownership and human-account classification need concrete contracts.
RFC-0007 Persistence, systemd-boot, staged deployment, retention, manual rollback Select concrete initial boot/storage profile during implementation (A1); /opt, package DB and /etc cache integration remain hard gates.

3. Policy choices for Committee discussion

A1 — Architecture scope versus first delivery

Outcome: Accepted as D-053. The first-profile scope below is approved; the concrete Purpose and storage profile remain to be selected.

RFC-0001 includes three Purposes, remote builders, offline installation and runtime workload reconciliation; D-036 narrows initial account UX to a single-user PC. These are compatible only with an explicit delivery scope.

Recommendation: retain the full architecture but implement one end-to-end profile first: x86_64 UEFI VM, one concrete Purpose, local builder, online install, CLI-driven operations. Select its Purpose and storage profile before coding boot integration. Remote builders, other Purposes, workload-manager integrations, offline media and advanced storage/boot features get later delivery milestones. Alternative: require the complete architectural feature set for the first release, with substantially larger acceptance and integration work.

A2 — Overlay authority and package removal

Outcome: Accepted as D-054. Scoped permissions are required, unrestricted replacement is excluded, and standalone lower-package removal is deferred. RFC-0002 now reflects this outcome; the finding below records the reviewed text.

RFC-0002 §7 permits replace_lower_layer_files: true, while D-040 requires explicit path/owner/operation permissions. Broad authorization makes future changes to lower layers automatically overridable. Whole-package removal is separately unspecified.

Recommendation: omit the unrestricted capability from v0; require scoped permissions even for trusted overlays. Initially support additions, explicit whole- package replacements and scoped file overrides; defer standalone lower-package removal until its authorization and dependency rules are agreed. Do not simulate package removal through mass file deletion. Alternative: retain broad capability with a separately defined trust and review contract.

A3 — Testing Core without introducing another deployment model

Outcome: original recommendation rejected; Core-only accepted as D-055. The official supported Archipelago Core variant ships with zero Purpose layers. Compositions contain exactly one Core and at most one Purpose. Users may select a Purpose later or build custom overlay sets, without automatic official support for those sets. A custom set may later be adopted as an official Purpose. Core gates run on Core-only images and every Core + Purpose candidate. The recommendation below is retained only as discussion history.

D-041 requires exactly one Purpose; D-051 describes Core boot/login/extension tests.

Recommendation: execute Core integration tests using a minimal concrete Purpose fixture within an existing role, then repeat all Core gates on every shipped Core + Purpose image under D-052. Do not treat a layer commit as bootable. Alternative: explicitly authorize Core-only test images as an exception to composition cardinality.

A4 — Host Extensions failure and status semantics

Outcome: D-056 accepts atomic reapplication and explicit fallback selection; D-057 accepts deployment-based support status and removes recovery from the model. Failed reapplication preserves current deployment and boot selection; individual packages are not automatically dropped. Status describes effective modifications of the booted deployment for issue diagnostics, with requested/pending state shown separately. The recommendation below to retain a separate recovery state was rejected.

RFC-0004 §5 says “some or all” may be excluded, §5.2 proposes an atomic set, and the example already shows atomic reapplication. D-017 alone does not decide partial application or automatic fallback activation. D-049 concerns rollback, so must not silently be treated as approval of this separate update policy.

Recommendation: reapply the entire explicit set atomically. On failure retain current/default boot selection and offer the new supported image as an explicit user choice; never silently drop a subset or activate fallback. Changing the set and retrying is a new explicit request. Derive supported/unsupported from the effective deployment, not merely enabling the feature; expose requested/pending state separately. Recovery is an operation state that can accompany either support classification. The Host Extension mechanism itself remains subject to D-051 tests. Alternative: automatic supported-image fallback or user-selected partial application requires its own declared policy and acceptance cases.

A5 — Detailed hook/finalization policy

Partial outcome: D-058 accepts action classification, explicit replacements for deferred actions, final-composition aggregate generation, network-free finalization with locked inputs and explicit ordering, and required-action failure handling independent of pacman's exit status. D-059 accepts the discussed cache, hwdb, locale/trust, machine-identity and service-default placements. Exact finalizer interfaces and snapshot-specific adapters remain open. D-061 subsequently accepts the RFC-0005 architectural baseline without freezing those implementation details.

At the start of this review only the phase principle was accepted. RFC-0005 proposes mandatory inventory/classification of executable hooks and scriptlets, reviewed adaptations for embedded deferred actions, failure capture beyond pacman's exit code, explicit generator dependencies/outputs, no network during finalization, and regeneration of every applicable aggregate. Its matrix places fonts in runtime caches, vendor hwdb and distribution locales/trust in finalization, and host identity at runtime.

Recommendation: approve this detailed baseline, with snapshot-specific adapters specified before each selected feature is implemented. Unknown actions block publication until classified. This adds package-maintenance work but avoids silent omission of installation effects. Keep administrator service choices across updates; define presets and configuration-dependent caches before implementing them. Alternative: broader unclassified script execution would require revisiting D-027 and proving correct final-composition effects, not simply replaying all scriptlets.

RFC-0005 §7's “equivalent semantic output” is only a local finalizer criterion; D-050 additionally requires fully reproducible public images. It cannot weaken the public release gate.

A6 — Account deletion versus DynamicUser

Outcome: Accepted as D-060. Persistent system/service accounts remain protected; standard systemd transient-identity allocation/release is preserved. Ambiguous accounts remain ineligible for deletion through Archipelago.

Recommendation: D-029 prohibits Archipelago deleting persistent system-account records. Standard systemd DynamicUser= allocation/release remains normal service lifecycle, not an Archipelago account-deletion operation. Ambiguous persistent accounts remain ineligible for deletion. Alternative: banning DynamicUser changes upstream service compatibility and requires explicit justification.

Native rollback may omit newer system identities as well as newer human accounts; the deletion prohibition must not be read as a global synchronization guarantee. Validate persistent-data ownership on supported transitions before claiming support.

4. Implementation gates, not silently selected defaults

Gate Required contract / proof Open-question references
Artifact and package model Versioned manifests/locks/snapshots/index; standard dependency semantics; coherent pacman DB, transformed paths and override accounting 1–8, 19, 41, 46–51, 55, 61–62
Build and finalization Snapshot hook inventory, script adapters, isolated writes, generated-cache lifecycle, immutable non-root ownership 20, 52–56, 58–59
Bootable profile Core packages, exact kernel identity, Arch OSTree hook, systemd-boot, partition layout, provisioning, /opt package handling 10–14, 23–28, 48, 57, 60, 63–64, 67
Host lifecycle Transaction locking/recovery, extension generations/DKMS, deployment retention/GC, readiness records and explicit rollback UX 29–36, 42–43, 65, 68–69
Public publication Trust/signing, artifact availability, coordinated refs, independent rebuild evidence, functional fixtures and supported matrix 15–18, 22, 30, 66, 70–71
Later delivery scope OCI builders, workload managers/state migrations, remote execution and GUI API 21, 37–40, 44–45

In particular, reproducibility evidence must define canonical tree and commit metadata (including parent/timestamp), deterministic generators, treatment of signatures/attestations and comparison scope for installer/release artifacts. The binary-first policy does not itself promise reproducible rebuilding of all upstream packages from source; any such requirement needs an explicit scope decision.

5. Editorial corrections and approval completion

This audit corrects RFC-0002's blanket package-installation wording using D-026, RFC-0005's stale universal-account-continuity question using D-032/D-036, and RFC-0007's stale automatic-rollback question using D-049. The decision log links historical open wording to its later resolutions rather than rewriting history.

The capability review is dated research, not current policy: its account-continuity blocker was narrowed by D-036. Its technical concerns about numeric ownership remain. Examples are illustrative; atomic reapplication is now accepted under D-056, while concrete schema fields remain unfrozen.

D-061 completes approval: A1–A6 outcomes are recorded, RFC text and examples are reconciled, legacy decisions are ratified, and RFC/README statuses are updated. Implementation gates remain open. Proceed in gate order to the first end-to-end prototype. No implementation or runtime validation is claimed by this audit.