Skip to content

18.nov.2026

18.nov.2026 Video Walkthrough (6 scenes · 1280×720 · xfade transitions): valhala 15.1-RELEASE-p7 upgrade, candidate p7cand repository isolation, and three disposable ALTROOT proofs that caught tab-indented pkg info -l output. Direct MP4 · WebVTT captions · Render manifest · Evidence receipt JSON
WorkstreamEvidence
15.1-RELEASE-p7 upgrade & canonical assistant namingclawdie-iso 01999c5 · adfe13b · valhala 15.1-RELEASE-p7 × 3
sysutils/zot-agent origin separation (Option A)zot bc9c208 · 907801c · clawdie-iso d3a3b1e · a30395a
Candidate -z p7cand build & three ALTROOT proofsEvidence receipt JSON · Live Herdr p7cand frame · Live btop telemetry
Hybrid OCI & signature architecture (deferred pilot)Decision gate slide · EN transcript

1. Why a single-port -p7 build cannot run in the live production set

Section titled “1. Why a single-port -p7 build cannot run in the live production set”

valhala completed all three freebsd-update phases and rebooted cleanly into FreeBSD 15.1-RELEASE-p7 across kernel and userland with __FreeBSD_version unchanged at 1501000 (image configuration bumped in 01999c5 alongside canonical assistant naming in adfe13b). Because Poudriere’s common.sh checks .jailversion and triggers delete_all_pkgs whenever a jail moves from 15.1-RELEASE-p6 to 15.1-RELEASE-p7, running a single-port bulk build directly against the default lane would wipe the other 197 signed packages from the live repository.

Instead, the build ran inside an isolated -z p7cand candidate set orchestrated from the multi-host Herdr cockpit spanning debby and valhala. When FreeBSD’s binary mirror offered pkg-2.9.2 against the local tree’s 2.9.0, Builder 01 compiled ports-mgmt/pkg locally under unprivileged nobody workers and packaged signed zot-agent-0.4.78.118.g6c3ad8a.pkg (SHA-256: 71796ffd…) in 18 seconds while leaving all 198 production packages untouched.

Herdr multi-host cockpit driving clawdie-15-1-amd64-ports-p7cand

2. Unshadowing sysutils/zot without a MOVED trap

Section titled “2. Unshadowing sysutils/zot without a MOVED trap”

Upstream FreeBSD Ports already assigns sysutils/zot to the project-zot OCI container registry (2.1.23_1), which also installs /usr/local/bin/zot. Sharing that origin and package name exposed existing hosts to a silent upgrade hazard whenever 2.1.23_1 sorted newer than 0.4.78. Adding a MOVED entry would fail in both directions: Ports builds would misroute legitimate registry users, while binary pkg upgrade ignores MOVED completely.

Option A renames our port identity to sysutils/zot-agent (bc9c208, d3a3b1e), restores pristine upstream sysutils/zot in the ports tree, and keeps /usr/local/bin/zot (SHA-256: 6b5940ec…) unchanged. Because FreeBSD’s Mk/Scripts/create-manifest.sh never serializes CONFLICTS_INSTALL into .pkg archives, stage-zot-iso.sh and validate-live-image.sh query real /var/db/pkg/local.sqlite ownership and verify /usr/local/share/zot/manifest.json plus build-receipt.json provenance markers.

Live valhala btop telemetry during Poudriere compilation

3. Defect F2: what real FreeBSD ALTROOT tests caught that Linux stubs missed

Section titled “3. Defect F2: what real FreeBSD ALTROOT tests caught that Linux stubs missed”

Three disposable ALTROOT proofs on valhala exercised binary pkg 2.9.2 behavior without touching host local.sqlite:

  1. ALTROOT-1 (registry negative control): With upstream zot-2.1.23_1 installed, pkg install -n zot-agent reported the /usr/local/bin/zot file conflict (rc=1), and both staging and image-validation gates rejected the root closed.
  2. ALTROOT-2 (Defect F2 caught and fixed): Real FreeBSD pkg 2.9.2 prefixes every file path in pkg info -l output with a leading tab (\t/usr/local/share/zot/manifest.json). Because the Linux unit-test shims emitted untabbed lines, exact-line grep -qx passed offline CI while rejecting a valid zot-agent installation on real FreeBSD. Commits a30395a and 907801c switched to portable ^[[:space:]]* matching and updated both test shims to emit tabbed lines (33/33 and 12/12 green), while pkg upgrade -n confirmed zero hijack candidates.
  3. ALTROOT-3 (lock-preserving host cutover): Locking legacy zot blocked 2.1.23_1 during pkg upgrade -n, followed by controlled unlock, delete, zot-agent install, and clean pkg check -s (rc=0).

Promoting p7cand into the live 198-package repository, cutting over valhala’s host package, merging the feature branches, and running the 74-check ISO build remain held for explicit operator sign-off, while the namespaced zot oci / zot registry front-door design and pre-extract ssh-keygen -Y signature contract stay archived as a deferred pilot.