Repository navigation
Conversation
This was referenced Jul 13, 2026
nwparker
force-pushed
the
nwparker/plugins-p0-kernel-core
branch
from
July 13, 2026 03:06
0b360fd to
329c3da
Compare
nwparker
force-pushed
the
nwparker/plugins-p0-kernel-core
branch
from
July 13, 2026 10:32
329c3da to
8f62c72
Compare
This was referenced Jul 13, 2026
Contributor
Author
|
Superseded by #8549, which condenses the whole plugin-system stack into a single PR against |
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
Adds the experimental, feature-flagged Phase 0 plugin kernel:
<publisher>.<id>/<content-hash>with atomic current pointers, immutable provenance, system Git, and no install scripts.This is intentionally experimental and makes no public API compatibility promise.
Security boundaries
Capabilities gate Orca host APIs; they do not sandbox worker access to the operating system. Consent UI in the top stack PR states this explicitly.
Relay provisioning/distribution remains deferred and fail-closed. Paired web/mobile plugin UI is also deferred; this kernel does not expose plugin surfaces there.
The installer rejects unsafe paths/symlinks, hashes nested
.gitcontent, uses length-prefixed hash framing, bounds discovery, serializes lockfile writes, and preserves crash-consistent source provenance.Prior art credit
This work adopts and substantially reworks the kernel from community PR #7506 by @s546126, and ports selected supervisor, identifier-safety, installer, disclaimer, and conformance ideas from community PR #5801 by @gsxdsm. No comments were posted on those community PRs.
Validation
Validated at the top of this three-PR stack on macOS with Electron 43.1.0:
pnpm typecheck— passed.pnpm lint— passed; only pre-existing warnings outside this stack.Signed packaged-app validation and Windows/Linux live evidence remain CI/follow-up work.
Stack
Draft only — do not merge until the full stack has been reviewed together.