1 KiB
1 KiB
008: Site knowledge graph from browsing patterns
Reporter: fxhp Date: 2026-03-03 Priority: low Status: open Affects: Browser extension, embedded widget
Description
As the user browses a site, build a lightweight knowledge graph of the site's structure: how pages link to each other, what topics each page covers, and what the user has explored vs. what they haven't.
Goal
The model should understand the site's topology, not just the current page. It can suggest related pages, note when the user has visited related content, and act as a true site guide.
Architecture
- Extract internal links from each visited page
- Map page topics (from page-intelligence.js computed metrics)
- Build a link graph:
{ page_url: { title, topics, links_to: [urls], visited: bool } } - Store encrypted per-domain
- Include relevant graph context in system prompt (pages that link to/from current page)
Dependencies
- Reverse RAG (#006)
- Journey tracking (implemented)
- Page intelligence (implemented)