18.nov.2026
Receipt · 18.nov.2026
Section titled “Receipt · 18.nov.2026”| Workstream | Evidence |
|---|---|
15.1-RELEASE-p7 upgrade & canonical assistant naming | clawdie-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 proofs | Evidence 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.

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.

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:
ALTROOT-1(registry negative control): With upstreamzot-2.1.23_1installed,pkg install -n zot-agentreported the/usr/local/bin/zotfile conflict (rc=1), and both staging and image-validation gates rejected the root closed.ALTROOT-2(DefectF2caught and fixed): Real FreeBSDpkg 2.9.2prefixes every file path inpkg info -loutput with a leading tab (\t/usr/local/share/zot/manifest.json). Because the Linux unit-test shims emitted untabbed lines, exact-linegrep -qxpassed offline CI while rejecting a validzot-agentinstallation on real FreeBSD. Commitsa30395aand907801cswitched to portable^[[:space:]]*matching and updated both test shims to emit tabbed lines (33/33and12/12green), whilepkg upgrade -nconfirmed zero hijack candidates.ALTROOT-3(lock-preserving host cutover): Locking legacyzotblocked2.1.23_1duringpkg upgrade -n, followed by controlled unlock, delete,zot-agentinstall, and cleanpkg 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.