Repository navigation
feat(plugins): default auto-recall event decay protection to 30 days - #8093
Merged
qin-ctx merged 9 commits intoNov 25, 2026
Merged
Conversation
heaoxiang-ai
marked this pull request as draft
November 20, 2026 09:45
heaoxiang-ai
marked this pull request as ready for review
November 20, 2026 09:48
heaoxiang-ai
force-pushed
the
codex/auto-recall-event-time-decay
branch
from
November 24, 2026 03:00
f0fc360 to
02f6f5d
Compare
默认衰减请求会进入分布式 openGauss 不支持的高级排序分支,导致自动召回丢失结果。按实际账号后端判断支持情况,无法应用衰减时直接执行原有查询。 Co-authored-by: qin-ctx <qinhaojie.exe@bytedance.com>
10 of 20 tasks
fix(retrieve): 分布式 openGauss 回退到普通召回
t0saki
approved these changes
Nov 25, 2026
2SinceJuly
added a commit
to 2SinceJuly/OpenViking
that referenced
this pull request
Nov 25, 2026
main moved every plugin manifest one patch ahead (volcengine#8093 and others), so the version bumps this branch carries for the short-prompt compression skip collide with it. The bump has to sit on top of main's number rather than overwrite it, so each manifest here takes main's version plus one. Conflict hunks were version lines only; the memory-plugin-shared tests still pass.
2SinceJuly
added a commit
to 2SinceJuly/OpenViking
that referenced
this pull request
Nov 26, 2026
main moved the plugin manifests to 0.7.30 since the last merge (volcengine#8093 and others), so the version bumps this branch carries collide with it. Each conflicting manifest keeps main's number plus one, following the same convention as the previous merge: 0.7.31. Conflict hunks were version lines only. Ran the memory-plugin-shared recall tests (51 pass) and the magpie plugin tests (51 pass, 1 skipped).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Set a fixed 30-day event score protection period for plugins that use the shared auto-recall hook. Event memory scores stay unchanged during the 30 days after the record was updated and decay afterward.
Changes Made
OPENVIKING_RECALL_EVENTS_DECAY_PROTECTIONto30dfor the shared hook. The protection period is the same for every prompt.offto disable decay and other durations such as7dor12has overrides.findandsearchunder caller control through the existing request parameter.Human Involvement
The requester reviewed the implementation and chose a fixed 30-day window. Codex revised the patch and ran validation.
Related Issue
Builds on #5214 and #6390. OpenClaw's native configuration wiring is tracked in #6875.
Type of Change
Testing
30dby default. Settingoffomitted the field and restored injection of a 41-day-old test event. A fixed7doverride was forwarded.git diff --checkwere verified.Checklist
Additional Notes
In the earlier 504-call synthetic pilot, a fixed 30-day period retained 7/12 and 8/12 historical-ticket injections across the two corpora. A fixed seven-day period retained 0/12 and 2/12. Turning event decay off recovered 12/12 in each corpus.