30.oct.2026

49.7s Visual Reel (20 scenes · 5 telemetry cards + 15 live captures · 0.5s cross-dissolves): Animated WebP · MP4 Video · Render Manifest · Pilot Receipt JSON
Illustrative framing scene (fictional motif): a short exchange on keeping package ownership singular, version strings exact, and upstream build dependencies pre-seeded.
Operator: Both 15.0-RELEASE and 15.1-RELEASE need signed packages, and pkg check -s cannot fail on the live image.
Clawdie: Then /usr/local/bin/zot must have a single owner whenever pkg installs it, and build.sh must cache packages per FreeBSD version and branch.
Pi: FreeBSD’s DISTVERSION macro also rewrites adjacent hex letters in git short-SHAs—ga09dd42 became g09.d42 until PORTVERSION pinned the exact string.
Agy: And Forgejo’s /api/packages/ router uses HTTP Basic Auth with a write:package token rather than /api/v1 bearer headers.
Jev: I flagged the unbound $ZOT_STAGE variable and /api/v1 router mismatch before the first push; the host build and pkg info -F receipt remain the ground truth.
Operator: Lock the distinfo, wire -b latest so Poudriere fetches upstream dependencies instead of compiling 136 ports from source, and record every receipt.
Receipt · 30.oct.2026
Section titled “Receipt · 30.oct.2026”| Workstream | Result | Status and evidence |
|---|---|---|
| Dual-jail Poudriere & scoped pkg cache | clawdie-15-0-amd64 (15.0-RELEASE, Yellow stage) + clawdie-15-1-amd64 (15.1-RELEASE, Green stage), @flavor manifest validation, and ${PKG_CACHE_DIR}/${FREEBSD_VERSION}/${DEFAULT_PKG_BRANCH} caching | Merged: clawdie-iso #29, fc10942 |
Single-owner /usr/local/bin/zot | stage-zot-iso.sh leaves /usr/local/bin/zot untouched when ZOT_FROM_PKG=YES or var/db/pkg/zot-*/+MANIFEST exists (6/6 tests) | Merged: clawdie-iso #29, 8d88b88 |
Zot -freebsd label & --version-json | Human CLI prints zot 0.4.57-95-freebsd (ga09dd42) while --version-json preserves canonical 0.4.57-95-ga09dd42 for zot-update.sh | Merged: zot #29, c8ea66b |
| Forgejo Generic Package publish & port | Native FreeBSD CI builds zot-<ver>-freebsd-amd64.tar.gz, build-receipt.json, and distinfo, and publishes to /api/packages/clawdie/generic/zot/<ver>/ via PACKAGE_TOKEN (111/111 tests) | Merged: zot #31 0a0373a · zot #32 a09dd42 · zot #34 3861cec |
Valhala sysutils/zot Poudriere pilot | Built and signed zot-0.4.57.95.ga09dd42.pkg (SHA256: 7bd274c3...95eadc9b, FreeBSD:15:amd64, 1500068) in jail clawdie-15-0-amd64 | Verified on Valhala: Pilot receipt JSON · Exactname build capture |
Poudriere host hardening & -b latest | Fixed FREEBSD_HOST=https://download.freebsd.org, -m git+https, per-jail ALLOW_UNSUPPORTED_SYSTEM=yes, -b latest binary seeding, and added sysutils/zot to packages/poudriere-ports.txt | Merged: clawdie-iso #30, 7d3c167 (65ca8c6) |
| Zot SemVer fix & tag/dispatch publish gate | Normalized git-describe <tag>-<N>-g<sha> versions in normalizedVersion(), gated CI package publish to tag/dispatch, added bump-port.sh (114/114 tests), and bumped port to 0.4.57-102-ga61ff14 | Merged: zot #35, a61ff14 · zot #36, 7123d27 |
15.0 → 15.1-RELEASE cutover & poudriere.conf guard | Archived archive/yellow-dev-15.0, removed global PACKAGE_FETCH_BRANCH from poudriere.conf (15/15 tests, Jev 0.92/0.92/0.91), fetched 130/138 binary deps in 55s, and built zot-0.4.57.102.ga61ff14 in 27s on clawdie-15-1-amd64 | Merged & Verified: clawdie-iso #33 9c757d8 · clawdie-iso #34 cd1a1f8 |
1. Dual-Jail Poudriere Architecture (15.0-RELEASE & 15.1-RELEASE)
Section titled “1. Dual-Jail Poudriere Architecture (15.0-RELEASE & 15.1-RELEASE)”To support both the Yellow stage (FreeBSD 15.0-RELEASE, aligned with Colibri 0.15.0) and the Green stage (FreeBSD 15.1-RELEASE, aligned with Colibri 0.15.1) without cross-contaminating ABI packages or re-downloading ~600 MiB of base packages on every ISO build, clawdie-iso PR #29 (fc10942) introduced three structural changes:
- Dual Poudriere jails (
clawdie-15-0-amd64andclawdie-15-1-amd64):scripts/poudriere/poudriere-setup.shprovisions both release jails by default (or a single jail via--version) and maps anyX.Y-*release string toclawdie-X-Y-<arch>. - Manifest-driven
@flavorbuilds:scripts/poudriere/poudriere-build.shvalidatescategory/port@flavorentries against the underlying${BASEFS}/ports/${PTREE}/category/port/Makefileand readspackages/poudriere-ports.txtwhen invoked without positional arguments. - Version+branch-scoped package cache in
build.sh:prefetch_iso_packages()caches downloaded.pkgfiles andFreeBSD.conffingerprints under${PKG_CACHE_DIR}/${FREEBSD_VERSION}/${DEFAULT_PKG_BRANCH}and passespkg fetch -y -d -o "${cache_root}"without-r FreeBSD, allowing higher-priority first-party repositories (Clawdie/Clawdie-stage) inREPOS_DIRto satisfy first-party and flavor-gap packages alongside upstreamFreeBSD.
2. Forgejo Generic Package Registry & the Basic Auth Boundary
Section titled “2. Forgejo Generic Package Registry & the Basic Auth Boundary”Rather than standing up a separate binary artifact server or asking Poudriere to consume unverified tarballs, we connected Cox’s Forgejo CI directly to Poudriere’s MASTER_SITES fetch phase:

During live verification on code.clawdie.si, two router contracts surfaced and were fixed in zot PR #31 (0a0373a) and zot PR #32 (a09dd42):
- Router path (
/api/packages/vs/api/v1/): Forgejo mounts its Generic Package Registry at/api/packages/<owner>/generic/<pkg>/<version>/<file>, outside${GITHUB_API_URL}(/api/v1). - HTTP Basic Auth (
Www-Authenticate: Basic realm="Gitea Package API"): Unlike/api/v1endpoints that accept-H "Authorization: token ...", the package registry requires HTTP Basic Auth (curl --user "${PACKAGE_USER}:${PACKAGE_TOKEN}") with a Personal Access Token carryingwrite:packagescope. AddingPACKAGE_TOKENonce under user-level Actions secrets made it available tozot,herdr, andbherdr.
Run #78 on commit a09dd42 published all four artifacts (zot-0.4.57-95-ga09dd42-freebsd-amd64.tar.gz, .sha256, build-receipt.json, and distinfo), verified via unauthenticated HTTP/1.1 200 OK:
TIMESTAMP = 1793368648SHA256 (zot-0.4.57-95-ga09dd42-freebsd-amd64.tar.gz) = 3ae05c8bca51d4283857bccfdddb304ae927f4a066eb6e35b6230652e42f068cSIZE (zot-0.4.57-95-ga09dd42-freebsd-amd64.tar.gz) = 158647153. Valhala Poudriere Pilot: DISTVERSION Normalization & Signed sysutils/zot
Section titled “3. Valhala Poudriere Pilot: DISTVERSION Normalization & Signed sysutils/zot”On valhala (FreeBSD 15.0-RELEASE-p14 amd64, ZFS pool neo), provisioning clawdie-15-0-amd64 and running the first poudriere bulk for ports-mgmt/pkg and sysutils/zot succeeded in 00:04:34, but produced an unexpected package filename:
- First run (
DISTVERSIONonly):zot-0.4.57.95.g09.d42.pkg - Root cause: FreeBSD’s default
bsd.port.mkderivation (:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g) treats multi-letter sequences as alpha/beta words (ga→g,dd→d) and splits digit-to-letter transitions (09d→09.d), mangling hex git short-SHAs. - Fix (
aa83a81): AddingPORTVERSION= ${DISTVERSION:S/-/./g}preserves the exact short-SHA. The incremental Poudriere rebuild reused cachedpkg-2.8.4and producedzot-0.4.57.95.ga09dd42.pkgin00:01:06.

Post-build verification on the signed package (/usr/local/poudriere/data/packages/clawdie-15-0-amd64-clawdie_proof/All/zot-0.4.57.95.ga09dd42.pkg, SHA-256 7bd274c346d0516ea479b27fa5b3f8d3c51d1a83110439ddbc9d78fd95eadc9b) confirmed:
pkg info -F:Architecture: FreeBSD:15:amd64,FreeBSD_version: 1500068,Flat size: 35.1MiB,Origin: sysutils/zot.readelf -n:.note.tagreportsABI tag: 1203000(Go’s minimum FreeBSD 12.3 syscall ABI tag emitted by the Go linker), while package metadata targets1500068.- Binary execution:
zot --version→zot 0.4.57-95-freebsd (ga09dd42)andzot --version-json→{"version":"0.4.57-95-ga09dd42","display":"0.4.57-95-freebsd (ga09dd42)","platform":"freebsd","commit":"a09dd42"}.
4. graphics/py-pillow@py312, Ctrl+T (SIGINFO), and -b latest Binary Seeding
Section titled “4. graphics/py-pillow@py312, Ctrl+T (SIGINFO), and -b latest Binary Seeding”When Poudriere started building graphics/py-pillow@py312 without -b latest, it queued the full 136-package transitive build/runtime closure from source (perl5.42, tcl86, gmake, pkgconf, libxml2, zstd, python312, etc.) across 12 parallel builders on valhala’s Xeon E5-2620 (Load avg: 6.77, 1.75 / 11.9 GiB RAM):

Sending Ctrl+T (SIGINFO) in the root console printed Poudriere’s live per-builder table (Queued: 136 Built: 38 Failed: 0 Tobuild: 98 at 00:15:11, with lang/python312 at 99% CPU in 144.78 MiB tmpfs) directly into the tee’d build log, allowing Pi to read the live phase timings from its monitoring pane:

After 24 minutes (41/136 built), we canceled the unseeded source compile and committed the permanent fix in clawdie-iso (65ca8c6):
poudriere bulk -b "${FETCH_BRANCH}"(default: latest): Instructs Poudriere to pre-fetch unmodified upstream dependencies (python312,cmake,tiff,webp,freetype2) as official binary packages frompkg.FreeBSD.organd compile only the requested port (graphics/py-pillow@py312).- Host setup hardening in
poudriere-setup.sh: FixesFREEBSD_HOST=https://download.freebsd.org, switches ports tree creation to-m git+https, and writesALLOW_UNSUPPORTED_SYSTEM=yesinto per-jailpoudriere.d/<jail>-make.conf.
5. Canonical ports Tree Build, Host Launcher Migration & End-to-End clawdie Verification
Section titled “5. Canonical ports Tree Build, Host Launcher Migration & End-to-End clawdie Verification”After fast-forwarding zot (b22289e) and clawdie-iso (7d3c167) on valhala, Pi migrated the Poudriere tree name from clawdie_proof to the canonical ports (/usr/local/poudriere/ports/ports) and uncovered one subtle heredoc expansion detail in poudriere-setup.sh:
- Unquoted heredoc
\${ABI}expansion: Becausepoudriere-setup.shwritespoudriere.confvia an unquoted<<EOFheredoc, a single backslash (\${ABI}) was consumed during file generation, leaving literalPACKAGE_FETCH_URL=pkg+http://pkg.FreeBSD.org/${ABI}inpoudriere.conf. When Poudriere sourcedpoudriere.conf,${ABI}expanded to empty (pkg+http://pkg.FreeBSD.org//latest). - Fix (
000b150): EscapingPACKAGE_FETCH_URL=pkg+http://pkg.FreeBSD.org/\\\${ABI}inpoudriere-setup.shpreserves literal\${ABI}inpoudriere.conf, resolvingpkg+http://pkg.FreeBSD.org/${ABI}/latestcleanly.
Building sysutils/zot under the canonical ports tree produced and signed /usr/local/poudriere/data/packages/clawdie-15-0-amd64-ports/All/zot-0.4.57.95.ga09dd42.pkg (SHA-256: 6b6e786a002750af0fc5149c4b5585a633a7f31b108947aef2d2b87b1bbf552d). First, an isolated alt-root check (pkg -r /var/tmp/zot-pkg-check) and clawdie-15-0-amd64 jail chroot check confirmed package checksum integrity (CHECK_RC=0) and binary execution (JAIL_RUN_RC=0). Note that the alt-root console screenshot below displays [unknown-repository] and missing /usr/share/keys/pkgbase-15/trusted warnings because /var/tmp/zot-pkg-check was an empty scratch root without the host key store:

Next, in a separate host-level step on valhala, we migrated the host itself from its legacy unowned source-install wrapper (/usr/local/bin/zot, 1093 bytes, zot 0.4.11 from Sep 30) to the signed clawdie-local Poudriere repository (signature_type: "pubkey", /usr/local/etc/ssl/clawdie-pkg.pub) and verified end-to-end execution as the unprivileged clawdie user (uid=1001):
# 1. Host signed-repository update & package install (root@valhala)Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01Fetching data: 100% 1641 B 1.6 kB/s 00:01Processing entries: 100%clawdie-local repository update completed. 2 packages processed.All repositories are up to date.[1/1] Installing zot-0.4.57.95.ga09dd42...[1/1] Extracting zot-0.4.57.95.ga09dd42: 100%
# 2. End-to-end runtime & provider round-trip (clawdie@valhala, uid=1001)[clawdie@valhala ~/ai/zot]$ command -v zot; zot --version; zot --version-json; pkg info zot | sed -n "1,20p"; pkg check -s zot/usr/local/bin/zotzot 0.4.57-95-freebsd (ga09dd42){"version":"0.4.57-95-ga09dd42","display":"0.4.57-95-freebsd (ga09dd42)","platform":"freebsd","commit":"a09dd42"}zot-0.4.57.95.ga09dd42Name : zotVersion : 0.4.57.95.ga09dd42Installed on : Fri Oct 30 17:30:31 2026 CETOrigin : sysutils/zotArchitecture : FreeBSD:15:amd64Prefix : /usr/localCategories : sysutilsLicenses : MITMaintainer : hello@clawdie.siWWW : https://code.clawdie.si/clawdie/zotComment : Compact coding agent harnessAnnotations : FreeBSD_version: 1500068 build_timestamp: 2026-10-30T15:12:52+0000 built_by : poudriere-git-3.4.8 port_checkout_unclean: yes port_git_hash : 26814d676edb0c48d1439dafaea101f2cdd52aec ports_top_checkout_unclean: yes ports_top_git_hash: 26814d676edb0c48d1439dafaea101f2cdd52aecChecking zot: 100%[clawdie@valhala ~/ai/zot]$ zot -p "Reply with exactly: zot-pkg-ok"zot-pkg-okThe hardened host migration runbook (using root-owned 0700 mktemp -d /root/... directories and set -C exclusive file creation rather than world-writable /var/tmp paths) and ZOT_FROM_PKG=YES ISO package wiring are now codified in clawdie-iso PR #31 (e0c24bd).
6. 15.0 → 15.1-RELEASE Cutover, PACKAGE_FETCH_BRANCH Safety Gates & Zot 0.4.57-102-ga61ff14
Section titled “6. 15.0 → 15.1-RELEASE Cutover, PACKAGE_FETCH_BRANCH Safety Gates & Zot 0.4.57-102-ga61ff14”When we ran poudriere bulk -n -v -b latest in the 15.0-RELEASE jail (clawdie-15-0-amd64, OSVERSION 1500068) with PACKAGE_FETCH_WHITELIST="*" (clawdie-iso PR #32, 2aadcee), Poudriere contacted pkg.FreeBSD.org and skipped all 135 upstream binary packages with:
Skipping <pkg>: remote osversion 1501000 is newer than jail 1500068Because FreeBSD’s official FreeBSD:15:amd64/latest builders already target 15.1-RELEASE (OSVERSION 1501000), we recorded the 15.0-RELEASE (0.15.0) milestone as a completed stepping-stone checkpoint in clawdie-iso PR #33 (9c757d8), preserved the legacy Yellow branch as annotated tag archive/yellow-dev-15.0 (615e61c3a1), and cut over our primary build target to 15.1-RELEASE (clawdie-15-1-amd64).
Poudriere poudriere.conf Sourcing Order & Jev 3×3 Verification
Section titled “Poudriere poudriere.conf Sourcing Order & Jev 3×3 Verification”Tracing Poudriere’s own source (bulk.sh:28 → common.sh:10861 → common.sh:4696) revealed a subtle trap: Poudriere sources /usr/local/etc/poudriere.conf before getopts parses -b, and download_from_repo() only returns early when PACKAGE_FETCH_BRANCH is empty (""). If PACKAGE_FETCH_BRANCH=latest is written globally in poudriere.conf, omitting -b on 15.0 does not clear it.
In clawdie-iso PR #34 (cd1a1f8):
- Per-invocation
-bonly:poudriere-setup.shno longer writesPACKAGE_FETCH_BRANCHto/usr/local/etc/poudriere.conf, andpoudriere-build.shresolvesFETCH_BRANCH=auto(lateston15.1+,noneon15.0), loggingfetch-branch: <branch> (<version>). - Anchored fail-closed config guards (
15/15unit tests): Both scripts fail closed ifpoudriere.confcontains an active^[[:space:]]*PACKAGE_FETCH_BRANCH=, a customPACKAGE_FETCH_URL=, a customPACKAGE_FETCH_WHITELIST=, or duplicate active keys (> 1line), while preserving existing file permissions (stat -f '%Lp' || stat -c '%a'+chmod) across URL repair. - 2-pass Jev (
jev-1.14.0)3×3evaluation: After remediating Pass-1 findings (noul0.33 / 0.06 / 0.05), Pass 2 reached0.92 / 0.92 / 0.91across all three axes withchoiceconfidence1.00.
Zot 0.4.57-102-ga61ff14: SemVer git-describe Normalization & Tag-Gated Publishing
Section titled “Zot 0.4.57-102-ga61ff14: SemVer git-describe Normalization & Tag-Gated Publishing”Starting zot 0.4.57-95-freebsd (ga09dd42) on valhala surfaced a false-positive update banner (0.4.57-95-ga09dd42 -> 0.4.57). Under standard SemVer (semver.Compare), the -95-ga09dd42 suffix from git describe is parsed as a pre-release of 0.4.57, ranking a 95-commit-newer snapshot older than the v0.4.57 tag and caching that false positive in ~/.local/state/zot/update-check.json for 12 hours.
In zot PR #35 (a61ff14) and zot PR #36 (7123d27):
- SemVer
git-describenormalization:normalizedVersion()inpackages/agent/update.gostrips-[0-9]+-g[0-9a-f]+$(gitDescribeReleasePrefix) beforesemver.Compare, so0.4.57-102-ga61ff14compares equal tov0.4.57(up to date) while still upgrading cleanly whenv0.4.58is released (114/114tests). - Tag/dispatch publish gate &
bump-port.sh: Routine merges tomainno longer auto-publish new snapshots to the Generic Package registry; publishing is gated tov*tags or manualworkflow_dispatch, paired withpackaging/freebsd/bump-port.sh. Run #92 publishedzot-0.4.57-102-ga61ff14-freebsd-amd64.tar.gz(15,865,604bytes,SHA-256: 02ec5f06...10c7d9).
Live 15.1-RELEASE (clawdie-15-1-amd64) Execution on valhala
Section titled “Live 15.1-RELEASE (clawdie-15-1-amd64) Execution on valhala”Provisioning clawdie-15-1-amd64 (15.1-RELEASE-p6 amd64) alongside clawdie-15-0-amd64 on valhala and syncing sysutils/zot (0.4.57.102.ga61ff14) into /usr/local/poudriere/ports/ports immediately validated the 15.1-RELEASE cutover:

Running poudriere-build.sh --version 15.1-RELEASE sysutils/zot graphics/py-pillow@py312 logged fetch-branch: latest (15.1-RELEASE), produced zero remote osversion skips, fetched 130 binary packages in 55 seconds (Queued: 138, Fetched: 130, Tobuild: 8), and built ports-mgmt/pkg (138s) and sysutils/zot (zot-0.4.57.102.ga61ff14 in 27s):

Notice also why upstream sysutils/zot (zot-2.1.22_2, the OCI registry port in official FreeBSD ports) was never fetched over our first-party port: Poudriere’s -b latest version check saw 0.4.57.102.ga61ff14 != 2.1.22_2 and built our sysutils/zot from the local port. Meanwhile, inspecting btop on valhala after 03:35:29 of session uptime confirmed the runtime footprint across our stack—compiled Go zot at 41 MiB and its Rust child process herdr-agent-state at 4.07 MiB RAM (0.03%), compared to 381 MiB for the node: pi harness:
