Group of 2 Under the hood
Transcript repair gains a new tracked category and now cleans up malformed system rows like stop-hook summaries, with new telemetry
What
- A new identifier
transcript_row_repairwas added alongside the existingtranscript_api_invalid_blocksandtranscript_v2tracked names. - The transcript-row-repair pass, which runs when a conversation is loaded or resumed, now also handles rows of type
system, specifically thestop_hook_summarysubtype, cleaning up fields likehookCount,hookInfos,hookErrors,hookAdditionalContext,preventedContinuation,stopReason,hookLabel, andtotalDurationMs. - Repair counts for these are tracked separately as
stopHookSummariesRepairedandotherSystemRowsRepaired, reported through a new telemetry event.
Why This prevents corrupted stop-hook summary data, and other malformed system rows, from breaking transcript loading, while giving better visibility into how often such repairs happen.