Thread Math — Deep-link into the answer tree
This is the core insight. We don't just link to the question page. We follow the thread tree and link to the exact answer.
depth 0
Question: "Docker container keeps restarting"
↓ fetch accepted answer via SO API
depth 1 ✓
Accepted answer by user (the actual fix)
stackoverflow.com/a/38716397
↓ could go deeper
depth 2
Comment on answer (clarification)
...#comment-1234567
Stack Overflow: API returns accepted_answer_id → we call /questions/{ids}/answers to get the answer body → link to /a/{answer_id}
Reddit: For each post, we fetch {permalink}.json?limit=1&sort=top → extract top comment → link to /comments/{post}/{slug}/{comment_id}
HN: Algolia returns both stories AND comments. If it's a comment, the objectID IS the direct link: /item?id={comment_id}
This is thread math: every answer has a deterministic coordinate in (platform, thread, answer) space.