stagex-wak workspace: verified bitbaker build pipeline (prime main) #1
Loading…
Reference in a new issue
No description provided.
Delete branch "william/stagex-wak-workspace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this is
WAK's downstream workspace for building on StageX with per-image source-provenance verification. The
stagex/submodule is pristine upstream (codeberg, pinned ataa27e5b9a= Release 2026.10.0, tracksmain); nothing downstream ever lands inside it.Contents
containers/—Containerfile-bitbaker(canonical WAK build container: musl + clang + rust + go + bitbake tools, 41 digest-pinned verified layers) plus mold/xattr reproduction recipes proving upstream bytes from scratch.tools/— reproducible podman build pipeline (podman-build.sh, A/B pairs), verification (gate.py: hard iid equality + soft upstream diff_id match;fetch-upstream-ref.py), recipe fingerprints + reuse cache (recipe.py,reuse.py— pull verified upstream revs instead of rebuilding), shared path convention (wak-paths.sh/wak_paths.py,$WAK_WORKoverride, podman pinned to$WAK_WORK/podman-store).trust/—ledger.txt(130 append-only gate results, all PASS),verified.json(machine cache: recipe + host + upstream OCI revs),pins.txt(41 bitbaker pins with gate status), trust manifest. Seedocs/TRUST-MODEL.md.docs/— trust model + bootstrap plan.AGENTS.md— working rules: no pin without a gate, NEAR-MATCH only with root-caused zero-code diffs, mold in build stages only (never in output images), three-way digest agreement.Verification status
41/41 bitbaker layers A/B-verified reproducible; 130/130 ledger entries PASS; all NEAR-MATCHes root-caused (hostname strings, debug-line paths, tar markers — zero code-section diffs).
Notes
work/is a gitignored symlink to shared artifact storage ($WAK_WORKon other machines).main; merge expected to be a fast-forward (6 commits on top of the init commit).submodule: track main (pinned at aa27e5b9a, Release 2026.10.0)to stagex-wak workspace: verified bitbaker build pipeline (prime main)busybox bakes /usr/bin/{xz,unxz,xzcat,lzma,unlzma,lzcat} symlinks into its layer; core-xz COPYed earlier had its real binaries replaced by the applet (no -T/--format=raw/--robot). Full audit of all 10 pre-busybox layers: xz is the ONLY collision; every other GNU/coreutils layer already lands below. Rebuilt: localhost/stagex/bitbaker:latest = 6924810895b5 (also wak/ tag). Verified: xz 5.8.3 real binary, GNU tools intact, shims intact, unique busybox applets intact, 41/41 pins unchanged (digests are layer-content, reordering does not alter them). meta-wak/tools/Containerfile synced.- mold/onetbb back exactly where upstream pallet-clang puts them (digests from digests/core.txt, ledger PASS MATCH-UPSTREAM). The 'minus mold' deviation was the root cause of the patch/cpio/chrpath soft-DIFFs and left core-profile's LD=ld.mold dangling. Bitbaker composition now matches upstream pallet-clang line for line, plus bash + bitbake tools. - Delete Containerfile-user-{patch,cpio,chrpath}-mold: they only replayed upstream's own mold build (upstream binaries literally embed 'mold 2.42.0'); the proof lives in the ledger + work/out/*-mold.iid-*. Pins were already the upstream manifests, so shipped content is unchanged in intent and byte-identical by pin. - Delete Containerfile-core-coreutils-xattr (rejected deviation; never pinned; ledger seq 128 keeps the record). - pins.txt regenerated mechanically from Containerfile+ledger: 42 pins, all PASS. New image e1c5f9118f18 (stagex+wak tags); verified mold 2.42.0 + libtbb present, ld.mold resolves, shims/xz intact, no busybox-applet collisions (mold/tbb not applet names). meta-wak Containerfile synced.