infrastructure/STATUS.md

76 KiB
Raw Blame History

Infrastructure implementation status

Updated 2026-11-20. Architectural acceptance is separate from implementation.

Snapshot retention detaches mounted snapshots (2026-11-20)

The fourth monthly capture exposed a retention bug: zfs destroy of the oldest snapshot failed with dataset is busy, the capture script aborted, and the portal refused the build (Снимок не создан). Two independent mounts keep a snapshot busy: the published read-only view (/opt/archipelago/data/public/arch-repo-snapshot/<date> is a mount -t zfs -o ro of the snapshot itself) and .zfs/snapshot automounts created in another mount namespace, here the /arch-rsync mirror container that had read monthly-2026-11-12 through /data/archlinux/.zfs/snapshot/.... Unmounting the host view was not enough; a mount inside the container's namespace also blocks the destroy.

deploy/mirror-snapshot.sh now detaches the published view with bounded retries, then scans /proc/*/mountinfo and unmounts the snapshot in every namespace that still holds it (nsenter -t PID -m -- umount), verifying the entry is really gone before continuing. Retention stops with a named PID and mountpoint rather than silently keeping a fourth snapshot. The publish step then mounts the new view, prunes the retired one and republishes snapshots.json.

Applied on terra and verified: snapshots 2026-11-15, 2026-11-17, 2026-11-20; the retired 2026-11-12 is destroyed; all three views answer HTTPS with 200; the rsync container kept running. infrastructure/tests/ control_portal.py asserts the detach happens before zfs destroy.

Complete CLI help and human daemon errors (2026-11-18)

archipelago --help, archipelago help COMMAND and COMMAND --help now cover every implemented command family, including Host Extensions, overlays, kernel arguments, transactions, cleanup, installer, build/registry and coordinator release/pipeline commands. The help lists the real scope of global flags (--json, --debug, --verbose, --interactive, --non-interactive, --offline, --request-id) and command flags (--plan, --file, --reason, --purpose, --erase, --full, kargs edits). Build/install-only --verbose and the lab-only overlay fixture are marked instead of being advertised as global features.

Installed-host failures now retain the typed public error through the CLI and render it by code and phase. On a terminal operation failure the client reads the authorized operation log and includes one sanitized cause line; the full log stays behind archipelago transaction log ID. Internal phrases such as the old fallback sentence are no longer shown, while the no-direct-write behaviour is unchanged. --json emits one structured error document (with cause when available); --debug --json keeps diagnostics on stderr.

--offline is rejected for host commands that cannot use a cache instead of being silently ignored, and internal operation-log reads bypass that user-facing validation. CLI and system tests cover the full help surface, nested command help, global flags, offline scope, the no-fallback JSON contract and error rendering.

Local Host Extension signature policy (2026-11-18)

sudo archipelago extension add ./mbpfan-2.4.0-7-x86_64.pkg.tar.zst failed on the KDE host at Stage with TrustFailed. The private transaction record, not the CLI log, identified the cause:

error: '/inputs/0c272e…pkg.tar.zst': package missing required signature

The service install path uses native pacman -U to honor the staging hook masks. Core's /etc/pacman.conf sets LocalFileSigLevel = Required, which applies to the whole file transaction. Repository packages carry detached .sig files, but a local Host Extension is intentionally unsigned (D-115), so the whole transaction was rejected even though the adapter had already verified the local bytes, checksum and .PKGINFO identity.

package-transaction.py now renders a private /run/archipelago-package-install.conf with LocalFileSigLevel = Optional for that single -U transaction. Present repository signatures are still verified; the image's /etc/pacman.conf is untouched. system/tests/dkms_inputs.py covers the config rendering and all five tests pass on a real Arch host with bsdtar.

A retry with the first corrected diagnostic daemon exposed a second latent issue: 36-systemd-modules-load.hook calls systemctl --system restart directly, which cannot work inside the non-booted composition root. The adapter now masks every base hook whose Exec calls systemctl directly; systemd-hook-based hooks already skip a chroot, and target boot performs the runtime action. A new image (or the refreshed diagnostic daemon) is required to carry both fixes to deployed systems; the existing 20261117T101510Z image still has the old behaviour.

On the KDE test host, a runtime-only diagnostic archipelagod built from system 194f97e staged mbpfan 2.4.0-7 successfully. The same transaction ran the new D-120 collection with the pending deployment allowed: it protected three deployments and freed 659 MB (11929006080 -> 11262676992 bytes), with the new deployment 169631c0… waiting for reboot. The /run drop-in and diagnostic binary are runtime-only and disappear on reboot; the staged image still carries the old daemon.

Automatic object collection after a successful Stage (2026-11-18)

OS updates and overlay/Host-Extension stages no longer need a separate cleanup command to release superseded objects. The last step of the transaction calls the same object-only collector while it still holds the shared sysroot lock. That call is allowed to observe the pending deployment it has just written (D-120); the pending commit, its Core/Purpose/base layers, overlay inputs, extension base and active plan targets remain in the protected graph, while stale archipelago/keep/* and service/bases|overlays|overlay-builds refs are expired and ostree prune --refs-only runs.

The Stage/apply result now carries cleanup (state: completed with the byte record, or state: skipped with the error). Collection is best-effort relative to the update: a completed deployment stays successful even if pruning cannot run. Manual cleanup apply and the boot/weekly timer remain fail-closed and still refuse a pending deployment. CLI archipelago update apply prints the freed bytes; the D-Bus transaction records the same result effect. System tests (44 unit + 5 onboarding) cover the guard split; no image has been rebuilt with this change yet.

Version-independent Discover adapter (2026-11-17)

The ISO cycle 20261117T101510Z failed at building-discover-adapter. The snapshot moved Discover to 6.8.3-1, while build-discover-adapter.sh still asserted discover 6.8.2-1 with a bare test; set -e therefore exited 1 before any diagnostic, and the log ended at pacman -Syu.

The version is no longer pinned. The adapter reads pacman -Q discover, derives the source version from it, downloads the matching upstream archive and its published sha256, and builds the backend against exactly that source. It writes the full package identity to discover-version.txt; KDE staging compares that file with the Discover package in the target tree. The plasma-setup recipe is now a template (PKGBUILD.in) rendered with the same release version and verified source hash, and the Core package repository derives the package filename from .PKGINFO instead of a hardcoded string. A future Plasma point release no longer needs an adapter edit; an upstream source or checksum that is missing still fails with an explicit message. The corrected adapter was built once on terra against the 2026-11-17 snapshot: it selected discover 6.8.3-1, verified the upstream archive (cfb851d6...), produced archipelago-backend.so with a clean loader check, and built plasma-setup 6.8.3-1 from the rendered template. The full cycle 20261117T101510Z later completed and published with these identities.

Run 20261117T101510Z published (2026-11-17)

The ISO cycle completed and published. Snapshot 2026-11-17; common Core layer 57d43af39bfde5dfd2c4c78181801bfeeaa0d802c8178af09b5730092711f04c.

Variant ISO bytes ISO sha256 Image commit
Core 2595940352 bb97c54c037eafcf52b885e085ebe5b12fa7a06037ef34d0fd355361e192344c f0e29a1e4a9edb363a62566f6daeb04651555453149a12c653d5dcba51a803dd
GNOME 6196809728 b242d30305081e45e4fcc848a1d83411a260bef4706982e7add6fd30656ca7cc ffa6f4105a66c6e10d0e3d3e85f0489ccc1a2c6e7ba418b5347d63af8c7abb6c
KDE 5959294976 ce8e33a84386ae07adcb14b0dd238ee378074e8b511fb3a6117c40e69646cb48 3fb3824d76de073b1ae62128babe8378c66df4a3f9efd60b21e8de1a938d9dfd
Container Runner 3043661824 c2375ca22d487d4ca417bb0a4ae237a127ce8b34929b8d99ffb1c11fcd11f4bd 67cf7abde6d19e9d021923045daa21ef268abfe02daf809ab8459f6009577144

Purpose layer refs: GNOME ef699e83d3f968d8c402335d9c5f1107cfcf1e95129415cb504f983512cfa54f, KDE f0601f7fccea65daba8aecf8f08b980798d2c5a63679cf7140c31a7560492b28, Container Runner e18aa07967f670958cfea88da8b4edf63b3862604ff3335e341c8ed4608b72c9. stable/core|gnome|kde|container point at the image commits above; purpose refs are published under ostree/layers. Both ostree/images and ostree/layers serve a signed summary (summary.sig is present).

Independent HTTPS check: all four ISO URLs return 200 with the sizes above, and their published .sha256 files match. v1/releases.json and v1/container-runner-iso.json carry the same identities.

This cycle includes the dynamic Discover 6.8.3 adapter, plasma-setup 6.8.3-1, the transparent Plymouth watermark, the GIO module-cache fix, QEMU/KVM for Container Runner and Toolbx in Core/Container Runner. D-098 limitations still apply: boot, hardware and GUI checks are manual, and no VM acceptance was run.

Generated GIO module cache in the GNOME layer (2026-11-17)

After the Discover repair, the resumed run failed at building-gnome-purpose: layer_delta.py capture rejected usr/lib/gio/modules/giomodule.cache as an undeclared Core path change. Core now carries Flatpak/Toolbx GIO modules, so the GNOME package transaction regenerates that cache. D-059 classifies module caches as generated outputs: both usr/lib/gio/modules/giomodule.cache and its lib32 variant are ignored by the layer delta, and the GNOME/KDE finalizers rebuild them with gio-querymodules for the final module set. The Python capture fixture covers the new generated paths. A resumed cycle will rebuild Core because the CLI embeds the changed adapter.

Plymouth alpha, GC on older images, Container Runner KVM/Toolbx (2026-11-17)

  • The Plymouth watermark was regenerated from archipelago.svg with -background none -alpha on ... PNG32, so it is RGBA (PNG colour type 6) and has a transparent corner instead of a white box. The GNOME/KDE package adapters reject a watermark whose byte 25 is not 6, and a builder test asserts the same property on the checked-in asset.
  • archipelago cleanup plan no longer fails when an older image or a locally composed commit lacks an optional archipelago.layer-* metadata key; a missing key means "not declared", not "collection unavailable". The plan now names the refs that apply will expire, and apply expires its own archipelago/keep/* refs and superseded service/bases|overlays|overlay-builds refs for commits no longer named by a deployment, active plan or retained intent. Deployments, stable/* refs, plans and generation history remain untouched. A real-host release of space still requires running cleanup apply on that host.
  • Container Runner (D-117) ships QEMU/KVM with libvirt: qemu-system-x86, qemu-img, virtio-gpu/vga display devices, libvirt + libvirt-dbus, dnsmasq, dmidecode, edk2-ovmf, swtpm and virt-install; libvirtd.service is enabled and libvirt's stock NAT network is autostarted. The stock Cockpit Machines page is the management surface. /dev/kvm availability remains the operator prerequisite.
  • Core and Container Runner (D-118) now carry podman and toolbox with the same upstream Arch Toolbx default (quay.io/toolbx/arch-toolbox:latest) as Desktop Purposes. Core embeds toolbox.conf/registry defaults and Container Runner carries its own copy, so neither depends on a particular Core generation for the default; containers remain user workload state.

These changes are committed and tested in Cargo, but no image has been rebuilt or published from them yet, and Plymouth/Cockpit/Machines still need visual or hardware verification by the user.

Stale OSTree objects, quoted code name, Cockpit updater (2026-11-16)

The first object-GC implementation did not pass the safety audit: it ran ostree admin cleanup without a D-047 readiness record, failed to expire its own old keep refs, and could delete service/overlay-builds/* refs still named by a retained managed-overlays.json. The corrected object-only pass makes archipelago cleanup plan a read-only inventory and cleanup apply take the shared host lock, protect deployments plus Core/Purpose/base commits, overlay clean-base, selected/source layer commits, Host Extension bases and current-context plan targets, then run only ostree prune --refs-only. It does not delete deployments or any stable/* refs, plans and generation history. It expires its own keep refs and superseded service/* composition refs for commits no longer named by a deployment, active plan or retained intent, so retired deployments can actually release space. Missing optional commit metadata is not an error; older images and local compositions do not carry every key. The timer can collect objects already unreachable from all refs; old deployments and composition histories remain protected. This is deliberately not full deployment cleanup. Rust tests cover the root graph and guards; real-host pruning remains a user-verified scenario.

The older direct system/src/updates.rs::stage_deployment also used to call ostree admin cleanup immediately after Stage. That call is removed: Stage is not boot readiness or D-047 success evidence. Native finalize-staged retention remains; object GC does not retire deployments.

defaults/os-release now quotes the code name everywhere (VERSION="Tesseract", VERSION_ID="Tesseract", VERSION_CODENAME="tesseract") and the Core package build asserts the exact lines, so no edition drifts.

Container Runner now ships a Cockpit update page (/usr/share/cockpit/archipelago-updates/) that is a typed org.archipelago.System1 D-Bus client: status, refresh, plan inspection, download and stage, with transaction progress and an explicit "reboot manually" result. It uses no PackageKit, pacman, shell commands or a second deployment writer. builder Rust tests enforce that contract and are part of the frozen-source checks; loading the page in a real Cockpit session remains manual.

Plymouth/visual branding with the Archipelago logo is still to do: the theme is currently spinner and the build asserts that theme.

Host Extension local packages: import path and image database (2026-11-16)

D-115. archipelago extension add ./package.pkg.tar.zst (and the explicit --file PATH) now works through the daemon. extension add splits its arguments into repository names and local archives — a path is recognised by ./, ../, /, ~/ or an archive suffix, an unknown option is rejected, and a bare name is never looked up on the filesystem — imports every archive through HostExtensions.ImportPackage, and then prepares one PrepareChange and one Stage for the complete mixed request. extension import PATH and extension add-local INPUT_ID remain the explicit two-step form.

The hardware import failure had one cause: the identity cross-check ran pacman --config /dev/null -Qp archive, which opens the default /var/lib/pacman. An installed OSTree host keeps its package database in the image (/usr/lib/archipelago/package-db) and does not populate the default path, so the check failed before the archive was parsed. Every pacman invocation in the service now names the image DBPath (inputs::PACKAGE_DB and a shared argument builder). Composition already inherited the base database; the audit confirmed there is no other /var/lib/pacman dependency. Native Rust tests cover the explicit DBPath and the import-then-plan argument flow.

The same pass fixed workspace retention: Sandbox::release deleted only the OSTree checkout, so request files, copied archives and the adapter stayed behind for every operation. It now removes the whole per-operation directory, is not skipped by a cancellation request (--one-file-system, no cancel boundary), runs on success and failure of every plan/compose/resolve path, and purges a workspace untouched for a day as orphaned.

Checks at that implementation point: archipelago-system 40 tests (database path, argument splitting), archipelago CLI 4 interface tests, builder/composer suites. The later GC audit adds three system tests and makes the readiness-limited retention boundary explicit. Local import and Cockpit D-Bus contract checks now run as Rust tests in the Cargo suite, not Python fixtures. Hardware acceptance of local import remains a user manual check on an image carrying this source.

Run 20261115T195243Z published after the snapshot-publication fix (2026-11-15)

The run that had failed in building-software-adapter (404 on the freshly mounted repository view) finished after the snapshot/Caddy fix and the adapter-resume fix: state complete, published: true, finished 2026-11-15T23:42:06 UTC, snapshot 2026-11-15, mode iso. Published images for core/gnome/kde + container share the version 20261115T195243Z; image commits 8a431300c75b, ec82523f6f18, 1f7272615320, 8e0b9748b249. HTTPS re-checked afterwards: v1/releases.json, releases.json, pipeline.json and the pinned snapshot's core/os/x86_64/core.db all answer 200. Freshness of the desktop kernel switch (D-114) and of the image-size metadata (D-113) in the published images is a user manual check on hardware; this note records publication, not hardware acceptance.

A pinned snapshot must be downloadable, not just mounted (2026-11-15)

Run 20261115T195243Z failed in building-software-adapter seven seconds into the stage with Stage command exited with code 1. The retained worker log named the cause: failed retrieving file 'core.db' from mirror.nw-sys.ru : The requested URL returned error: 404 for both core.db and extra.db. The snapshot itself was complete — @monthly-2026-11-15 existed, its host view was mounted, core.db was readable and snapshots.json listed the date — but the Caddy container that serves /archipelago/ bind-mounts the artifact root, and a container keeps the mount view it started with. 2026-11-12 was mounted at 07:56:13, the container started at 07:56:27, and the new view appeared at 19:52: inside the container that directory stayed empty, so every request answered 404 while the host was correct.

Fixes, in the order a future run depends on them. compose.yaml binds the artifact root with slave propagation (bind.propagation: rslave), so a host mount created after the container started becomes visible without a restart. deploy/mirror-snapshot-mount.sh no longer unmounts and remounts every view (an already correct view is left in place, so a concurrent build keeps its downloads) and verifies the mounted dates from inside the artifact container, restarting it once when it still holds a stale view; a date the container cannot serve is dropped from snapshots.json instead of being offered. Two checks fail before a stage instead of inside one: the portal refuses a start whose pinned date does not answer 200 for core/os/x86_64/core.db (snapshot_verify_url), and release-cycle.py probes the exact URL the build will use in selecting-repository and again on --resume. tests/control_portal.py covers the served/unserved decision and the propagation contract (8 tests); tests/cycle-recovery.py covers the probe. That fixture had also lacked worker_source_root, the defect recorded in deploy/PIPELINE-AUDIT, so it never reached its assertions and its mocked docker ps failure path returned no output; both are fixed and the interruption/recovery order passes again.

Verifying the fix exposed the second half of the same 404: deploy/Caddyfile had no route for /archipelago/arch-repo-snapshot/*. The container that failed the run still had one in memory from a file edited on the host, so the views were reachable only until that file was overwritten and the container restarted — which is exactly what rolling out this change did to the previously working 2026-11-12 view. The route is now in deploy/Caddyfile (root /srv/artifacts/arch-repo-snapshot, outside the generation symlink current), and both dates answer 200 over HTTPS for core.db and extra.db, next to the unchanged /archipelago/, v1/releases.json, releases.json, pipeline.json, portal, package and ISO routes.

A resume is no longer a second unit. POST /api/control accepts {action:start,resume:true} and writes a request containing only resume and requested_at; release-cycle.py turns that into --resume and the run keeps the mode and snapshot it already had, so nothing is pinned twice. Until now a resume ran as the transient archipelago-cycle-resume.service, which the portal's stop button and status view did not know about; now one ordinary service unit covers starts, resumes and stops. resolve_request in the driver is covered by tests/cycle-recovery.py. The portal shows ↻ Продолжить <run> only while the latest run is failed and nothing is running, and sends exactly that request.

The first resume then failed in building-core, 38 s in, on cp: cannot stat '.../software-adapter/libgs_plugin_archipelago.so': the failed attempt's workspace is removed after its evidence is archived, while the adapter stages were skipped on resume because they are expensive and cached. The driver now probes the plugin (and, for KDE, the Plasma setup package) and rebuilds the adapters when the workspace no longer has them — a cache copy while the inputs are unchanged — instead of composing a Desktop image that links a file nobody produced. tests/cycle-recovery.py pins the probe shape.

A stop takes effect immediately, not after two minutes (2026-11-15)

archipelago-release-cycle.service was Type=oneshot. systemd does not deliver SIGTERM to an activating oneshot; systemctl stop therefore sat in stop-sigterm until TimeoutStopSec=2min expired and then SIGKILLed the coordinator. The portal uses --no-block, so it answered 202 immediately while the run kept building, and a manual stop looked ignored. Reproduced with a minimal Type=oneshot unit (SIGTERM to the main process works, systemctl stop does not) and fixed by declaring the driver what it is — a long-running job: Type=exec. A probe unit with the same shape now stops in 25 ms and the coordinator writes its own signal 15 failure and worker-unit cleanup. infrastructure/tests/control_portal.py guards against reverting to oneshot. Stopped run 20261115T194326Z (started with the existing 2026-11-12 snapshot by mistake) left state failed, 32 MiB of disposable worker work and no stray mounts or transient units.

Manual builds pinned to an immutable snapshot, desktop Zen kernel (2026-11-15)

The portal can now start a build itself and pin the repository it compiles from. POST /api/control carries mode (iso/ostree) and snapshot (latest, new or a date); the portal resolves the choice to one date before the unit starts and writes data/private/release-cycle/cycle-request.json. release-cycle.py gained --snapshot and --request: it consumes the request once (stale after 900 s, never on --resume), records snapshot/request in the run state and refuses a date without core/os/x86_64/core.db. A scheduled run therefore cannot inherit manual inputs. new captures through a transient systemd-run unit so the read-only bind view is created in the host mount namespace that serves HTTP. The mount script then writes the verified list (each date checked against core/os/x86_64/core.db in the published view) to data/private/release-cycle/snapshots.json, which the portal lists and validates against: the portal's own namespace never sees a view created afterwards, and ZFS .zfs/snapshot entries are not traversable from that unit (ELOOP inside a sandboxed namespace). deploy/mirror-snapshot.sh, deploy/mirror-snapshot-mount.sh and deploy/archipelago-mirror-snapshot-mount.service (the boot-time owner of those views) now live in the repository: creation is immutable per UTC date, retention keeps three, and views whose snapshot was destroyed are pruned instead of left as stale empty directories.

Two fixes came out of running it on terra. The mount table always records the resolved path (/opt/archipelago/data is a symlink onto the tank dataset), so the "unmount existing views" pass must compare resolved paths; it previously matched nothing, and mounting over a live view failed while the view survived the prune step. Mounting snapshots by name also requires an empty target directory, so a failed mount now removes its directory instead of publishing a date that no longer resolves. The mirror view 2026-11-12 is mounted again, snapshots.json lists it, /api/status returns it, and HTTPS still serves core/os/x86_64/core.db (200) and extra/os/x86_64/extra.db (200).

Desktop Purposes run linux-zen. purposes/proposals/{gnome,kde}.yaml install it and declare spec.packages.replacements (target: linux, expected_owner: core/arch); Core, Container Runner and the live ISO keep linux. builder/src/lib.rs renders a replace_core_package <target> <replacement> call only from that declaration, and composer/layer_delta.py now permits a removal only for payload listed in the replaced package's own files index, its database entry, and the module directory where that package installed vmlinuz — any other vanished Core path still aborts the capture. The module tree matters because Core's initramfs is generated inside /usr/lib/modules/<version>/ and is not package payload, so removing the package alone leaves a stale second kernel and every later basename /usr/lib/modules/* sees two. Verified: composer/tests/layer_delta_test.py (13 tests, including the allowed replacement, the dropped generated module tree, an unrelated module tree, the undeclared removal, an unrelated deleted path and inconsistent compose metadata) and the builder test only_declared_desktop_purposes_replace_the_kernel. Real-image behaviour (does pacman -R linux plus the recorded module tree leave exactly one kernel; does the finalizer see one kernel) is only proven by the next published cycle.

ISO cycle 20261114T133314Z with OS version 1.0.1. (published 2026-11-14)

Full ISO cycle against the November snapshot, built from cli f3a57f9 (the OS package version is now 1.0.1.<BUILD_ID>) plus system abd4bc6, builder 666cb76 and rfc 51a3f9c. Started 13:33:14 UTC; Core completed in 494 s with archipelago-1.0.1.b45b0c2412e2dfef561ac510-1 present in the captured package metadata, then GNOME, KDE and Container Runner. Both Flatpak caches reported unchanged. The run finished and published at 15:24:53 UTC into generation hardware-b6rine44: current points there, releases.json lists Core, GNOME and KDE, ostree/images refs are stable/core 3071739…, stable/gnome 477a580…, stable/kde 62f6910…, and HTTPS serves ostree/images/summary and summary.sig (200), iso/archipelago-core.iso with Content-Length 2389542912 (matching releases.json), archipelago-gnome.iso and archipelago-kde.iso. This run froze its source before D-113, so its image commits carry no size metadata and clients will not see an update size for this build; the next cycle publishes it. The OS version change and the size metadata are therefore still only proven in the next published cycle.

Build control portal shows real progress (2026-11-14)

The private portal draws one progress bar for the selected run from the same phase plan as the stage grid. phasePlan() keeps hiding stages that a completed instrumented run never entered, and now also cuts an uninstrumented run's plan at the stage named by state/failed_phase instead of claiming that every stage ran. The bar counts a phase as completed only once a later phase starts; when there is no trace at all it takes the position of the current or failed stage. A running or failed run is capped at 99 %, only complete reports 100 %, and the track exposes aria-valuenow for assistive technology.

The deployed portal at /opt/archipelago/control-source/control/ was newer than this repository, so the live app.js, index.html, style.css, server.py and README.md were first copied back here and then extended. Verified with node --check and a stubbed DOM against the real /api/status and /api/run payloads of the in-flight 20261114T133314Z run (9 of 17 stages, 53 %), a synthetic failed-at-Core run (7 of 8, 88 %) and a completed uninstrumented run (100 %, "no trace recorded"). infrastructure/tests/control_portal.py asserts the progress markup and the attribute update; archipelago-control.service was restarted and serves the new files.

Image size and MIT licence in the software centers (D-113, 2026-11-14)

Every image path now records its size in the published commit. The builder measures the composed tree once through a dangling commit (builder/adapters/image-size.py) and then writes two signed metadata strings on the branch commit: archipelago.image-size (unique compressed file and directory objects, i.e. the transfer upper bound) and archipelago.image-installed-size (sum of checked-out paths). The two-step commit is used by build-iso.sh, gnome-layer.sh and container-runner-layer.sh; the helper is embedded into the generated profile (@@IMAGE_SIZE@@) and both values are validated as decimals before the final commit.

archipelagod reads the metadata after pull --commit-metadata-only, so GetStatus.update and GetUpdateDetails expose download_size: t and installed_size: t before any image bytes are transferred, and the durable refresh record keeps them. Discover renders the transfer size as the resource size and the installed size in the description; GNOME Software sets the download size. Both adapters declare the licence MIT. A target commit without the metadata stays "unknown" instead of a zero-byte size.

Verified: archipelago-system (38 tests, including the size parser) and archipelago-builder (3 tests, including every_image_commit_records_transfer_and_installed_size) pass in the pinned worker image; the GNOME Software contract test asserts the download size and licence (PLUGIN_DBUS_DIFF_DOWNLOAD_STAGE_ERROR_STATES_PASS); the Discover adapter compiles against the 2026-11-12 snapshot with no missing libraries. Measured on the real Core commit 30717394…: transfer 1 414 614 430 bytes, installed 2 092 868 303 bytes. Sources are pushed and deployed to the worker source tree: builder 853a88d, system bcc32b8, rfc f678845. The size shown in the running software centers and the D-Bus values on an installed system remain user-verified only until the next cycle publishes.

ISO cycle 20261114T103131Z with D-112 progress and identity (2026-11-14)

Full ISO cycle against the November snapshot, built from system abd4bc6, builder 666cb76, rfc 51a3f9c and infrastructure 7dbae1e. Started 10:31:31 UTC, complete at 12:58:46 UTC (2 h 27 min); both Flatpak caches reported unchanged, so the seed was not rebuilt. The coordinator pipeline copy was refreshed before the run, restoring the container retention fix that its stale working copy lacked.

Variant Size (bytes) ISO sha256 image commit purpose layer
core 2 389 547 008 ece32e8510c094343b298bdcb2ff3eb979e3c58b5a29817eb15480835706cfdc 0acbbb6951c8e560e72ac5b331f56805e2831e60072765ce158b6a4eb9beef51 —
gnome 5 932 720 128 9c24bd9cc99caa04f5af2dc90831ea7e7be5255163aa2ac72850aee7c6ebd724 17909c4ecd5ad3131d17c9ee93042c853a5246c7ec316141e1faadec922740e5 30dd621a1be0b37d999b5b1c406757bea7d3423f9872ae041dde6ae3336002e7
kde 5 662 457 856 8cca1dae2477b0519565aa3cb78984ac363f4a4911e80c2884492093da11efd0 985b71461d8452baf1133f9b52f1c21ce14f933d754d60c6adda8b98527be389 245ee840704c72f23c6ba9da9f45e0444d14e17ca4b3f3577e3926f15c737cde
container 2 814 429 184 23cdb89ed3f39bc5cb3695baaf893df0c46f926e913712e2b228590084596e38 70b2ac25a3a2244dc2a0a0e7de2dfafad32233dfa8cbbc17490a990c852c85c3 68f138a67b4bbe29e4a84456a1450ef40c85c61c7d4a91e6a8579efd0075e8f2

All four variants reuse the same Core layer 5331c7e6b403180d8f2f343f0ed5acf3afd6cd553827832b6bdb91f43807f1d6. Verified over HTTPS after publication: ISO HEAD size and .sha256 for every variant, ostree image/layer refs for stable/core, stable/gnome, stable/kde and stable/container, the stable/container purpose layer ref, and that v1/releases.json marks exactly these four builds current. The archipelago package contains both icons, permissions.tsv lists them, and its usr/bin/archipelago is byte-identical to the run binary with the console progress parser present. All four media trees and per-version records retain three versions. No VM acceptance per D-098; hardware rendering of progress and icons is not yet confirmed.

Update progress, distributor icon and reconciliation status (D-112, 2026-11-14)

The native software clients now receive a real, monotonic update percentage. archipelagod keeps the fixed phase bands but refines the value inside the current band from libostree's own console output: fetching commands run under a PTY (script -qec), ANSI/CR redrawing is stripped, and the newest Receiving objects:/Receiving delta parts:/Receiving metadata objects:/ Writing objects:/completion record is scaled into the band. Covered pulls: the layer checkout, the image pull in prepare and execute, both pull-local imports into the sysroot and retain_clean_base. Progress.percent never decreases and stops at 99 until the terminal transition.

Discover keeps one monotonic floor across PrepareUpdate→Stage, keeps the last observation when GetStatus fails, and no longer reports the transient reconciling window as an update error. GNOME Software polls transaction snapshots from its worker thread, marshals percentages to the caller's GMainContext, mirrors them onto related package rows (otherwise the updates list averages an unknown app and hides the bar) and applies the same reconciliation policy.

The archipelago package installs archipelago.svg and archipelago-symbolic.svg into hicolor/scalable/apps; Discover uses them for the OS resource and source badge, GNOME Software falls back to distributor-logo if the icon cache is missing, and both desktop finalizers refresh the cache.

Sources are pushed and deployed to the worker source tree: system abd4bc6, builder 666cb76, rfc 51a3f9c, infrastructure 7dbae1e. Verified before push: archipelago-system tests (including the parser cases), archipelago-builder tests, the GNOME Software plugin contract test (PLUGIN_DBUS_DIFF_DOWNLOAD_STAGE_ERROR_STATES_PASS) — which asserts that the fixture's 25%/60% snapshots reach both the OS row and its related package rows before the terminal 100% — and a Discover adapter build with no missing libraries, all against the 2026-11-12 snapshot.

The full ISO cycle 20261114T103131Z published these sources (see the next section). The packaged usr/bin/archipelago is byte-identical to the run binary, contains the console parser, and permissions.tsv lists both icons. On-hardware progress, banner and icon rendering remain user-verified only.

ISO cycle 20261113T230718Z with desktop kmscon restored (2026-11-14)

Full ISO cycle against the November snapshot, built from builder beb96f4, which restores D-109 console handling for GNOME/KDE. Started 23:07:18 UTC, complete at 02:03:25 UTC (2 h 56 min); both Flatpak caches reported unchanged, so the seed was not rebuilt.

Variant Size (bytes) ISO sha256 image commit purpose layer
core 2 389 497 856 36bb94a0b3091a36c45d33608b431e145f7e6cbe70f8cd0d1fe3eeb8db17fb3e 20e0005c0e3c4610f51c72c95079916cdb7dd7345795dbbb2c6f2ac692a8085b —
gnome 5 932 675 072 61fda628793b669c5bdd383485c22998d0127c94053febbfc1143ae8b94b2c59 c2afc5a002b4cd4ac9cd4179a9b282ea85c51b5f90b1636aabef6b5eed11a7e1 41a97c6486bc3a6f969574fb0e914293b31a4c11aa6d0ca7e52d43126032af23
kde 5 662 396 416 48c254ffc77ec058f069f1c620dc7ccde78b2e31d268ff2699d67ab1f4b6d475 492ef65ca449c44878d9828e75f15b0d97c36ca2e7d94ac3ec143b73fd0478ba 14ccf067858d45f3f9aec21b2f5338439fd857b8d170576605e63c37d4eb3e36
container 2 814 367 744 752e4370ea1e7c78d0293c1ca4ee198214c9b075e3c89ba767d10d3ed99b865b de411eab95d243ecc5f80428c2e45621aa6203a18fb1d24e53dd7982389fc1f5 6d66e06599b7b40667eb3541ee756dd639dbcad13fb48a2f418dd27ce1807a5f

Shared Core layer for every edition: d1adb9a7a8e391e0f05c1fc77730869c6edecdeadad164cf1d5ecfee5eede1bf. stable/{core,gnome,kde,container} point at these commits and the catalog marks 20261113T230718Z current for all four.

Verified by re-downloading all four ISOs over HTTPS: status 200/206, Content-Length and sha256 equal v1/releases.json, and each .sha256 file equals the computed digest. Verified inside the published OSTree trees:

Check core container gnome kde
autovt@.service target getty (kernel console) getty kmsconvt kmsconvt
/usr/etc/kmscon/kmscon.conf absent (by design) absent present present
autovt@tty1 / kmsconvt@tty1 aliases — — absent absent
hibernate marker + resume hook — — present present
display manager getty getty gdm (display-manager.service) plasmalogin, no sddm
kxkbrc / plasmakeyboardrc — — — present
Firefox in Flatpak policy — — present present
/usr/bin/archipelago-console-login mode 0755 yes yes yes yes
mirrorlist snapshot 2026-11-12 snapshot snapshot snapshot

plasma-meta 6.8-1 composes correctly now that the Purpose layer merges package /etc into usr/etc (previous section's root cause); the keyboard defaults are written by the finalizer as machine defaults.

Still unverified: manual hardware checks of VT switching (Ctrl+Alt+F2 → kmscon), greeter behaviour and hibernation; no VM acceptance is claimed (D-098).

KDE host staged on the corrected image (2026-11-14)

marchipelago-sex-3000 (KDE, .146) reported update.state=available targeting 492ef65c…, the KDE image of 20261113T230718Z. archipelago update plan produced 5da88c3e… and update apply staged deployment 3d544031…; the booted deployment stays 0b90f215… until the user reboots, and no reboot was performed. Inspected the staged root directly: autovt@.service → kmsconvt@.service, /usr/etc/kmscon/kmscon.conf present, plasmalogin is the display-manager.service target with no sddm, hibernate marker and resume hook present, kxkbrc and plasmakeyboardrc present, mirrorlist pinned to the 2026-11-12 snapshot.

archipelago-2 (.145, offline for a day) and hpilago (.119, offline) were not reachable, so neither was updated.

Container Runner ISO retention corrected (2026-11-14)

iso/container had accumulated five media although the catalog advertises retention_per_variant: 3. Cause: publish-container-runner.py only ever adds a version, and publish-hardware.py copies the whole iso/container tree into each new generation, so nothing ever pruned it (core/gnome/kde media are pruned through iso_history). Fixed in both publishers: prune_media() keeps the newest three timestamped media directories, prune_version_records() keeps the matching v1/releases/container/*.json entries, and the desktop carry-over now prunes as well so a desktop-only generation cannot inherit a stale count. Applied to the live tree: five media (13 GB) → three (7.9 GB, −5.6 GB); the two removed versions now return 404 while the three retained media, the top-level archipelago-container*.iso aliases and both retained per-version records still answer 200/206. v1/releases.json is unchanged except for the container card, which still lists only the current version.

ISO cycle 20261113T200705Z (2026-11-13)

First ISO cycle with the /usr/etc composition fix and plasma-meta; started 20:07:05 UTC, complete 22:48:25 UTC (2 h 41 min). Identities: core f076683ecd6f276e321ba02eb6ec2a9ebb0cf49c761d50cfc262c06a225818c3, gnome 95769d9783e564fc921994697652470128db1448aea0a98faa115cfc67f98b6b, kde 2294f160ee51ff160c428c156269a54191e9f54bafc0cc8e9a9f2f78087249fb, container size 2 814 392 320 / 38376cb4…; Core layer 9dcc029d….

Verification results: all four ISOs matched the catalog over HTTPS; both Flatpak caches returned unchanged (FLATPAK_SEED_UNCHANGED, no export rebuild); plasma-meta 6.8-1 and plasma-login-manager 6.8.2-1 installed, no sddm; resume hook, hibernate marker, snapshot mirrorlist and Firefox policy present.

Deviation found and root-caused in this run: GNOME/KDE shipped autovt@.service → getty@.service and no /etc/kmscon/kmscon.conf, so logind VTs ran getty instead of kmscon. The kmscon setup in build-iso.sh sat in a gnome-probe guard inside the Core-only branch, so a Purpose build never executed it. Corrected in builder beb96f4 (finalizer-owned setup plus a unit test) and confirmed in 20261113T230718Z above.

Out-of-band ISO publication 20261112T173549Z (2026-11-12)

The OSTree cycle published no installation media, so the user requested an out-of-band ISO build and publication: four editions, built from the frozen source of run 20261112T120954Z plus the D-109 console correction, against the same November repository snapshot. The Container Runner medium is intended as the base for a future builder appliance.

Completed 19:30:35 UTC. Rollback point before publication: tank/archipelago@pre-iso-20261112T173549Z; public generation hardware-x_3njpwn.

Variant Size (bytes) ISO sha256 image commit purpose layer
core 2 389 514 240 4706105c19cbd90594e48fb7dcf7364d748fcffd154bddee943adf41fcdf1503 264cdacb8ad91310733a2768255cc8b53914744f8ba46c46b8a27f413076ed8e —
gnome 5 661 425 664 528aefb638464245f6d8d1b868cf44543a7ea073af636d0103e368d398f55b73 dfd2979466800de296fad09cc42370f1e625bd57664eabd7df94f835537b129d 1710bb35ef3c7649ba297c9cd1d703077ad6c6b07417ef7161a8d0c5c562f8d7
kde 5 320 486 912 78cd6e7c4781da7d71328cb4129c08ee72946eec186143bf27dd1406384eeae6 65adb43ffa397d90f0f95da367ce96029d99b61162923ba0b1527ca5ff82c27e eaab0144ed53596b339d26036f93419d9a270210e41f9c403bf12253937ac623
container 2 814 388 224 92fb7f2ec70321a866ae… (see catalog) 253d667c56c2fa8fa0af14e6f77d74b46107f267419ffc49d9f8936a7398b514 cbf4ddabc65aa95a7c9ff1c6b651e283647749621fb66d8e7cca6d4e0f5d2bd1

Shared Core layer for every edition: 3e58db0dca9d094287425765992c4e4e77f7369b109778e2abc4be4e146488a5.

stable/core, stable/gnome, stable/kde and stable/container now point at these commits; the catalog marks 20261112T173549Z current for all four and retains the three previous media per variant. Verified over HTTPS: refs readable, the four ISOs and their .sha256 files return 200 with matching sizes, v1/container-runner-iso.json carries the container medium.

Console correction verified inside the published trees: getty@tty1 is enabled and the packaged getty@tty1.service.d/50-archipelago-console-login.conf drop-in exists in Core and Container Runner, while kmsconvt@tty1 is not enabled.

Known deviation: autovt@.service points at getty@.service in all editions, so GNOME/KDE also use plain getty on tty2+ instead of kmscon. Root cause found 2026-11-13: the kmscon setup lived in a gnome-probe guard inside the Core-tree block of build-iso.sh, and that block only runs for the core profile, so a Purpose build never executed it. (The earlier guess that the purpose stage /etc shadowed the Core tree was wrong — nothing wrote the desktop alias at all.) systemctl enable getty@tty1 in the Core tree creates the upstream autovt@.service -> getty@.service alias that all four images ship. Fixed in builder beb96f4: the desktop finalizers now install /etc/kmscon/kmscon.conf, point autovt@.service at kmsconvt@.service, drop the tty1 getty alias and assert mesa; a unit test pins the invariant. Not a console-availability defect.

Cycle 20261112T120954Z bound to the November snapshot (2026-11-12)

First cycle built against an immutable repository snapshot (https://mirror.nw-sys.ru/archipelago/arch-repo-snapshot/2026-11-12/$repo/os/$arch) instead of the rolling mirror. Mode ostree: no ISO media. Started 12:09:54 UTC, complete at 15:17:38 UTC, published: true (3 h 07 min total; 2 h 37 min of it the four-variant build).

Published refs, read back over HTTPS:

Ref Commit
images/stable/core 25b242c971d39cd1564319d0badbcea1f428ba27f884d10880901fede814cb54
images/stable/gnome 45bafea6ba8ac718ffdadf8aa2b88bb23b9e403f18b826ff6cce84e654e8d01b
images/stable/kde 50d90c18adf81fbceebee85b7584ac0190d83596d309232e4bda402392cf4ac7
images/stable/container e7882d795d757471dc6f6a606c4cf1ac4b2a18f31e8eb3ff5cb04fcfd985a4df
layers/stable/{core,gnome,kde,container} b834424f1bfbede836255bfaf494aa90119a133c85171e0bea7bd4542d55d98f
layers/purpose/desktop/gnome e4f77a3931de2c15b332286e1b4f8464a292e35be14b6d3fab3171eef629c522
layers/purpose/desktop/kde 4fc655cbbe3e2c598fd52ada07b4c9e33f117c9321291456310c4479a22a1f77
layers/purpose/server/container-runner dcd9b22f6ea5ed4424799ca961ed58055d46fdf33ddd4990ab293b80950fc301

Verification performed here: ostree pull --depth=0 by commit from the published repositories with gpg-verify=true and gpg-verify-summary=true, using the key the image itself ships at /usr/share/archipelago/keys/ostree.asc. Both the summary and the commit signatures verified (3325/42937 objects for images, 3327/42938 for layers). Pulling by ref name (stable/core) is rejected with Commit has no requested ref 'stable/core' in ref binding metadata ('core'); the installed client pulls by commit, so this is expected and not a publication defect.

Publication created generation hardware-cxjv4vt9 (47 GB, 385 769 files, of which 38 GB are hardlinked ISO bytes) and removed the previous generation; current points at the new one.

These images still contain the console defect below — the run was frozen from the source tree before the D-109 correction, so they are expected to boot without a kmscon console and without a working first-boot path.

Console defect in published Core/Container Runner/ISO images (2026-11-12)

Reported by the user on a live/installed Container Runner image: no kmscon console on tty1, first-boot provisioning never ran, other VTs unusable (only systemd-boot visible). Two independent defects were found and corrected in the source tree; the currently published images still contain both.

  • kmscon cannot start without mesa. Every render engine shipped in kmscon 10.1.0-1 needs the GL stack: mod-gltex.so → libGLESv2, mod-drm3d.so → libEGL+libgbm+libGLESv2. The Arch package does not declare mesa, so Core, Container Runner and the ISO never carried those libraries. Verified in the published commits: GNOME 39db7c49… and KDE e527c29c… have libgbm/libEGL/libGLESv2 and mesa, while Core f92264c8… and Container Runner a6242826… have none. kmscon therefore exits and only the OnFailure getty survives.
  • The onboarding drop-in was never packaged. package.sh wrote getty@tty1.service.d/50-archipelago-console-login.conf under runtime/etc, and cli/packaging/PKGBUILD copies only runtime/usr; the file is missing from every image. getty@tty1 therefore ran stock agetty, so archipelago firstboot never started and the installed system had no usable account.

Corrections in the source tree (D-109), not yet published: the drop-in moved to /usr/lib/systemd/system/getty@tty1.service.d/ and the recipe now fails the build if runtime/etc appears again; Core, Container Runner and the live ISO keep getty@tty1 with the plain kernel console (vconsole.conf already sets FONT=ter-v24b); kmscon and the autovt@ alias remain only in the desktop builds, which ship mesa. No verification of a rebuilt image is claimed yet.

Full four-variant ISO publication (2026-11-10/11)

Run 20261110T184719Z (ISO mode) built and published all four editions:

  • Core ISO 1 949 059 072 bytes, sha256 0ba43480…
  • GNOME ISO 5 234 802 688 bytes, sha256 93e61179…
  • KDE ISO 4 881 842 176 bytes, sha256 6578d02e…
  • Container Runner ISO 2 370 488 320 bytes, sha256 db007584…
  • image commits: Core 881f0efb…, GNOME 907478c2…, KDE e2d8a844…, Container Runner 73e46896…; common Core layer ba052874…; Container Runner purpose layer b67c8155….

Publication itself succeeded. The run was initially marked failed at the catalog verification because the new Container Runner current card was counted as a desktop variant mismatch; the driver now verifies desktop cards and the Container Runner card separately. Container Runner was published from the same run's archived build and all four current ISO URLs, sizes, checksums and OSTree signatures were independently verified. The run state was updated to complete with post-publication-recovery.json recording the previous error and the verification evidence.

The ISOs include kmscon/Terminus, kmscon tty1 provisioning for Core/Container Runner, the ttyS0 policy, the corrected 2 GiB ESP installer and --retain-rollback --retain-pending retention. Installation/boot of the new ISO layout is still a manual check.

Four-variant OSTree cycle with kmscon (2026-11-10)

Run 20261110T101702Z completed at 12:21:36 UTC in ostree mode and published all four editions from the same Core layer 677c88af…:

  • Core image 1a7c4d88f460d49b6a0b65fedf1e52f3db15b9d2e3f17fa0e3121fcd69bd3ca4
  • GNOME 8998bd12…, KDE fc7a9df1…
  • Container Runner ccf71bfb47812ce73ce45f046e4d11f5ea9333dd62017770c6115d07c314c53b with purpose layer b49c47c0…

This was the first cycle that built Container Runner as a regular fourth variant and the first with kmscon/Terminus and the ttyS0 policy. Verified from the published OSTree trees: kmscon, mod-psf.so, ter-v24b.psf.gz, /etc/kmscon/kmscon.conf, vconsole.conf with FONT=ter-v24b, the autovt@ → kmsconvt@ alias in all four images, getty@tty1 and firstboot@tty1 still enabled, archipelago-serial-off present, and no ttyS0 enablement. Both new image refs verify by commit pull with gpg-verify-summary. No ISO was produced (releases: []); the day-30 ISO will carry the same console changes.

Manual checks still required: VT switching from GDM/SDDM to kmscon, GPU handoff, real Terminus rendering and resume. None of that is claimed as passing.

Container Runner first build and publication (2026-11-09)

D-100/D-101 were accepted and the edition was built as a separate, non-pipeline task from the Core of run 20261109T212500Z:

  • build 20261109T222253Z; image 2a12b124e44de80b732ab3924aa3bdb899691aabb81ff0d407e06af5cb3e0dc7, Core layer 51bbe76eba5f9b435daaf4d67659d549d09bf9b3dfb8f0e9338ef5b90aeffcd2, purpose layer 6bfca36477e32e90df1e5468e342aa39344eaf41542d7cc2abe3af638809fd19;
  • ISO 2352359424 bytes, sha256 a91862999f3e349125a0243112fb41b76164645dc0ba978672008f08c64c6d2d, published under iso/container/20261109T222253Z/ and as an alias, with .sha256;
  • refs stable/container and purpose/server/container-runner created and signed; signature verified by a commit pull with gpg-verify-summary; ostree fsck clean;
  • existing stable/core|gnome|kde refs and the ISO catalog are unchanged.
  • run 20261109T212500Z then completed (23:58:58 UTC) and published Core 98fdb1a4…, GNOME af01b482…, KDE 5d236c7b… at the same Core layer 51bbe76e…. Its generation rotated without losing Container Runner: the ISO and v1/container-runner.json are present in the new current, and stable/container still serves the signed image 2a12b124….
  • the public portal lists Container Runner as a fourth current edition (v1/releases.json, 10 entries). Its artifact is /archipelago/iso/container/20261109T222253Z/archipelago-container.iso (also aliased as archipelago-container-runner.iso), size 2352359424, sha256 a9186…d2d. The desktop publisher re-adds this card from v1/container-runner-iso.json on every generation rotation; an OSTree-only Container Runner cycle updates refs without replacing the last install medium.

No acceptance scenarios were run for this edition (explicit D-100 decision). The scheduled driver now supports it as a fourth regular variant (container_variant): three-day cycles publish stable/container, day-30 cycles also publish the ISO. The desktop publisher preserves the Container Runner media/record when it rotates a generation. D-101 (ttyS0 units) is included in the 20261110T101702Z Core and was verified from the published tree.

D-098 Rust/manual testing, split cadence and storage compaction (2026-11-09)

The user replaced installed-VM acceptance in the normal cycle with cargo test --workspace plus the portal contract test, and delegated boot/firmware/GUI checks to manual verification. Publication is split: OSTree refs every three days (anchor 2026-11-09 00:00 UTC) and ISO media on calendar day 30, dispatched by a daily 00:00 UTC timer. Contract: rfc/spec/release-cadence-and-testing.md, decision D-098.

Implemented and checked before the first D-098 run:

  • driver pipeline/release-cycle.py rewritten without VM phases, --existing, --core-build or --vm-acceptance-waiver; new --mode ostree|iso|auto;
  • builder/adapters/build-iso.sh OSTree-only mode; defaults/os-release now reports VERSION_ID=Tesseract instead of 0.0.0;
  • pipeline/publish-hardware.py publishes OSTree-only cycles without touching the ISO catalog, keeps one current commit per ref, prunes intermediate refs, and keeps three ISO media per variant in iso-history.json;
  • pipeline/release-schedule.py, deploy/archipelago-release-schedule.service and the daily timer; tests/release-schedule.py passes locally;
  • tests/publish-hardware.py passes against real OSTree in the tools image, including the new OSTree-only publication block (OSTREE_ONLY_RELEASE_PASS);
  • tests/control_portal.py passes locally;
  • archive cleanup policy evidence-only-D-098; one-off compaction of worker archives/caches, old public generations and public history refs.

Storage compaction was executed on 2026-11-09 and measured: the ZFS data tree went from 418.8 GiB used to 46.2 GiB (340.6 GiB freed), the SSD worker from 578.7 GiB to 562.2 GiB (14.2 GiB freed), 243 paths were removed; the old public generation and the public history/* refs were pruned (6284 objects, 53 MiB). Package snapshots and the package cache were deliberately excluded.

The first complete D-098 run is 20261109T211258Z in ostree mode: frozen-source Rust tests and the portal contract test passed, the flatpak refresh and the Core/GNOME/KDE builds follow. The ISO-mode path is first scheduled for 2026-11-30. Broadcom hardware behaviour and GUI remain manual user checks. This paragraph does not claim publication until the run completes and HTTPS refs are verified.

SDDM update publication and stale portal cards (2026-11-07)

Run 20261107T101235Z completed automatically at 13:20:47 UTC, including all three installed-VM checks, publication and worker cleanup. Core/GNOME/KDE ISO aliases and versioned URLs serve the new artifacts; HTTPS HEAD sizes and checksum sidecars match the release records. Evidence: /opt/archipelago/evidence/sddm-20261107T101235Z/https-complete.json. KDE image is a747ff537a991ce20a1735506576e554e648bed09a2465c50fccc73fbc4eac80, ISO SHA256 b7ae2e329530fb5b26827952d5549ce0cd7358670ce6d19314d557faca863719. Physical-host Discover acceptance remains the user's step; KDE UI calibration and other documented release limitations are not removed by this result.

The user's apparent missing-publication report was reproduced: an open browser tab showed the completed new pipeline but old 20261107T055158Z release cards, because only pipeline status polled. Fix 66134b6 is pushed and deployed: cards now refresh the current v1 catalog every 30 seconds while visible and on return/focus, with bounded nonoverlapping requests. Version-pinned download URLs keep checksums and bytes paired during publication. Both existing catalog APIs and ISO aliases remain. Live browser verification simulated the prior catalog and a network error, confirmed the stale notice and retained pinned links, then restored all three current cards without reloading. Real catalog/aliases already held the new release, so no publisher replay or rebuild was needed.

Interactive Docs portal (2026-11-07)

Deployed 8fd9b2b to the active terra portal and candidate source copy after Git publication. /archipelago/docs/ provides the accepted-decision timeline, search, status/order filters, expandable entries, RFC registry and on-site Markdown reader with TOC, deep links and pinned source links. It shares the English dark/cyan theme. The committed index contains 93 decisions and 13 RFCs from RFC revision 37bd61619b932cf08c346cf62fe137c550f54625; undated entries remain separate. Regeneration/deployment instructions: portal/docs/README.md.

Live browser checks confirmed all 13 reader headings/TOCs, tables and fenced code, decision deep-link expansion, keyword search, empty-filter results, reset to 93, ascending order, 13 registry cards, TOC navigation and browser Back. DOM/computed layout inspection at a 387px embedded viewport showed a single reader column and 372px document width. Source links pin the RFC revision; no Cyrillic was found in the inspected reader. This verification did not include a pixel screenshot. HTTPS served the exact committed index bytes; both release APIs and the pipeline endpoint remained available with three ISO catalog entries. Evidence: /opt/archipelago/evidence/portal-docs-20261107/https-verification.json. At this check, run 20261107T101235Z was archiving artifacts; its publication was not yet confirmed. D-Bus implementation remains postponed by user request.

English hacker-style portal

The portal now uses a dark monospace layout, cyan/turquoise accents with Arch blue, an illustrative composition map, three release cards and English copy throughout. Pipeline stages, including KDE and publication/cleanup recovery, have English labels. API endpoint names, schemas, state tokens and artifact identities are preserved. pipeline-status.py exports an English public projection so the active older coordinator can continue without a restart or historical evidence rewrite. Deployment instructions: deploy/RELEASE-CYCLE.md.

Deployed 2026-11-07 to the active terra portal/driver tree and candidate copy. The status export path unit is active; only the portal web container was restarted to load its changed bind-mounted Caddyfile. The release coordinator continued. HTTPS verification confirms identical release catalog bytes and preserved pipeline keys/non-presentation values, with an English stage_title. Browser inspection confirms lang=en, three valid ISO links, no Cyrillic page/API text, the dark/cyan styles and no horizontal overflow at desktop and a narrow embedded viewport. Evidence/backups: /opt/archipelago/evidence/portal-english-20261107/. The release scheduling timer remains disabled. A pixel screenshot was unavailable because the browser tool reported its desktop tab was not visible; DOM/computed layout checks above were completed.

KDE publication — D-091

The user confirmed KDE Desktop hardware readiness and authorized publication on 2026-11-07. The existing checked 20261107T055158Z three-variant candidate set was published with release-authorization-d091.json, preserving the original D-087 publication evidence. Publisher checksum/evidence validation, OSTree fsck and commit/summary signing completed. HTTPS verification confirms KDE ISO HTTP 200 (4826472448 bytes), checksum ba22e239d2c7963fa71bd4ab16d0bdbe7f9d3c01e9af8b5987c0a672f227a78a, image a3b7d49ee0785a20522beb509ddaceeb226b97ca0b24227ef8399d77d36f5be1 at stable/kde, and Purpose layer fe5626856d54bbcb7f02d85f7bf4ccc8d4e6edee12fc2d2c449235188eaa3bb5 at purpose/desktop/kde. Core/GNOME identities are preserved. The next pipeline delivers the Plasma/Breeze SDDM theme default; Discover update acceptance is reserved for the user's hardware check after that update is published.

Portal pipeline status recovery

Run 20261107T055158Z published Core/GNOME and verified public downloads before failing to archive reused worker sources during cleanup (rsync exit 23). The archive-aware source fallback fixes that cause. cleanup-recovery.json records the subsequent verified cleanup; the original failure remains historical evidence. pipeline/reconcile-cleanup.py --base /opt/archipelago --run 20261107T055158Z reconciles only the latest published cleanup failure under the cycle lock, checks the recovery source hash and released artifact identities, preserves the original state in state-before-recovery.json, and writes complete with explicit manual recovery provenance. It relies on the operator's recorded cleanup evidence. The driver, systemd terminal hook and reconciliation share a status writer. The portal distinguishes post-publication failures from recovered completion. This does not rerun acceptance or establish an autonomous successful cycle.

Deployed to terra's active /opt/archipelago/src/infrastructure pipeline and portal and synchronized the changed files to pending-kde-src. Reconciliation completed at 2026-11-07T09:22:19Z. HTTPS browser verification returned state: complete, published: true, manual recovery provenance, two release cards, and the visible label “Образы опубликованы; очистка восстановлена, цикл завершён”. The CLI text status agrees. The daily timer remains disabled/inactive. The previous active pipeline/portal is archived under /opt/archipelago/evidence/portal-recovery-20261107/active-before.tar.

Latest scheduling instruction — D-090

GUI/CLI candidate 20261106T200047Z stopped before image builds/publication. The Rust CLI and GNOME plugin compiled; both Flatpak preparations succeeded, including the verified KDE export relayed from tall-bridge. The plugin regression executable failed to load private libgnomesoftware.so.23 (exit 127). The permanent build adapter now derives its test loader path from pkg-config library directories. Re-execution is pending; this is not a passed plugin lifecycle or GUI acceptance. Diagnostics are archived on terra under this run's failure-evidence directory.

Retry 20261106T201655Z stopped at relay capacity preflight: the successful first KDE cache fill left 6.4 GiB free, below the unconditional cold-fill 8 GB threshold. The relay now reports capacity and sizes warm-cache headroom as twice the current export plus 2 GB for tool staging; cold fills retain the 8 GB requirement. No cache or unrelated workload was removed. The GNOME loader-path fix remains awaiting execution because this retry stopped earlier; no images were published.

Retry 20261106T202251Z refreshed both Flatpak caches and ran the GNOME plugin checks past download/apply/error assertions. Teardown then aborted in upstream gs_plugin_dispose: the fixture omitted the required asynchronous plugin shutdown, leaving an updates-changed source. The fixture now completes shutdown before releasing the plugin. The loader-path fix is confirmed; the complete regression check and subsequent image stages still require a successful run.

Retry 20261106T203254Z passed the complete GNOME plugin check (PLUGIN_DIFF_DOWNLOAD_APPLY_ERROR_STATES_PASS) and refreshed both caches. Discover compilation then rejected implicit ASCII-to-QString conversions under KDE's normal compiler definitions. The backend now uses explicit Qt string literals. Relay capacity review also found three retained exports occupying its remaining space; pre-refresh retention now removes older exports only when needed, under the cache lock, preserving current and one previous export before creating the next. The installation cache is preserved. Discover compilation and image acceptance remain pending; no new publication occurred.

Cycle 20261106T204739Z compiled Discover successfully and built Core/GNOME, but KDE failed with target not found: plasma-setup. No VM acceptance or publication followed. The permanent path now builds checksum-pinned upstream Plasma Setup 6.8.2 as a pacman package and includes it in Core's signed local repository before snapshot capture; KDE consumes that same universe. This requires a fresh Core, not mutation/reuse of the previous snapshot. The package build and native onboarding remain unverified. Detailed CLI build logs identify the original package error.

Cycle 20261106T221632Z built all three images and reached installed KDE native onboarding. Manual QMP calibration completed Plasma Setup account creation; authenticated SSH and sudo worked. Acceptance then failed because the Discover plugin copied from its build directory still referenced build-tree libraries: libDiscoverCommon.so => not found. The target now uses its install RPATH during build too (/usr/lib/plasma-discover, confirmed in the Arch package). QMP input now allows focus delivery and slower keystrokes; a candidate replay action profile is retained. Full replay, primary-session checks and publication remain pending.

Cycle 20261107T011209Z passed Discover loader validation with the installed /usr/lib/plasma-discover/libDiscoverCommon.so. It stopped while downloading the unchanged Plasma Setup source (curl timeout), before image builds. The adapter now keeps both pinned KDE source archives in the worker desktop-sources cache, verifies their SHA256 on every use, and bounds/retries new downloads. Existing archived source bytes may seed this cache only after the same checksum verification.

Cycle 20261107T013836Z built Core/GNOME but KDE installation selected a cached same-version Plasma Setup archive signed by a previous run (missing key 8F6104CACEA97879). Purpose now mirrors Core's cache priority: the exact private archives/signatures inherited from its Core precede the shared upstream cache. No key lookup bypass or relaxed signature policy is introduced. Re-execution and KDE replay acceptance remain pending; no release was published.

Cycle 20261107T030105Z built all images and replayed native KDE account creation. SSH/sudo and Discover loader checks passed, but the provisioning-marker wait timed out (exit 124). Primary graphical session/observer diagnosis is still required. The acceptance adapter now captures a failure screenshot and session/onboarding logs, and allows explicit manual calibration after replayed onboarding actions. Repeat acceptance uses the archived image bytes; it must not be reported as a fresh autonomous build or a passed KDE gate until the actual checks complete.

Reacceptance 20261107T055158Z confirmed the missing action: after Plasma Setup, SDDM waits for the new user's password. Manual GUI login allowed the onboarding observer to finish; package integrity and required services passed, and the nano Host Extension transaction started. The action profile now includes SDDM password entry after the setup handoff. This run remains manual-calibration evidence; full replay and final publication are not yet confirmed.

GUI/CLI release published — 20261107T055158Z

HTTPS catalog confirms Core/GNOME in stable after all three installed-VM checks passed. KDE remains a private candidate; its successful native/extension/Flatpak acceptance is explicitly manual-calibration, not autonomous replay evidence.

  • Core image: 05f05016b11fdec69c3d5323cadd1d6ddcc2ddce4390d6d18524124953034f19
  • GNOME image: 037440dd8a6211b530d6602f1a65db561182348ca63afa034b68f628fdc8b75b
  • Core layer: 38c3f7628bc14c1cb0c6efa84519fcb394b9e507f4228858e1abb508d8e0a651
  • GNOME Purpose: 360445748237d6519367b51c874b68b63ca03565d1c3e7b8047958eb3d0428be
  • Core ISO SHA256: 5d4a08007c291abbad8461272b987e0a7280321044e9e1ba7445857401a5f2ad
  • GNOME ISO SHA256: effbe6db9f98c2ad044ad8e4f4e3b0c41cb7e1a3c12df15abfad6c1460bf5f63

The coordinator exited nonzero after publication/HTTPS checks, in worker cleanup: the restored build-only input lacked its original worker source.tar. The source archive is retained on terra; the permanent driver now copies from the explicitly selected archive in this case. Original failure evidence is preserved. Daily timer remains disabled. Physical-host graphical OS-update acceptance, complete autonomous KDE replay and full reproducibility are still separate outstanding evidence.

Post-publication cleanup recovered on 2026-11-07: original source archives copied from retained terra evidence, reused Core/GNOME worker builds removed only after matching their published ISO SHA256. Record: this run's cleanup-recovery.json; the original failed state remains intact. HTTPS stable refs, checksum sidecars and ISO content lengths were independently reconfirmed for both published variants.

The daily timer on terra has now been disabled and stopped: inactive, disabled, no next elapsed time. Manual cycles remain available. The accepted replacement is the 15th/30th at 00:00 UTC, snapshot-first, with terra infrastructure migrated to tank and at most three ZFS repository snapshots. Execute that transition after the current GUI/CLI/image task; see deploy/SNAPSHOT-ROLLOUT.md. The timer state recorded for the successful cycle below is historical, not its current state.

Completed autonomous cycle — 20261106T164657Z

The normal Core/GNOME driver completed successfully at 18:27:44 UTC on 2026-11-06, without a per-run resume script. Its source/CLI and GNOME Software compilation, refreshed Flatpak export, Core build, Core-reusing GNOME build, both installed-VM acceptance paths, transfer, signing and publication completed. The systemd service returned success; the HTTPS catalog identifies both current variants as 20261106T164657Z on stable under D-087. The timer is active with the next scheduled invocation at 2026-11-07 00:00 UTC.

  • Core image: 40615a872432e91453b085c0c42f0b4e6e3914fca447d23531467b007c15b2e8.
  • GNOME image: 013b5eeaea24e0bfc749b4b7de5667a3a293e24c7f937bbbc4ff6b8d0eaaa650.
  • Shared Core layer: 59a41da138f053f66090de2a6f7484d8fc310a990a1403529987c7d2adf52cac.
  • GNOME Purpose: 8c1afd577f5012e57b71b44daf63f7d19126903393fc7122af5228c7afac0e6e.
  • Core ISO SHA256: 4aa1472e92a7542d17ebacfc95f67a35874b51472e0267bef97ca57e5d8ca6c2.
  • GNOME ISO SHA256: f6d112052148afe3558031073e2843d6314a9550ab9a38c5cd1219f11e0735d9.

Evidence: /opt/archipelago/data/private/release-cycle/20261106T164657Z/ on terra. The user's physical-host update remains manual and was not performed here. This demonstrates one complete normal cycle, not full reproducibility or the remaining general Managed Overlay/GUI update release gates.

KDE source implementation and first-image calibration are tracked in pipeline/KDE.md. They are separate from this completed two-variant release.

Verified on terra

  • Public portal and native empty OSTree archive repositories: layers, images. Public config and summary return HTTP 200. Private stores are separate and are not mounted by the web container.
  • Storage CLI registry init/verify: idempotence, busy lock, incompatible mode, symlink/nonempty target rejection, actual loopback HTTP OSTree pull and corruption rejection. Evidence: /opt/archipelago/evidence/storage-acceptance.log.
  • Rust Layer parser: strict scalar/key tests; agreement on 28 structural/semantic validation cases with the 35-case reference suite; three registry YAML files. Evidence: /opt/archipelago/evidence/layer-conformance.log. Further source/adapter, package resolution, ownership and composition checks remain necessary.
  • Combined storage/Layer/disabled-capture/daily-driver checks passed using the image below; /opt/archipelago/evidence/infrastructure-acceptance.log also records snapshot-cap rejection, overlap handling and preservation of the previous candidate.
  • Storage tools image: sha256:a7f09cdadffecf35297700c8f3513479c92d9a6a14cb6c0f95c71fdfb058a814. Based on pinned Rust 1.90/bookworm; Debian tool installation is not claimed to be reproducible. Container image ID is pinned for execution. This is not target Arch OSTree/toolchain selection.
  • Source registry core commit 4a9eed2 explicitly requires linux-firmware. Builder and acceptance harness now request/check it in both target and live roots.

In progress

Historical operational checkpoint — 2026-11-05

Signed rollout 20261105T164634Z supersedes the initial pair described below. Core clean installation and GNOME update-with-nano/Wayland/rollback passed; the GNOME check used an existing installation. Both signed repositories and ISOs are published. /v1/releases.json, variant catalogs and exact-version endpoints were verified over HTTPS, including current/previous ISO HEAD sizes and checksum files. The API retains up to three ISO builds per variant; the portal shows only current.

Infrastructure CLI is deployed on terra. Real systemd lifecycle tests on yabloko passed successful/failed request persistence, exit codes, timestamps, logs, status and empty-reason rejection. Evidence archived on terra at /opt/archipelago/evidence/control-lifecycle-20261105/. The new clean-GNOME acceptance path is under validation; scheduled execution remains disabled. See deploy/OPERATIONS.md.

The latest configurable updater passed signed local-repository discovery/plan in the guest under unshare --net; full disconnected build/install is not established. These newer bindings are not included in the published 20261105T164634Z ISOs.

Earlier publication evidence

The earlier Core firmware retry passed on terra. Current hardware-test Core candidate 20261105T155059Z built on yabloko; fresh VM acceptance passed in 9m33s without swap, including firmware and the Host Extensions sequence. GNOME 20261105T131221Z passed clean packaged overlay/rollback, nano activation, failed-extension state preservation, GDM/Wayland login and Calculator interaction. Its evidence remains under /opt/archipelago/data/private/gnome/ on terra.

The user temporarily moved build/validation execution to yabloko. Direct transfer of the pinned tools image and bootstrap passed identity checks, and an offline locked CLI release build passed there. Repositories/publication stay on terra.

The hardware-test publisher passed real OSTree tests for four publications, three-version GC, latest-only ISO retention, corrupt-input rejection and preservation of the previous publication after an injected summary-generation failure. Its updated Caddy configuration validated on terra. Both hardware-test candidates are now published. HTTPS checks from yabloko through mirror.nw-sys.ru returned 200 for both ISOs; checksum files matched the catalog, and public layer/image refs matched the accepted commits. This is endpoint/identity verification, not a full installed-host network update test.

  • Core ISO: 4ebeb2a4020e0c25d6ee747ff5c3522dee0ce5587c2b202f1e41b579cb171416; image 3684d8feead9b995ae572936546f66696bffdab22bbdad9d6e682c8953b04a31.
  • GNOME ISO: dba0a263bc5f7d82ae4d017f64f103289d48508c2f12d38561cc355252fb3610; image 542f6482a38eb99a19104a50bbde6c5422d0e6313f3f12c52c0aa22f70c1519d.

Public refs: hardware-test/core and hardware-test/gnome, in both repositories. One current ISO per variant; publisher retains at most three layer/image versions per variant. First publication contains one version of each. See deploy/HARDWARE-TEST.md. The cron file is not installed.

Driver uses the existing monolithic CLI/nspawn backend, records source and artifact identities and runs the VM harness. It does not implement independent Layer v1 build/composition or authenticated installed-host registry updates yet.

Deferred

  • Snapshot creation/bulk copying disabled by D-073. Empty tank/archipelago and tank/archipelago/mirror-capture datasets exist; no mirror data or snapshots were created. Future monthly limit is three; retirement requires reference checks.
  • General signed release/channel schemas, key rotation/revocation, reproducibility evidence, testing/stable release gates and GUI/PackageKit integration remain pending. Temporary hardware-test OpenPGP custody and commit/summary signing are implemented.
  • 195.46.165.145 is terra's second physical uplink, confirmed by the user. Its unavailability is expected; routing configuration is shared and needs no change.