Skip to main content

Module import_records

Module import_records 

Source
Expand description

Import-record operations.

Manages the durable import_records truth on Graph: queries, membership suppression, replacement, and the projection of the table onto per-node NodeImportProvenance facets (sync_node_import_provenance_from_records).

The table owns memberships and their suppression. The per-node facet is a projection that omits suppressed memberships, so nothing here rebuilds the table from it. set_node_import_provenance edits that node’s memberships in the table; a snapshot that predates the table derives it from the legacy persisted column (import_records_from_legacy_provenance).

Extracted from graph/mod.rs per the 2026-05-11 kernel decomposition pass.