[DOC] Clarify agent testing and premerge requests [skip ci] #16681
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 233 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16681"
general
weight: 0.35
wjxiz1992
Contributes to #16680.
Description
Unnecessary premerge requests consume shared CI resources. This documentation change defines agent testing, validation reporting, and premerge submission requirements in AGENTS.md. Agents summarize relevant checks, results, and remaining validation gaps in the PR description or a comment.
Developers control agent permissions and may perform steps themselves. When a required environment is unavailable, agents can document the remaining validation and obtain maintainer approval before publishing or requesting targeted CI; known product-test failures are not waived.
The AGENTS.md procedure tells agents to enumerate the PR owner's open PRs through the GitHub API, inspect Blossom check runs and commit statuses, and wait when three premerge requests are already outstanding. Agents sharing the owner coordinate the check and submission. This status check does not require internal Blossom/Jenkins credentials; insufficient GitHub information or trigger permissions can be handed off to an authorized maintainer. Automated repository-wide queueing and quota enforcement remain separate work under #16680.
Validation: pre-commit hooks, added local documentation links/anchors, and
git diff --checkpassed. Spark runtime tests do not apply to these documentation changes.AI assistance: The change and PR description were prepared with Codex assistance.
Checklists
Documentation
Testing
(Please provide the names of the existing tests in the PR description.)
Performance