Context
v0.1 stubs macOS: users get `--allow-unsandboxed` mode (Cedar + receipts only,
no OS isolation). This is fine for development but means macOS has no parity
with Linux for the sandbox layer.
What's needed
Translate `Profile` into an SBPL (Sandbox Profile Language) string and invoke
`sandbox_init(3)` from Rust via a small FFI shim.
SBPL is Apple-private and undocumented; workable references:
Acceptance criteria
Release target
v0.2.
Context
v0.1 stubs macOS: users get `--allow-unsandboxed` mode (Cedar + receipts only,
no OS isolation). This is fine for development but means macOS has no parity
with Linux for the sandbox layer.
What's needed
Translate `Profile` into an SBPL (Sandbox Profile Language) string and invoke
`sandbox_init(3)` from Rust via a small FFI shim.
SBPL is Apple-private and undocumented; workable references:
Acceptance criteria
Release target
v0.2.