feat(examples): mark recalled memories as used#1079
Conversation
|
|
|
Failed to generate code suggestions for PR |
…)" This reverts commit 7122c3c.
|
Thanks for the feature work here. We found a regression in the OpenClaw example after #1079 landed. In That left the block inconsistent, so we reverted the PR in #1090 to restore If you want to re-land this change, please send a follow-up that keeps that block internally consistent and we can take another look. |
Description
Mark recalled memories as
used()in the existing Claude Code and OpenClaw examples so retrieval feedback feeds back into OpenViking hotness/ranking.This keeps the change narrowly scoped to the example integrations that already perform recall.
Related Issue
N/A
Type of Change
Changes Made
sessionUsed()support to the OpenClaw example client.used()during OpenClaw recall before continuing with normal injection flow.session.used()pluscommit()feedback loop to the Claude Code memory example and auto-recall script.Testing
Verified locally with:
OpenClaw plugin tests are currently red on upstream
mainbefore this patch as well. The same two failures reproduce on a clean upstream-based worktree:context-engine-assemble.test.ts > assembles summary archive and completed tool parts into agent messagescontext-engine-assemble.test.ts > emits a non-error toolResult for a running toolChecklist
Screenshots (if applicable)
N/A
Additional Notes