Repository navigation
Release 0.6.4
·
11 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Cordon 0.6.4
Cordon is a Crystal shard that runs shell commands inside a platform-native sandbox with a configurable access policy. It works on macOS (via sandbox-exec / Seatbelt) and Linux (via bwrap / Bubblewrap), presenting both as a single clean API.
Changes
- Timezone-aware commands now work on macOS - The macOS baseline grants read access to the system timezone database. Previously any sandboxed process that formatted a local time — Ruby's
Time, Python'szoneinfo, Go'stime, anything Foundation-linked — silently fell back to UTC instead of the requested zone. No error was raised, so the symptom was wrong output rather than a failure. Custom policies that worked around this by adding timezone paths by hand can drop them./usr/share/localewas unaffected and needed no change; it is a real directory on macOS and was already covered by the existing/usr/sharegrant.- Linux was already correct —
/usr/share/zoneinfois a plain directory there and has been in the baseline all along.
Known issues
Policy#envandPolicy#unset_envare honoured on Linux but silently ignored by the macOS runner, which inherits the parent environment instead. See #24.
For architecture, design decisions, and debugging workflows see DEVELOPMENT.md.