Add weekly source link check #28
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.44) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 243 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 99% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.329
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #28"
general
weight: 0.35
claude[bot]
<!-- claude-projects-attribution: {"github_login":"adamwestland"} -->
_Requested by Adam · project thread_
What does this PR change?
Adds a weekly check that every source URL in
data/providers.jsonstill works, so dead citations get caught between monthly refreshes.scripts/check-links.mjs(npm run check-links): fetches each unique source URL (no dependencies, Node's built-in fetch, 3 attempts, 30s timeout). It sorts results into:- Broken: 404/410, a domain that no longer resolves, or a deep link that now redirects to the site's home page. These fail the run.
- Could not verify: 401/403/429, 5xx, timeouts. These are reported but don't fail, because several sources (DatacenterDynamics, Business Wire, OpenAI) block automated requests while the page is fine.
.github/workflows/link-check.yml: runs Mondays 15:00 UTC (09:00 Mexico City) and on demand. When links are broken it opens one issue labelledlink-check(or updates the open one), and closes it automatically once everything passes. It also runs on PRs that touchproviders.jsonas a non-required check, so a typo'd URL in a refresh PR shows up without a flaky site blocking a merge.link-checkissue and fixes those sources that month.CLAUDE.mdandpackage.jsonlist the new command.No data changes, so this doesn't conflict with the Nov 1 refresh PR.
Tested against the live dataset: 24 unique URLs, 20 OK, 0 broken, 4 could not be verified (403 from DatacenterDynamics ×2, Business Wire, and GitHub from the test environment's proxy). A test file with a made-up 404 URL was correctly reported as broken with exit code 1.
Type of change
---
_Generated by Claude Code_