Skip to content

ref(memory)!: remove MemoryStore - #1651

Open
dcramer wants to merge 2 commits into
mainfrom
codex/1600-memory-store
Open

ref(memory)!: remove MemoryStore#1651
dcramer wants to merge 2 commits into
mainfrom
codex/1600-memory-store

Conversation

@dcramer

@dcramer dcramer commented Aug 21, 2026

Copy link
Copy Markdown
Member

Removes the published MemoryStore and createMemoryStore API. Memory creation remains one function because it owns idempotency, duplicate handling, preference replacement, and embedding writes. Search and recall remain one function because they share text and vector ranking. Listing and removal now query Drizzle directly in their tool handlers.

Expired-memory cleanup stays shared because creation, retrieval, and session processing all use the same bounded update and embedding deletion. User and Location attribution, linked Identity access, search order, and product responses stay unchanged.

Tests and evals use @sentry/junior-memory/testing to create memory and read or clear test data. This test entry does not expose database tables or add names to the production package root.

This is a breaking change only for code that imports the removed store API. The old names are not kept. The supported plugin and REST APIs do not change.

Refs #1600

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 23, 2026 8:46pm

Request Review

@dcramer
dcramer force-pushed the codex/1600-memory-viewer branch 2 times, most recently from 8c8345f to 8d124e1 Compare August 23, 2026 03:02
Base automatically changed from codex/1600-memory-viewer to main August 23, 2026 03:10
@dcramer
dcramer force-pushed the codex/1600-memory-store branch from ef93bb5 to bd83622 Compare August 23, 2026 03:41
@dcramer dcramer changed the title ref(memory): remove store facade ref(memory)!: remove store facade Aug 23, 2026
Comment thread packages/junior-memory/src/create.ts
@dcramer
dcramer marked this pull request as ready for review August 23, 2026 17:02
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 23, 2026
@dcramer
dcramer force-pushed the codex/1600-memory-store branch from 6eb1f3a to 02aa5c1 Compare August 23, 2026 20:17
@dcramer dcramer changed the title ref(memory)!: remove store facade ref(memory)!: remove MemoryStore Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant