The doltTransaction.CreateIssue method was missing ID generation logic that exists in the SQLite transaction implementation. When issues were created within a transaction with empty IDs (like during wisp creation), they would all get empty string "" as the primary key, causing "duplicate primary key given: []" errors. This fix adds the same ID generation logic from SQLite transaction: - Get config prefix from database - Apply IDPrefix/PrefixOverride to determine effective prefix - Generate hash-based ID using generateIssueID Fixes wisp creation failures across all rigs running Dolt server mode. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 KiB
14 KiB