From 3c379357b2f0c676d4d075ca28da1236af8d3e50 Mon Sep 17 00:00:00 2001 From: EVA Date: Fri, 14 Aug 2026 01:46:22 +0700 Subject: [PATCH] chore(privacy): remove public name reference --- src/__tests__/memory-context-format.test.ts | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/__tests__/memory-context-format.test.ts b/src/__tests__/memory-context-format.test.ts index 3b5439c..1465bc0 100644 --- a/src/__tests__/memory-context-format.test.ts +++ b/src/__tests__/memory-context-format.test.ts @@ -18,8 +18,8 @@ function item(overrides: Record) { { const processed = preprocessClaims([ - item({ item_id: "old-item", content: "Andrew decided to prioritize temporal schema", score: 0.72, created_at: "2026-04-10T00:00:00Z" }), - item({ item_id: "new-item", content: "Andrew decided to prioritize temporal schema", score: 0.78, created_at: "2026-04-14T00:00:00Z" }), + item({ item_id: "old-item", content: "Casey decided to prioritize temporal schema", score: 0.72, created_at: "2026-04-10T00:00:00Z" }), + item({ item_id: "new-item", content: "Casey decided to prioritize temporal schema", score: 0.78, created_at: "2026-04-14T00:00:00Z" }), ], { showConflicts: true, showRelations: true, @@ -32,8 +32,8 @@ function item(overrides: Record) { { const processed = preprocessClaims([ - item({ item_id: "older1234", content: "Andrew decided to prioritize temporal schema", created_at: "2026-04-10T00:00:00Z" }), - item({ item_id: "newer1234", content: "Andrew decided to prioritize memorybench", created_at: "2026-04-14T00:00:00Z" }), + item({ item_id: "older1234", content: "Casey decided to prioritize temporal schema", created_at: "2026-04-10T00:00:00Z" }), + item({ item_id: "newer1234", content: "Casey decided to prioritize memorybench", created_at: "2026-04-14T00:00:00Z" }), ], { showConflicts: true, showRelations: true, @@ -45,8 +45,8 @@ function item(overrides: Record) { { const processed = preprocessClaims([ - item({ item_id: "a1234567", content: "Andrew decided to prioritize temporal schema", created_at: "2026-04-14T00:00:00Z" }), - item({ item_id: "b1234567", content: "Andrew plans to implement temporal schema next", created_at: "2026-04-13T00:00:00Z" }), + item({ item_id: "a1234567", content: "Casey decided to prioritize temporal schema", created_at: "2026-04-14T00:00:00Z" }), + item({ item_id: "b1234567", content: "Casey plans to implement temporal schema next", created_at: "2026-04-13T00:00:00Z" }), ], { showConflicts: true, showRelations: true, @@ -70,9 +70,9 @@ function item(overrides: Record) { { const items = [ - item({ item_id: "4ff4823b999", content: "Andrew decided to prioritize temporal schema", score: 0.78, created_at: "2026-04-10T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), - item({ item_id: "1c60ea4b999", content: "Andrew plans to implement temporal schema as next build priority", score: 0.72, created_at: "2026-04-14T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), - item({ item_id: "a8f1170d999", content: "Andrew decided to prioritize memorybench first", score: 0.65, created_at: "2026-04-08T00:00:00Z", metadata: { salience: "medium", category: "episodic" } }), + item({ item_id: "4ff4823b999", content: "Casey decided to prioritize temporal schema", score: 0.78, created_at: "2026-04-10T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), + item({ item_id: "1c60ea4b999", content: "Casey plans to implement temporal schema as next build priority", score: 0.72, created_at: "2026-04-14T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), + item({ item_id: "a8f1170d999", content: "Casey decided to prioritize memorybench first", score: 0.65, created_at: "2026-04-08T00:00:00Z", metadata: { salience: "medium", category: "episodic" } }), ]; const formatted = formatMemoryContext(items, 8000, items.length, 8, 0.25, { injectionFormat: "v2", @@ -87,8 +87,8 @@ function item(overrides: Record) { { const items = [ - item({ item_id: "dup111111", content: "Andrew decided to prioritize temporal schema", score: 0.78, created_at: "2026-04-14T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), - item({ item_id: "dup222222", content: "Andrew decided to prioritize temporal schema", score: 0.74, created_at: "2026-04-13T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), + item({ item_id: "dup111111", content: "Casey decided to prioritize temporal schema", score: 0.78, created_at: "2026-04-14T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), + item({ item_id: "dup222222", content: "Casey decided to prioritize temporal schema", score: 0.74, created_at: "2026-04-13T00:00:00Z", metadata: { salience: "high", category: "decisions" } }), ]; const formatted = formatMemoryContext(items, 8000, items.length, 8, 0.25, { injectionFormat: "v2",