infrastructure/STATUS.md

25 KiB

Infrastructure implementation status

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

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.

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 not in this Core because the cycle had already frozen its source; it ships with the next cycle.

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.