diff --git a/.crumb b/.crumb index 666926d..b85a10e 100644 --- a/.crumb +++ b/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-28T21:30:38Z", + "compiled_at": "2026-11-04T22:50:56Z", "compiler": "crumb-compile/1", - "digest": "sha256:c99668b64ff837900cf5c4d8d05843680e442c9e7891eca224eeccda8e1be90a", + "digest": "sha256:f26a4f8b7272916809e201e5756be2912fb08cc3e7cad2cdb6e7911a17d88ba0", "evidence_files": 3, "evidence_root": "sha256:66b5f8dd905a61d5c92cdfcd3a82460ea637719b3b226c7c7158ec43cf3bf49c", - "files": 96, - "generated_at_commit": "6da7defcf0802274b5b4a7e1139b7ae644e4b181", - "source_tree": "sha256:f541af7e9d0451f4c1220f6fed796ce07bac8afc3e984cf005785821b0fa4f31" + "files": 97, + "generated_at_commit": "8032f190e2b12961ba9653105c0ea0af4ba24f8f", + "source_tree": "sha256:3e91c684bb11999d9a3c3c0d15888c4b1faf199f80b9dac2447667486f3303ca" }, "pin": { "omega_mv": "aien-dev/omega-mv@e5b32567a7aff3ce594e3254a622a846a6cd190b" diff --git a/.github/workflows/gates.yml b/.github/workflows/gates.yml new file mode 100644 index 0000000..d6a8304 --- /dev/null +++ b/.github/workflows/gates.yml @@ -0,0 +1,43 @@ +# Gates: build omega-mcp with the pinned compiler (omega-mv e5b32567, omc sha256 2c824805..., +# born from the seed on this runner and checked by build.sh) and run the three gates from the +# README: smoke.py, trust.py and check-reference.py --self-test. +# Host evidence on a GitHub arm64 runner, not a qualification of any other kernel or sandbox. +# Ubuntu 24.04 restricts unprivileged user namespaces through AppArmor; the sysctl below lifts that +# runner default so bwrap can create the sandbox the trust gate attacks. The gate itself is unchanged. +name: gates +on: + pull_request: + push: + branches: [main] +permissions: + contents: read +jobs: + gates: + runs-on: ubuntu-24.04-arm + timeout-minutes: 60 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + with: + persist-credentials: false + - name: bubblewrap and prlimit + run: | + sudo apt-get update -q + sudo apt-get install -y -q bubblewrap util-linux + sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 + bwrap --version; prlimit --version | head -1 + - name: pinned omc from the seed (omega-mv e5b32567) + run: | + git clone --quiet --filter=blob:none https://github.com/aien-dev/omega-mv.git ../omega-mv + git -C ../omega-mv checkout --quiet --detach e5b32567a7aff3ce594e3254a622a846a6cd190b + cd ../omega-mv && sh seed/omega-from-seed.sh + sha256sum seed/out/omc + - name: build + run: OMEGA_SRC="$(cd .. && pwd)/omega-mv" ./build.sh + - name: smoke gate + run: python3 gates/smoke.py + - name: trust gate + run: python3 gates/trust.py + - name: reference check + run: | + OMEGA_SRC="$(cd .. && pwd)/omega-mv" + python3 tools/check-reference.py --omega-src "$OMEGA_SRC" --omc "$OMEGA_SRC/seed/out/omc" --self-test diff --git a/README.md b/README.md index 6e67d65..2c55bc4 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,8 @@ with the pinned omc, and runs three negative controls. These gates are host evidence on Linux arm64 (bubblewrap 0.9.0, util-linux 2.39.3); they say nothing about other kernels or about a sandbox configuration other than the one in `src/sandbox.om`. +`.github/workflows/gates.yml` runs the same three gates on every pull request and push to `main`, +on a GitHub-hosted Ubuntu 24.04 arm64 runner with the compiler born from the seed at the pin. ## Layout