Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(ci): account for PNG optimization and default Landlock cost

Steven Enamakelf0140c42ac99
diff --git a/scripts/ci/check-dep-sim-calibration.sh b/scripts/ci/check-dep-sim-calibration.sh
index 787c1058e5..aa8a7d5621 100755
--- a/scripts/ci/check-dep-sim-calibration.sh
+++ b/scripts/ci/check-dep-sim-calibration.sh
@@ -82,12 +82,17 @@
# packages / 304 names and still 2 native builds; the kernel-floor history
# records the upstream update and its measured increase.
#
+# 304 -> 318 on 2026-10-04: lossless PNG optimization adds an 11-name
+# oxipng closure and the merged TinyBox default Landlock backend adds three
+# names. A global-cut simulation of oxipng,landlock recovers 325/304 exactly;
+# native accounting now includes libdeflate-sys (three native builds).
+#
# Called by ci-lite.yml's feature-gate smoke lane and by the lane runner, so the
# expected count lives here once (plus scripts/kernel-floor.limits).
set -euo pipefail
cd "$(dirname "$0")/../.."
-EXPECTED_NAMES=304
+EXPECTED_NAMES=318
exec python3 scripts/dep-sim.py --cut-nothing --expect-names "${EXPECTED_NAMES}"
diff --git a/scripts/dep-sim.py b/scripts/dep-sim.py
index 484c3fa337..2c2774180a 100755
--- a/scripts/dep-sim.py
+++ b/scripts/dep-sim.py
@@ -53,7 +53,7 @@ from pathlib import Path
# Crates whose build script shells out to a C/C++/asm toolchain. Kept in sync
# with the same list in kernel-floor.sh — if you add one here, add it there.
NATIVE = {
- "libsqlite3-sys", "libgit2-sys", "libz-sys", "lzma-sys", "aws-lc-sys",
+ "libdeflate-sys", "libsqlite3-sys", "libgit2-sys", "libz-sys", "lzma-sys", "aws-lc-sys",
"ring", "openssl-sys", "zstd-sys", "bzip2-sys",
"curl-sys", "onig_sys", "tree-sitter",
}
diff --git a/scripts/kernel-floor.limits b/scripts/kernel-floor.limits
index 5c0f993cb2..b36c660e8a 100644
--- a/scripts/kernel-floor.limits
+++ b/scripts/kernel-floor.limits
@@ -13,6 +13,13 @@
# Simulate with: scripts/dep-sim.py --cut <crates>
#
# History
+# 339/318/3 2026-10-04 Workspace attachment intake adds lossless PNG
+# optimization through oxipng (11 packages/names, including
+# libdeflate-sys C compilation). The merged TinyBox jail
+# enables Landlock by default (3 packages/names). Removing
+# both closures in the simulator exactly recovers 325/304;
+# this is dependency growth, not a shedding claim. Native
+# accounting now includes libdeflate-sys in both tools.
# 325/304/2 2026-10-02 Merge upstream/main at 708f677cca. CI measures the
# refreshed flows graph at 325 packages / 304 names / 2
# native builds. This release merge adds no Cargo or
@@ -638,4 +645,4 @@
# into the required host runtime. The migration adds five
# resolved packages and four unique crate names; it does
# not add a native build dependency.
-flows:325:304:2
+flows:339:318:3
diff --git a/scripts/kernel-floor.sh b/scripts/kernel-floor.sh
index 1ac6c2e7ba..9d9193e7d5 100755
--- a/scripts/kernel-floor.sh
+++ b/scripts/kernel-floor.sh
@@ -70,7 +70,7 @@ NAMES="$(printf '%s\n' "$TREE" | awk '{print $1}' | sort -u | wc -l | tr -d ' ')
# Native builds: crates known to invoke a C/C++/asm toolchain from build.rs.
# Matched by name against the resolved graph rather than by parsing build
# scripts, because the set is small, stable, and the parse is not worth it.
-NATIVE_CANDIDATES='^(libsqlite3-sys|libgit2-sys|libz-sys|lzma-sys|aws-lc-sys|ring|openssl-sys|zstd-sys|bzip2-sys|curl-sys|onig_sys|tree-sitter)$'
+NATIVE_CANDIDATES='^(libdeflate-sys|libsqlite3-sys|libgit2-sys|libz-sys|lzma-sys|aws-lc-sys|ring|openssl-sys|zstd-sys|bzip2-sys|curl-sys|onig_sys|tree-sitter)$'
NATIVE_LIST="$(printf '%s\n' "$TREE" | awk '{print $1}' | sort -u | grep -E "$NATIVE_CANDIDATES" || true)"
NATIVE="$(printf '%s' "$NATIVE_LIST" | grep -c . || true)"