Skip to content

feat(expert-panel): add expert-panel consensus review plugin - #116

Open
Zhang24y wants to merge 4 commits into
zai-org:mainfrom
Zhang24y:feat-expert-panel
Open

Zhang24y wants to merge 4 commits into
zai-org:mainfrom
Zhang24y:feat-expert-panel

Conversation

@Zhang24y

Copy link
Copy Markdown

Plugin type / 插件类型(必填)

  • 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) / 涉及的插件名称:expert-panel

What / 改动内容

Adds community plugin expert-panel v0.1.1 — expert-panel consensus review, for getting a "more robust" answer on important decisions. 新增社区插件 expert-panel v0.1.1——专家团共识评审,用于重要决策的多视角把关。

Mechanism / 机制: independent answering (each expert answers before seeing anyone else) → truly anonymous cross-critique (inputs carry only "Expert A/B/C" labels — no lens names, no models) → arbitration where the consensus rate = agreed/(agreed+disputed) is computed deterministically by the workflow script, never self-reported by a model → one extra debate round when below threshold; if still below, disagreements are stated explicitly for human adjudication and never force-merged → chair synthesis → fact verification of objectively checkable claims. Single-expert failure is tolerated with a sample-completeness annotation. Profiles: quick (3 experts / 1 round) / standard / deep (auto-adds a contrarian lens).

Zero config / 零配置: all roles run on the session default model — no API keys, no MCP server, no hooks, no outbound network requests. The optional run ledger uses python3 and does not block conclusions when absent.

Components: skills/expert-panel (usage guide + parameter reference), commands/expert-panel.md (/expert-panel), workflows/expert-panel.dwf.ts (six-stage workflow the skill invokes via CreateWorkflow path).

Test evidence / 实测证据: full run on default config (quick profile, 3/3 experts valid) reached 74% consensus in 1 round — 13 agreed / 5 disputed / 0 rejected by the fact verifier; expert board, consensus chart and conclusion artifact all produced; ledger written.

Local checks / 本地校验: python3 scripts/validate.py → OK: 1 plugin(s) validated; python3 scripts/build_dist.py → plugin artifact built (7 files, ~19KB). Both were run on a tree containing exactly this plugin plus the appended marketplace entry (a full-repo clone was blocked by local network flakiness; the full merged marketplace.json was verified to parse with 51 entries).

License / 许可: MIT. No third-party code; the anonymous cross-critique + chair mechanism is inspired by karpathy/llm-council (which ships no license) — this is an independent implementation, attribution is given in the README.

Self-check / 自查清单

  • Plugin name is unique kebab-case; new external plugin directory is external_plugins/<name>/ / 插件名唯一且 kebab-case,外部新增插件位于 external_plugins/expert-panel/
  • Usage category is set independently of publisher ownership / 用途分类已填写:productivity
  • Plugin type and affected names are declared above / 已声明插件类型(普通插件)与名称
  • version in BOTH plugin.json and marketplace.json (0.1.1, first release) / 两处版本号一致
  • README.md (EN) and README_CN.md (中文) both present and equivalent / 中英文 README 语义一致
  • description_i18n has both en and zh-CN (identical in manifest and marketplace entry) / 双语描述齐备且逐字一致
  • No secrets, machine-specific paths, or private dependencies / 不含密钥、机器专属路径或私有依赖(已扫描)
  • Model/API/network dependencies documented / 依赖已写明(仅用会话自身模型通道;台账可选 python3)
  • python3 scripts/validate.py and python3 scripts/build_dist.py pass locally / 本地校验与构建通过(口径见上)

@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