Repository navigation
Darwin platform support and a modular shim source layout, with the same
single-binary deployment and process-containment contract.
Added
- macOS
x86_64andarm64support throughsrc/pal/: kqueue-based
parent/supervisor death notification (NOTE_EXIT,NOTE_FORK,
NOTE_TRACK),LOCAL_PEERCRED/LOCAL_PEERPIDpeer identity,
libproc-backed child inspection,/dev/fddescriptor handling, and Darwin
ru_maxrssunit normalization. The existing process-group registry and
inactivity enforcement remain shared. See
ADR-004. - Thin Mach-O wheels for
macosx_10_13_x86_64andmacosx_11_0_arm64, plus the
existing two static-musl Linux wheels. Release assembly also produces a
universal2 tarball from both thin Darwin binaries. scripts/install.shsupport for Darwinarm64andx86_64, with
sha256sumor macOSshasum -a 256. SHA256SUMS verification is mandatory
for both online and offline installation; version and atomic-replacement
checks are unchanged.- Automatic best-effort import of the detected project package into the
zygote, disabled by--no-auto-preloadorZTEST_AUTO_PRELOAD=0. - The shim is split into numbered source sections under
src/shim/modules/
and deterministically bundled byscripts/bundle_shim.py;build.zig
enforces bundle freshness. The separately importable, stdlib-only project
detector is embedded and extracted beside the shim. - Mach-O and FAT-aware release validation: thin wheel payloads require the
advertised cputype, universal2 requires exactly onex86_64and onearm64
slice, and the sterility gate scans both slices for build-host paths.
Changed
- Configuration-size failures distinguish a single oversized value from the
aggregate serialized configuration limit (ConfigTooLarge) instead of
collapsing both into one diagnostic. - Release CI builds and gates four target artifacts, runs behavioral tests on
native Darwin runners, and checks Darwin ad-hoc signatures and system-only
dynamic linkage with Apple tools.