No description
  • Python 71.2%
  • Shell 28.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
wak 2f361e851b trust: credit igor from existing ledger evidence (67 pkgs); my earlier gap claim was wrong
igor DID rebuild the bitbaker closure in work/ during the original
bootstrap — its PASS lines (now tagged host=igor) carry exactly the iids
that verified.json holds for 38 more pins; my prior 'mismatch' reading
missed that legacy ledger iids lack the sha256: prefix. Merge rule: a
PASS line's host is credited iff its iid equals the verified iid
(proof, not assertion). All 42 pins now show hosts=[igor,wak]; strict
build-container.sh bitbaker --check-only passes with no --any-host.
No rebuilds were needed; artifacts + gates were already in /fdata.
2026-11-16 05:24:38 -08:00
containers bitbaker: keep only /bin/sh -> bash on top of 43 pinned layers (iid cb057b53fe99) 2026-11-07 15:35:27 -08:00
docs verify: record all local containers (containers/Containerfile-<name>) in trust ledger 2026-11-07 15:59:50 -08:00
stagex@aa27e5b9a9 stagex-wak workspace: pristine stagex submodule + WAK build/verify/trust layer 2026-11-05 23:51:41 -08:00
tools verify: record all local containers (containers/Containerfile-<name>) in trust ledger 2026-11-07 15:59:50 -08:00
trust trust: credit igor from existing ledger evidence (67 pkgs); my earlier gap claim was wrong 2026-11-16 05:24:38 -08:00
.gitignore docs/scripts: purge machine-specific storage paths (fdata was a leak) 2026-11-06 19:00:32 -08:00
.gitmodules submodule: track main (pinned at aa27e5b9a, Release 2026.10.0) 2026-11-05 23:51:41 -08:00
AGENTS.md verify: record all local containers (containers/Containerfile-<name>) in trust ledger 2026-11-07 15:59:50 -08:00
LICENSE Initial commit 2026-11-05 23:51:00 -08:00
README.md docs/scripts: purge machine-specific storage paths (fdata was a leak) 2026-11-06 19:00:32 -08:00

stagex-wak

WAK's downstream workspace for building on StageX with full source-provenance verification.

Working rules for agents and humans: AGENTS.md.

  • stagex/ — pristine upstream submodule (codeberg.org/stagex/stagex @ aa27e5b9a). Nothing downstream ever lands inside it. Its out/fetch entries are gitignored symlinks into work/ (see below).
  • containers/ — our Containerfiles. Containerfile-bitbaker is canonical for the WAK build container (musl + clang + rust + go + bitbake tool layer); meta-wak/tools/Containerfile is a synced copy. The -mold / -xattr files are source-reproduction recipes proving upstream bytes from scratch.
  • tools/ — build + verification pipeline. Path convention: tools/wak-paths.sh (shell) / tools/wak_paths.py (python). Run from anywhere.
  • trust/ — ledger.txt (every A/B gate result, append-only), verified.json (machine cache: recipe hash + host + upstream OCI revs per package), trust manifests, pins. This directory is the trust record; treat it like signed data.
  • Reuse instead of rebuild: tools/verify/reuse.py --pull core-busybox prints a digest-pinned pull of the exact verified upstream rev; --sweep lists what is STALE or UNVERIFIED against its recipe hash. New gates record host + recipe and flag CROSS-MACHINE-CONFIRM when a second host reproduces the same iid.
  • signatures/ — upstream lookaside signatures + keyring (local clone, gitignored upstream).
  • docs/ — plan + trust model.

Pipeline

tools/build/podman-build.sh <stage> <pkg> <A|B>   # reproducible build (pinned store)
tools/verify/fetch-upstream-ref.py stagex/<pkg>:latest
tools/verify/gate.py <pkg> <iidA> <iidB> out/<pkg>-A-oci <upstream.json>

All artifacts under work/ (gitignored symlink to machine-local storage): work/out/ work/fetch/ work/podman-store/ Scripts pin podman to $WAK_WORK/podman-store (via ${WAK_PODMAN[@]}); override the artifact root with $WAK_WORK — no script edits needed.