Update docs/design/DDR-session-summarization.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Boris Bliznioukov 2026-03-06 15:49:17 +01:00 committed by GitHub
parent fd382e68e2
commit d9f94e8e0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,12 +196,12 @@ Both forms are supported. If both are present, the nested struct wins.
| Acceptance Criterion | Test | | Acceptance Criterion | Test |
| -------------------------------------------- | ---------------------------------------------------- | | -------------------------------------------- | ---------------------------------------------------- |
| Summarization triggers above threshold | `TestMaybeSummarize_AboveThreshold` | | Summarization triggers above threshold | `TestMaybeSummarize_AboveMessageThreshold` |
| No-op below threshold | `TestMaybeSummarize_BelowThreshold` | | No-op below threshold | `TestMaybeSummarize_BelowThreshold` |
| Dedup prevents concurrent summarizations | `TestMaybeSummarize_Dedup` | | Dedup prevents concurrent summarizations | `TestMaybeSummarize_DeduplicatesConcurrent` |
| Messages appended during async are preserved | `TestApplySummarization_PreservesNewMessages` | | Messages appended during async are preserved | `TestApplySummarization_PreservesNewMessages` |
| Stale snapshot rejected | `TestApplySummarization_StaleSnapshot` | | Stale snapshot rejected | `TestApplySummarization_StaleSnapshot` |
| Force compression drops older half | `TestForceCompression_DropsHalf` | | Force compression drops older half | `TestForceCompression_DropsOldestHalf` |
| Multi-part batching for large sessions | `TestSummarizeSession_MultiPart` | | Multi-part batching for large sessions | `TestSummarizeSession_MultiPart` |
| Concurrent read/write safety | `TestConcurrent_SummarizeAndWrite` | | Concurrent read/write safety | `TestConcurrent_SummarizeAndWrite` |
| Token estimation (Latin + CJK) | `TestEstimateTokens_Latin`, `TestEstimateTokens_CJK` | | Token estimation (Latin + CJK) | `TestEstimateTokens_Latin`, `TestEstimateTokens_CJK` |