Check local links across docs pages#1746
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 24, 2026, 8:56 PM ET / 00:56 UTC. Summary Reproducibility: not applicable. this is a documentation lint expansion rather than a reported runtime bug. Source inspection and the PR body's command-output proof cover the changed behavior path. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge as-is if docs markdown links should stay inside Do we have a high-confidence way to reproduce the issue? Not applicable; this is a documentation lint expansion rather than a reported runtime bug. Source inspection and the PR body's command-output proof cover the changed behavior path. Is this the best way to solve the issue? Yes, if maintainers want the docs-root boundary: extending the existing Node checker already called by AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ada3660e9d61. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
../claude.mdare validated correctlyWhy
Scripts/check-documentation-links.mjsalready runs inlint-linux, but it only covered README links and the provider detail list. The docs tree has additional relative links between pages, including nested docs underdocs/refactoranddocs/solutions, that were not part of the guard.Current main has no broken docs-page links; this change makes the existing lint lane catch future drift.
Validation
node --check Scripts/check-documentation-links.mjsnode Scripts/check-documentation-links.mjs->documentation links OK: 134 local linksgit diff --check./Scripts/lint.sh lint-linuxCompatibility
No app behavior changes. The only risk is that future docs-only changes may fail lint when a local docs-page link points outside
docs/, has a missing target, or references a missing markdown heading anchor.Review focus: whether docs-page links should continue to be constrained to targets inside
docs/.