Repository navigation
chore(docs): phase 0 guardrails: current SDKs, sample/anchor/prose checks, PR CI - #201
Merged
Merged
Conversation
…ecks, PR CI - Pin the SDKs readers install (@ar.io/sdk 4.5.2, turbo-sdk 2.2.0, wayfinder 2.0.2, turbo-upload 0.7.0, ardrive-core-js 5.1.1) as devDependencies; drop aoconnect, dotenv, typedoc and dead scripts. - check-samples: type-check every SDK code sample against those versions, with a baseline of known failures so CI fails only on new breakage. - check-links: validate same-page and cross-page #anchors using github-slugger heading ids. - lint-prose: report mechanical writing-guideline violations (report-only). - checks.yaml: run lint, tsc, links, samples and prose report on every PR. - Rewrite public/SKILL.md for the SDK v4 API; fix two broken anchors. - Update CLAUDE.md and reopen 13 rows in MIGRATION_STATUS.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vilenarios
added a commit
that referenced
this pull request
Nov 16, 2026
Resolve the CLAUDE.md conflict with #201: keep its <Image> (next/image) and Lucide-shadowing lines, and this branch's Mermaid, Math and Brand lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Phase 0 of the docs audit fix plan. It adds the checks that later phases rely on, plus a few fixes those checks turned up. It doesn't touch any published page except two broken anchors.
What changes
@ar.io/sdk3.20 andturbo-sdk1.31. It now pins@ar.io/sdk4.5.2,@ardrive/turbo-sdk2.2.0, Wayfinder 2.0.2,turbo-upload0.7.0 andardrive-core-js5.1.1 as devDependencies. Removed:aoconnect,dotenv, thetypedocpackages, the deadtest-arns/test-signerscripts, andscripts/delete-arns-undername.mjs. That script was an AO-era utility nothing ran, and it signed with an Arweave key.yarn check-samplestype-checks every ts/js code sample that imports an SDK, against the pinned versions. It allows names a fragment never defines, except an SDK export, which means a missing import. Known failures are listed inscripts/code-samples-baseline.json, so CI fails only on new breakage. Today: 129 samples, 87 pass, 42 in the baseline.yarn check-linksnow validates#anchors, including same-page anchors, which it skipped before. Heading ids come fromgithub-slugger, matching Fumadocs. Broken anchors in generated SDK pages are warnings until the generator is fixed. In hand-written pages they are errors.yarn lint-prosereports the mechanical subset of the writing guidelines (1,558 issues today). It's report-only until the style pass..github/workflows/checks.yamlruns lint,tsc, links, samples and the prose report on every PR and on every push tomain.public/SKILL.mdis rewritten for the 4.x API (ARIO.init,await ANT.init({ rpc, ... }), full 64-byte Solana key for Turbo). Its samples now pass the checker.CLAUDE.mdis updated to match. 13 pages are reopened inworking/MIGRATION_STATUS.md, with the reason for each.Verification
yarn install --frozen-lockfile,yarn lint,npx tsc --noEmit,yarn check-links(0 errors),yarn check-samples(0 new failures), andyarn build(353 pages) all pass on Node 22.14.0.Notes
generateBuildIdhashesyarn.lock, so the first deploy after this merges re-uploads every page once. Plan to deploy after Phase 1, not after this PR.GITHUB_TOKEN(the weekly regenerate workflow) don't triggerchecks.yaml. A regenerated sample that is still broken will needyarn check-samples --update-baseline.🤖 Generated with Claude Code