# Release cycle operations **D-098 (2026-11-09) supersedes the operating procedure in the historical sections below.** The normal cycle no longer performs installed-VM acceptance; it runs `cargo test --workspace` and the portal contract test on the frozen source tree, records that evidence, and delegates boot/firmware/GUI verification to explicit user manual checks. `--vm-acceptance-waiver`, `--existing` and `--core-build` were removed from the driver. Publication is split: OSTree refs every three days (anchored 2026-11-09 00:00 UTC) and ISO media on calendar day 30, dispatched by `deploy/archipelago-release-schedule.service` from a daily 00:00 UTC timer. Public OSTree keeps only the current commit of each ref; three ISO media per variant are retained and each embeds its own repository. The cycle builds four regular variants when `container_variant` is set: Core, GNOME, KDE and Container Runner; the latter uses `--purpose container-runner`, its own ISO name and `publish-container-runner.py`, and its media/record are carried across desktop generation rotations. Contract: `rfc/spec/release-cadence-and-testing.md`. 2026-11-09: the user removed the redundant full `ostree fsck` from the publisher after import/prune. The driver's archive fsck remains, as do signatures and public endpoint/identity checks. Already running publisher processes retain their loaded code; changing the source does not skip an in-progress scan. ## One-run VM waiver (2026-11-09) The user explicitly authorized publishing the already built D-Bus images from 20261109T090622Z without repeating VM acceptance, for manual hardware testing. The driver accepts `--vm-acceptance-waiver FILE` only with `--existing --archive`. The JSON records `authorized_by: user`, a reason, and `iso_sha256` for every variant. Preparation verifies those hashes and records `vm_acceptance: waived-by-user`; it does not fabricate passed VM summaries. Archive identity, OSTree fsck, signing and HTTPS publication checks remain mandatory. This option is not set in the scheduled service configuration; any temporary invocation override must be removed. ## Terra-only execution (2026-11-08) The user requested moving all builds, Flatpak preparation and VM acceptance to terra. The coordinator's worker is now `root@127.0.0.1` (terra itself), with sources, caches and work under `/opt/archipelago/worker` on SSD (the user's subsequent storage correction replaces the initial ZFS worker placement). Repository, ISO and run archives live at `/tank/archipelago/data`; the compatible `/opt/archipelago/data` path is a symlink there. The web container must be restarted after switching that path so its read-only bind mount sees the new location. Signing retains its existing coordinator path. The tall-bridge Flatpak relay is disabled. Existing yabloko inputs/evidence are preserved during migration. Each normal worker action has a four-hour RuntimeMaxSec; its SSH waiter allows one additional minute for shutdown/reporting. The coordinator has no aggregate 11-hour deadline, so several four-hour actions can complete sequentially. Transport/cleanup timeouts remain short. The timer is configured for the D-090 calendar: the 15th and 30th at 00:00 UTC, persistent catch-up enabled. The user explicitly authorized enabling it now; snapshot rollout remains a separate task. Timer enablement and the first terra-only run must be verified operationally. The normal driver copies `repo`, `output` and `evidence` to the coordinator archive before publication, verifies OSTree and public identities, then removes the owned worker run tree. On failure it archives diagnostics/artifacts before removing the worker tree; if archival fails, it retains the worker inputs. Persistent package, Cargo and Flatpak caches survive. With the data symlink, these archives are on ZFS and temporary build/ISO copies are removed from SSD by the same normal lifecycle. Run `20261108T074340Z` built Core/GNOME but KDE ISO packaging exhausted worker space (image 2455054 sectors, available 2445624). The previous 35 GB configured reserve was insufficient for the three-variant peak. Configuration and default reserve now require 60 GB. The temporary 19 GB `retained-dbus-024309` diagnostic input tree must be archived on terra before removing its worker copy. This is workspace recovery, not a passing release; VM catalog verification remains pending. ## D-Bus source integration in progress The updated source compile stage builds both Rust entrypoints and runs the contract/system crate checks in the same normal release cycle, archiving `service-contract-checks.log`. Both native adapter builds generate their bus proxies from `contracts/dbus/org.archipelago.System1.xml` and record its checksum. This wiring is source preparation, not service rollout: the image builder does not yet install the read-only daemon slice or switch native GUI calls. See `system/SERVICE.md` in the workspace for the implementation boundary. No extra standalone VM/test cycle is required for this preparatory change. Deploy these driver/adapter changes only with the matching contracts/system/CLI source revisions on the worker. The active release driver has not been switched to the D-Bus source slice during development. ## English public status and portal (2026-11-07) ### Live release-card refresh correction Run `20261107T101235Z` published automatically and completed at 13:20:47 UTC. An already-open portal tab still showed `20261107T055158Z`: pipeline status polled, but the release cards fetched only once. This was reproduced against the live browser DOM while both catalogs and all six versioned/current ISO URLs already served the new release. Publication itself did not require replay. Cards now read current entries from the existing `v1/releases.json`, refresh every 30 seconds while visible and immediately on return/focus. Each button uses the versioned URL paired with its checksum from the same catalog response. Failed refresh retains that exact pair and displays a stale notice; requests are bounded and cannot overlap. Existing catalog schemas and permanent ISO aliases remain. The portal uses an English-only dark terminal design. Public URLs and JSON field names/state tokens remain unchanged. `/archipelago/pipeline.json` now serves `data/public/pipeline-public.json`, an English projection of private `latest.json`. `pipeline/pipeline-status.py` translates presentation fields, preserving identities, timestamps, releases and original private run evidence. New drivers also emit English private/text status. A running older driver can finish unchanged: a systemd path unit exports its status transitions without rewriting its evidence or restarting it. Deploy `archipelago-pipeline-status.{path,service}` to `/etc/systemd/system/`, run `systemctl daemon-reload`, enable/start the path unit and run the service once to seed the public file **before** loading the updated Caddyfile. The path watcher is not a release schedule; the release-cycle timer remains disabled under D-090. The new driver's normal writer also invokes the exporter, so standalone driver use does not rely solely on the watcher. Keep `pipeline.json` on disk for legacy internal consumers; the HTTPS endpoint is the normalized projection. The page polls the existing `v1/releases.json` catalog and `pipeline.json` every 30 seconds while visible. Download links remain same-origin `/archipelago/iso/` URLs and checksums come directly from the catalog. ## D-088 restart The user cancelled run `20261106T152122Z` during Core build to include the new repository Host Extension support contract and hide Software Token launchers. Its Flatpak refresh and CLI/Software adapter compilations had completed; preserve the updated persistent Flatpak cache. The replacement cycle compiles the CLI from the newly frozen source tree as usual, and publishes only after both VM checks. Cancelled build artifacts are removed while diagnostics and source are retained. Source commits must be pushed before starting the replacement cycle. ## Update exercise run 20261106T152122Z Started manually with signed-commit timestamp downgrade protection in CLI plan/apply, explicit removed-package labels in Software, interrupted-operation reconciliation, and GNOME `plymouth.ignore-serial-consoles` boot arguments. Plymouth hook, spinner theme and `splash` were already present in the installed image; its initramfs actually started Plymouth. Serial-console routing is the suspected display issue, not a missing mkinitcpio hook. Finalization now checks Plymouth daemon/theme files inside the generated initramfs; visible splash remains a manual hardware check. Before Core/GNOME builds the coordinator compiles the Software adapter from frozen sources using `build-software-adapter.sh`, in a disposable worker nspawn environment. It overrides the legacy external plugin input with that run's compiled module and archives its checksums/package inventory. This avoids silently shipping stale C adapter code when only the Rust CLI is rebuilt. The user host's old plans and orphaned operation were archived under `/var/lib/archipelago/updates/diagnostics/20261106T152303Z`. Its existing deployment was retained; the boot entry gained `plymouth.ignore-serial-consoles` with the old entry backed up there, so the first update using the old CLI can inherit the fix. The current installed ISO pair is being aligned to stable through signed publisher authorization D-087; no new image is manufactured by that alignment. The following pipeline publication will supply the actual new image for manual update acceptance. ## Current channel: stable (D-087, 2026-11-06) The latest explicit user instruction changes the daily publication destination to `stable/core` and `stable/gnome`, matching the update profiles already shipped in installed ISOs. The coordinator records D-087 authorization with exact candidate identities for each publication using the publisher's existing exception interface. Signing, VM checks and publication integrity checks remain mandatory. Outstanding admission evidence remains recorded. D-079 is not reused. Historical hardware-test statements and the mismatch analysis below describe the preceding configuration. The change takes effect on the next successful publication; it does not republish the existing release or execute a build/update test. User-managed `/etc` overrides continue to take precedence over the vendor update profile. ## Cleanup and update-continuity review (2026-11-06) Private artifact retention now runs under the cycle lock before work and after success: retain three completed runs and the latest failed run's bulky artifacts. Older terminal runs lose explicitly listed build payload/output/scratch directories, including copies under `failure-evidence`; source archives, logs and evidence stay. Unknown directories and nonterminal runs are not automatically deleted. This bounds bulky terminal artifacts, not the total lifetime size of diagnostic/source archives. Public retention remains three versions per variant. Before Flatpak preparation, check worker free space; before artifact transfer, require `minimum_coordinator_free_bytes` (default 50,000,000,000 bytes) on terra. After successful publication, coordinator-owned reused build directories can be removed: preserve original source archives, acquire build locks, verify ISO SHA256 against the published results, then delete only those build directories. External `--existing` paths are not automatically removed. Manual cleanup on 2026-11-06 removed both reused worker builds from `20261106T114048Z` and 20 obsolete private artifact directories on terra. The original source archive was saved in completed run `20261106T131152Z`, which also contains `manual-cleanup.json`. Available space changed approximately from 48 to 77 GiB on yabloko and 185 to 207 GiB on terra. Published objects were not removed. No tests or builds were run for this change, as explicitly requested; the cleanup helpers were executed for the authorized real cleanup. ### Required principle: installed ISO must update to the fresh build The user explicitly requires continuity from the currently installed ISO to the next build, to be checked manually. **The current pipeline does not yet satisfy this principle out of the box.** Static code and immutable image inspection show: - Both current image commits contain `/usr/lib/archipelago/update.json` selecting `stable/core` and `stable/gnome` (`builder/defaults/update.json`). - The daily publisher advances `hardware-test/core` and `hardware-test/gnome`; it deliberately preserves production refs (`pipeline/publish-hardware.py`). - Actual stable refs still identify the 20261105 images; current hardware-test refs identify the 20261106 images. Consequently update planning from the newest ISO can select the older stable image, not the next daily build. - `system/src/updates.rs` chooses the profile in `/etc` before the vendor profile, verifies summary and commit signatures, pins the target in a plan, checks the deployment state and Purpose, and stages it without automatic reboot. It checks target equality, but does not impose a monotonic version/age constraint. - Host Extensions are reapplied; custom Managed Overlay updates explicitly fail without changing the current deployment. Universal updateability for arbitrary custom compositions is therefore not implemented. - The coordinator tests fresh ISO installations; it does not require an update from the previously installed release. Passing this acceptance is not evidence of update continuity. Flatpaks in `/var` are independently updated; the ISO seed is not an OS-update delivery mechanism for already installed applications. Resolution requires an explicit consistent channel choice: for experimental daily images, configure future images and the existing installation to follow hardware-test; alternatively qualify and publish the intended stable releases through their gates. Do not silently repoint stable refs to experimental commits. Changing the next ISO's vendor defaults alone cannot change the already installed ISO's update profile. The manual acceptance should record source/target commits, retained user data, staged deployment, explicit reboot, resulting booted commit and rollback usability. No update tests or host update transactions were executed in this review. ## Current operation: yabloko builds, terra publishes (2026-11-06) The latest user instruction replaces the tall-bridge worker/downloader proposal: **Core, GNOME, Flatpak downloads/updates and VM acceptance all run on yabloko**. Terra coordinates the daily trigger, stores results, signs and publishes. The current worker configuration has no tall-bridge or jump-host dependency. The source tree at `/opt/archipelago/revision/src` must include all Rust modules, Purpose assets, probes, infrastructure scripts **and `rfc/schemas`**: the Rust contracts crate embeds the layer schema. Preflight checks that schema before compilation; the driver creates its Cargo target/cache mount directories. Human entry point on terra (manual and timer use the same driver): ```sh archipelago-release run # start the whole cycle archipelago-release status # short stage/result, worker and log location archipelago-release logs # recent coordinator journal archipelago-release follow # follow the journal ``` Normal sequence: prepare source/CLI → refresh Flatpak cache → build Core → build GNOME using that Core → Core VM → GNOME VM → transfer to terra, check integrity, sign and publish → check HTTPS and clean disposable build files. Validation now precedes artifact transfer. Errors stop progression and remain visible in status. Flatpak cache: `yabloko:/opt/archipelago/cache/flatpak`. `installation/` retains the downloaded repository; `current` selects the last verified ISO seed. Each build attempts an update for up to 30 minutes. A failed attempt may use the previous export only if its checksums and requested application policy still match; status explicitly reports fallback. Without a valid matching seed the build fails. Switch exports only after successful preparation and validation. Retain up to three exports, the persistent installation cache and per-attempt logs. This is the current private adapter policy, not a new stable schema. The initial seed was recovered from an archived GNOME ISO and verified against its `SHA256SUMS`. A standalone copy is now on terra at `/opt/archipelago/data/private/flatpak-cache/from-iso-20261106` and on yabloko under `/opt/archipelago/cache/flatpak/exports/from-iso-20261106`. User execution request, 2026-11-06: publish the newly built layers and ISOs on terra and run the complete cycle daily without operator/LLM orchestration. ## Entry points Coordinator SSH to `tall-bridge` connects directly over the tailnet (user request reverting the jump-host trial, 2026-11-06). Install `worker-ssh.terra.conf` as `/root/.ssh/config.d/archipelago-worker.conf` and include it from `/root/.ssh/config` before matching defaults. Retain host-key verification. A 32 MiB transfer trial measured 1.77 MiB/s directly versus 1.23 MiB/s through `msk-west-gates`; this is a short sample, not a general network benchmark. `ProxyJump none` restores direct connections while retaining the worker's explicit tailnet IP. This route also applies to rsync and already-running coordinators' future SSH connections. Existing connections and local integrity checks are unaffected. - Coordinator: `pipeline/release-cycle.py`, `/etc/archipelago/release-cycle.json`. - Scheduled unit: `archipelago-release-cycle.service`, timer at **00:00 UTC** (**03:00 MSK**), persistent across downtime. systemd prevents overlapping starts of the unit; the coordinator also holds an exclusive cycle lock. - Run manually: `systemctl start archipelago-release-cycle.service`. - To rebuild Purpose using a retained completed Core, the same driver accepts `--core-build /absolute/worker/core/build`. It records that input path, preserves it during cleanup, and repeats both installed VM checks before publication. - For already-built pairs, `--existing INPUTS.json --archive /absolute/coordinator/run` reuses the archived trees only after matching both ISO hashes and image/layer ref-file hashes against the worker. Both repositories still undergo fsck, and both VM checks run anew. This avoids retransferring the same accepted bytes merely to retry validation. Already archived build trees are excluded from subsequent failure-evidence transfer; new logs and validation evidence remain. With `--core-build`, the same archive can seed the new GNOME transfer: a private copy receives checksum-based rsync deltas, including removal of stale refs, before fsck and new VM checks. The previous archive is never mutated. - Inspect: `systemctl list-timers archipelago-release-cycle.timer`, `journalctl -u archipelago-release-cycle.service`. - Public state: `/archipelago/pipeline.json`. Private per-run states and frozen scripts/configuration: `/opt/archipelago/data/private/release-cycle/`. ## Ordered stages 1. Check worker SSH/KVM/tools and free space. Freeze source/probes, compile the CLI from that tree with pinned tools/offline Cargo, record input checksums. 2. Build Core once, then build GNOME Purpose from that exact Core layer and pinned package universe. xTom is build-only transport; payload/live use nw-sys. 3. Release disposable build scratch before VM installation. Keep artifacts locally. 4. Install Core in a fresh UEFI VM, provision/login, verify services, firmware, immutable `/usr`, and transactional Host Extensions including failed requests. The production CLI has no lab-only test-marker command: this check explicitly records that fixture as not applicable, not a passed Managed Overlay gate. 5. Install GNOME in a fresh VM, exercise native onboarding, Wayland session, services, nano extension activation and the presence of all configured installation-media Flatpaks and their runtimes. Only one test VM runs at once. 6. Transfer accepted artifacts/source/evidence to terra and verify OSTree integrity. Bind results to exact ISO checksums and image/Core/Purpose commits. Verify the immutable provenance links. Sign commits and summaries on terra, atomically switch the catalog/repositories/ISO generation, retain three catalog versions. 7. Verify public catalog identities, download sizes and checksums over HTTPS. Persist the terminal result and clean this run's disposable worker directories. Every worker stage is a bounded systemd job. Failures retain diagnostics and do not advance publication. The systemd stop hook also records coordinator kills or timeouts that bypass Python exception handling. No screenshot is accepted by an LLM: UI drift or timeout is a failed test. Worker unit identities are recorded before launch. The next coordinator, after acquiring the exclusive lock, stops recorded jobs from an interrupted/failed run before starting work. It preserves the original failure reason. The cycle reports `complete` only after public verification and successful worker cleanup; a cleanup failure remains visible with `published: true` if publication already happened. ## Publication scope This driver currently publishes **hardware-test**, not testing/stable. Existing production refs are preserved. D-079 remains scoped to its exact older pair; the daily driver never passes that exception to the publisher. Full reproducibility, general Managed Overlay release acceptance and native GUI OS-update acceptance remain outstanding. Installation/extension/Flatpak evidence must not be presented as proof of these separate contracts. Existing ISO update defaults may still select stable; channel migration is not silently performed by publishing an ISO. The layer repository exposes the reused Core, `purpose/desktop/gnome`, and versioned `history/purpose/gnome/VERSION` refs. API records include `purpose_layer_commit` alongside the existing Core `layer_commit` field. ## Current integration record The first layered ISO completed, but installed-Core acceptance found the alpm external downloader could not write its cache. The adapter now uses an alpm-owned archive subdirectory while retaining root ownership of plans/provenance. Those older bytes are private diagnostic artifacts, not accepted publication candidates. A new full cycle is required and is recorded by its actual `state.json`; enabling the timer or passing unit tests alone is not successful-cycle evidence. Cycle `20261105T233849Z` passed installed Core and Host Extensions, then rejected GNOME on package integrity: its integration assets overwrote two Core package files. The source now supplies distinct GNOME configs and checks package integrity before image capture. Both repositories passed fsck and archived ISO checksums matched; this rejected pair remains private. Artifact transfer now streams tar over SSH to avoid per-object rsync overhead, followed by the same OSTree fsck. Cycle `20261106T025728Z` failed during Core construction: the new identity-selection branch referenced the outer `profile` variable inside the container. It now uses the container's `ARCHIPELAGO_BUILD_PROFILE`. The syntax test alone did not detect the unbound runtime variable. The incident also exposed an operator-monitoring mistake: following only new journal messages can miss an already-recorded failure. For a launched cycle, wait on `systemctl start --wait` and inspect its exit status and durable run state; a quiet journal is not evidence of a running build. Cycle `20261106T055438Z` completed Core, then failed the new staging self-check. Runtime pacman configuration attempted keyring/download-user initialization; force-copy checkout also supplied current timestamps instead of deployment epoch. The staging-only adapter now uses local-DB configuration and epoch timestamps, then restores runtime configuration. The actual failed staging passed all 41 package files and permissions after this correction. A new Purpose build reuses that completed Core; no installed-VM acceptance is inferred from staging success. Failure archival also streams tar rather than rsync after rsync exceeded its 30-minute bound on the many small OSTree objects; failed archival preserves worker inputs instead of deleting them. Cycle `20261106T070106Z` built GNOME successfully and archived both variants; Core and GNOME repositories passed fsck. The Core VM installed successfully but the probe timed out awaiting live shutdown at 90 seconds. Shutdown had begun; completion was not observed. The probe now allows 180 seconds, covering systemd's normal 90-second service-stop grace plus shutdown work, and still requires actual QEMU exit. This is not a passed shutdown check until the repeated VM run completes. Cycle `20261106T102335Z` passed the complete production-Core probe, including shutdown, installation, login and Host Extensions. GNOME installation/onboarding, login and self-check passed, then nano composition failed on the upstream PackageKit ALPM hook's D-Bus notification. That hook must not run in this profile's extension staging: PackageKit is masked and OS updates use the Archipelago adapter. The Purpose now supplies the explicit pacman hook mask. The failed ISO is archived and cannot be published; corrected Purpose and VM acceptance follow.