Skip to content

review: add rust-api-ergonomics-reviewer agent and dual-review workflow#79

Merged
iainmcgin merged 2 commits intomainfrom
chore/dual-review-agents
Apr 28, 2026
Merged

review: add rust-api-ergonomics-reviewer agent and dual-review workflow#79
iainmcgin merged 2 commits intomainfrom
chore/dual-review-agents

Conversation

@iainmcgin
Copy link
Copy Markdown
Collaborator

Adds a second pre-commit review agent, rust-api-ergonomics-reviewer, and updates CLAUDE.md to run it in parallel with the existing rust-code-reviewer.

The two agents are complementary:

Agent Lens
rust-code-reviewer correctness, safety, ownership/lifetimes, performance
rust-api-ergonomics-reviewer downstream-consumer perspective: happy-path friction, lints that fire in user crates, runtime footguns, doc drift, generated-code ergonomics

The ergonomics agent's prompt is structured around what a first-time integrator of the crate actually sees in their editor and compiler output, rather than what the test suite catches. It explicitly defers correctness/unsafe-soundness/perf to the existing reviewer to avoid overlap.

Per the updated CLAUDE.md, the ergonomics pass may be skipped for changes that touch only internal or test code with no public-API surface.

Adds a second pre-commit review agent focused on downstream-consumer
ergonomics (happy-path friction, lints firing in user crates, runtime
footguns, doc drift) to complement rust-code-reviewer's correctness/
safety lens. CLAUDE.md updated to run both in parallel; the ergonomics
pass may be skipped for internal/test-only changes.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@iainmcgin iainmcgin marked this pull request as ready for review April 28, 2026 19:48
@iainmcgin iainmcgin requested a review from rpb-ant April 28, 2026 19:48
@iainmcgin iainmcgin enabled auto-merge (squash) April 28, 2026 20:15
@iainmcgin iainmcgin merged commit ba26bf4 into main Apr 28, 2026
7 checks passed
@iainmcgin iainmcgin deleted the chore/dual-review-agents branch April 28, 2026 20:21
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants