Skip to content

V12: Link error docs to lousho.com - #682

Merged
LinuxDevil merged 1 commit into
mainfrom
v12-error-docs-link
Oct 19, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
v12-error-docs-link

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Fixes audit finding DX-7 (Vercel competitor audit, 2026-10-19).

What was wrong

Every SDKError docs link pointed at raw markdown on GitHub blob/main, which may not match the installed version, instead of the docs site.

What changed

  • ERROR_DOCS_URL is now https://lousho.com/errors. Verified the site serves docs/errors.md there and renders per-code anchors with underscores kept (e.g. #lousho_registry_unreachable), so the anchor format is unchanged.
  • Updated the sample line in docs/errors.md, regenerated llms.txt/llms-full.txt and the API report.
  • Updated tests that pinned the old URL.

Tests

  • New errorCodes test: asserts https://lousho.com/errors#lousho_registry_unreachable and that every code has a heading in docs/errors.md.
  • tsc, typecheck:tests, lint, api:check pass. Full test:coverage: only environment/load flakes (timing tests that pass alone; create-lousho-agent needed its dist built). fallow could not run because vitest does not write coverage when any test fails under load.

Changelog: SDKError docs links now point to https://lousho.com/errors# instead of GitHub blob/main.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LinuxDevil
LinuxDevil merged commit 100c351 into main Oct 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant