Repository navigation
chore(data): follow the four citations that really moved - #4
Merged
Merged
Conversation
Owner
Author
The
|
The weekly link check (#1) reported eighteen moved links. Checked by hand on 2026-11-14, four had really moved, each answering 301 to a page that now resolves directly: - NFPA's free access, cited by electrify.service-headroom.check - Recurve's data-sufficiency guidelines, cited by weather.change.explain - EPA's eGRID questions, the eGRID terms capture - FERC Form No. 556, the qualifying-facility checklist's form A tool's citations are part of its published result, so the two tool manifests bump to 0.2.0 with a changelog entry each, and their recorded snapshots are refreshed. The refreshed snapshots differ only in the version and the address: no number moved, which is the point. EPA's page is the only source with a stored capture. Answer 25 is still numbered 25 there and its text is word for word what we recorded, so the capture stands and only its address changed. The other fourteen were not moves. Nine were eCFR, Federal Register, and Minnesota links redirected onto a bot wall, two were dockets handing out a session URL per visit, two were DOIs doing their job, and the PUDL README only looked moved because `fetch` drops the #licensing fragment. The companion change stops the link check reporting those. Towards #1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
clay-good
force-pushed
the
chore/refresh-moved-links
branch
from
November 14, 2026 18:16
4345e20 to
a1ffba4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status: LGTM — ready to merge. Towards #1. No logic changes.
What was wrong
The weekly link check (#1) reported eighteen moved links. Checked by hand on 2026-11-14, four had really moved. Each answers
301— a permanent move the publisher declared — to a page that now resolves directly with no further redirect.electrify.service-headroom.checkcitationnfpa.org/freeaccessnfpa.org/for-professionals/codes-and-standards/list-of-codes-and-standards/free-accessweather.change.explaincitation/index.htmlepa.gov/egrid/egrid-questions-and-answersepa.gov/egrid/frequent-questions-about-egridferc.gov/docs-filing/forms/form-556/form-556.pdfferc.gov/sites/default/files/2020-04/form-556_7.pdfHow it was fixed
Four one-line URL updates — plus the two things the repo's own gates correctly insisted on.
A tool's citations are part of its published result.
verify/gates/versions.mjscaught this: changing a citation URL changes whatelectrify.service-headroom.checkandweather.change.explainreturn, so both bump0.1.0 → 0.2.0with a changelog entry each, their recorded snapshots are refreshed, anddocs/tools.mdis regenerated.Minor rather than patch because the repo has no patch-version precedent, and the one prior citation-only change (
interconnect.minimum-load.screen→0.2.0) took a minor bump.EPA's page is the only one with a stored capture, so it is the only one that needed the terms re-verified rather than just the address changed. I fetched the new page and confirmed:
section: '25) Can I use eGRID data commercially and how do I cite it?'pipeline/registry/egrid.mjsalready records.So the capture itself still stands.
captured: '2026-10-31'is left as it is — that is genuinely when the text was taken — and the comment beside it now records that EPA moved the page and the answer is unchanged there. Per CONTRIBUTING, nothing disputable changed, so no second source was needed.data/egrid/2026-10/manifest.jsonstill carries the old terms URL. That is published output and is regenerated on the next eGRID refresh; hand-editing a published manifest would be wrong.Proof it works
Each new URL verified directly, with
final 200, redirects 0:The eGRID terms text was re-read from the new page and matched against the stored capture (shown above).
The refreshed snapshots are the proof nothing else moved.
verify/fixtures/results/*.jsonare regenerated by running the tools, and the entire diff across both is:Version and address only. Not one computed number changed — which is exactly what an address-only change should look like.
Full unit suite passes (955 pass, 0 fail).
Notes / nits
The other fourteen were deliberately not touched, because following them would have made the citations worse, not better:
unblock.federalregister.gov, and Minnesota's PUC to a ShieldSquare challenge. Storing those would replace a legal citation with a URL that cites nothing.fetchjust drops the#licensingfragment.The companion PR teaches the link check to stop reporting all of these, so this list should not come back next week.
FERC Form 556 is now pinned to revision 7. The old path was a stable alias; the new one has the revision in the filename. FERC declared the move permanent with a 301, so following it is the right call — but if FERC posts revision 8, this URL goes stale in a way the old one would not have. The weekly check will catch it.
🤖 Generated with Claude Code