Skip to content

fix(client): stamp captured_at on every addMemory write - #62

Open
HaoChiBao wants to merge 2 commits into
supermemoryai:mainfrom
HaoChiBao:fix/add-memory-captured-at
Open

HaoChiBao wants to merge 2 commits into
supermemoryai:mainfrom
HaoChiBao:fix/add-memory-captured-at

Conversation

@HaoChiBao

@HaoChiBao HaoChiBao commented Aug 13, 2026 •

Copy link
Copy Markdown

Summary

Test plan

  • bun test (metadata.test.ts)
  • esbuild bundle includes captured_at stamping
  • Store via tool / /remember / capture and confirm captured_at on document metadata

Extraction was inventing calendar dates because add() metadata had no capture-time anchor. Always set ISO-8601 captured_at (honoring explicit or legacy timestamp) so tool, slash, and capture paths share one stamp.
Keep the fix in a small root metadata helper (avoids gitignored lib/*.ts), drop unused timestamp promotion, and slim the unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

addMemory() sends no capture timestamp — extracted memories carry invented dates

2 participants