X_KNOWN_GAP_LINK_MALFORMED
Means
a Known-Gaps [B<n>] link does not resolve to its backlog row, or the line names no issue or the wrong one
Typical cause
a gap whose pointer is dead is a gap nobody can find the record of
Fix
bun run scripts/known-gaps-links.ts --json # then edit the line it names