# Infrastructure operations — incremental implementation **2026-11-06 execution update:** the user explicitly requested daily execution and publication. The current cycle driver and its exact acceptance scope are documented in [RELEASE-CYCLE.md](RELEASE-CYCLE.md). The disabled-schedule statements below describe the preceding rollout adapter, not the new systemd daily cycle. Stable admission remains separate from hardware-test cycle operation. The full operating contract is conditional on approval of the current release cycle. Present management/API commands are implemented independently of that final acceptance. Automatic execution must never require an LLM or interactive approval. Unrecognized validator state/timeouts fail closed with durable evidence. ## Coordinator commands Install the unified binary and `/etc/archipelago/infrastructure.json`; the supplied `infrastructure.terra.json` is this deployment's profile, not a portable default. `ARCHIPELAGO_INFRA_CONFIG` selects another explicit control configuration. ```sh sudo archipelago pipeline status sudo archipelago pipeline run --reason 'Security: CVE-YYYY-NNNN in PACKAGE' sudo archipelago pipeline logs REQUEST_ID sudo archipelago release plan /PRIVATE/candidates.json --reason 'Review tested pair' sudo archipelago release publish /PRIVATE/candidates.json --reason 'Publish tested pair' ``` `run` and `publish` start the configured systemd job and return its request ID. Requests, reason, log path, terminal exit status and times are persisted under `control_root`. `plan` verifies candidate identities/evidence without publication. Publication updates catalogs/refs from candidate records; neither portal edits nor an LLM are involved. Invalid checks stop publication. `pipeline run` currently uses the existing rollout adapter: generic DAG retry/cancel/resume is not implemented. The rollout adapter now prepares fresh GNOME VMs for candidate installation and for baseline-to-candidate update/rollback. The baseline ISO is selected from the accepted catalog and checksum-verified before use. This new path is undergoing end-to-end validation; clean-room autonomy is not yet claimed. There is no enabled cron schedule yet. ## Download API All endpoints are ordinary versioned JSON GET resources, generated atomically with publication and served by the static web service: - `GET /archipelago/v1/releases.json`: all retained ISO builds. - `GET /archipelago/v1/releases/core.json`: retained Core builds, newest first. - `GET /archipelago/v1/releases/gnome.json`: retained GNOME builds, newest first. - `GET /archipelago/v1/releases/VARIANT/VERSION.json`: exact build metadata. Envelope: `apiVersion: archipelago.releases/v1`; records contain variant, version, architecture, channel, `current`, SHA-256, byte size, image/layer commits, versioned download URL and checksum URL. Missing/retired resources return HTTP 404. Three successful ISO builds per variant are retained provisionally. Portal cards continue to show only current versions via the compatibility `releases.json` catalog. Downloads use `/archipelago/iso/VARIANT/VERSION/archipelago-VARIANT.iso`. Latest aliases remain available; clients should use versioned URLs plus SHA-256. ## Deployment bindings and air-gap - Updater: `/etc/archipelago/update.json` overrides the packaged `/usr/lib/archipelago/update.json`. Configure `version: 1`, `url`, `refs` keyed by `core`/`gnome`, and absolute `public_key_file`. HTTP(S) and local `file:///` repos are accepted; both commit and summary verification remain mandatory. No fallback to the distribution URL/key. Changing bindings invalidates existing plans. - ISO builder: `ARCHIPELAGO_UPDATE_PROFILE` and `ARCHIPELAGO_UPDATE_PUBLIC_KEY` supply the image's update defaults. The profile's key path must point to packaged `/usr/share/archipelago/keys/ostree.asc`. `ARCHIPELAGO_MIRROR_URL` selects the Arch repository URL template (`$repo`, `$arch`); inputs must remain checksum pinned. - Desktop: `ARCHIPELAGO_FLATPAK_REMOTE_FILE`, `ARCHIPELAGO_FLATPAK_POLICY` and `ARCHIPELAGO_TOOLBOX_CONFIG` supply mirrored workload bindings. A Flatpak seed policy may use `enabled: false` to avoid seeding. Runtime policy override is `/etc/archipelago/flatpak-apps.json`, read before initial seeding; existing user workloads are not rewritten. GPG verification is not disabled. - Coordinator/worker/paths/signing/public endpoint: `/etc/archipelago/rollout.json` (or `ARCHIPELAGO_ROLLOUT_CONFIG`). Copy the terra profile and change all bindings. - Publisher `--url-prefix`, `--core-ref`, `--gnome-ref` select the externally served path and channel refs. The supplied terra control profile explicitly sets these; the rollout derives the path from `public_url` and refs from `update_refs`. Local public-key source for legacy baseline validation is `public_key_file`. Temporary bootstrap files are confined to disposable test VMs. Air-gap operation also requires offline bootstrap/tools images/Cargo cache/package archives and signed DBs, plus selected OCI/Flatpak objects. Providing configurable bindings alone is not proof that a complete disconnected installation/build passed. ## Execution dependencies and adoption status | Role | Required tools / inputs | |---|---| | Coordinator | unified CLI, systemd, Python 3, OpenSSH, rsync, Docker; pinned tools image; public archive; private signing home and exported public key | | Worker | systemd, Python 3 + pexpect, OpenSSH, rsync, Docker, KVM/QEMU, OVMF; CLI binary; bootstrap and package/Cargo caches; source tree | | Tools image | OSTree, GnuPG, Python 3 and publisher scripts; immutable image ID recorded by deployment | | Distribution | static HTTP server for current generation, catalogs and native OSTree repositories; no application daemon required | | Desktop validation | native GIS/GDM at the tested 1280×800 profile, target SSH, configured package and Flatpak transports | Manual and scheduled requests use the same `pipeline run --reason ...` workflow. Coordinator and worker phases execute in bounded systemd jobs. A disconnected client does not own their lifetime. Errors/timeouts retain evidence and block the publication step. Urgency is a reason/priority choice, never permission to skip a mandatory check. No runtime stage asks an LLM or operator to evaluate screenshots. The user's immediate requirements are implemented incrementally: usable control, autonomous acceptance, configurable infrastructure, API history and durable logs. Full operating-contract adoption remains conditional on approval of the release cycle. The agreed daily time is 00:00 UTC (03:00 MSK); scheduling remains disabled until the new unattended path passes. Laptop hardware checks are deferred to daily use after migration and do not block this experimental cycle. Homelab migration is a subsequent strategic target, not an acceptance claim for current artifacts.