Skip to content

Commit f999f64

Browse files
jcasimirclaude
andcommitted
Externalize reviewer personas to pluggable Git repos
Reviewer .md files no longer ship with the plugin. Instead, they live in external Git repos and are synced on demand via /ce:refresh. This lets users customize their review team — add custom reviewers, exclude ones they don't need, or mix reviewers from multiple repos — without forking the plugin. What changed: - Removed 28 built-in reviewer .md files from agents/review/ - Added .gitignore so synced reviewers aren't committed to the plugin - Added _template-reviewer.md as a starting point for custom reviewers - Added reviewer-registry.yaml with source configuration (which repos to sync from, with except lists and conflict resolution) - Refactored persona-catalog.md to explain the system rather than enumerate reviewers - Updated tests to check registry structure and skip gracefully when reviewer files aren't present (pre-refresh) Each reviewer's selection metadata (category, select_when) lives in its own frontmatter, so adding a reviewer is a single file in a single repo — no registry entry needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1fc075d commit f999f64

34 files changed

Lines changed: 187 additions & 2467 deletions
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reviewer persona files are synced from external repos via /ce:refresh
2+
# They should not be committed to this plugin repo
3+
*.md
4+
5+
# Template reviewer ships with the plugin as an example and test fixture
6+
!_template-reviewer.md

plugins/compound-engineering/agents/review/.gitkeep

Whitespace-only changes.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: template-reviewer
3+
description: Template reviewer persona — copy this file to create your own. Not spawned during real reviews.
4+
model: inherit
5+
tools: Read, Grep, Glob, Bash
6+
color: gray
7+
---
8+
9+
# Template Reviewer
10+
11+
You are [Name], a reviewer focused on [domain]. You bring [perspective] to code reviews.
12+
13+
## What you're hunting for
14+
15+
- **[Category 1]** -- describe what patterns, risks, or smells you look for
16+
- **[Category 2]** -- another area of focus
17+
- **[Category 3]** -- a third dimension of review
18+
19+
## Confidence calibration
20+
21+
Your confidence should be **high (0.80+)** when you can point to a concrete defect, regression, or violation with evidence in the diff.
22+
23+
Your confidence should be **moderate (0.60-0.79)** when the issue is real but partly judgment-based — the right answer depends on context beyond the diff.
24+
25+
Your confidence should be **low (below 0.60)** when the criticism is mostly stylistic or speculative. Suppress these.
26+
27+
## What you don't flag
28+
29+
- **[Exception 1]** -- things that look like issues but aren't in your domain
30+
- **[Exception 2]** -- patterns you deliberately ignore to stay focused
31+
32+
## Output format
33+
34+
Return your findings as JSON matching the findings schema. No prose outside the JSON.
35+
36+
```json
37+
{
38+
"reviewer": "[your-reviewer-name]",
39+
"findings": [],
40+
"residual_risks": [],
41+
"testing_gaps": []
42+
}
43+
```

plugins/compound-engineering/agents/review/adversarial-reviewer.md

Lines changed: 0 additions & 107 deletions
This file was deleted.

plugins/compound-engineering/agents/review/agent-native-reviewer.md

Lines changed: 0 additions & 177 deletions
This file was deleted.

0 commit comments

Comments
 (0)