Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

absenceImpliesRetraction

Source

True when absence in a snapshot should be treated as evidence (retract / mark stale). False when the snapshot 's absence is meaningless because the node was deliberately not asked. This is the *critical* anti-footgun call codex flagged: if we post-filter excluded nodes out of a NetBox snapshot whose status is `ok` (= absence trusted), the resolver would happily interpret the missing entry as "NetBox says it 's gone". We never want that.

absenceImpliesRetraction(policy: EffectiveDiscoveryPolicy): boolean

Parameters

Parameter Type Description Default
policy EffectiveDiscoveryPolicy No additional description.

Returns

boolean

libs/@shumoku/core/src/observation/discovery-policy.ts:175