Bhavya U b88bc8ee8b
Bake transcript pointer into conversation summaries at creation time (#311192)
Append a stable transcript-file hint (path + line-count snapshot) to
every conversation summary, so after compaction the model can read
the uncompacted transcript on disk.

The hint is appended exactly once at summary-creation time and stored
on round.summary / turn metadata. Subsequent renders replay that
string byte-identically, preserving Anthropic prompt cache hits even
as the transcript keeps growing.

Covers all three summarization paths:
- Full / Simple via ConversationHistorySummarizer.summarizeHistory()
- Inline background via agentIntent.ts _startBackgroundSummarization
  (flushes the transcript before snapshotting the line count so the
  baked count matches the on-disk file)

Shared via new exported helper appendTranscriptHintToSummary.
2026-04-18 18:13:27 -07:00
..
2026-04-08 20:49:29 -07:00
2026-04-08 20:49:29 -07:00
2026-04-08 20:49:29 -07:00
2026-04-08 20:49:29 -07:00
2026-04-08 20:49:29 -07:00
2026-04-08 20:49:29 -07:00