Interface IRollingSummaryMemorySink

Implement this interface to capture rolling-summary updates into a durable store.

Implementations should be:

  • idempotent (same update may be retried)
  • best-effort (failures should not break the core chat loop)
  • strict where a learning layer records its writes (an update with turnScopes): an upsert it cannot record writes nothing and rejects
interface IRollingSummaryMemorySink {
    upsertRollingSummaryMemory(update): Promise<void>;
}

Methods