Skip to content

Commit 4a633bb

Browse files
committed
Rename orphan tests to their owning modules and restore dropped headers
session-chrome, summary-excerpt, and archive-uri tests now ride with chrome-state, summarizer, and compaction-archive; the excerpt rationale header returns to summarizer.ts.
1 parent ce40de2 commit 4a633bb

4 files changed

Lines changed: 6 additions & 0 deletions

File tree

File renamed without changes.

‎src/session/summarizer.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ import { readSourceCredentialMaterial } from "../config/source-credentials.js";
3232

3333
const logger = getLogger([LOG_NAMESPACE_ROOT, "session", "summarizer"]);
3434

35+
// Token-budgeted compaction excerpt from the evidence archive.
36+
//
37+
// The live transcript is a clipped view. The archive holds the authorized
38+
// payloads compaction is about to drop, so the summary call should read those
39+
// rather than 400-character stubs. Budget is the control: later kinds yield
40+
// when earlier ones fill the window. Gap rows contribute metadata only.
3541
export const SUMMARY_EXCERPT_DEFAULT_BUDGET_CHARS = 80_000;
3642

3743
const KIND_PRIORITY: readonly ArchiveKind[] = [

0 commit comments

Comments
 (0)