# absenceImpliesRetraction

Canonical: https://docs.shumoku.dev/en/library/api/absenceImpliesRetraction
Language: en

@shumoku/core · 0.4.0 · function

# absenceImpliesRetraction

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/discovery-policy.ts#L175)

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`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/discovery-policy.ts#L175)
