# Validation History

> Original Barn release validation, native VM tests, image checks, and design history.

---

LLMS index: [llms.txt](/llms.txt)

---

> [!NOTE]
> This page collects source, packaging, VM, and public-installation evidence through 2026-11-27. Each entry identifies the source build or release tested. For current host support and release behavior, see [Platforms and Limits](../status/) and the [release notes](/blog/release/).

## Barn 1.4.0 public release — 2026-11-27 {#release-1-4-0}

The annotated tag `v1.4.0` points to `9382a996cf56b9c486bdb210a1b8dd00ecda2b6d`. This commit passed the macOS and Linux source checks and the full packaging snapshot. Apple accepted notarization submission `57772859-4d6a-4059-9d95-f8cd33a2f7ba`. In the final Apple Silicon archive, the CLI, hosts helper and app passed signature verification. The app's stapled ticket validated, and Gatekeeper reported `Notarized Developer ID`. [Source CI](https://github.com/pgsty/barn/actions/runs/45977498057) · [Packaging CI](https://github.com/pgsty/barn/actions/runs/45977498065) · [Tag workflow](https://github.com/pgsty/barn/actions/runs/45978202427)

Both official image repositories served revision `2026112601`, signed by key `B848292042883667`. Each activated in a fresh data directory and matched the embedded catalog byte for byte. The release check verified all 17 stable artifact sizes on each mirror. The LAN mirror also passed the SHA-256 check for all 31 images and both network-helper archives. [Image catalog and guest checks](/blog/design/image-refresh-20261126/) · [Pre-release fixes and verification](/blog/design/release-1-4-0-readiness/)

GitHub published release `460427007` as the latest stable version at `2026-11-27T10:08:20Z`. All 20 draft attachments and all 20 anonymous public downloads matched the locally assembled files in size and SHA-256. The 19 entries in `checksums.txt` verified, and the public latest redirect selected `v1.4.0`. [Release and downloads](https://github.com/pgsty/barn/releases/tag/v1.4.0)

On Apple Silicon and Linux amd64, the public latest installer passed a fresh installation, upgrade from 1.3.0, and repeated installation. Both upgrades retained the test data marker and the runnable 1.3.0 executable. The new executables reported the tagged commit. The Apple Silicon app booted macOS 27.2.1 from the final archive. With the native window open, the runner reported a visible desktop and a ready guest. SSH returned build `26B131`. The isolated guest was destroyed and its base was preserved. [Installation guide](../../start/installation/#upgrade-barn)

On Linux amd64, the CLI extracted from the release DEB previewed and downloaded Debian 13.8 (`d13@20261123.2671.1`). A separate SHA-256 calculation over the cached file matched the signed catalog. A second preview with `--prune` reported the cached image as unchanged. The Intel Mac and Linux arm64 release archives passed build and package verification. [Image update command](../../reference/commands/image/#barn-image-update)

In an isolated Apple Silicon Homebrew prefix, `brew upgrade pgsty/infra/barn` upgraded 1.3.0 to 1.4.0. The installed CLI reported the tagged commit and passed `brew test`, including the CLI, helper and app signature checks. All four archive digests in the published formula matched the public release files. [Homebrew formula update](https://github.com/pgsty/homebrew-infra/commit/e27ebf5bfd71c3d2025670e55a00a5288303b2c3)

The Barn formula passed `brew style` and `brew audit --strict --online`. The first tap CI run flagged two single-use methods in the shared updater. The fix reads each platform's URL and digest block once. The updater passed 168 assertions, and a before-and-after render of 32 formulae produced identical results for all 128 platform entries. Tap CI passed on Linux, Intel macOS and Apple Silicon. [Updater fix](https://github.com/pgsty/homebrew-infra/commit/729682d44ba523b3c2890d8df38b3a7135b7fe99) · [Three-platform tap CI](https://github.com/pgsty/homebrew-infra/actions/runs/45981430981)

## Barn 1.3.0 public release — 2026-11-23 {#release-1-3-0}

The annotated tag `v1.3.0` points to `ef58e770e43e7d80e060c077bb80cf1943c6bf6b`. Before tagging, this commit passed [source and native Mac CI](https://github.com/pgsty/barn/actions/runs/45087053943) and [packaging CI](https://github.com/pgsty/barn/actions/runs/45087053964), including the full GoReleaser snapshot. The repository keeps its Apple signing credentials on the release Mac, so the [tag workflow](https://github.com/pgsty/barn/actions/runs/45087833196) skipped remote assembly. Apple accepted the local build as described in [local release verification](#release-1-3-0-build).

GitHub marked release `454853556` as the latest stable version at `2026-11-23T00:21:05Z`. For each of the 20 attachments, the authenticated draft download and the anonymous public download matched the local file in size and SHA-256. All 19 entries in `checksums.txt` verified. The public `releases/latest` link resolved to `v1.3.0`. [Barn 1.3.0 release and downloads](https://github.com/pgsty/barn/releases/tag/v1.3.0)

The public `latest` installer completed fresh installations on Apple Silicon and Linux amd64. On each host a GitHub connection timeout or disconnect interrupted the first attempt to upgrade from 1.2.0. After retrying the public download, both installations reported `1.3.0` at `ef58e77`, retained a runnable 1.2.0 CLI and the test data marker, and activated signed catalog `2026112101` from the LAN mirror. The upgraded Mac app passed `stapler validate` and Gatekeeper reported `Notarized Developer ID`. [Installation and platform downloads](../../start/installation/#release-downloads)

Homebrew upgraded an existing Apple Silicon installation from 1.2.0 to 1.3.0. The installed CLI reported the tagged commit and passed `brew test`, including signature checks for the CLI, hosts helper, and `Barn.app`. The formula passed `brew style` and `brew audit --strict --online`. Each of its four archive URLs served the size and digest recorded for the release. [Homebrew formula update](https://github.com/pgsty/homebrew-infra/commit/b107c83618ec533963cdaab34d0c5b7058011cec)

The first tap CI run flagged Ruby expressions in the shared updater and its tests. After the style fix, the updater passed 168 assertions and produced the same 128 asset names across 32 formulae and four platforms. Tap CI passed on Linux, Intel Mac, and Apple Silicon. [Tap CI](https://github.com/pgsty/homebrew-infra/actions/runs/45088842809)

## Barn 1.3.0 local release verification — 2026-11-23 {#release-1-3-0-build}

The release build at `ef58e770e43e7d80e060c077bb80cf1943c6bf6b` passed `make check` and `make mac-native-test`. `make release-local` produced four platform archives, four Linux packages, eight SPDX files, the installer, the Homebrew formula, release metadata, and `checksums.txt`. All 19 entries in the checksum file verified. Apple accepted notarization submission `8ced9387-3265-41ec-ac15-d515c3a7912f`. The app extracted from the final Darwin arm64 archive passed `stapler validate`, and Gatekeeper reported `Notarized Developer ID`. [Release source](https://github.com/pgsty/barn/commit/ef58e770e43e7d80e060c077bb80cf1943c6bf6b)

On Apple Silicon the installer passed first installation, repeated installation, and upgrade from the published 1.2.0 archive using local copies of the assets. The upgrade retained the earlier executable and the data marker. The generated Homebrew formula installed the same archive in an isolated prefix and passed all 11 assertions. Both official mirrors and the LAN mirror activated signed catalog `2026112101` in fresh data roots. Its bytes matched the embedded catalog. All 29 image files on the LAN mirror matched their listed SHA-256 digests.

On a Linux amd64 KVM host, the packaged CLI booted `el10x` as Rocky Linux 10.3. The guest loaded the six kernel modules in the image recipe, created a bridge with a veth pair and an nftables NAT chain, and passed `barn time status` and `barn time sync`. Its data marker survived stop and start. The test deployment was then destroyed. [Rocky image verification](https://github.com/pgsty/barn/blob/v1.3.0/packaging/image-pipeline/normalize-guest.sh)

On Apple Silicon, two macOS 27.2.1 guests covered all 15 headless lifecycle phases across the original run and a continuation with the same guest disks. SSH to the second guest timed out during its initial boot under load. After a normal restart, a temporary change from 2 vCPUs and 4 GiB to 4 vCPUs and 8 GiB, and time for the guest to settle, both original instance IDs, SSH identities, and disk markers were verified. The remaining checks covered shared folders, network isolation, normal stop/start, and identity rotation on recreate. A final test at 2 vCPUs and 4 GiB recovered the original marker, opened the native desktop, and verified build `26B131` over SSH with the window visible. One SSH command also exited 255 during that last startup before two consecutive reads of the original marker succeeded. [Native Mac acceptance harness](https://github.com/pgsty/barn/blob/v1.3.0/tests/mac-live-acceptance.py)

## Barn 1.3.0 pre-tag checks — 2026-11-22 {#release-1-3-0-preparation}

The 1.3.0 candidate passed `make check`, `make mac-native-test`, and `make release-snapshot` on Apple Silicon. Both official mirrors served signed catalog `2026112101` with the same bytes as the candidate, and all 17 stable artifacts matched their signed sizes. A macOS regression test exercised the system `plutil` with an unset subnet address and a configured mask. Separate preview tests checked that a protected plist could be deferred for a free subnet and that a live overlap still blocked setup. [Candidate source](https://github.com/pgsty/barn/commit/4822bcb1850cae5b4cc419eda16102bf9dee7656)

The snapshot was built as `1.2.1-next` from the preceding `v1.2.0` tag and the candidate commit. Verification covered four platform archives, four Linux packages, eight SPDX documents, and 19 final checksums. The Darwin arm64 archive included the ad-hoc signed `Barn.app`. With downloads served from the local snapshot, the installer passed fresh installation, repeat installation, and upgrade from a copy of the published 1.2.0 installation. Formal signing, notarization, and public download checks belong to the tagged release. [Mac release procedure](../mac-release/)

A follow-up pre-release audit extended protected sharing-preference deferral to macOS network repair (checking both keys as root before restarting `socket_vmnet` and preserving clean host-unchanged reporting), aligned explicit `--arch native` conflict handling across `image info/pull` and lifecycle commands, and updated `golang.org/x/crypto` to 0.59.0, `golang.org/x/net` to 0.63.0, and `actions/setup-go` to v7.1.0. The updated candidate passed `make check` (including zero-vulnerability `govulncheck` and the updated 11-module license check), `make mac-native-test`, `make catalog-check`, and fresh `BARN_HOME` `barn update` checks against both official mirrors; packaging snapshot and CI gates run after pushing `main`. [Updated candidate source](https://github.com/pgsty/barn/commit/f379f88a30f8fe68443b61a3e596c9499bb26a24)

Before tagging `v1.3.0`, [`8a58fdf`](https://github.com/pgsty/barn/commit/8a58fdfc05254e2636ab1270fa0e758fb18bbc61) refreshed compression dependencies (`github.com/klauspost/compress` 1.20.5 and `github.com/pierrec/lz4/v4` 4.1.34) and pinned release tools (GoReleaser 2.20.3 / embedded nFPM 2.49.0, Syft 1.57.2, `deadcode` 0.53.0, and `govulncheck` 1.10.0), followed by a full pre-release audit aligning `README.md`, `CHANGELOG.md`, `.github/releases/1.3.0.md`, and the bilingual documentation site (62 operation commands and 176 local option entries). Re-verification passed `make check`, `make mac-native-test`, `make release-check`, `make catalog-check`, and fresh `BARN_HOME` `barn update` checks on both official mirrors; tagging, remote CI, Developer ID signing/notarization, public download checks, and Homebrew publication follow.

## macOS 27.2.1 guest image — 2026-11-22 {#macos-27-2-1}

On an Apple Silicon host running macOS 27.2.1, Apple's restore service offered build `26B131`. The 25,595,954,706-byte IPSW matched Apple's SHA-256 `233e85a09887579d47d0b195e7db72be7f204261059c6946f719acf6b300814f`. Restoring it to a 100 GiB base took 438 seconds. The source build selects this image on first use. Barn 1.2.0 also reused the new base with `barn mac image update`, while the existing stopped VM kept its original instance ID and `26A428` base. [Mac image selection](../../start/macos/#macos-versions-and-disk-space)

In an isolated `BARN_HOME`, `barn mac exec mac1 -- sw_vers` on a freshly cloned guest returned macOS `27.2.1` and build `26B131`. The first run exposed a case-sensitive check for SSH configuration keywords in the harness. OpenSSH 10.5p1 reported `PasswordAuthentication no`, `KbdInteractiveAuthentication no`, and `PermitRootLogin no`. After the parser accepted both keyword styles, two fresh guests passed all 15 headless lifecycle phases in 390 seconds, including SSH and sudo, shared folders, stop/start, and identity rotation on recreate. After both test VMs were removed, all 10 checks in `barn mac doctor` passed in the original store. [Native Mac acceptance harness](https://github.com/pgsty/barn/blob/main/tests/mac-live-acceptance.py)

## Barn 1.2.0 final acceptance — 2026-11-12 {#release-1-2-0}

| Item | Recorded identity |
|---|---|
| Tag and commit | `v1.2.0` → `90f615804b823b4eb491101e642073dcd37a9700` |
| Build time | `2026-11-11T23:38:07Z`; `SOURCE_DATE_EPOCH=1794440287` |
| GitHub Release | ID `442314866`; published `2026-11-12T00:05:32Z` as stable/latest |
| Apple notarization | Accepted submission `165b486b-5055-4eca-a595-54bed6bdd6c1` |
| Signed catalog | Revision `2026110502`; SHA-256 `d41e46d20bc57cb1b071e3919a27a8f7f703df2addca879970a528e7ab004065` |
{.wide .expand}

- **CI and packaging:** [Source/Mac CI](https://github.com/pgsty/barn/actions/runs/43121333312) and [complete packaging CI](https://github.com/pgsty/barn/actions/runs/43121333418) passed the release commit. The [tag workflow](https://github.com/pgsty/barn/actions/runs/43122351097) passed its signing-configuration check and skipped remote assembly; the documented local signing path produced the formal release. `make release-local`, signatures, notarization, staple, and Gatekeeper passed.
- **Final artifacts and catalog:** All 20 draft and all 20 anonymous public downloads matched the verified local sizes and SHA-256 digests. Both official catalogs verified, activated in fresh roots, and matched the embedded bytes; each mirror's 17 stable artifacts passed reachability/size checks. Selected runtime image downloads also verified their payload digests.
- **Final runtime:** The downloaded Linux archive passed 18 KVM operations covering ext4/XFS root growth, idempotence, shrink rejection, guest-tool failure, CLI interruption, identity/data retention, concurrency, and teardown. The downloaded native Mac bundle completed all 15 lifecycle phases plus desktop, two-way clipboard, close-window background execution, SSH, and normal shutdown. One Apple HTTPS timeout was preserved and retried successfully after identity/base checks; no product bytes changed.
- **Public delivery:** Public latest and pinned installers passed on `darwin/arm64` and `linux/amd64`. Isolated installer upgrade from 1.1.0 and repeated installation passed. The [Homebrew update](https://github.com/pgsty/homebrew-infra/commit/f1b83ae) passed a real 1.1.0 → 1.2.0 upgrade, `brew test`, style, and strict online audit. The bilingual reference now documents 57 commands and 174 local option entries per language against 1.2.0.

Physical runtime coverage was `darwin/arm64` and `linux/amd64`; `darwin/amd64` and native `linux/arm64` received cross-build and artifact checks. The historical 1.1.0 homepage recording is explicitly labelled. See the [complete release review](/blog/design/release-1-2-0-readiness/) for candidate upgrade evidence, retained retries, and scope limits.

## Barn 1.2.0 preparation — 2026-11-12 {#release-1-2-0-preparation}

The [1.2.0 readiness review](/blog/design/release-1-2-0-readiness/) preserves the uncommitted candidate's source, catalog, full snapshot, Linux/KVM and native Mac checks, followed by the completed commit, CI, signing, and publication gates.

## Barn 1.1.0 final acceptance — 2026-11-09 {#release-1-1-0}

| Item | Recorded identity |
|---|---|
| Tag and commit | `v1.1.0` → `b2cc8da8983e710255d504bf26bf5d7b3f182790` |
| Build time | `2026-11-09T01:28:55Z`; `SOURCE_DATE_EPOCH=1794187735` |
| GitHub Release | ID `438656123`; published `2026-11-09T01:46:13Z` as stable/latest |
| Signed catalog | Revision `2026110502`; SHA-256 `d41e46d20bc57cb1b071e3919a27a8f7f703df2addca879970a528e7ab004065` |
{.wide .expand}

- **Source and packaging:** The release commit passed [source/Mac CI](https://github.com/pgsty/barn/actions/runs/42545792285) and [complete packaging CI](https://github.com/pgsty/barn/actions/runs/42545806168) before tagging. Local `make check`, `make mac-native-test`, and `make release-snapshot` also passed. The [tag workflow](https://github.com/pgsty/barn/actions/runs/42546253184) passed its signing-configuration check; the complete release used the documented local signing path because repository signing secrets were absent.
- **Downloaded assets:** All 20 draft attachments were downloaded again and matched the local sizes and SHA-256 digests. The 19-entry checksum manifest, archive/package parity, four binary architectures, file permissions, helper pairing, and SPDX documents passed verification. Apple accepted notarization submission `cabe1b9c-fc54-4f07-b8bf-d834f0226013`; the downloaded app passed signature, staple, and Gatekeeper checks. The relocated Homebrew `bin`/`libexec` layout found the matching native component.
- **Catalog:** Both official catalogs passed signature verification, activation in fresh data roots, and byte comparison against the embedded catalog; all 17 stable artifacts passed HTTP availability and size checks on both mirrors. The final downloaded binary also activated the official catalog in a fresh `BARN_HOME`.
- **Linux runtime:** The downloaded `linux/amd64` binary created a Debian 13 guest using `-I d13 -A x86_64` without rewriting its inventory. CPU/memory changes `2/2 GiB → 3/3 GiB → 2/2 GiB`, stop/start, remote arguments, and exit `17` passed. VM UUID, SSH public key, machine ID, and the persistent-disk sentinel survived resizing and restart. A second Debian 13 guest booted as `arm64` through `-A aarch64`, using QEMU TCG with `cortex-a72`; SSH reported `aarch64`. Both test guests were removed after verification.
- **Mac runtime:** A new isolated macOS 27 guest passed creation, SSH, remote exit `17`, stop/start, identity and data retention, and destruction. Existing user SSH files were unchanged and the user's running Mac VM was left in place. The signed public installer and repeated installation also passed in a separate directory.
- **Public delivery:** Anonymous downloads of all 20 public attachments matched the verified draft. Both the default installer and explicit `BARN_VERSION=1.1.0` installed the published release. The [Homebrew update](https://github.com/pgsty/homebrew-infra/commit/f36b991) sets all four archive URLs and digests. The initial Ubuntu 26.04 recording verified public installation and a first Linux VM on a prepared host network; the homepage recording now shows a real Apple Silicon macOS run (`brew install pgsty/infra/barn`, `./configure -c full`, a four-node `barn up`, and `barn status` on macOS 27.0.1 with QEMU 11.1.3). A subsequent 16-stage in-place upgrade and multi-distro acceptance run on Apple Silicon is recorded in [Barn 1.1.0 Local Acceptance](../local-acceptance-1.1.0/).

Physical hosts covered `darwin/arm64` and `linux/amd64`, with an additional `linux/arm64` guest under TCG. `darwin/amd64` and native `linux/arm64` received cross-build and artifact checks. GUI and clipboard evidence retains its earlier dated scope. Initial harness retries corrected unsupported timeout flags, a test write requiring guest sudo, and a TCG assertion that did not accept the `thread=multi` option; their logs were retained alongside the successful runs.

## Barn 1.0.0 final acceptance — 2026-11-05 {#release-1-0-0}

The final acceptance record binds the downloaded artifacts and public installation checks to this release identity:

| Item | Recorded identity |
|---|---|
| Tag and commit | `v1.0.0` → `69ef7f1d6ffc7c6fbffffe178b2fa48e799dc02d` |
| Build time | `2026-11-04T17:54:45Z`; `SOURCE_DATE_EPOCH=1793814885` |
| GitHub Release | ID `434268111`; published `2026-11-04T23:18:10Z` as stable/latest |
| Signed catalog | Revision `2026110502`; SHA-256 `d41e46d20bc57cb1b071e3919a27a8f7f703df2addca879970a528e7ab004065` |
{.wide .expand}

- **Source and downloaded assets:** The final commit passed [source/Mac CI](https://github.com/pgsty/barn/actions/runs/41881906207) and [packaging CI](https://github.com/pgsty/barn/actions/runs/41881906313). The release used local Developer ID signing because automated signing secrets were absent. All 20 uploaded attachments were downloaded again, matched their original sizes and SHA-256 digests, and passed the 19-entry checksum manifest plus archive/package, CLI/helper, architecture, permission, SBOM, and identity checks.
- **Catalog bytes:** Both official catalogs verified and matched the embedded bytes. Streaming all 17 stable artifacts from each mirror produced 34 successful size/digest checks. A fresh `BARN_HOME` activated the catalog with `barn update`.
- **Packaged Mac acceptance:** The downloaded CLI/helper/app passed Developer ID, notarization, staple, and Gatekeeper checks, including after installation and relocation into the Homebrew layout. An isolated `0.9.3 → 1.0.0` installer upgrade retained the old release and existing VM identities, SSH keys, and data sentinels. A new VM passed SSH, write, stop/start, identity/data retention, and destruction checks.
- **Linux acceptance:** On `linux/amd64`, the downloaded binaries created two Debian 13 guests in a fresh state root. Fixed IPs, accounts, XFS data disks, stop/start/restart, argument boundaries, and remote exit `17` passed. Missing-node recreation failed before stopping VMs; control-node deletion elected a successor; destruction followed by `up` rotated machine identity while preserving a persistent-disk sentinel.
- **Public channels:** After publication, both the default installer and explicit `BARN_VERSION=1.0.0` installed the public release. Real Homebrew upgraded `0.9.2 → 1.0.0` and passed `brew test`, online audit, and tap tests. The [tap update](https://github.com/pgsty/homebrew-infra/commit/8910347) and [site update](https://github.com/pgsty/barn.pgsty.com/commit/34befa8) were published, and the public bilingual release and installation pages were checked.

Physical runtime coverage was `darwin/arm64` and `linux/amd64`. `darwin/amd64` and `linux/arm64` received cross-build and artifact checks. GUI, clipboard, and fault-injection experiments from the preceding candidate run retain that earlier identity below.

### Hardening and candidate rehearsals — 2026-11-04–05 {#release-1-0-candidates}

The hardening checkpoint at `377061c` passed source checks and a `0.9.4-next` packaging snapshot without a native Mac payload. Subsequent physical-host tests began with `0.9.4-next`; fixes received focused retests, followed by a signed and notarized `1.0.0-rc.1` build using catalog `2026102802`. The candidate run covered disk-preservation checks, lock release after cancelled sudo work, shared-networkd uninstall, the 15-stage Mac lifecycle, GUI/clipboard, and interrupted-recreate recovery. Final release assembly later used catalog `2026110502` and the identity above.

The record retains failed attempts as well as successful reruns. A short SSH probe needed bounded retry; a resource-constrained build and a shared module-cache failure needed environment corrections; one acceptance assertion incorrectly required a `stdout` field when successful empty output could omit it. The `dm-error` experiment was rejected by the whole-disk guard before reaching the filesystem checker. These observations identify which product path actually ran and which failure belonged to the harness or environment.

## Barn 0.9.1 local candidate acceptance — 2026-10-22 {#release-0-9-1}

The 0.9.1 record reports `make check`, native component tests, four-platform packaging, and an ad-hoc native payload. The CLI candidate was `0.9.1-dev.1`; the complete snapshot was `0.9.1-next`. An isolated upgrade from a real `0.9.0` archive used a local download fixture and verified repeated installation, retained releases, helper pairing, and app discovery. Homebrew checks covered the `bin`/`libexec` layout; native tests and `mac doctor` did not start a VM. The public `0.9.1` assets contained CLI/helper archives and Linux packages, without `Barn.app`; the original record's public-release checklist describes the subsequent process, not completed runtime evidence.

## Pre-0.9.0 checkpoint — 2026-09-29 {#pre-0-9-0}

At the 2026-09-29 checkpoint, Barn `0.9.0` was the first release candidate prepared under the `barn` name prior to publication. For current installation commands, use the [Quick Start](../../start/installation/).

## Documentation baseline {#documentation-baseline}

| Component | Identity at the 2026-09-29 checkpoint | Scope notes |
|---|---|---|
| Application and docs | Barn `0.9.0` release candidate | Built from the renamed source tree prior to public tag release |
| CLI and configuration | `barn`, `barn.yml`, `BARN_*` | Clean break from earlier internal names |
| State and host resources | `~/.barn`, Barn networking, and `barn-hosts-helper` | Uses fresh `~/.barn` state without migrating pre-rename development directories |
| Image repository | `/barn` on the official endpoints | Requires valid minisign catalog signatures |
{.wide .expand}

## macOS guests {#macos-guests}

At the 2026-09-29 checkpoint, `barn mac` ran macOS 27 guests on Apple Silicon via `Barn Mac.app` (`io.pgsty.barn.mac-runner`; subsequently renamed to `Barn.app` / `com.pgsty.barn` in [Barn 0.9.1](/blog/release/0.9.1/)) with state under `$BARN_HOME/mac` (see the current [macOS Guests guide](../../start/macos/) and [Mac Commands reference](../../reference/mac/)).

Following the rename on 2026-09-29, local CLI and `barn-hosts-helper` unit suites, native bridge/image/exit-prompt/menu tests, the runner bundle build, ad-hoc code-signature verification, and `probe` checks all passed, building on the full 16-phase live macOS VM acceptance run recorded earlier that day.

The rename record explicitly limits the renamed build's evidence to those checks: its VM lifecycle was not replayed. The 2026-10-03 archive correction retained the original dates, versions, commits, and test scope rather than attributing earlier VM runs to the renamed build.

## Remaining pre-0.9.0 release checks {#remaining-pre-0-9-0-release-checks}

At the 2026-09-29 checkpoint, the remaining pre-publication gates for `0.9.0` were:

- Full source, archive, DEB/RPM, installer, and four-platform checks on the final tagged commit.
- Fresh host setup and Linux/macOS VM lifecycle and cleanup verification under the renamed binary and paths.
- macOS Developer ID signing, notarization, and release publication.
- Verification of the public GitHub repository, Homebrew tap, official `/barn` image endpoints, and `barn.pgsty.com`.

## Earlier Mac implementation records {#early-mac-records}

- **2026-09-26–27:** The initial implementation log records a full IPSW download and CLI restore, base-image immutability, dual-guest lifecycle tests, and installer rejection of a modified package. The final 12-stage run took `140.305 s` starting with already initialized guests. It used the retired fixed-slot/shared-network implementation and an ad-hoc development signature.
- **2026-09-28:** The complexity review retained identity, locking, and recovery safeguards while simplifying the implementation. Regression checks verified that readiness did not rewrite SSH material. An initial shutdown timeout coincided with high guest load; the full rerun passed without forced power-off or timeout changes. The record treats the load as an observation, not a proven cause.

## Barn Mac native record: 2026-09-29 {#mac-native-record}

On 2026-09-29, the pre-rename development tree was validated on an Apple Silicon Mac running macOS `27.0` (`26A428`) using an ad-hoc signed development build and APFS clones of a base image prepared on 2026-09-26 from Apple's pinned `27.0` restore image:

- **Source and bundle checks**: Full `make check`, native Swift component tests, and the Mac bundle build with extracted-archive checksum, signature, and `probe` checks passed.
- **Automated 16-phase live acceptance (244.9 s)**: Verified VM creation from the base image, named VM creation with a VirtioFS shared folder, independent machine identities, `sshd` hardening, disk and per-VM subnet isolation, DNS, outbound HTTPS, exit-code propagation, `exec` argument boundaries, bidirectional shared-folder writes, clean `stop`/`start`, `configure`, enforcement of the two-VM running limit, `recreate` identity rotation, desktop window display, two-way plain-text clipboard sync, idempotent `up`, and `destroy`.
- **Manual timing and recovery checks**: First boot from a prepared base image reached SSH readiness in `22 s`; clean shutdown completed in `6.5 s`; subsequent starts reached SSH readiness in `6–12 s`; forced power-off completed in `0.7 s`. Also verified booting into macOS Recovery (`--recovery`), changing `--subnet` while preserving the pinned SSH host key, and connecting via `ssh mac1` through installed `~/.ssh/barn-mac_config` entries.

Items deferred to subsequent release milestones at that checkpoint:

- Developer ID signing, Apple notarization, and public distribution of the app bundle.
- End-to-end IPSW download + base preparation via first-time `barn mac up` or `barn mac image update`.
- Desktop menu **Restart…** and **Shut Down…** actions, additional Apple Silicon models, and host reboot persistence.

The same named-machine record includes a later `07ebfd4` candidate rerun: all 16 phases passed in `298.9 s` after an initial five-second SSH probe failed and the guest answered on a later observation. Both runs reused an existing `26A428` base; fresh download and restore remained outside that checkpoint's coverage.

## Pre-rename Linux validation summary {#summary}

| Host or artifact | Path | Last verified | Result |
|---|---|---|---|
| Two Linux `amd64` hosts (`m0`, `m3`) | KVM, 7 guest distributions per host | 2026-09-21 (`0.8.0`) | Clean initialization, first SSH, in-place candidate upgrade, repeated `up`, `stop`/`start`, disk identity, and Ansible inventory reads passed |
| Two macOS `arm64` hosts (`m1`, `m5`) | HVF, 7 guest distributions per host | 2026-09-21 (`0.8.0`) | Full 7-distro lifecycle checks plus 7-node `ansible all -m ping` passed |
| Catalog `2026092001` | 9 families, 37 artifacts (September Debian/Ubuntu refresh) | 2026-09-21 | Embedded, local, LAN, and public catalog bytes matched (`23e8dbf6...`); 10 new image objects verified at both public endpoints and booted across the 4 hosts |
| Ubuntu 26.04 `amd64` | KVM, QEMU `10.2.1`, Ubuntu 24.04 guest | 2026-09-16 (`0.7.0` recovery) | Corrupt data-disk reset, failed probes, busy mounts, retained-disk recreation, share recovery, and idempotent `up` passed |
| macOS `arm64` | HVF, Ubuntu 24.04.4 guests | 2026-09-05 (`0.6.0` lifecycle) | Create, scale-out, control-to-peer SSH, `stop`/`start`, `reload`, `recreate`, degraded `status`, and scale-in passed |
| macOS 26.6.2 `arm64` | HVF, QEMU `11.1`, `socket_vmnet` | 2026-09-01 (`v0.2.0`) | Selected node create/SSH/stop/start, incremental cached create, full `status`, and full `destroy` passed |
| macOS 26.6.2 `arm64` | HVF, QEMU `11.1`, `socket_vmnet` | 2026-08-27 | Single-node and additive four-node lifecycle passed |
| Ubuntu 26.04 `amd64` (`mx`) | KVM, QEMU `10.2.1`, NetworkManager | 2026-09-01 (`v0.2.0`) | Audited a live four-node deployment and connected to its control guest |
| Ubuntu 26.04 `amd64` (`mx`) | KVM, QEMU `10.2.1`, NetworkManager | 2026-08-27 | Host `setup`, single-node, additive four-node, and network `uninstall` passed |
| macOS `arm64` | HVF host, TCG rule for Rocky Linux 8.10 `arm64` | 2026-08-28 | Boot, `stop`/`start`, and SSH readiness in `44.2 s` passed |
| Published Catalog `2026090501` | 9 families, 27 `qcow2` artifacts | 2026-09-05 | Artifact verification, embedded/public byte equality, and signed `barn update` against both official endpoints passed |
| Published Catalog `2026082903` | 9 families, 27 signed `qcow2` artifacts | 2026-08-29 | Full 19 GiB SHA-256 sweep and clean-client `d13:stable` pull passed |
{.wide .expand}

In the `0.8.0` four-host acceptance run, each host booted Rocky Linux 9.8 and 10.2, Debian 12.15 and 13.7, and Ubuntu 22.04.5, 24.04.5, and 26.04.1 (28 guest VMs total, all passing and cleaned up afterward). Both official endpoints served catalog `2026092001` with SHA-256 `23e8dbf6c19bd192d56c6d71eb30901f17945b3487e427a43abe108463780306`, verified via isolated `barn update` runs and HTTP `HEAD` content-length checks on the 10 new image objects.

## Open test items at the earlier checkpoint {#open-test-items}

- Rocky/EL9 hosts with NetworkManager + `firewalld`, and a fresh `systemd-networkd` host replay.
- Physical host reboot persistence across active deployments.
- Live hypervisor runs on `darwin/amd64` and `linux/arm64` hosts beyond cross-build and package verification.
- End-to-end `el7` VM lifecycle replay on native `linux/amd64`.
- Full Pigsty `configure → barn up → install.yml` playbook execution.
- Fresh-host `setup` and VM creation driven end-to-end from the public download installer, Homebrew formula, or published DEB/RPM packages.

## Barn verification history {#verification-history}

### Barn 0.8.0 — 2026-09-21 {#release-0-8-0}

- **Release CI and assets**: Tag `v0.8.0` (`320a32afa8f6fca02592215aa0d5607ca4e852b2`) passed [source CI](https://github.com/pgsty/barn/actions/runs/35568664994), the [packaging snapshot workflow](https://github.com/pgsty/barn/actions/runs/35568664948), and the [release tag workflow](https://github.com/pgsty/barn/actions/runs/35569143101), publishing 20 release assets (19 checksummed payloads). All 20 assets were downloaded anonymously and verified against the release `checksums.txt` manifest, and isolated user-prefix installs on `darwin/arm64` and `linux/amd64` verified `0.8.0` (`320a32a`).
- **Homebrew tap**: Commit [`9c34019`](https://github.com/pgsty/homebrew-infra/commit/9c3401958a435248ebf0e5402e7efff712ee1c4c) updated `pgsty/infra/barn` to `0.8.0` across all four targets and passed local `brew fetch`, audit, and [tap CI](https://github.com/pgsty/homebrew-infra/actions/runs/35570285428).
- **Four-host 7-distro acceptance**: Clean initialization was run at baseline commit `6d7870e26cb2f4082a00c188f746783fc027687e` across two Linux `amd64` hosts (`m0`, `m3`, installed from the `.deb` package) and two macOS `arm64` hosts (`m1`, `m5`, installed from the verified archive), booting the 7-distro `pro` inventory from a local LAN repository. Runtime candidate `1c054a027420b5410c6f6feb344e27e001ae1af1` (adding the macOS Homebrew authentication-order fix) was then installed in place on all four hosts and verified across idempotent `up` (preserving running QEMU processes, VM UUIDs, and disk inodes), two rounds of guest SSH, `stop`/`start`, `/data` disk mounts, Debian locale/XFS checks, control-to-peer SSH, and Ansible inventory reads (`ansible all -m ping` on both Macs). See the [0.8.0 Release Notes](/blog/release/0.8.0/) for per-host timings.

### Barn 0.7.0 release — 2026-09-16 {#release-0-7-0}

- **Release CI and assets**: Commit `9c6d4896d93733d1cb60a7e5d8591e9a06659c9d` (`v0.7.0`) passed [source CI](https://github.com/pgsty/barn/actions/runs/35118137961), the [packaging snapshot workflow](https://github.com/pgsty/barn/actions/runs/35118137990), and the [release tag workflow](https://github.com/pgsty/barn/actions/runs/35119206685). All 20 public release assets passed anonymous download and SHA-256 verification, public installer checks passed on `darwin/arm64` and `linux/amd64`, and `pgsty/infra/barn` passed local `brew upgrade` and `brew test`.
- **Ubuntu `amd64`/KVM storage & bootstrap recovery**: Tested corrupt `ext4`/`XFS` data-disk resets (`3.2 s` recovery while keeping the QEMU process alive), persistent disk retention across `recreate`, transient probe failures and busy mounts (preserving existing disk data and UUIDs), read-only 9p share fallback, and resuming a `0.6.0` VM whose initial egress probe had failed (`3.3 s` recovery, surfacing the expected `control-ssh` warning where `0.6.0` had already removed the staged control key; see the [0.7.0 Release Notes](/blog/release/0.7.0/)). Catalog `2026090501` remained unchanged.

### Barn 0.6.0 release — 2026-09-05 {#release-0-6-0}

- **Release CI and assets**: Following lifecycle, UX, release-metadata, and CI fixture reviews, commit `057774e3a13477782a2ae07bd71127d03c0f1ae7` (`v0.6.0`) passed Go `1.27.1` [source CI](https://github.com/pgsty/barn/actions/runs/33959205857), [packaging checks](https://github.com/pgsty/barn/actions/runs/33958857302) (`13d9d70`), and the [release tag workflow](https://github.com/pgsty/barn/actions/runs/33959431603), producing 20 verified release assets. An isolated `darwin/arm64` installation verified upgrading from `0.5.0` to `0.6.0` via the public installer, plus `barn init` and `barn plan`.
- **macOS `arm64`/HVF lifecycle acceptance**: Verified initial boot, scale-out without restarting the control node, control-to-peer SSH, `stop`/`start`, `reload`, selective `recreate`, scale-in, guest `/etc/hosts` refresh, preflight rejection of invalid `reload` or conflicting partial `recreate` before stopping existing VMs, degraded `status` reporting, and SSH exit code `255` passthrough.
- **Catalog `2026090501`**: Switched the default image to `u24:stable` and incorporated the Debian/Rocky updates from `2026090302` across all 27 verified `qcow2` artifacts on both official endpoints.

### Barn 0.5.0 release — 2026-09-03 {#release-0-5-0}

Commit `fc85b65ff6a24b0933b56ae1179be9ada2ba91b1` (`v0.5.0`) passed Go `1.27.1` source and GoReleaser packaging gates and published the 20-asset pre-release. `0.5.0` introduced confirmation-free whole-deployment `barn purge`, set `https://repo.pigsty.io/barn` as the global default repository with `--mirror` for `https://repo.pigsty.cc/barn`, removed implicit upstream URL fallback during artifact downloads, and added `packaging/image-pipeline/build-official.py` for the eight digest-pinned Debian/Rocky targets.

### Barn 0.4.0 release — 2026-09-02 {#release-0-4-0}

Passed `make check` and all release archive, DEB/RPM, SBOM, checksum, installer, and Homebrew formula gates. `barn up` gained automatic interactive host `setup` when run on an unprepared terminal host, `vm_disks[].fs` defaulted to `auto`, readiness errors began surfacing the last guest error line, and CLI output formatting was unified across commands.

### Barn 0.3.0 release — 2026-09-02 {#release-0-3-0}

Passed `make check` and all release packaging gates. Made catalog refreshes explicit via `barn update` and `barn image sync`, and added per-node failure stages and log inspection hints to guest readiness error messages.

### Barn 0.2.0 release — 2026-09-01 {#release-0-2-0}

Commit `59d1b62aebb3d044a317e4006cc8a0bf56f4feaf` (`v0.2.0`) passed source CI, packaging workflows, and local four-platform archive, DEB/RPM, and SPDX verification. Live `darwin/arm64` HVF acceptance verified selective `u24-1` create/SSH/stop/start, incremental cached `el9-1` creation, whole-deployment `status`, and `destroy` with SSH config cleanup. On Ubuntu 26.04 `amd64`/KVM, the Linux binary audited a running four-node deployment and connected to its control guest.

### Schema-3 Catalog closure — 2026-08-29 {#schema-3-catalog-closure}

Catalog `2026082903` (9 families, 27 artifacts, SHA-256 `571b1ff9c7d4d42355df3392ea62a339471c2d01d868669a7625fac8b93f245d`, signed by key `4686B39A40F9B562`) passed byte-for-byte equality checks between the embedded catalog and published endpoints, a full SHA-256 sweep across all 27 `qcow2` artifacts (19 GiB), and a clean-client `d13:stable` (`409.3 MiB`) download and `qemu-img` check on `darwin/arm64`.

### 0.1.0 candidates — 2026-08-28 and 2026-08-29 {#candidates-0-1-0}

Validated two targeted fixes prior to `0.2.0`:

- **Targeted QMP recovery**: When QMP sockets were externally removed from two of four running nodes on `darwin/arm64`, Barn restarted only the two affected nodes (`13.7 s` to readiness) while keeping the two healthy nodes' boot IDs unchanged.
- **QEMU-free catalog inspection**: Decoupled `barn image list` and `make check` from requiring `qemu-img` on `PATH` when no local cached `qcow2` files need inspection.

### EL7/EL8 compatibility — 2026-08-28 {#el7-el8-compatibility}

Commit `7c666c7` restored `el7` and `el8` support with regression tests covering pre-recreate runtime preflight ordering and signed-catalog baseline migration. Catalog `2026082801` (9 families, 17 image artifacts, plus 2 `socket_vmnet` archives) passed full SHA-256 and signature checks, and an isolated `darwin/arm64` run booted Rocky Linux 8.10 `arm64` under the built-in TCG rule to SSH readiness in `44.2 s` (verifying NetworkManager, fixed IP, `dba` UID/GID `88`, and guest markers).

### Native replay — 2026-08-27 {#native-replay-2026-08-27}

Verified fixed-IP networking, SSH readiness, default CPU/memory/root/data disks, `cloud-init`, `stop`/`start`, cross-directory CLI invocations, control-node uptime preservation during scale-out, control-to-peer SSH, ignoring upper-layer Pigsty variables, and explicit-only node destruction across `darwin/arm64` and `linux/amd64` (`mx`). On Linux, also verified passwordless `sudo` automation, Debian `qemu-bridge-helper` group permissions, unprivileged bridge attachment, refusal to uninstall an active bridge with four attached tap interfaces, and clean network teardown after `destroy`.
