Files
leleka/docs/ci-audit.md
T

28 KiB

CI and build audit (2026-11-02)

Measured on local main at f9003b7ce (sections 3.1 and 3.2), then rebased onto main at 44fb442f5 (observability, unattended and expert-profile merges) and re-verified (section 3.3). Branch claude/ci-audit (worktree .git/wt/ci-audit). Question from the owner: do the CI files and scripts prove that the code builds and that the checks pass? Every CI step was run one at a time on the laptop (x86_64, Windows 11 and WSL2 Ubuntu 24.04, Rust 1.99.0 on both, 16 cores, 39 GiB in WSL). Nothing here used a GPU, a model, the 5090 server or a system change (no apt, no Docker start, no settings). Raw logs and results.tsv (command, exit code, seconds per step) are in the worktree under artifacts/ci-audit/ (ignored by Git, as the logs rule requires).

Verdict. Before this branch the answer was no, for three independent reasons:

  1. the shipped product was not built or tested by any CI step (the gap, section 2);
  2. the existing gates were red on main: check-local.sh --fast, check-local.sh --full (control-plane format and Clippy), desktop.yml (format, Clippy, hardware smoke), and nothing in the repository shows that any of them ran since 2026-10-14 (section 1);
  3. several tests depend on the machine they run on instead of the code (section 4, findings 6 to 8).

After this branch check-local.sh --fast, --port and the new --product pass on Linux (WSL in a real-filesystem namespace, section 3) and --fast on Windows, with the remaining debt reported by name. --full passes up to the steps that need tools this laptop does not have (numpy, Docker, cmake, musl-gcc); those are listed as SKIPPED with what to install. A green run proves the product compiles, links, and passes its CPU-side tests; it does not prove any GPU kernel, model quality or speed (section 6).

1. Can the workflows run for this repository?

Question Answer and evidence
Which CI system Gitea Actions. linux.yml uses gitea.event_name, gitea.event.inputs.*, gitea.event.repository.private, posts releases to https://git.vezha.io/api/v1, and docs/build-validation.md documents triggering it with tea api ... /repos/para/leleka/actions/workflows/linux.yml/dispatches. .github/workflows/ is a directory Gitea Actions reads. origin is git@vezha.io:para/leleka.git.
Runners the workflows need ubuntu-latest (a label the Gitea runner maps to an image, "runner configuration, not an immutable pin": docs/build-validation.md), root inside the job (they call apt-get without sudo), a reachable Docker daemon (docker.io is installed inside jobs; check-local.sh --full runs test-cuda-driver-bootstrap.sh, test-cuda-fixed-ptx.sh and the container smoke tests), network to static.rust-lang.org, developer.download.nvidia.com, Docker Hub and Hugging Face, and a self-hosted GPU runner labelled [self-hosted, linux, x64, strata-gpu] for the three manual GPU jobs.
Is there evidence that they ran Only for the older Strata-Next jobs: fix commits "fix(ci): ..." (2026-10-05 to 2026-10-08) and the note in docs/build-validation.md that two hosted attempts "received runner shutdown". Nothing in the repository records a green or red run of port.yml (added 2026-10-14) or of any workflow after the Rust port (2026-10-15 onward). docs/roadmap.md still says "Hosted Actions still needs a GitHub repository and runner". The last edit of .github/ before this branch was 2026-10-14, while default-members, the deploy tool, the memory governor and the runtime client all came later. I did not query the Gitea instance (private, and out of scope: no network call to it was made), so whether a runner is registered is unverified. The owner can see it in the repository's Actions tab.
Would they pass today No. See section 3: on f9003b7ce the first step of verify (check-local.sh) fails at rustfmt, and desktop.yml fails at three steps.

2. The gap: what the CI did and did not build (confirmed)

default-members has 30 crates, including crates/deploy (package leleka-deploy, the leleka binary). grep over .github/workflows/*.yml and scripts/check-local.sh found no mention of leleka-deploy, leleka-memory or leleka-runtime-client before this branch.

Shipped artifact (docs/deploy.md section 8) Built by CI before Tested by CI before Now
leleka (leleka-deploy: 126 unit, 18 end-to-end, 6 recipe tests) no no release build and tests in check-local.sh --product / product.yml
strata-next (strata-control) musl release build (linux-static-cli, release-cli), debug in verify cargo test via --manifest-path control-plane (416 tests) and 29 smoke scripts unchanged, plus release glibc build and -p strata-control tests in the product job
leleka-inference, leleka-daemon, leleka-cli, leleka-seal-exec (strata-desktop-core, --features sm86) debug build inside desktop.yml only (not sm86, not release) desktop-core tests (161) release build with --features sm86 of exactly those four binaries
leleka-runtime (the engine) cargo check only no (631 tests, 60 ignored) cargo check --all-targets and cargo test
leleka-cuda-driver cargo check --features cuda-driver; cargo test without the feature, which does not compile no tests with --features cuda-driver
leleka-memory, leleka-runtime-client built as dependencies only no tests, Clippy and (runtime-client) rustfmt as hard gates
leleka-native-cpu-expert rustfmt report only no tests
17 CPU/iGPU/NPU default-members (cpu-kernels, cpu-sys, cpu-worker, gguf, gptoss*, harmony, igpu*, kar-codec, shm, openvino, npu-*, gpu-npu-worker) no no built by cargo build --locked, tested
A new crate added to the workspace silently uncovered silently untested scripts/check-ci-coverage.py fails the job unless scripts/ci-coverage.json lists it (negative test done: removing leleka-deploy from the list fails with UNCOVERED)

So the green CI of linux.yml + port.yml + desktop.yml could never have shown that the product builds.

3. Results (every step, in order)

Legend: PASS, FAIL (real defect), FAIL-ENV (the host, not the code), SKIPPED (why). "WSL" means the worktree on /mnt/c (9p: no chmod, FIFO, symlink or ownership semantics, ports shared with other agents' services). "WSL-ns" means the same commands run in a private user, mount and network namespace (unshare -rmn) with tmpfs on /tmp and on the two fixture directories the tests write to, capabilities dropped after mounting, loopback up and nothing else: a real Linux filesystem and free ports, and nothing written outside the worktree (the mounts vanish with the namespace). Seconds are wall time, warm cache, two builds sharing the CPU.

3.1 Baseline on f9003b7ce (before any change)

Step Platform Result Why
cargo metadata --locked Win PASS 1 s lock file consistent
cargo build --locked (all 30 default-members) Win PASS 198 s
cargo build --locked WSL PASS 835 s (crate download + /mnt/c)
cargo build --locked --release -p leleka-deploy (leleka) Win / WSL PASS 39 s / 45 s target/release/leleka(.exe) produced
release set of docs/deploy.md §8 (strata-next + 4 desktop-core binaries, --features sm86) Win / WSL PASS 287 s / 330 s all six binaries present
check-local.sh --fast Win / WSL FAIL 1 s / 3 s rustfmt diff in "strict" crates leleka-backend-api (3 hunks) and leleka-context (5); behind it, Clippy type_complexity in leleka-tokenizer, and literal_port in leleka-experimental-ref
check-local.sh --port, --full (also with STRICT_DEBT=1) WSL FAIL 2 to 3 s stop at the same fast-path failure (set -e)
cargo test -p leleka-cuda-driver (the --full line) Win / WSL FAIL 8 s / 17 s 32 compile errors: modules such as original_expert_stager and native_head exist only with feature cuda-driver; leleka-runtime always enables it, so nothing noticed
cargo test -p leleka-cuda-driver --features cuda-driver Win / WSL PASS 71 s / 86 s
cargo test -p leleka-memory / -p leleka-runtime-client Win, WSL PASS 80 / 84 and 12 tests
cargo test -p strata-control Win / WSL PASS 189 s / 475 s 359 / 416 tests
cargo test -p strata-desktop-core Win / WSL PASS 148 s / 341 s 152 / 161 tests
cargo test -p leleka-runtime Win PASS 113 s 592 tests
cargo test -p leleka-runtime WSL FAIL-ENV 143 s 2 tests (failed_cleanup_or_replaced_inode_never_deletes_unowned_file, frozen_same_fd_hash_owner_and_source_independence): fixtures under ../../target/ on 9p. PASS in WSL-ns, 631 tests
cargo test -p leleka-native-cpu-expert WSL PASS 122 s
cargo test -p leleka-deploy --features test-fakes Win FAIL-ENV 40 s the_supervisor_starts_serves_status_and_reconfigure_... refuses a 12 GiB budget: the laptop's real GPU has 1769 MiB free (another agent's engine holds VRAM)
cargo test -p leleka-deploy --features test-fakes WSL FAIL 53 s, 6 tests 1 real (stale 8192 context assertion; the laptop profile is 262144), 4 FAIL-ENV (read the real GPU's free VRAM), 1 host-dependent (dry_run_..., section 4 finding 7)
tests of the other 25 default-members, --no-fail-fast Win / WSL FAIL 254 s / 322 s Win: only leleka-experimental-ref literal_port (4 tests, real). WSL adds 3 leleka-model-format tests (FAIL-ENV, 9p; PASS on Windows and in WSL-ns, 143 tests)
cargo clippy -D warnings --no-deps per product crate Win / WSL FAIL except leleka-runtime-client counts in section 4 finding 9
cargo fmt --check on the shipped crates Win FAIL per-crate hunks in finding 9
control-plane format (--full) WSL FAIL 290 hunks
control-plane Clippy (--full, no --no-deps) WSL FAIL it lints path dependency leleka-model-format (known debt)
desktop.yml: Format / Lints / Hardware smoke Win, WSL FAIL / FAIL / FAIL 22 hunks; same path-dependency Clippy failure; cargo run "could not determine which binary" (six binaries, no default-run)
desktop.yml: Tests WSL PASS 161 tests
smoke-*.py of linux-static-cli against the glibc strata-next WSL mostly FAIL-ENV 9p lacks chmod (key-file mode checks), numpy missing, one script hangs without a timeout (smoke-wait-ready, killed after 21 min)
python test-*.py of --full WSL 8 FAIL-ENV, 1 numpy chmod, FIFO, symlink on 9p; numpy missing for test-keyless-routing; all PASS in WSL-ns except numpy

3.2 After this branch, on the f9003b7ce base

Step Platform Result Notes
check-local.sh --fast Win PASS 173 s the debt lines print WARNING: known debt (section 4 finding 9)
check-local.sh --fast WSL-ns PASS 183 s
check-local.sh --port (type-check x86_64-unknown-linux-gnu, sampler host shim) WSL-ns PASS 168 s live Python differentials SKIPPED (need a venv with numpy, PyYAML, tqdm, Jinja2, regex and a network fetch of llama.cpp gguf-py)
sampler host shim alone Win PASS 9 s needed a cygpath line for Git Bash
check-local.sh --product WSL-ns PASS 541 s coverage gate, PTX LF check, build, six release binaries, cargo check of the CUDA crates, 2250 tests passed / 0 failed / 170 ignored, fmt and Clippy hard gates; 4 debt warnings (the two host-dependent deploy tests, rustfmt of 5 crates, Clippy of leleka-cuda-driver and leleka-runtime)
check-local.sh --full (STRICT_DEBT=0) WSL-ns PASS up to the Python tests, then FAIL-ENV 227 s stops at test-keyless-routing.py: python3-numpy is not installed in this WSL (the workflow installs it). Everything before it passed: fast path, type-check, shim, py_compile, 12 of 13 Python test scripts
the rest of --full: control-plane format / Clippy --no-deps / tests (416) / replay WSL-ns PASS 4 s / 9 s / 278 s / 81 s
the rest of --full: test-cuda-driver-bootstrap.sh, test-cuda-fixed-ptx.sh WSL SKIPPED the Docker daemon is not running (Docker Desktop stopped); starting it is a system change. test-cuda-fixed-ptx.sh also downloads ptxas (26.7 MB) and nvdisasm (4.1 MB) from developer.download.nvidia.com, which I did not do without the owner's go-ahead. Its offline half (source dataflow assertions on matvec.ptx) PASS
the rest of --full: cuda-stubs/check-cu.py SKIPPED clang++ not installed (the script skips itself)
the rest of --full: build-cpu.sh WSL FAIL-ENV "CMake 3.24 or newer is required"; cmake is not installed on either side
STRICT_DEBT=1 check-local.sh --fast WSL-ns FAIL 131 s, as designed first debt: rustfmt of leleka-model-format
desktop.yml: Format / Tests / Lints (--no-deps) / Hardware smoke (--bin strata-desktop) WSL-ns PASS / PASS (161) / PASS / PASS
desktop.yml: dotnet restore/build, --self-check, reconnect.py, lifecycle.py SKIPPED .NET SDK 9.0.320 only; the project targets net10.0 and the tests drive the dotnet app
linux-static-cli: musl build WSL SKIPPED aws-lc-sys needs a musl C compiler (x86_64-linux-musl-gcc, package musl-tools); the musl target itself was added in a worktree-local copy of the toolchain and works. Everything else in the job was run against the glibc build, next row
linux-static-cli: 29 smoke-*.py against the glibc strata-next WSL-ns 23 PASS, 5 FAIL-ENV, 1 FAIL FAIL-ENV: smoke-native-pack, smoke-native-bootstrap, smoke-mtp-pack, smoke-runtime-profile (numpy), smoke-systemd-manager (builds a Docker image). FAIL: smoke-messages.py (finding 3)
linux-static-cli: combined-package fixture, runtime image, linux-cli-container SKIPPED need musl-gcc and Docker
keyless-cuda, static-cuda-package, hosted-cuda-package (manual dispatch) SKIPPED self-hosted GPU runner / CUDA toolkit download / Docker
port.yml: port-fast, port-typecheck, port-oracles (shim), port-linux-tests PASS / PASS / PASS (live differentials SKIPPED) / absent script, stays green
cargo build --locked (30 default-members) Win, after PASS 28 s
cargo build --locked --release -p leleka-deploy Win, after PASS leleka.exe produced
YAML parse of the four workflows, test-gitea-release.py WSL-ns PASS the contract test only reads linux.yml; adding product.yml does not touch it

3.3 After the rebase onto 44fb442f5 (the tree that would be merged; final commits)

The rebase brought a new workspace member and new code, and the gates found problems in it at once.

Step Platform Result Notes
scripts/check-ci-coverage.py Win / WSL FAIL, then PASS leleka-obs: workspace default-member with no CI coverage entry: the gate did its job; one line in scripts/ci-coverage.json and -p leleka-obs in the product test list
check-local.sh --product (first run) WSL-ns FAIL 1468 s, 2 steps (a) control-plane/tests/log_failure_sse.rs no_panicking_log_macros_in_the_serving_crate is red on main itself: the observability merge added two test-only eprintln! samples (prometheus.rs, request_log.rs) that this source-scanning test forbids; (b) Clippy items_after_test_module in crates/deploy/src/facts.rs (lab_holder_running sits after mod tests)
the same two fixed (a non-panicking write_fmt to stderr with the same output; the function moved above mod tests) no behaviour change
check-local.sh --product WSL-ns PASS 1106 s 2337 tests passed, 0 failed, 172 ignored; the same 4 debt warnings as 3.2
check-local.sh --fast / --port WSL-ns PASS 160 s / 193 s
desktop.yml Lints (--no-deps) / control-plane format and Clippy WSL-ns PASS 12 s / 10 s
cargo test control-plane (425) / desktop-core (161) WSL-ns PASS 267 s / 46 s
cargo build --locked, release leleka, check-local.sh --fast, coverage gate, format hard gates Win PASS 102 s / 25 s / 204 s / 0 s / 1 s

4. Findings, ranked

  1. The product was not built or tested by CI (section 2). Fixed by product.yml + check-local.sh --product + the coverage gate.
  2. main was red in the gates that exist: rustfmt in two "strict" crates, a Clippy lint in leleka-tokenizer, the cargo test -p leleka-cuda-driver line that cannot compile, control-plane and desktop-core format, the Clippy lines that lint dependencies' debt, the desktop hardware smoke, a stale 8192 assertion. Fixed (section 5), except the debt below.
  3. smoke-messages.py fails against the current strata-next, and the cause may be a prompt change. For a Messages tool_result with is_error: true, the control plane builds json!({"is_error":true,"content":text}) (control-plane/src/messages.rs:268). Since 2026-10-27 leleka-harmony enables serde_json/preserve_order (commit 3bedec610), which feature unification applies to the strata-next build, so the object is now serialized is_error first; before, serde_json sorted the keys (content first). The Rust unit test (messages.rs:643) expects the new order, the Python smoke expects the old one and also expects the Messages path to match the Responses path byte for byte. Either the smoke is stale or the prompt text of error results changed for Claude Code clients. This is an owner decision (tool-call integrity, AGENTS.md priority 2); I did not change it.
  4. The Oct-25 upstream sync left the experimental CUDA ports behind: leleka-experimental-ref literal_port fails 4 of 6 tests (kv_stream, kv_q4, kv_q8, qsa_attn: 1, 5, 20 and 197 Original kernel-body lines missing from crates/cuda-driver/src/experimental_*.cu). Already noted in docs/windows.md; red on Windows and Linux alike. Now reported as debt, not hidden. Re-sync of those ports (kernel sources) is outside this audit.
  5. main itself has red tests the CI would have shown: log_failure_sse::no_panicking_log_macros_in_the_serving_crate since the observability merge, and literal_port (finding 4). The first is fixed here; the second is reported.
  6. Tests that depend on the host instead of the code. The leleka-deploy end-to-end tests read the real GPU through nvidia-smi (free VRAM) and the default loopback ports 18766/18080. On this laptop, with another agent's engine running, 5 of 6 failures were of this kind; docs/deploy.md ("all passing in WSL") was true only on an idle GPU. A CI host has no GPU at all. scripts/ci/nvidia-smi is a stand-in that makes all but two of the 18 pass anywhere.
  7. Two deploy tests cannot both pass on one machine: dry_run_prints_the_plan_and_changes_nothing needs a 5090-class host with at least 141.7 GiB free disk and free default ports; a_failing_preflight_stops_before_any_change_and_says_how_to_fix_it needs a host that cannot hold the 5090 profile. They are reported as debt in the product job. Fix: each test writes its own stand-in nvidia-smi into its fixture and passes it through PATH (the facts reader already honours PATH first).
  8. Filesystem-dependent tests: 2 leleka-runtime, 3 leleka-model-format and 8 Python test scripts need chmod, FIFO, symlink or ownership semantics. They fail on /mnt/c and pass on a real Linux filesystem. Run Linux checks from ext4 (~/work/leleka on the server), never from /mnt/c.
  9. Format and Clippy debt, by crate (reported by debt; STRICT_DEBT=1 makes it fatal). rustfmt hunks before this branch: leleka-runtime 2833, leleka-cuda-driver 1970, leleka-native-cpu-expert 396, leleka-deploy 281, leleka-experimental-ref 226, leleka-memory 224, leleka-model-format 143, leleka-libc-shim 34; now clean: strata-control (290), strata-desktop-core (22), leleka-runtime-client (8), leleka-backend-api, leleka-context. Clippy errors on Linux (-D warnings, lib target): leleka-cuda-driver 372, leleka-runtime 196, leleka-model-format 4. leleka-memory also has 3 Windows-only Clippy errors (unused imports, dead code) and leleka-deploy 2 (layout.rs, winsys.rs); the Linux gate does not see them. Other agents own those sources, so they were not mass-reformatted.
  10. Stale lock files. control-plane/Cargo.lock and desktop-core/Cargo.lock (2026-10-05) are ignored by Cargo because both crates are workspace members; --locked uses the root Cargo.lock. They disagree with it (tokio 1.53.1 vs 1.53.2) and give a false impression of what is locked. Recommend git rm (not done: no deletes).
  11. smoke-wait-ready.py has no timeout and hung for 21 minutes when the engine mock could not start (9p run). A runner would wait until its job timeout.
  12. Worktree pitfall. The owner's global core.autocrlf=true makes git worktree add write CRLF into all 4434 text files including the sealed .ptx, which makes the binary refuse to start. scripts/dev/worktree.sh now passes -c core.autocrlf=false (the same hazard was found independently on the release branch, whose *.ptx -text line in .gitattributes is on main; the first commit of this branch also carried one and lost it in the rebase), and the product job fails if a CR is found in a sealed PTX.
  13. No timing or stability data: nothing here is flaky-tested; each step was run once (twice for the fixed ones).

5. What changed on this branch

Commit "ci: build and test what ships ..." (CI and repairs):

  • .github/workflows/product.yml (new, Gitea conventions of linux.yml): runs scripts/check-local.sh --product on ubuntu-latest.
  • scripts/check-local.sh --product: coverage gate; PTX LF check; cargo build --locked; release build of leleka, strata-next and the four desktop-core binaries with --features sm86, and a check that all six exist; cargo check --all-targets of leleka-cuda-driver --features cuda-driver and leleka-runtime; tests of all the crates that ship (and of the 17 CPU/iGPU/NPU default-members); rustfmt and Clippy as hard gates where clean, debt where not. A failing step is recorded and the rest still runs, so one red run lists everything.
  • scripts/check-ci-coverage.py + scripts/ci-coverage.json: fails when a workspace member is not listed, when a default-member is exempt, when an entry is stale, or when no workflow or check-local.sh step names a "tested" crate.
  • scripts/ci/nvidia-smi: stand-in used by the product job for the deploy tests.
  • check-local.sh: -p leleka-cuda-driver --features cuda-driver; literal_port split out as debt; control-plane Clippy --no-deps.
  • desktop.yml: hardware smoke with --bin strata-desktop (first commit); Lints with --no-deps (the "docs: ci-audit" commit).
  • Formatting of leleka-backend-api and leleka-context; a local type alias in leleka-tokenizer (fast.rs); four one-line Clippy fixes (leleka-memory governor.rs redundant cast, leleka-deploy app.rs, wsl.rs, reconfigure.rs test); the stale context assertion in crates/deploy/tests/e2e.rs.
  • run_port_host_tests.sh under Git Bash; worktree.sh against the autocrlf pitfall; .gitattributes keeps the CI scripts and workflows LF.

Commit "ci: cover leleka-obs": leleka-obs added to scripts/ci-coverage.json and the product test list.

Commit "style: cargo fmt on strata-control ..." (separable): cargo fmt on strata-control, strata-desktop-core, leleka-runtime-client (37 files), the four Clippy lints in them (tool_output.rs, a test mut, a collapsible if in leleka-inference.rs, allow(dead_code) on observer_adaptive_slots), the log_failure_sse fix and the facts.rs reorder of section 3.3. An earlier version of this commit conflicted with the observability merge, which is why it was redone on top of it; if more branches land in these crates first, drop it and re-run cargo fmt -p strata-control -p strata-desktop-core -p leleka-runtime-client.

Nothing in this branch touches a kernel, .cu/.ptx, an engine numeric path, or runtime behaviour. The edits to compiled code are formatting, a type alias, a function moved above a test module, a test-only eprintln! replaced by write_fmt, then to then_some of a struct holding borrows, % 2 == 0 to is_multiple_of(2), a removed identity cast, chunks_exact(2) to as_chunks::<2>() in a console-text decoder, and a removed unused mut. Release builds were re-run after them; bitwise identity of engine output is unaffected because no engine code path changed semantically.

6. What CI cannot prove (and where the evidence is)

Not proved by any CI step Evidence that exists, and where
GPU kernels compute the right values (sm_120 / sm_86 PTX, MMQ, attention, GDN, MTP) The PTX is only assembled by test-cuda-fixed-ptx.sh (two toy kernels) or compiled in as bytes. Kernel identity vs the Original: docs/ledger.md, docs/quality-gate.md, docs/sm86-assets.md, per-feature docs in docs/
Model quality and tool-call integrity at 256k docs/quality-gate.md, docs/e2e-run.md (real Codex CLI sessions on the 5090)
Speed: decode/prefill/agent throughput, prefix cache docs/e2e-run.md, docs/ledger.md, docs/prefix-cache.md, docs/roofline.md, docs/experiments/draft-round-5090.md
Memory fit on a real card (VRAM budget, pinned RAM, WSL2 limits), driver >= 595, libcublas.so.12 docs/deploy.md §10, docs/laptop-profile.md, docs/windows.md
leleka up acceptance on a clean GPU node (charter G2) docs/deploy.md §1 states it has not been run
The packaged tarball installs and starts scripts/package-release.py is not run by any workflow; docs/deploy.md §8
The CPU/iGPU/NPU runtime on real hardware docs/cpu-runtime.md, docs/worker-pool.md (CI only runs the host-testable parts)
Windows native behaviour not in CI; docs/windows.md, this audit's Win rows
The desktop app (Avalonia, dotnet) desktop.yml can only run it with .NET 10
That the workflows run on the Gitea instance at all section 1
Concurrency, soak, crash recovery under load scripts/soak on branch claude/unattended, docs/port-remaining.md

7. What the owner has to install or decide

  • Check the Actions tab on the Gitea repository (section 1) and register a runner with the ubuntu-latest label that has Docker, root in the job and network access if none exists; the three GPU jobs need the strata-gpu runner.
  • In WSL for local runs of everything: sudo apt install python3-numpy cmake musl-tools clang (numpy: five more smoke scripts and test-keyless-routing; cmake: build-cpu.sh; musl-tools: the static CLI; clang: the CUDA stub syntax check). dotnet SDK 10 for the desktop app. Start Docker Desktop (or use the Linux Docker on the server) for test-cuda-driver-bootstrap.sh, test-cuda-fixed-ptx.sh and the container smokes. I installed none of these.
  • Decide on finding 3 (error tool_result key order in Messages prompts), finding 4 (re-sync of the experimental CUDA ports), finding 7 (per-test nvidia-smi stand-ins), and whether to git rm the two stale lock files.
  • Merge: claude/ci-audit (5 commits on top of 44fb442f5) merges cleanly into main at 1cebffd58 (git merge-tree); it adds a new workflow, which runs on the next push once a runner exists. Expect the first hosted run to find host differences this laptop could not (disk space, runner image, Docker access).

8. Reproduce

git -c core.autocrlf=false worktree add .git/wt/x claude/ci-audit      # or scripts/dev/worktree.sh new x claude/ci-audit
scripts/check-local.sh --product      # ~10 min warm; Linux on a real filesystem (not /mnt/c), no GPU
scripts/check-local.sh --fast         # also Windows (Git Bash); the Linux type-check needs the target or SKIP_LINUX_TYPECHECK=1
scripts/check-local.sh                # the full legacy gate; needs python3-numpy, cmake, Docker

WSL-ns wrapper used here (nothing outside the worktree is written): unshare -rmn sh -c 'ip link set lo up && mount -t tmpfs tmpfs /tmp && mount -t tmpfs tmpfs <worktree>/target/stra157-sdet && mount -t tmpfs tmpfs <worktree>/target/stra169-mtp-binder && exec setpriv --inh-caps=-all --bounding-set=-all --ambient-caps=-all "$@"' sh <command>.