Skip to content

fix(openclaw): preserve retainDocumentScope config#1863

Open
feyola wants to merge 1 commit into
vectorize-io:mainfrom
feyola:fix-openclaw-retain-document-scope
Open

fix(openclaw): preserve retainDocumentScope config#1863
feyola wants to merge 1 commit into
vectorize-io:mainfrom
feyola:fix-openclaw-retain-document-scope

Conversation

@feyola

@feyola feyola commented May 29, 2026

Copy link
Copy Markdown

Summary

  • preserve retainDocumentScope in OpenClaw plugin config normalization
  • add regression coverage for retainDocumentScope: "turn"
  • document retainDocumentScope in the README config table

Why

retainDocumentScope is documented and typed, and buildRetainRequest() honors it, but getPluginConfig() dropped the value. As a result, runtime config always fell back to "session", so "turn" never took effect.

Test plan

  • npm test
  • npm run build

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