X_RELEASE_FLAG_UNKNOWN
Means
scripts/release.ts was passed a flag it does not declare
Typical cause
a typo or an invented flag. It declares --version, --bump, --check, --dry-run and --json and nothing else, and refuses before anything is decided — the mistake this guard exists for rewrote 47 manifests
Fix
bun run scripts/release.ts --bump patch --dry-run --json; the cause lists every flag the script knows