Skip to content

feat(cn): /cn:team multi-model fan-out for the supplementary pool#5

Open
LeoLin990405 wants to merge 1 commit into
mainfrom
feat/cn-team-pool
Open

feat(cn): /cn:team multi-model fan-out for the supplementary pool#5
LeoLin990405 wants to merge 1 commit into
mainfrom
feat/cn-team-pool

Conversation

@LeoLin990405

Copy link
Copy Markdown
Owner

Summary

Adds /cn:team — a multi-model fan-out that broadcasts one task to several Chinese
model 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 agy frontend, 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

  • team subcommand in cn-companion.mjs: parallel runTask fan-out via
    Promise.allSettled, up-front member validation + de-dup, availability check that
    skips offline backends instead of aborting the batch.
  • /cn:team command + cn-team skill (fan-out + unified-review/synthesis rules).
  • docs/triangle-workflow.md: full topology + where the CN pool plugs in.
  • 6 team arg-parsing tests (all --dry-run, never call a backend).
  • README usage/architecture updates; version bump 1.1.0 → 1.2.0 (marketplace +
    package.json).

Member selection

  • Default pool (no flags): qwen, glm, kimi — coder · reasoning · long-context.
  • --models qwen:token,glm:max,kimi pins a per-member profile via model:profile.
  • --all runs every registered backend.

Testing

  • npm test (syntax check + arg-parsing suite) passes.
  • Smoke-checked default pool, per-member profiles, --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.

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)
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.

1 participant