uncloseai.com/docs/tickets/008-site-knowledge-graph.md

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

  1. Extract internal links from each visited page
  2. Map page topics (from page-intelligence.js computed metrics)
  3. Build a link graph: { page_url: { title, topics, links_to: [urls], visited: bool } }
  4. Store encrypted per-domain
  5. Include relevant graph context in system prompt (pages that link to/from current page)

Dependencies

  • Reverse RAG (#006)
  • Journey tracking (implemented)
  • Page intelligence (implemented)