Repository navigation
fix(docs): keep external link audit focused on real link rot - #114746
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 27, 2026, 5:26 PM ET / 21:26 UTC. ClawSweeper reviewWhat this changesThe PR makes the scheduled documentation-link audit ignore 5xx responses, refreshes dead documentation targets, and resolves generated contributor links by immutable GitHub account ID so renamed or deleted handles are not mislinked. Merge readiness⛔ Blocked until stronger real behavior proof is added - 5 items remain This PR remains necessary: it is a follow-up to the merged external-link audit and has not been shown to be on current Priority: P3 Review scores
Verification
How this fits togetherA scheduled GitHub Actions workflow scans public documentation links and publishes an advisory report rather than gating pull requests. A contributor-wall generator combines Git history, GitHub contributor data, and a seeded README snapshot to produce the README attribution links. flowchart LR
A[Public docs and README] --> B[Scheduled link audit]
B --> C[HTTP status classification]
C --> D[Advisory link-rot report]
E[Git history and contributor API] --> F[Contributor generator]
F --> G[Account-ID resolution]
G --> H[README contributor wall]
Decision needed
Why: The branch changes the meaning of the operational report rather than merely repairing a dead link; repository policy treats workflow behavior and fallback/reporting changes as maintainer-visible risk. Before merge
Agent review detailsSecurityNone. PR surfaceTests +118, Docs -1, Config 0, Other +66. Total +183 across 10 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the audit non-gating, land the account-ID attribution repair only after maintainer acceptance of the 5xx policy, and retain an exact-head artifact or redacted live transcript that shows the advisory report and generated README output. Do we have a high-confidence way to reproduce the issue? No high-confidence current-main reproduction was established in this read-only review. The PR body documents a prior hosted audit run on byte-identical affected paths, which makes the reported behavior source-reproducible but does not replace an exact-head run. Is this the best way to solve the issue? Unclear. Account-ID lookup is a narrow, maintainable repair for renamed or deleted contributor handles, but accepting every 5xx is a report-policy choice that should be confirmed rather than treated as an automatic bug fix. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a04ba3a4683c. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Pre-merge proof for exact head
The remaining required behavior proof is the assignment's post-merge |
|
Merged via squash.
|
Related: #114643
What Problem This Solves
Fixes an issue where the weekly Docs External Link Audit reported upstream 5xx responses and bot-hostile URLs alongside real link rot, while the generated README contributor wall linked renamed or deleted GitHub handles that could later be claimed by someone else.
The first hosted audit (run 30292013410) reported 15 errors. Fresh verification classified five as upstream/runner noise, eight as stale contributor profiles, and two additional connection failures as genuinely dead public links because their hosts no longer publish address records.
Why This Change Was Made
The audit now implements its intended status taxonomy directly: 404/410 remain errors, while all 5xx responses are accepted as upstream service failures. No new URL exclusions are added, so a future 404/410 cannot be hidden. Bot-hostile or dead document targets are removed or replaced with live official documentation.
The contributor generator now resolves seed entries through the immutable numeric account ID embedded in GitHub avatar URLs. Renamed accounts receive their current profile URL; accounts confirmed missing by HTTP 404/410 retain their avatar and alt-text credit without a squattable link. Any transient GitHub API failure aborts generation instead of silently changing attribution.
AI-assisted maintainer change.
User Impact
Maintainers get an advisory report focused on actionable link rot without routine 5xx/auth-wall noise. README readers keep accurate contributor attribution, including preserved credit for deleted accounts, without being sent to a future stranger who re-registers an old handle.
Evidence
origin/main; all implicated workflow/docs/README paths were byte-identical on the reproduction SHA.aaronagent->aaronlab,bittoby->Crystora,henrino3->h-mascot,jiulingyun->mf-yang,justinhuangcode->justinhuangai, andQuantDeveloperUSA->robertoeisenlohr.graysurfandMrseenzreturned 404; their avatar URLs still return 200 and their unlinked credit remains visible.papla.mediaorcodex.openai.com. The replacement Deepgram, Ollama authentication, and Codex CLI documentation URLs each return 200.node scripts/run-vitest.mjs test/scripts/update-clawtributors.test.ts: 9 tests passed.actionlint .github/workflows/docs-external-links.yml;node scripts/check-workflows.mjs: passed.node scripts/check-docs-mdx.mjs README.md docs/providers/deepgram.md docs/providers/ollama-cloud.md docs/start/showcase.md docs/tools/acp-agents-setup.md: passed.fail: false,failIfEmpty: true, and no PR trigger: passed.check:changed:tbx_01kyjmhkxprrgvaa479xwycatx, run 30303125789, exit 0.NO-ACTIONABLE-OBJECTION.git diff --check: passed.