T-74: M1.1i — Pass 3/4/6 match & conflict report: pure in-memory Markdown + CSV generator and override seed-SQL template (no DB I/O)

This commit is contained in:
Studio 2026-11-27 21:23:56 -05:00
parent 83ec301220
commit 86bf0a68b2
3 changed files with 85 additions and 4 deletions

View file

@ -1116,11 +1116,11 @@ export function generateOverrideTemplateSql(report: MatchReport): string {
const sourceSqlLiteral =
sourceIssues.length === 0
? formatSingleLineSqlLiteral(conflict.source)
: "'TODO_CORRECT_SOURCE'";
: 'NULL /* TODO: replace with valid source */';
const sourceIdSqlLiteral =
sourceIdIssues.length === 0
? formatSingleLineSqlLiteral(conflict.sourceId)
: "'TODO_CORRECT_SOURCE_ID'";
: 'NULL /* TODO: replace with valid source_id */';
const blockLines: string[] = [
`Conflict: pass=${commentPass} kind=${commentKind} source=${commentSource} source_id=${commentSourceId}`,