M17-3: Reviewer specialization in practice #154
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator, I want
reviewer-security(opus, matcharea:security) andreviewer-fast(haiku, matchtype:chore) instances running alongside the default reviewer, so that security-sensitive PRs get the strongest model and trivial chores don't burn opus.Acceptance criteria
Agent instances
config/agents.json):reviewer-security— modelclaude-opus-4-7[1m],match_labels: ["area:security"]reviewer-fast— modelclaude-haiku-4-5-20251001,match_labels: ["type:chore"]reviewer-default'smatch_labelsstays empty (catch-all)Labels
area:securitytoconfig/labels.jsonRouting
dispatchByTypeinpool.ts) verifiably routes an issue's linked PR toreviewer-securitywhen the issue hasarea:security— even when other reviewer instances are idle and earlier in round-robinTests
pool.test.ts— 3 reviewer instances, issue witharea:securitylabel → picksreviewer-securityeven if others idle and earlier in round-robinwebhook-handlers.test.ts— review dispatch on anarea:security-labeled PR routes to the security instanceDocs
Smoke
area:securityissue on this repo and paste the live-service routing log line in the PR bodyOut of scope
Dependencies
References
specs/m17-multi-repo-and-observability.md§Story M17-3match_labelsrouting shipped in pool scheduler