fix(supervisor): require V8 JIT entitlement - #469
Merged
Conversation
This was referenced Jul 24, 2026
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
com.apple.security.cs.allow-jitWhy
The issue #367 parity canary proved a signed arm64 engine with no entitlements crashes on its first GPT-5.6 Luna tool call with V8's
Failed to reserve virtual memory for CodeRangefatal error. Re-signing the identical binary with the repository's existingallow-jitentitlement made the same tool turn complete successfully, and the repaired supervised engine completed the mapped-worktree Luna turn in 8.6 seconds.This patch makes that signing requirement fail closed instead of allowing a provenance-valid but tool-crashing engine to launch.
Validation
python3 -m unittest scripts.codex_lab_package.test_supervisorpython3 -m unittest discover -s scripts/codex_lab_package -p 'test_*.py'— 75 testsgit diff --checkallow-jit-signed engine completed a GPT-5.6 Lunapwd/README tool turnScope
This intentionally rejects existing managed engines that lack the required entitlement. The supported install/update provisioning work remains tracked in #462; this change prevents such engines from being treated as healthy in the meantime.
Refs #367
Refs #385
Refs #462