Skip to content

fix(providers): a link to content is not an account - #21

Merged
ralyodio merged 1 commit into
mainfrom
fix/junk-handles
Aug 13, 2026
Merged

ralyodio merged 1 commit into
mainfrom
fix/junk-handles

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

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=… has watch as its first path segment, and the extractor took the first segment as a handle — so the crawl produced the identity youtube:watch and 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

stripe.com socials
before github:stripe, youtube:watch, x:stripe, youtube:@stripe, youtube:@StripeDev, linkedin:stripe, instagram:stripehq
after github:stripe, x:stripe, youtube:@stripe, youtube:@StripeDev, linkedin:stripe, instagram:stripehq

vercel.com re-crawled clean as well.

Verification

  • bun run check — format, typecheck, 463 tests, 0 fail.
  • The new test is built from the actual stripe.com markup that produced the bug.

🤖 Generated with Claude Code

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
ralyodio merged commit 0492aec into main Aug 13, 2026
4 checks passed
@ralyodio
ralyodio deleted the fix/junk-handles branch August 13, 2026 03:02
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