Repository navigation
fix(providers): a link to content is not an account - #21
Merged
Merged
Conversation
Found by crawling stripe.com for real: a footer link to a YouTube video produced the identity `youtube:watch`, because the first path segment of `/watch?v=...` was taken as a handle. The resolver would then weigh that as a claim about a person. A junk identity is worse than a missing one. Handles now reject known content, search and site-furniture roots, and have to look like a handle rather than a page or a file. Re-crawling stripe.com and vercel.com afterwards returns only real accounts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ralyodio
force-pushed
the
fix/junk-handles
branch
from
August 13, 2026 02:59
d35531b to
61a6652
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.
Found by crawling stripe.com for real, not by reading the code.
Its footer links to a YouTube video.
https://www.youtube.com/watch?v=…haswatchas its first path segment, and the extractor took the first segment as a handle — so the crawl produced the identityyoutube:watchand handed it to the resolver as a claim about a person.A junk identity is worse than a missing one: the resolver weighs it, and a fabricated account is exactly the kind of thing that ends up attached to the wrong human.
Handles now reject known content, search and site-furniture roots (
watch,playlist,shorts,search,explore,terms, …), and have to look like a handle rather than a page or a file.Before and after, on the real page
vercel.com re-crawled clean as well.
Verification
bun run check— format, typecheck, 463 tests, 0 fail.🤖 Generated with Claude Code