Skip to content

feat(bugx): add BugX code audit plugin v0.1.3 - #206

Open
Bencibr wants to merge 4 commits into
zai-org:mainfrom
Bencibr:feat/bugx-plugin
Open

Bencibr wants to merge 4 commits into
zai-org:mainfrom
Bencibr:feat/bugx-plugin

Conversation

@Bencibr

@Bencibr Bencibr commented Nov 23, 2026

Copy link
Copy Markdown

Plugin type (required) / 插件类型(必填)

Select exactly one before requesting review. / 发起评审前必须且只能勾选一项。

  • UI Plugin / 是 UI 插件 — provides MCP Apps interactive pages / 提供 MCP Apps 交互页面
  • Standard plugin / 普通插件(非 UI) — does not provide MCP Apps interactive pages / 不提供 MCP Apps 交互页面
  • Not applicable / 不适用 — repository-only changes; no plugin content changed / 仅仓库级改动,不涉及插件内容

Affected plugin name(s) / 涉及的插件名称:

bugx (Standard plugin / 普通插件(非 UI))

What / 改动内容

Add the community plugin bugx (v0.1.2) under external_plugins/bugx/ and register it in marketplace.json under developer-tools.

  • User problem solved: AI-generated code often looks syntactically clean while hiding concurrency deadlocks, boundary bugs, or security flaws. BugX adds dedicated audit agents (bugx, bugx-worker), ZCode workflow skills (bugx, bugx-zcode), and a local stdio MCP server bridge (.mcp.json using ${ZCODE_PROJECT_DIR}) for coverage-tracked, reproducible PoC-verified local code audits.
  • Dependencies & side effects:
    • Requires local bugx-cli (>=0.1.2, installed via pip install bugx-cli or npm install -g bugx-cli).
    • Spawns local bugx mcp serve --root ${ZCODE_PROJECT_DIR} over stdio and writes audit ledgers/checkpoints into .bugx/ inside the active workspace.
    • Local audits do not upload source code; optional cloud sync / daily heartbeat telemetry can be disabled via BUGX_TELEMETRY_ENABLED=0 or bugx config set telemetry.data_sharing false.
    • Reuses the user's configured ZCode host model; no external API keys are collected by this plugin.
  • Attribution & License: All files in external_plugins/bugx/ (manifest, agents, skills, icon) are authored by BugX (https://bugx.dev) under MIT; external bugx-cli runtime is distributed under BUSL-1.1.
  • Verification:
    • python3 scripts/validate.py -> OK: 60 plugin(s) validated
    • build_dist.build_zip(Path("external_plugins/bugx"), ...) -> 10 entries, 54676 bytes, clean zip without symlinks or private paths
    • git diff --check -> clean, zero unrelated changes in marketplace.json

Self-check / 自查清单

  • Plugin name is unique kebab-case; new external plugin directory is external_plugins/<name>/; existing fixes retain ownership / 插件名唯一且 kebab-case,外部新增插件位于 external_plugins/<name>/,已有插件修复保留原归属
  • Usage category is set independently of publisher ownership / 用途分类 category 已填写,与维护归属分开
  • Plugin type and affected names are declared above / 已在上方声明插件类型与涉及的插件名称
  • version bumped in BOTH plugin.json and marketplace.json (artifacts are immutable) / plugin.json 与 marketplace.json 两处版本号已同步升级(制品不可变)
  • README.md (EN) and README_CN.md (中文) both updated and equivalent / 中英文 README 均已更新且语义一致
  • description_i18n has both en and zh-CN / description_i18n 包含 en 与 zh-CN
  • No secrets, machine-specific paths, or private dependencies / 不含密钥、机器专属路径或私有依赖
  • Model/API/network dependencies documented / 模型、API、网络依赖已写明
  • python3 scripts/validate.py and build_dist.build_zip pass locally / 本地校验与 bugx 制品打包均通过(注:仓库级 scripts/build_dist.py 全量执行需先 pnpm build 编译 UI 插件)

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@Bencibr Bencibr changed the title feat(bugx): add BugX code audit plugin v0.1.2 feat(bugx): add BugX code audit plugin v0.1.3 Nov 24, 2026
@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

This branch has not been deployed

No deployments
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.

2 participants