Files
gbrain/test
Garry Tan 7506d5c9f1 feat(engine): listEnrichCandidates source-aware candidate selection (#1700)
One SQL query per engine: thin-filter + per-page source-correct inbound-link
count (to_page_id = p.id, mentions excluded) + enriched_at recency guard +
whitelisted ORDER BY (ENRICH_ORDER_SQL) + LIMIT, returning a lightweight
projection (no page bodies). EnrichCandidate/EnrichCandidatesOpts types.
pg + pglite parity, pinned by engine-parity.test.ts.
2026-06-01 19:10:27 -07:00
..