Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

Disclose retained memory in existing remote sessions

Davide1150f0a1f7c
diff --git a/e2e/memory-sensitive.spec.ts b/e2e/memory-sensitive.spec.ts
index b091161f..dae70106 100644
--- a/e2e/memory-sensitive.spec.ts
+++ b/e2e/memory-sensitive.spec.ts
@@ -2,6 +2,8 @@ import { expect, test } from '@playwright/test'
test('real memory settings protect a new entry across reload and allow explicit unmarking', async ({ page }, testInfo) => {
await page.goto('/e2e/memory-sensitive-proof.html')
+ await expect(page.getByRole('note')).toContainText('Remote sessions can retain previously shared memory')
+ await expect(page.getByRole('note')).toContainText('End the remote session')
await page.getByRole('button', { name: 'Add Memory', exact: true }).click()
await page.getByPlaceholder('What should I remember?').fill('Private preference')
await page.getByPlaceholder('Details… (required)').fill('Synthetic private preference')
diff --git a/src/components/settings/MemorySettings.tsx b/src/components/settings/MemorySettings.tsx
index 158698d1..69ee1f43 100644
--- a/src/components/settings/MemorySettings.tsx
+++ b/src/components/settings/MemorySettings.tsx
@@ -303,6 +303,7 @@ export function MemorySettings() {
</label>
)}
<p className="text-xs text-gray-500">Mark sensitive memories to exclude them from AI requests and embeddings. This does not detect secrets automatically or erase earlier requests. Markdown export omits sensitive and project-scoped entries; JSON export preserves their flags and scope.</p>
+ <p className="text-xs text-gray-500" role="note">Remote sessions can retain previously shared memory in their prompts. This control cannot revoke those copies. End the remote session before handling sensitive data.</p>
<div className="relative">
<Search size={12} className="absolute left-2.5 top-1/2 -translate-y-1/2 text-gray-500" />
<input