Skip to content

(feat): MMR and temporal decay / bring back schema changes#18786

Merged
Takhoffman merged 2 commits intoopenclaw:mainfrom
rodrigouroz:feat/mmr-temporal-refresh-2026-02-16
Feb 20, 2026
Merged

(feat): MMR and temporal decay / bring back schema changes#18786
Takhoffman merged 2 commits intoopenclaw:mainfrom
rodrigouroz:feat/mmr-temporal-refresh-2026-02-16

Conversation

@rodrigouroz
Copy link
Copy Markdown
Contributor

@rodrigouroz rodrigouroz commented Feb 17, 2026

Summary

This is the follow up of the revert from #18097 where only the schema changes have been reverted.

This applies it back.

Greptile Summary

Re-applies the schema UI metadata (help text and display labels) for MMR re-ranking and temporal decay config keys under agents.defaults.memorySearch.query.hybrid, which were previously reverted as part of PR #18097.

  • Adds 4 help text entries in schema.help.ts for mmr.enabled, mmr.lambda, temporalDecay.enabled, and temporalDecay.halfLifeDays
  • Adds 4 corresponding display labels in schema.labels.ts
  • All config key paths, default values, and descriptions are consistent with the existing Zod schema (zod-schema.agent-runtime.ts), TypeScript types (types.tools.ts), and implementation code (memory/mmr.ts, memory/temporal-decay.ts, memory/hybrid.ts, agents/memory-search.ts)
  • No issues found; this is a clean re-application of previously reverted metadata-only changes

Confidence Score: 5/5

  • This PR is safe to merge — it only adds static UI metadata (help text and labels) for config keys that are already fully defined in the schema and implemented in the codebase.
  • The changes are purely additive, static string entries in two metadata files. All config key paths match the existing Zod schema and TypeScript type definitions exactly. The implementation code for MMR and temporal decay is already present and working. No logic, no runtime behavior, and no API surface is changed.
  • No files require special attention.

Last reviewed commit: 4e329b2

@rodrigouroz
Copy link
Copy Markdown
Contributor Author

@greptile-apps can you review this please?

@Takhoffman Takhoffman force-pushed the feat/mmr-temporal-refresh-2026-02-16 branch from 69ba03a to 1a5eb4c Compare February 20, 2026 02:08
@Takhoffman Takhoffman force-pushed the feat/mmr-temporal-refresh-2026-02-16 branch from 1a5eb4c to 83b2249 Compare February 20, 2026 02:12
@Takhoffman Takhoffman merged commit a87b5fb into openclaw:main Feb 20, 2026
23 checks passed
@Takhoffman
Copy link
Copy Markdown
Contributor

PR #18786 - (feat): MMR and temporal decay / bring back schema changes (#18786)

Merged via squash.

  • Merge commit: a87b5fb
  • Verified: pnpm install --frozen-lockfile, pnpm build, pnpm check, pnpm test:macmini
  • Changes made:
    M CHANGELOG.md
  • Why these changes were made:
    Added required CHANGELOG.md entry for the restored memory hybrid schema metadata re-apply so release notes capture the user-visible config UX restoration.
  • Changelog: CHANGELOG.md updated=true required=true opt_out=false

Thanks @rodrigouroz!

vignesh07 pushed a commit to pahdo/openclaw that referenced this pull request Feb 20, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
anisoptera pushed a commit to anisoptera/openclaw that referenced this pull request Feb 20, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
rodrigogs pushed a commit to rodrigogs/openclaw that referenced this pull request Feb 20, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
Hansen1018 added a commit to Hansen1018/openclaw that referenced this pull request Feb 21, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
vincentkoc pushed a commit that referenced this pull request Feb 21, 2026
…hanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
vincentkoc pushed a commit that referenced this pull request Feb 21, 2026
…hanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
mmyyfirstb pushed a commit to mmyyfirstb/openclaw that referenced this pull request Feb 21, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
obviyus pushed a commit to guirguispierre/openclaw that referenced this pull request Feb 22, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
…18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants