← Back to Pull requests

fix(i18n): point two drifted anchors at the headings they name #2635

Merged
comfyui-wiki merged 2 files (225 lines) on Dec 02, 2026 18:01 UTC
View on GitHub
comfyui-wiki comfyui-wiki commented on Dec 02, 2026 18:00 UTC
Author

Four locale links point at anchors their translated headings no longer carry. A full check-anchors run over the repo (python3 .github/scripts/check-anchors.py, no --only-changed) was the only way to see them: the PR gate only checks files in the diff, so these had been invisible.

  • zh/development/comfy-router/errors.mdx (lines 116, 191): /zh/development/comfy-router/reference#错误分类 -> #错误类别. The heading in zh/development/comfy-router/reference.mdx reads ## 错误类别.

  • ja/installation/desktop/usage/build-troubleshooting.mdx (lines 28, 55): ...#ビルドを削除する -> ...#ビルドの削除. The heading in ja/installation/desktop/usage/build-duplicate-and-remove.mdx reads ## ビルドの削除.
  • No heading was renamed and no English source changed, so the translation block hashes stay valid.

    check-anchors (full run, 10,823 files): all anchor links OK.
    validate-links.py: pass.

    <!-- CURSOR_SUMMARY -->
    ---

    [!NOTE]

    Low Risk

    Documentation-only anchor fixes with no runtime, API, or security impact.

    > Overview

    Updates four internal doc links whose fragment IDs no longer matched translated section headings after earlier heading text changes.

    > In Japanese build-troubleshooting.mdx, uninstall links now use #ビルドの削除 instead of #ビルドを削除する, aligning with build-duplicate-and-remove.mdx.

    > In Chinese comfy-router/errors.mdx, reference links now use #错误类别 instead of #错误分类, aligning with comfy-router/reference.mdx.

    > No English source or heading text was changed—only cross-link anchors.

    > <sup>Reviewed by Cursor Bugbot for commit 3ac80edfdefb4ee55b4d770ab4b83cbc42723a0e. Bugbot is set up for automated code reviews on this repo. Configure here.</sup>

    <!-- /CURSOR_SUMMARY -->

    Diff: 225 lines (+168 / -57) across 2 files Reviewer: None requested Review duration: 1m
    All Vouch review confidence checks passed
    Residual risk 0.58 = Change Risk (0.64) × (1 − Review Confidence (0.09)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.64 · 225 lines diff across 2 files
    0.64
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 20% · Reviewer familiarity: 10%
    9%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.324
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Rapid Merge rapid_merge
    0.100
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #2635"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    comfyui-wiki comfyui-wiki
    Labels
    risk: medium confidence: 9.4% 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: 63.9% (MEDIUM) · Higher = larger blast radius
    63.9%
    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: 9.4% · Lower = rushed or shallow review
    9.4%
    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: 57.9% · Moderate risk
    57.9%
    Repository