22/05/2026 00:44, Stephen Hemminger: > Add guidelines and tooling for AI-assisted code review of DPDK > patches. > > AGENTS.md provides a two-tier review framework: correctness bugs > (resource leaks, use-after-free, race conditions) are reported at > >=50% confidence; style issues require >80% with false positive > suppression. Mechanical checks handled by checkpatches.sh are > excluded to avoid redundant findings. > > The analyze-patch.py and review-doc.py scripts support multiple AI > providers (Anthropic, OpenAI, xAI, Google) with mbox splitting, > prompt caching, direct SMTP sending, and token usage tracking with > optional cost estimation. > > v15 - reflow AGENTS per doc guidelines > - reduce redundancy in AGENTS (i.e don't overlap other tools) > - move scripts to devtools/ai > - move common code from scripts to one file > - incorporate AI and human reviews
Applied with minor adjustments, thanks. Note: as discussed together, I've renamed analyze-patch.py to review-patch.py for consistency. Let's see how the community use and improve this new tooling.

