# X_GUARD_INVALID

## Means

a file in `guards/` exports no usable guard

## Typical cause

the module has no `guard` export, or one missing `summary`/`check`. Discovery is the directory — nothing registers a guard, so a file that looks like one and is not must say so loudly rather than being skipped

## Fix

`x verify --json` — then export a `guard` from the file the finding names

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