Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/memory / / isForeignProvenance

Function: isForeignProvenance()

ts
function isForeignProvenance(provenance): boolean;

Defined in: packages/memory/src/search/trust.ts:29

Stable

true for provenance that did not originate first-party - mirrors the eviction-path classification: null (legacy / direct write), 'user', and 'extraction' (the consolidator distilling the user's own session) are first-party; 'tool', 'imported', 'reflection', and 'induction' are foreign.

Parameters

ParameterType
provenancestring | null | undefined

Returns

boolean