[ADD] oca-review-lessons: rule pack from OCA reviews #1
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 177 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.310
Real PR Conversation Timeline
1 comments
"Review active on #1"
general
weight: 0.35
cvinh
Hi Cyril, I built something similar in parallel and saw yours the same day. Yours covers the process well; mine came from mining review comments, so I packed that part as a rule pack for your structure rather than starting a second skill set.
It holds what reviewers repeatedly ask to change and the written guidelines don't say: extending existing tests instead of adding new ones (the most frequent complaint about AI-assisted PRs), patterns flagged as generated, placement and root cause, PR text, migration history. Each quote links to the PR it comes from, attributed to the PR rather than the person, in line with your "learn from the repository" principle.
overrides.md changes three base rules where review practice is more precise. The one I'd most like your view on is oca-pr-review: a summary ready to post is what maintainers objected to in OCA/bank-statement-import#965 ("A disclaimer on the foot doesn't serve"), so the pack asks for findings only and leaves the review to the human. If you agree, it may be better fixed in oca-pr-review itself.
Once you've merged or adapted what you find useful, it would be worth raising the result on OCA/maintainer-tools#668, which asks for exactly this kind of agent instructions. I also have a copier-ready AGENTS.md template for oca-addons-repo-template that could point to these skills; happy to add it here or keep it separate.
Assisted-by: Claude Opus 5.5