Skip to content

Slim expert-reviewer from 384 to 66 lines — match CLI pattern#603

Merged
PureWeen merged 1 commit intomainfrom
fix/slim-expert-reviewer
Apr 17, 2026
Merged

Slim expert-reviewer from 384 to 66 lines — match CLI pattern#603
PureWeen merged 1 commit intomainfrom
fix/slim-expert-reviewer

Conversation

@PureWeen
Copy link
Copy Markdown
Owner

The expert-reviewer duplicated 300+ lines of domain knowledge already in copilot-instructions.md. The CLI produces better reviews with a ~50 line prompt because it reads conventions from the repo at runtime. Now the agent does the same.

The expert-reviewer was 384 lines of duplicated domain knowledge
that's already in copilot-instructions.md. The CLI produces better
reviews with a ~50 line prompt because it reads conventions from the
repo at runtime.

Now the expert-reviewer:
- Reads .github/copilot-instructions.md for all domain knowledge
- Matches the CLI review methodology exactly
- Only contains: gather context, 3-model dispatch, consensus, posting
- Sub-agents read full source files (not just diffs)

The 12 review dimensions, folder hotspot mapping, overarching
principles, and PolyPilot-specific knowledge are all in
copilot-instructions.md — no need to duplicate them.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PureWeen PureWeen merged commit 8d4a625 into main Apr 17, 2026
@PureWeen PureWeen deleted the fix/slim-expert-reviewer branch April 17, 2026 21:02
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