agents: modify rules according to code rabbit learning #6445
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 258 lines diff across 3 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.332
Real PR Conversation Timeline
1 comments
"Review active on #6445"
general
weight: 0.35
RoniKishner
##### What this PR does / why we need it:
AGENTS.mdwith CodeRabbit learnings: add known linter suppression exceptions, remove the staleResource clientsrule, clarify named-argument convention, add OS detection and SSL/network security patterns, expandScripts Directorywith known intentional behaviors, and tighten PR discipline wordingAGENTS.mdfiles formultiarchgolden-image tests,product_upgradetests, andnmstatenetwork tests to capture context that prevents AI tools from incorrectly "fixing" intentional behaviorisTeamMemberoutput key, and add guardrails againstREQUEST_CHANGESflow and empty top-level PR review bodydocs/AI_CONTRIBUTION_POLICY.mdto list all three AI trailer variants (Assisted-by,Co-authored-by,Generated-by) so contributors pick the one that best reflects the AI's involvement##### Which issue(s) this PR fixes:
##### Special notes for reviewer:
nmstate_dsandnmstate_namespaceshould rely onnmstate_dependent_placeholder. this is out of scope for this PR.Created by using https://github.com/learnings2guidelines/Learnings2AGENTS
##### jira-ticket:
NONE
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Documentation
Clarified project and test guidance for configuration checks, coverage exceptions, smoke tests, network testing, upgrades, and golden-image validation.
Updated AI contribution guidance with examples for disclosing different levels of AI involvement.
Added instructions for handling test-plan workflow failures, checking team membership, and using the non-blocking review flow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->