rfc/spec/open-questions.md

27 KiB
Raw Permalink Blame History

Archipelago Open Questions

D-097 amendment (2026-11-09)

DKMS package admission no longer requires a package/hash allowlist. General driver/kernel compatibility, Secure Boot module signing and hardware activation evidence remain open; admission does not establish them. Target-image header resolution and offline build/module validation are still required. Changes are prepared for the next build; the active pipeline is not modified.

D-096 amendment (2026-11-09)

Deployment kernel-argument management and human-first CLI with explicit JSON/debug modes are approved feature scope. The additive typed API and candidate semantics are documented in kernel arguments and CLI. Native parsing, staged activation/inheritance and output-format checks belong to the normal pipeline. Old-image upgrades, restart/crash recovery and authorization denial still require distinct runtime evidence; approval does not close those gates.

D-095 amendment (2026-11-07)

PackageKit integration, ABI/glue, original-sender brokerage, frontend package installation and role/flag mapping are cancelled, not unresolved requirements. Use stock Arch GNOME Software/Discover plus packaged native Archipelago D-Bus OS-update plugins and Flatpak. Host Extension package installation uses the CLI and typed archipelagod API only. All PackageKit-specific questions below are historical; daemon/overlay implementation, authorization and D-094 local trust requirements remain active.

D-094 resolves unsigned-local package acceptance: explicit administrator authorization, protected retained exact bytes/checksums, local/unsupported provenance; repository signatures remain mandatory. See RFC-0013 §4.3 and question 30.

D-093 extends the installed-service contract to archipelagod, typed Host Extension and Managed Overlay interfaces, PackageKit's Archipelago backend and installed-host CLI routing: RFC-0013. These architectural choices are resolved. Remaining implementation: pinned PackageKit ABI, authenticated original-sender handoff, role/flag and staged-state frontend mapping, local input import, real overlay-engine coverage and verification. Rebase/Purpose/account methods still need their own schemas before advertisement.

D-092 resolves the installed-system daemon and GUI transport choices in questions 42/43/45 through RFC-0012: system D-Bus, per-action Polkit, shared durable transactions and native clients. Implementation choices remain: Rust binding, journal migration/rollback compatibility, worker ownership, measured limits, unit sandbox and pipeline coverage. Future rebase, Purpose and account D-Bus method schemas remain outside v1; they must not be exposed through an unrestricted generic command method.

D-090 settles cadence/storage direction: snapshot capture and scheduled rebuilds, migrate terra infrastructure to tank and retain at most three ZFS repository snapshots. D-098 amends the cadence to an anchored three-day OSTree interval plus day-30 ISO media, and removes installed-VM acceptance from the normal cycle in favour of Rust contract tests and explicit manual user checks. Earlier monthly/daily/ capture-deferred statements below are historical where superseded. Open implementation: inventory and migration layout, consistent capture/export, immutable descriptor binding, whole-bootstrap upgrade, base-snapshot Host Extensions and reference-aware retirement. See release snapshots and release cadence and testing; execute after the current GUI/CLI task.

KDE product choices are accepted by D-089: native/Flatpak split and Plasma Setup. Open implementation work is tracked in KDE Desktop: exact package and Flatpak/runtime inputs, display-manager handoff, completion observer, explicit Purpose identity, Discover backend, per-Purpose cache and three-variant publication. D-091 authorizes KDE publication after the checked image and user-confirmed hardware readiness. First-image VM acceptance used manual UI calibration; autonomous replay, Discover update acceptance, general Managed Overlay gates and full reproducibility remain open. The requested SDDM Plasma-theme default follows the initial publication.

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 detection and local-file/override execution adapters remain open.

D-087 (2026-11-06) authorizes stable publication with current pipeline checks, matching installed ISO update profiles. D-098 supersedes its daily timing and makes the remaining boot/hardware/GUI checks explicit user manual verification. General reproducibility, general Managed Overlay and GUI update evidence remain open; authorization does not prove those properties. The user will manually check installed-release to fresh-build update continuity.

This list tracks decisions that must be resolved before the corresponding implementation becomes stable.

The OSTree capability review maps upstream primitives and limitations to these contracts; its recommendations are not accepted decisions.

RFC v0 is accepted as an architectural contract under D-061. The approval review records policy outcomes and remaining implementation gates. Explicitly open choices still require agreement before the corresponding implementation becomes stable; numbered questions retain their IDs.

Draft implementation proposals under review

D-081/D-082 add next-new-stable gates: production CLI/Russian localization, native GUI image updates with package diff, and Desktop Plymouth integration. D-092/D-093 now select native OS D-Bus and PackageKit Host Extension adapters; pinned ABI/glue and runtime evidence remain implementation work. The stock ALPM backend is not an OS updater. The existing-cycle exception does not close these requirements.

D-079 selects stable/core and stable/gnome with a narrowly scoped exception for cycle 20261105T164634Z. Full reproducibility, clean GNOME Flatpak completion, general GUI updates and remaining release-gate evidence stay open. Existing signed ISO/commit bytes are promoted unchanged; future identities do not inherit this exception. D-080 selects all glibc locales and GNOME backgrounds; generated-locale coverage and installed artwork still require implementation evidence.

RFC-0008/D-066 was accepted on 2026-11-04 for manifest/lock/identity and per-package payload/effective ALPM semantics. Concrete schemas and adapters remain open. RFC-0009/D-067 command coverage and operation lifecycle were accepted on 2026-11-04; implementation and validation remain pending. RFC-0010/D-068 infrastructure and publication semantics were accepted on 2026-11-04; deployment bindings and worker isolation validation remain open. RFC-0011/D-069 and its phased plan were accepted on 2026-11-04; exact desktop manifests, supported snapshot transitions and adapter evidence remain pending. The numbered questions below retain their implementation details; approval review tracks the choices.

  • RFC-0008 addresses manifests/locks/indexes/identity and ALPM accounting (1–8, 19, 46–47, 50–55, 61–62). Executable schemas and adapter proof still follow approval.
  • RFC-0009 addresses CLI, plan/apply, lifecycle/state and capabilities (29–36, 41–45, 57, 65, 68–69, 72).
  • RFC-0010 addresses Docker/cron, snapshots, HTTP/native OSTree transport, trust, publication, net install and portal (15–22, 26, 66, 70–71). Deployment URLs, worker capability profile remains to be completed. D-085 supplies the current daily execution schedule (00:00 UTC / 03:00 MSK); generalized schedule schema and full unattended acceptance remain separate from enabling the deployed trigger.
  • RFC-0011 specifies the requested minimum scriptlet/hook scope: base/linux/Core plus complete approved KDE/GNOME closures (52–56, 70–72). Exact desktop sets and transition matrix need review; implementation plan separates inventory, policy, adapters, execution evidence and pipeline gates.

Layer and composition model

D-070 freezes the Layer authoring schema and source-local rules discussed in questions 2, 4, 5, 41, 49 and 55: see schema and freeze record. Their Composition/lock/artifact schemas, runtime evidence and adapters remain open where explicitly noted below.

  1. D-044 selects separate payload and metadata namespaces inside a layer commit. What exact namespace names, schema and serialization define the stable artifact format? payload/ and metadata/ are illustrative names.
  2. D-055 requires exactly one Core and zero or one Purpose; Archipelago Core ships with zero Purpose layers. How are optional Purpose selection and compatibility expressed in the schema and management interface?
  3. What dependency solver semantics are required: version ranges, feature constraints, architecture constraints and conflict declarations?
  4. D-039 selects explicit composition-manifest list order, validated against overlay requirements, before/after constraints and incompatibilities, without silent reordering or insertion. What exact schema identifies overlay dependencies and ordering targets, including constraints referring to unselected optional overlays?
  5. D-038/D-040 define explicit package replacements and file/metadata/type overrides, including deletion with expected owner and reason. What exact schema represents permissions, path sets and deletion coverage? D-054 excludes unrestricted replacement permissions in v0 and defers standalone lower-package removal to a separate authorization/dependency contract. Overlay removal remains normal recomposition; mass file deletion cannot bypass this boundary.
  6. D-040 permits merging directories with matching owner/mode/xattrs, requires explicit metadata/type changes and treats symlinks as objects. What artifact schema and validation preserve this contract, including capabilities, hardlink behavior and canonical Arch usr-merge paths?
  7. How is package database coherence maintained across separately built layer commits?
  8. How are /etc, /boot, /opt and generated files handled?
  9. Is an overlay allowed to replace package-owned files only through package replacement, or may it use explicit file-level overrides? Resolved by D-038/D-040: explicit file overrides are allowed and recorded separately from whole-package operations; truthful database representation remains part of the package metadata contract.

Kernel and DKMS

  1. What exact kernel identity is pinned: package version, pkgbase, uname -r, ABI fingerprint or all of these?
  2. How are multiple kernel flavors represented in one Core or image?
  3. What is the policy for Secure Boot module signing and key enrollment?
  4. How are initramfs generation and module inclusion declared?
  5. How are kernel updates coordinated with all dependent Managed Overlays?

Build and registries

D-071 supplies deployment bindings for questions 15, 16 and 22: Git at git.fasoley.net/Archipelago, terra beside /opt/mirror, native HTTP OSTree and ISO/home portal under /archipelago/, with standalone files. See deployment direction. Concrete lock/release wire schemas, key custody/fingerprints, quotas/schedules, snapshot capture and worker isolation remain open; these bindings alone do not complete the pipeline or update client.

  1. Which Git hosting and CI implementation is targeted first?
  2. Which OSTree transport and registry server implementation is selected?
  3. How are registry authentication, signing keys, trust roots and key rotation managed? D-078 selects a temporary hardware-test OpenPGP key on terra, signed OSTree commits/summary and an embedded installer public key. General release metadata, rotation, revocation and replay policy remain open.
  4. Which package repositories and Arch Linux Archive snapshots are supported? D-063 plans monthly ZFS-backed snapshots on the mirror host after the working experimental Core ISO milestone. Exact capture, retention and publication protocols remain open.
  5. D-042 separates manifest intent from resolved locked inputs, with explicit resolve/update and no silent substitution during build/compose. What exact lockfile schema records layers, snapshot, package identities, architecture and finalization inputs, and how are manifest/lock identities and compatibility validated?
  6. What build cache key and invalidation contract is required?
  7. How are OCI build environments represented, if adopted?
  8. What is the release artifact storage implementation?

System and installer

D-064 selects deferred first-boot primary-user provisioning, Core CLI onboarding and native GNOME/KDE setup where feasible. Question 57 retains the D-036 boundary; question 72 tracks the remaining control-layer integration contract.

  1. D-033 selects systemd-boot initially. D-103 keeps a 2 GiB FAT32 ESP at /efi with /boot on ext4 root and a space-checked ESP mirror; ext4 XBOOTLDR is rejected because systemd-boot does not read ext4 on stock firmware. A pure-ESP layout is possible only with a different bootloader (for example GRUB) or a changed OSTree boot scheme. Exact packaged mkinitcpio integration and cross-hardware acceptance remain open.
  2. Which filesystem and partition layout is the MVP default: ext4 or Btrfs, single root or separate state partitions? D-065 selects GPT/FAT32 ESP/ext4 root for the first experimental x86_64 UEFI VM ISO; a separate /boot is permitted if required. Production layout details remain open.
  3. How are OSTree /etc three-way merges and configuration conflicts surfaced?
  4. How are offline installation bundles structured?
  5. How are LUKS2, TPM2 and Secure Boot sequenced in the roadmap?
  6. What is the recovery workflow if a deployment or bootloader update fails?

Host Extensions

  1. D-037 selects explicit user requests, resolved package identities, retained local files and per-generation base/result/database history. What exact manifest/lock and storage schema represents these, and is a local pacman repository used internally?
  2. Resolved by D-094: repository package signatures are mandatory; unsigned local packages are allowed only through explicit administrator-authorized import with exact-byte retention/checksums and local/unsupported provenance. PackageKit only-trusted cannot accept them. Key provisioning and adapter validation remain.
  3. How is a failed best-effort reapplication presented in CLI and boot UX?
  4. Resolved by D-056: fallback to the upstream supported image requires explicit user selection; a failed reapplication preserves current deployment and boot selection. Exact CLI presentation remains open.
  5. D-037 selects recomposition from the base and remaining explicit requests on removal, omitting dependencies no longer required and preserving persistent data. What detailed optional-dependency, replacement and history cleanup rules apply?
  6. Resolved by D-056: reapplication is atomic for the full requested set. Users may explicitly change the set and retry; automatic subset selection is prohibited.
  7. How are local DKMS packages rebuilt after a kernel update?
  8. D-057 makes support status describe the current booted deployment and effective local modifications, primarily for issue reports. Enabling Host Extensions alone does not change it; requested/pending state is separate. Custom overlays do not automatically gain support, and recovery is removed from the status model. What exact diagnostic format, provenance reporting and detection of out-of-band modifications implement this contract?

Runtime workloads

  1. Which workload managers are in MVP: Flatpak, Distrobox, Podman, Docker, k3s? D-075 selects Flatpak for GNOME application lifecycle; D-076 selects Toolbx with rootless Podman and Arch environments for every Desktop Purpose. Other managers, exact workload seed/trust schemas and runtime/transition evidence remain open.
  2. What is the ownership boundary between immutable binaries/units and persistent workload data?
  3. How are workloads reconciled during a Purpose switch?
  4. What backup/migration contract is required for /var state?

CLI and API

  1. What is the stable manifest schema and validation/error model?
  2. D-092 separates privileged execution from unprivileged callers; update action authorization is fixed by RFC-0012. Additional host-operation action schemas remain open.
  3. Resolved by D-092: on-demand system service for installed update control; build/live/offline direct execution remains available under common locks.
  4. How are remote builder selection and job execution represented?
  5. Resolved for installed updates by D-092/RFC-0012 and extensions/overlays/PackageKit by D-093/RFC-0013. Other host-operation methods require additive schemas and capability advertisement; daemon routing itself is already accepted.

Independent layer builds and Arch package compatibility

  1. How are cross-layer package dependencies and package database records composed for independently built layers without mandatory exact lower-layer commit coupling (D-020)? D-024 resolves the ownership principle: one effective owner per package, reuse from lower layers, missing dependencies owned by the extending layer, explicit overlay replacements, and requirements separate from payload. D-025 resolves shared dependency assignment: the first requiring layer in deterministic order owns a dependency absent below; other layers reuse it. Removing that owner triggers reassignment in the new composition if the package is still needed. Input commits remain unchanged. Artifact-level package inclusion and final pacman database construction remain open.
  2. D-023 requires one common snapshot; D-043 defines an immutable ordered Arch plus Archipelago repository set, target architecture, database checksums and package identities, identified by a content-derived snapshot_id. Exact descriptor schema, canonicalization, verification and trust metadata remain open.
  3. Which packages supplement base plus linux in Core to provide firmware, initramfs and OSTree boot/deployment integration (D-021)? D-074 resolves baseline firmware: explicit linux-firmware and its dependency closure in Core/live installer. Remaining integration inputs and hardware evidence stay open. D-072/D-073 defer monthly snapshots (eventual cap: three) while D-074 requests daily experimental Core from current sources/live mirror.
  4. D-041 distinguishes role and concrete variant; D-055 revises cardinality to zero or one Purpose, including later selection from Archipelago Core. Multiple desktops may be expressed through a designed variant or Managed Overlay. DM selection, systemd switching and other desktop integration belong to the concrete Purpose contract. What exact schema expresses role, variant and overlay compatibility? Concrete Purpose contents/lifecycle policies and review of custom sets for official adoption remain separate design tasks.
  5. When upper layers replace packages or shared libraries, how are dependencies of the complete resulting composition revalidated and incompatible replacements rejected? D-038 requires explicit whole-package replacement intent and validation of dependencies, conflicts, ownership and applicable kernel ABI across the final composition. Exact schema and validation implementation remain open; file-level Managed Overlay overrides remain a separate provenance-tracked operation.
  6. D-026 selects package payloads and a package ownership index inside layer OSTree commits, including dependency payloads. Composition takes package content from these commits and includes each resolved package once. What exact payload layout and index schema map package identities to files and metadata, distinguish package-owned content from explicit layer overrides, and support constructing a coherent final pacman database? D-044 now selects separated payload/metadata namespaces and distinct provenance for package files, layer changes and generated results. Exact encoding, paths and pacman database reconstruction still need implementation-level contracts.

Hooks and composition finalization

Phase separation is accepted in D-027; D-058 accepts action classification, explicit deferred-action mappings, final-composition generation, network-free finalization with locked inputs and ordering, and required-action failure handling. D-059 accepts placement of aggregate caches, vendor hwdb, distribution locales/trust, runtime font caches and machine identity/provisioning, plus target service activation and preservation of administrator enablement choices. Local configuration-dependent cache regeneration and exact adapters still require implementation contracts in RFC-0005.

  1. Which exact ALPM hooks and package scriptlets occur in the chosen snapshot, and which adapters or package adaptations implement the RFC-0005 phase classification?
  2. D-028 selects standard Arch/systemd declarations and per-machine provisioning, preserving explicit upstream IDs and existing host assignments without a custom global UID/GID registry. How are non-root immutable file owners validated and declaration conflicts with existing machine identities reported?
  3. How are generated linker and trust caches integrated with OSTree /etc handling, administrator overrides and update/rollback? How are mutable font and hardware caches invalidated?
  4. What schema records finalizer inputs, outputs, dependencies, required conditions and generated ownership? How are package-owned generated files represented truthfully in the final pacman database?
  5. How are initial service presets applied without resetting administrator choices on updates, and how are runtime initialization failures surfaced and retried?

System account lifecycle

The baseline and deletion policy are accepted as D-028/D-029; see RFC-0006.

  1. Resolved in scope by D-036: MVP targets a generic single-user PC with the primary user provisioned in the initial deployment. Native rollback omitting later-created users is accepted, with manual recovery using original UID/GID and retained home data. Remaining implementation details: initial-user provisioning before rollback targets are created, recovery instructions and continuity tests; universal synchronization is not required.
  2. How are human accounts distinguished reliably from persistent service/system accounts for deletion eligibility, including pre-existing and administrator-created accounts? UID ranges alone are insufficient; ambiguous accounts remain ineligible. D-060 separately preserves standard transient DynamicUser= lifecycle.
  3. What explicit migration contract handles upstream account renames or fixed UID/GID changes while preserving persistent data ownership and rollback behavior?

OSTree integration follow-up

  1. D-035 selects Arch's OSTree package pinned with the common snapshot (currently Extra x86_64 2026.6-1). Which build features and repository/checkout modes are required? Is composefs selected or excluded for the initial profile?
  2. D-031 selects a non-default image-owned pacman database and persistent Host Extension working/history copies, with ordinary live-host pacman mutation disabled. What exact paths, disabling mechanism, query UX and generation/reuse rules implement this? A workspace database must match its selected base, not merely be periodically refreshed.
  3. How are Arch staging /etc defaults converted to image /usr/etc while preserving package accounting and correct handling of generated caches and administrator overrides?
  4. How is Arch's existing OSTree mkinitcpio install hook configured and tested with systemd-boot, and which kernel/initramfs paths define the initial boot contract?
  5. D-030 selects one archipelago stateroot and Silverblue-style symlinks for /home, /root, /srv, /opt, /usr/local and /mnt into /var. How are packages with /opt payload adapted so managed updates work? What exact temporary-directory and partition profile is selected?
  6. D-034 selects staged updates; D-046 defines protected deployments and cleanup. D-047/D-048 require manifest-driven Core/Purpose boot checks through systemd, bounded execution, current-boot/deployment success records, recovery retention on failure and no automatic reboot. What exact schema, success-record format, pin/unpin UX, GC roots and shutdown-finalization diagnostics implement this policy?
  7. D-045/D-050 select public testing/stable with full reproducibility and successful required checks, developer-restricted experimental staging and reproducible local experiments. Same-commit promotion and publication of objects/metadata precede channel updates. What exact publication protocol, common public validation matrix, promotion criteria, staging access control, offline bundle format and retention roots implement these guarantees?
  8. Resolved by D-060: D-029 prohibits deletion of persistent system/service account records through Archipelago. Standard systemd DynamicUser= allocation/release remains normal service lifecycle without a custom Archipelago mechanism.
  9. D-037 accepts package-by-name selection from the base snapshot plus exact local package files, with dependencies resolved against that snapshot and compatibility validation. D-038 requires separate explicit whole-package replacement requests; request/generation schema details remain open (question 29).
  10. Resolved by D-049/D-077: rollback requires an explicit user command, while successful creation of a new deployment automatically selects it for the next boot without a separate activation command. Failure does not change boot selection or reboot automatically. Exact CLI syntax, recovery-target presentation and verification against saved/one-shot bootloader overrides remain implementation work.
  11. How is D-050 full reproducibility demonstrated for testing/stable: canonical commit metadata, deterministic generators/toolchain inputs, image and release-artifact comparison, signature/attestation handling and independent rebuild evidence? How are local source-tree changes captured so experimental builds are reproducible?
  12. D-051 defines minimum public-channel functional gates: Core boot/local login, Host Extension package installation and Managed Overlay application, and declared Purpose service functionality in a clean environment. Which package/overlay fixtures, supported VM/hardware profiles, service-specific probes and automated harness implement these gates? Functional tests do not replace question 70's reproducibility evidence. D-052 requires every Core gate to run against each complete Core + Purpose release candidate, in addition to its Purpose-specific service checks.
  13. How does the live installer hand off to first-boot provisioning (D-064): target identity and interrupted disk operations, context detection, frontend selection, local console ownership, privilege boundaries, completion evidence, retries and serialization with deployment preparation? How are native GNOME/KDE setup sessions integrated without repeating account creation when adding Purpose to configured Core?