Skip to content
quarry View Ticket
Login

View Ticket

Code-anchored threads: derived anchors + backlinks on artifact pages

Closed933f2e21b83567fa0aca4aab6056972bb0a17627Created 101.2 days agoUpdated 67.9 days ago
Description2026-08-21 18:39:57
Threads anchored to code. At ingest, extract artifact references from forum post bodies (hex prefixes that resolve, ticket ids, file links — same resolver the /info linkifier uses) into a derived anchor table: forum_anchor(thread_root, target_hash/kind). Fully rebuildable on reindex — disposability invariant holds, nothing authoritative.

Render both directions: the thread page shows what it references (already linkified); check-in, ticket, and file pages gain a "Discussed in N threads" section listing anchored threads with title + weekday date. Honesty rule applies: an anchor renders only if the target resolves in the current index — never a dead or false link.

Acceptance: post mentioning a check-in hash produces a backlink on that check-in page; reindex reproduces identical anchors; unresolvable refs produce no anchor row.

2026-08-22 01:34:25

Landed in debc1f4c (derived anchors at ingest, check-in page backlinks). TestForumAnchorsCheckin/TestThreadsMentioning.