Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / effectiveAcceptsSensitivity

Function: effectiveAcceptsSensitivity()

ts
function effectiveAcceptsSensitivity(context): readonly Sensitivity[];

Defined in: packages/memory/src/context-engine/privacy-filter.ts:83

Resolve the effective acceptsSensitivity set for a provider. The function is pure: callers can supply a custom matrix to override the defaults (used by tests + custom adapters).

Defaults (DEC-149, ADR-013 ext):

  • 'loopback'['public', 'internal', 'secret'].
  • 'private'['public', 'internal'].
  • 'public-tls' / 'public-mtls'['public'].
  • 'public-cleartext'['public'].

Per-provider overrides always win over the defaults — pass providerAcceptsSensitivity explicitly to override.

Parameters

ParameterType
contextPrivacyFilterContext

Returns

readonly Sensitivity[]

Stable