The edge_history() method introduced in #1775 issues a SELECT with no LIMIT clause. When called via a future TUI/API endpoint, this could return unbounded results for high-churn predicates.
Add a configurable limit (default 100) before any call site is added to TUI or API layer.
Found by: perf validation in feat/issue-1341 (PERF-04, low severity).