Skip to content

feat: add controlled plugin platform - #40

Open
mahoshojoHCG wants to merge 4 commits into
mainfrom
codex/issue-16
Open

feat: add controlled plugin platform#40
mahoshojoHCG wants to merge 4 commits into
mainfrom
codex/issue-16

Conversation

@mahoshojoHCG

@mahoshojoHCG mahoshojoHCG commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a server-enforced preview → exact capability approval → install/upgrade flow with strict manifests, package-wide integrity signatures, dependency checks, publisher continuity, and crash-safe lifecycle recovery.
  • Runs JavaScript out of process behind network/file/data capability brokers, bounded concurrency and resource budgets, circuit breaking, provider adapters, management APIs, Settings UI, SDK examples, and deployment persistence.
  • Integrates notification and scoped-storage providers while keeping remote URL installation disabled.

Validation

  • GitHub Actions: 47 plugin-process tests isolated from instrumentation; remaining 342 unit, 70 integration, and 4 FUSE tests passed with three Cobertura reports.
  • Local: Release solution build (0 warnings/errors), full unit suite 389/389, frontend tests 16/16 and production build, changed-file format checks, and diff check.

Security boundaries

  • Unsigned local packages require the explicit development-only opt-in. Worker limits use bounded concurrency plus process CPU/working-set monitoring rather than OS cgroups/job objects; production deployments should retain host/container resource and egress controls.
  • Organization-specific NAT64/6rd/ISATAP translation needs host egress ACLs. On Windows, directory listing, metadata, and plugin-data writes fail closed until equivalent handle-relative operations are available.

Closes #16

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-29T17:28:40.409933Z 6366329 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6366329ed7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread SecondDimensionWatcherReDive/PluginPlatform/PluginPlatformOptions.cs Outdated
Comment thread SecondDimensionWatcherReDive/Controllers/PluginController.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P2] 建设受控插件平台与多 Provider 生态

1 participant