Repository navigation
feat(plugins): add confinement foundations and host lifetime safeguards - #76
Merged
Merged
Conversation
leonardoaraujosantos
marked this pull request as ready for review
October 30, 2026 04:53
vanedaltro
marked this pull request as draft
October 30, 2026 05:09
vanedaltro
marked this pull request as ready for review
October 30, 2026 10:41
vanedaltro
force-pushed
the
feat/plugin-linux-ipc-candidate
branch
from
October 30, 2026 11:53
c514a4e to
e6fd3d2
Compare
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.
Plugin hosts need safer bootstrap and process ownership before native capability enforcement can be activated. This PR consolidates #70–#75 into a foundations milestone. The production App still uses the legacy sandbox; native capability enforcement and the full implementation goal remain incomplete.
Changes
Verification
Local macOS: all 66 sandbox library tests pass, including a real lost-wait regression; sandbox library/test Clippy with warnings denied, formatting and diff checks pass. Strict OpenSpec: 107 passed. Spec lint: zero errors, 25 warnings. The C build emits two deprecated Seatbelt SDK warnings.
Linux capacity run passed on x64/arm64: four capacity/recovery cases per architecture and the precise wrong-cap counterexample, with cancellation, mutation and descendant regressions. Retained receipts remain bound to their actual tested revisions. All CI for the final head must be green before merge.
Follow-up goal
The user authorized this foundations milestone, followed by one implementation PR. Remaining scope stays tracked: production native admission/enforcement and support/design gates, remaining plugin protocol/callback/hook operations, daily coding surfaces, and the full binary hex editor. Passing probes or explicit refusals do not complete these features.
See delivery rules, package preparation, host ownership, and capacity proof.