---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/validation/variables/ORDERING_GUARD_SNAPSHOT_STASH_KEY.md
description: >-
  `ctx.stash` key under which the prior-iteration primitive snapshot is kept for
  {@link @nhtio/adk!PreservationRule} statefulness — see the plan's
  "Statefulness for `PreservationRule`" section. Exported (as
  `ORDERING_GUARD_SNAPSHOT_STASH_KEY`) so a caller can pass a custom
  `options.snapshotStashKey` without guessing the default's exact string.
---

# Variable: ORDERING\_GUARD\_SNAPSHOT\_STASH\_KEY

```ts
const ORDERING_GUARD_SNAPSHOT_STASH_KEY: "__orderingGuardSnapshot" =
  "__orderingGuardSnapshot";
```

Defined in: [src/batteries/validation/middleware.ts:37](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/middleware.ts#L37)

`ctx.stash` key under which the prior-iteration primitive snapshot is kept for
@nhtio/adk!PreservationRule statefulness — see the plan's "Statefulness for
`PreservationRule`" section. Exported (as `ORDERING_GUARD_SNAPSHOT_STASH_KEY`) so a caller
can pass a custom `options.snapshotStashKey` without guessing the default's exact string.
