← Back to Pull requests

docs(rocprim): enable generating llms.txt (port of #12045 to hipccl3) #12976

Closed
unknown closed this pull request without merging on Nov 15, 2026 00:34 UTC
View on GitHub
unknown unknown commented on Oct 02, 2026 18:07 UTC
Author

Port of #12045 (by @peterjunpark) to the hipccl3 layout, so the change lands in projects/hipccl/hipccl3/ instead of the retired projects/ location. The original PR will be closed once this one is accepted.

Original description

Motivation

  • Enable generating llms.txt and llms-full.txt (see https://llmstxt.org) for LLM-assisted access.

  • <!-- Explain the purpose of this PR and the goals it aims to achieve. -->
  • Technical Details

  • Add rocm_docs_generate_llms = True in the Sphinx config
  • <!-- Explain the changes along with any relevant GitHub links. -->

    Issue Tracking

    ISSUE ID: AIROCDOC-4235

    <!-- Include a GitHub Issue and/or JIRA ID. Do not post any full JIRA links here. -->
    <!-- GitHub issue: https://github.com/ROCm/rocm-systems/issues/1234 -->
    <!-- JIRA ID: EXAMPLECOMPONENT-1234 -->

    Test Plan

    <!-- Explain any relevant testing done to verify this PR. -->

    Look at

  • llms.txt

  • llms-full.txt
  • Test Result

    <!-- Briefly summarize test outcomes. -->

    Looks ok. Passes Chrome's Lighthouse audit for agentic browsing:

    <img width="1472" height="1230" alt="image" src="https://github.com/user-attachments/assets/54e7d2e8-6b98-45c2-91d9-fdd0d322375b" />

    Submission Checklist

  • Look over the contributing guidelines at https://github.com/ROCm/rocm-systems/blob/develop/CONTRIBUTING.md.
  • About this port

  • One commit: the original PR's first commit, with its author and message unchanged. Only the path was remapped (projects/<name>/ -> projects/hipccl/hipccl3/<name>/). The commit ID differs from the original, as it must.

  • Result: 1 file changed, 4 insertions(+), 2 deletions(-), identical to the net effect of the original PR.

  • The original PR's second commit (a pip-compile of docs/sphinx/requirements.txt) is not ported: develop's docs requirements are now sourced centrally (#12001), so that commit is obsolete and conflicts with the current file. The original PR's net diff contains only the conf.py change.

  • Not built or tested here. No CI covers projects/hipccl yet, so the checks on this PR do not exercise the change.
  • 🤖 Generated with Claude Code

    Diff: 299 lines (+224 / -75) across 3 files Reviewer: NguyenNhuDi Review duration: 62306m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 299 lines diff across 3 files
    0.45
    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: 35%
    60%
    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.341
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #12976"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 45% (MEDIUM) · Higher = larger blast radius
    45%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 17.8% · Safe to merge
    17.8%