← Back to Pull requests

Update AGENTS.md with learnings from PRs #117 and #118 (July 13) #120

Closed
RobotSail closed this pull request without merging on Jul 28, 2026 18:04 UTC
View on GitHub
RobotSail RobotSail commented on Jul 14, 2026 10:03 UTC
Author

Summary

Adds 4 new operational learnings to AGENTS.md from PRs #117 and #118, both merged July 13, 2026 — after the existing open PR #119 was created.

New practices (3):

  • trl 1.x renames tokenizer → processing_class in SFTTrainer (training_hub #117)

  • ART 0.5.18 unconditional megatron imports require stub injection in subprocess (training_hub #118)

  • verl separated into [grpo-verl] extra, [grpo] is ART-only for AIPCC index compatibility (training_hub #117)
  • Updated install guidance (1):

  • Quick Commands section updated to reflect [grpo-verl] split
  • New past incident (1):

  • ART 0.5.18 ModuleNotFoundError: No module named 'megatron.bridge' — unconditional module-level imports for Qwen3.5 Megatron support break non-Megatron path (training_hub #118)
  • Sources

    All learnings from merged PRs only:

  • training_hub PR #117 — AIPCC 3.5 GA dependency compatibility (merged July 13)

  • training_hub PR #118 — ART 0.5.18 megatron import stub (merged July 13)
  • Context

  • Last merged AGENTS.md update: PR #116 (July 7, 2026)

  • Open AGENTS.md PR: #119 (covers June-July learnings from before July 12 — this PR covers the two PRs merged after #119 was created)

  • This PR is independent of #119 and can be merged in either order
  • Test plan

  • No duplicates with existing AGENTS.md entries

  • No duplicates with pending PR #119 entries

  • No contradictions with existing entries

  • Only AGENTS.md modified — no code changes
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Documentation
    Updated installation guidance to distinguish ART and verl backend extras.
    Added notes on compatibility considerations for trl, ART, and non-Megatron Unsloth setups.
    Documented troubleshooting steps for missing Megatron bridge modules.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 257 lines (+192 / -65) across 3 files Reviewer: None requested Review duration: 20641m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.51) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.51 · 257 lines diff across 3 files
    0.51
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    57%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.332
    Shallow Review Depth shallow_review_depth
    0.289
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #120"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    RobotSail RobotSail
    Labels
    risk: low confidence: 58.0% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 51.1% (MEDIUM) · Higher = larger blast radius
    51.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 58.0% · Lower = rushed or shallow review
    58.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.5% · Safe to merge
    21.5%