# X_DOC_GUARD_REFRESH_UNSTATED

## Means

a shipped guard template changed and `wiki/Upgrading.md` names no `x g guard` refresh for it

## Typical cause

an app's `guards/` copy is its own and `x upgrade` never rewrites it, so a changed template reaches the app only through `x g guard <name> --force`. Every guard whose `packages/cli/src/templates/guard-*.ts` changed between the last two release tags, or since the latest one (a helper spliced into guards counts for each guard importing it), must be named in one Upgrading row or paragraph together with `x g guard` and a version of that range — any version past the latest tag for `[Unreleased]`. 31.4.0 and 31.4.1 changed twelve and the page said nothing

## Fix

`git diff --name-only v<previous> v<latest> -- packages/cli/src/templates/` lists them; write the row, then `bun run changelog-check --json`

[CLI and verify](/error-codes#cli-and-verify)
