X_GENERATE_JSON_INVALID
Means
a generator's own merge: 'json' output does not parse as a JSON object
Typical cause
a bug in the template that produced it — never a file already on disk, which X_GENERATE_CONFLICT covers
Fix
fix the template that emits it, then bun test packages/cli/src/cmd-generate.test.ts