api-list-negative-filters-hallucinated-ids

IN premise

`list_negative()` discards any node IDs returned by the LLM that don't exist in the database, preventing hallucinated IDs from appearing in results.

Summary

When the system asks an LLM to identify nodes that contradict a query, the LLM might return IDs that don't actually exist in the database. The list_negative function guards against this by filtering out any such phantom IDs before returning results, so downstream code never has to deal with references to nonexistent nodes.

Dependents

These beliefs depend on this one:

Details

Sourceentries/2026/04/29/tests-test_api.md