GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(capture): optional update-on-capture for similar memories by EyJunge1 · Pull Request #465 · tickernelz/opencode-mem

Conversation

@EyJunge1

@EyJunge1 EyJunge1 commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds opt-in update-on-capture: before auto-capture persists, search similar memories and let the model choose add / update / supersede (soft-delete into trash).
  • Extracts memoryClient.updateMemory for shared in-place rewrite (API + capture).
  • Config: updateOnCaptureEnabled (default false), updateOnCaptureSimilarityThreshold (0.75), updateOnCaptureMaxCandidates (5). Also lands dreaming config keys used by the follow-up PR (relatedThreshold, crossProject).

Partial work for #464 (capture half). Dreaming consolidation follows in a stacked PR.

Test plan

  • bun test (targeted + suite locally)
  • bun run typecheck / bun run check
  • Enable updateOnCaptureEnabled: true, capture a fact twice with a changed value → expect update/supersede instead of a second active row
  • Confirm default-off keeps add-only behavior

Checklist

  • Branch is based on main
  • bun test passes
  • bun run typecheck passes
  • bun run check passes
  • Docs / README updated

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@EyJunge1
feat(capture): optional update-on-capture for similar memories
d72bf6b
Search for similar memories before auto-capture persist and let the
model choose add, update, or supersede (soft-delete into trash).
@EyJunge1 EyJunge1 mentioned this pull request Oct 31, 2026
feat(dreaming): related-threshold consolidation with supersede and flag #466
Merged
6 of 9 tasks
@EyJunge1
docs: keep PR1 dreaming README accurate until deeper dreaming lands
913740e
@EyJunge1
EyJunge1 merged commit 3c7837e into tickernelz:main Oct 31, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@EyJunge1 EyJunge1 mentioned this pull request Oct 31, 2026
chore(release): release v2.39.0 #468
Merged
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@EyJunge1
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.