Skip to content

fix(memo): avoid stale auto-extract dedup and optimize byte trimming#20

Merged
wynxing merged 1 commit into
feat-memo-scope-layeringfrom
fork-pr-354-1776496154
Apr 18, 2026
Merged

fix(memo): avoid stale auto-extract dedup and optimize byte trimming#20
wynxing merged 1 commit into
feat-memo-scope-layeringfrom
fork-pr-354-1776496154

Conversation

@fennoai

@fennoai fennoai Bot commented Apr 18, 2026

Copy link
Copy Markdown

Requested by @Yumiue

Summary

  • Fix stale auto-extract dedup tracking when the new entry is trimmed out by index limits
  • Reduce index byte-trim cost by replacing repeated full re-render loop with binary-search trimming
  • Align memo_recall keyword schema description with actual content-matching behavior
  • Add regression tests for dedup tracking and byte-trim behavior

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: Yumiue <188874804+Yumiue@users.noreply.github.com>
@wynxing wynxing merged commit 65b4cf1 into feat-memo-scope-layering Apr 18, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-354-1776496154 branch April 18, 2026 07:49
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 87.50000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/memo/service.go 86.20% 2 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

wynxing pushed a commit that referenced this pull request Apr 24, 2026
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.

3 participants