Code Review Panel
@mgreten/code-review-panelv2026.08.13.1
01README
Run a panel of independent reviewer personas over one body of code and return unified, actionable findings — the transpose of rubric grading, built for review-and-fix workflows.
02Models
@mgreten/code-review-panelv2026.08.13.1code_review_panel.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| cliAgentModel | string | |
| swampRepoDir | string | |
| repoPath | string | |
| reviewProvider | string | |
| reviewModelId | string | |
| providerCatalogModel | string | Name of the @mgreten/agent-provider-catalog instance holding the fleet's provider/model table. Reading {provider, model} from the catalog instead of hardcoding it makes a fleet-wide provider migration one catalog edit rather than a per-consumer sweep. |
| useProviderCatalog | boolean | Read {provider, model} from providerCatalogModel instead of reviewProvider/reviewModelId. ON by default so this model follows the fleet. An explicit per-call provider/model method arg still wins over the catalog. Fail-open: a missing or broken catalog falls back to the literals. |
| reviewTimeoutMs | number |
fn review(target: string, context: string, personas: array, focusArea?: string, provider?: string, model?: string, nowIso?: string)
Run each persona (slash command or role) over the supplied context via cli-agent
| Argument | Type | Description |
|---|---|---|
| target | string | Label for what is under review, e.g. 'PR #24375 final state' |
| context | string | The code context to review — a diff, file dump, or summary. Passed to every persona. |
| personas | array | Reviewer personas: slash commands (e.g. '/ai-slop-check') resolved by cli-agent, |
| focusArea? | string | Optional free-text directive layered onto EVERY persona's prompt in addition to |
| provider? | string | Override CLI provider for this run |
| model? | string | Override CLI model for this run |
| nowIso? | string | ISO timestamp for the bundle (deterministic tests) |
Resources
panelReview(7d)— Unified findings from a panel of reviewer personas over one body of code.
03Previous Versions
2026.07.31.1
updated dependencies
2026.07.16.1
Rebuild against swamp CLI 20260716
2026.07.15.1
Initial release: run a panel of reviewer personas over one body of code for unified, actionable findings
04Stats
A
100 / 100
Downloads
6
Archive size
25.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms