Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 938 Bytes

architecture.md

File metadata and controls

12 lines (8 loc) · 938 Bytes

Architecture

UI Radar is a staged local pipeline:

CLI/config → fresh Chromium context → raw page evidence → deterministic normalization
           → rule-specific peer groups → isolated rules → scoring → offline artifacts

Every phase exchanges serializable models. The collector owns browser lifecycle and always closes its context and browser. Normalization removes browser-specific volatility, rounds geometry, and creates stable finding IDs. Peer grouping excludes the dimension currently being tested so an outlier remains comparable to its peers. Rules run independently in stable ID order; one rule failure becomes a warning rather than aborting the scan.

The report is rendered from normalized data, not by executing page code. JSON is escaped before embedding, page content is assigned with textContent, and the Content Security Policy disables connections, frames, objects, and external assets.