Skip to content

fix(openclaw): preserve learning progress across reauthorization - #235

Open
massimoalbarello wants to merge 1 commit into
mainfrom
codex/preserve-memory-learning-progress
Open

massimoalbarello wants to merge 1 commit into
mainfrom
codex/preserve-memory-learning-progress

Conversation

@massimoalbarello

Copy link
Copy Markdown
Owner

Why

Reauthorizing or reinstalling the OpenClaw memory plugin discarded its learning fingerprints along with credentials and pending evidence. Replaying an existing conversation then repeated curation and could recreate assets or rewrite pages.

How

Keep completion fingerprints and saved-upload receipts in private local storage scoped to the Context Use instance and OpenClaw agent. Reauthorization and removal preserve those receipts while clearing credentials and temporary evidence, so later installations skip completed messages and reuse saved attachments. First-time learning and retries of unfinished work continue as before.

Copy existing progress before deleting a connection queue, and commit completion receipts atomically with clearing the learned evidence. Retained receipts contain no conversation text, attachment bytes, or credentials.

This branch has not been deployed

No deployments
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.

1 participant