feat(cn): /cn:team multi-model fan-out for the supplementary pool#5
Open
LeoLin990405 wants to merge 1 commit into
Open
feat(cn): /cn:team multi-model fan-out for the supplementary pool#5LeoLin990405 wants to merge 1 commit into
LeoLin990405 wants to merge 1 commit into
Conversation
Add a `team` subcommand to cn-companion.mjs that broadcasts one task to several CN backends in parallel (Promise.allSettled) and collects every backend's output for a single unified review — the elastic CN pool in a review/frontend/backend triangle. - /cn:team command + cn-team skill (fan-out + synthesis guidance) - default pool qwen,glm,kimi; --models a,b:profile,c for per-member profiles; --all for the full registry; up-front validation + dedup; availability check skips offline backends instead of aborting the batch - docs/triangle-workflow.md: Claude orchestrates+reviews, Codex backend, agy frontend, CN = elastic pool - team arg-parsing tests (dry-run, no backend calls); README updates - version bump 1.1.0 -> 1.2.0 (marketplace + package.json)
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
/cn:team— a multi-model fan-out that broadcasts one task to several Chinesemodel backends in parallel and collects every backend's output for a single unified
review. This is the elastic CN pool in a larger review/frontend/backend triangle
(Claude orchestrates + reviews, Codex backend, Antigravity CLI
agyfrontend, CN models= supplementary pool).
Scope is deliberately limited to cn-cc's role: the CN pool only. Codex/agy drivers are
out of scope for this CN-only plugin.
What's added
teamsubcommand incn-companion.mjs: parallelrunTaskfan-out viaPromise.allSettled, up-front member validation + de-dup, availability check thatskips offline backends instead of aborting the batch.
/cn:teamcommand +cn-teamskill (fan-out + unified-review/synthesis rules).docs/triangle-workflow.md: full topology + where the CN pool plugs in.--dry-run, never call a backend).package.json).
Member selection
qwen, glm, kimi— coder · reasoning · long-context.--models qwen:token,glm:max,kimipins a per-member profile viamodel:profile.--allruns every registered backend.Testing
npm test(syntax check + arg-parsing suite) passes.--all,--prompt passthrough,unknown-model and invalid-profile rejection — all via
--dry-run.Review
This PR is going through the mandatory cross-engine review team (Codex + agy/Gemini +
Claude security pass) before merge.