Repository navigation
feat(links): verify explicitly selected external Markdown pages - #12
Merged
Merged
Conversation
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.
The offline audit can count external references, but maintainers also need to know whether a particular documentation page is reachable. The new helper reuses the Markdown and HTML parser to list pages and source locations. A maintainer can then select exact URLs for anonymous HTTPS HEAD checks. Redirects, rejected HEAD requests and network errors remain inconclusive. The default audit and CI stay offline for link verification.
Verification
The formatting and rendering references at
f223281contained 19 distinct public pages. On Windows, curl 8.22.0 returned HTTP 200 for every selected page. Fragments and rendering were outside the scope of these requests.The Windows suite ran 140 tests with two platform skips. New tests exercise offline discovery, input scoping, URL normalization, deduplication, address checks, HTTP outcomes and credential isolation. The strict audit of 21 files had zero errors or warnings. All five regenerated assets matched the repository.
Updated the English and Thai entry points, reviewed their corresponding text, and refreshed only their translation snapshot hashes.
Skills CLI 1.9.0 copied this candidate into a disposable Windows Codex project. The installed checker matched the candidate SHA-256. Running that copy returned HTTP 200 for the one selected page and left the remaining four pages unprobed. Current-head CI on Ubuntu and Windows also passed.
Usage
Run
external_links.pywith the root and source paths to preview. Repeat with--check URLfor selected pages. Exact commands and the meaning of each exit code are documented in the bundled verification reference.Advances the external-link check in #10. The live checks apply only to the selected URLs and date. Held-out reader trials and broader host verification remain open.
Heading links that still need a browser check
At
2f9ed2dthe JSON marks each source location that uses a nonempty fragment with"fragment_status": "not-run". This field persists when an HTTP page check succeeds. The report keeps the fragment text private. Comparing the old and new offline results on the same repository documents preserved all previous fields across 28 pages, 36 included locations and two omitted locations.A project-local Skills CLI 1.9.0 installation matched all 18 files from the commit after line-ending normalization. The installed helper reported HTTP 200 for two selected VS Code Wiki URLs and marked both section references for browser review. In signed-out Chrome, neither the prose link nor a fresh navigation to the copied heading permalink brought the heading into view at 360 or 1280 pixels in either theme. Page Down reached the heading in all four cases. Versioned browser results
Disconnected Linux passed all 141 tests on this branch. Windows passed 139 with two platform skips. The updated combined candidate passed all 145 tests on disconnected Linux and 143 on Windows with the same two skips. Its strict audit checked 31 documents and all five regenerated assets matched. Pull request CI · Push CI