Expand description
Curation operations: entity update/merge and edge-list filter type.
Structs§
- Edge
List Filter - Filter for
list_edges/count_edges. - Edge
Patch - Patch for
update_edge. OnlySome(_)fields are applied;Nonemeans “leave unchanged”. - Entity
Patch - Patch for
update_entity. OnlySome(_)fields are applied;Nonemeans “leave unchanged”. - Merge
Edge Conflict Preimage - One natural-key collision resolved by a direct entity or note merge.
- Merge
Edge Preimage - Complete stored state of an edge removed while resolving a merge conflict.
- Merge
Summary - Result returned by
merge_entity/merge_note. - Merge
TxBudget Report - Observed budget usage for one merge transaction (see
MergeTxLimits). - Merge
TxLimits - Hard materialization limits for one merge transaction.
- Note
Patch - Patch for
update_note. OnlySome(_)fields are applied;Nonemeans “leave unchanged”. - Note
Update Policy - Kind-owned property semantics carried from validated hook preparation to the shared note merge. The default preserves ordinary JSON merge behavior.
Enums§
- Content
Merge Strategy - Strategy for merging note content when two notes are combined.
- Entity
Dedup Merge Policy - Policy used when deduplicating two entities.
- Entity
Merge Guard - Safety-floor guard that refused an explicit entity merge.
Functions§
- entity_
embedding_ text - Build the canonical text embedded for an entity on create, update, merge, and repair paths.
- entity_
fts_ document - Build the
TextDocumentfor an entity. This is the single source of truth for entity FTS document shape; all write paths (create, update, merge, reindex, backfill) must go through this function so search parity is guaranteed. - entity_
merge_ guard_ compared_ values - The two values
guardcompared, for a caller-facing preview of the refusal. - entity_
merge_ guard_ error - Convert a safety-floor refusal into the merge verb’s structured conflict contract.
- entity_
merge_ guard_ refusal_ message - The sentence a safety-floor refusal shows its caller.
- note_
embedding_ text - Build the canonical text embedded for a note when no explicit bounded embedding prefix was supplied at creation time.
- note_
fts_ document - Build the
TextDocumentfor a note. This is the single source of truth for note FTS document shape; all write paths (create, update, reindex) must go through this function so recall parity is guaranteed. Changes here apply to every caller automatically. - validate_
entity_ merge_ floor - Validate the non-forced entity-merge safety floor.