syncIssues MUST add the issues that are new, rewrite those whose hash changed with their goals, engines, evidence and links, and record the run in a ledger with how many it added, changed, withdrew and reopened, all in one transaction.
Enforced (check): .github: cd commons/data && bun run verify — suite/issues-sync.test.ts: a sync adds what is new, rewrites what changed with its goals, engines, evidence and links, and records the run in a ledger
Proved by: data/suite/issues-sync.test.ts
Written in: data/sql/extensions/issues/mod.ts, data/sql/extensions/issues/sync.ts
Tests: passed: suite/issues-sync.test.ts a sync adds what is new, rewrites what changed with its goals, engines, evidence and links