Skip to content

gut(config): remove dead memorySearch config tree#2296

Merged
alexey-pelykh merged 1 commit intomainfrom
gut/remove-dead-memorysearch-config-tree
Apr 11, 2026
Merged

gut(config): remove dead memorySearch config tree#2296
alexey-pelykh merged 1 commit intomainfrom
gut/remove-dead-memorysearch-config-tree

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Summary

  • Remove the entire agents.defaults.memorySearch config tree (~35 keys): MemorySearchConfig type, MemorySearchSchema Zod schema, help text, labels, and legacy migration rule
  • Remove dead memory_search tool display override entry
  • Replace with z.unknown().optional() Zod compat stubs so existing configs with memorySearch fields still parse without error
  • Update 4 test files: remove memorySearch assertions, replace with live config fields

Closes #2291

Test plan

  • pnpm build passes
  • pnpm test passes (694 files, 5941 tests, 0 failures)
  • pnpm check passes (format, typecheck, lint)
  • Existing configs with memorySearch fields still parse (compat stub regression test retained)

🤖 Generated with Claude Code

Remove the entire `agents.defaults.memorySearch` config tree — types,
Zod schema, help text, labels, legacy migration rule, and the dead
`memory_search` tool display entry. Zod compat stubs (`z.unknown().optional()`)
keep existing configs parseable. Tests updated to drop memorySearch assertions
and use live config fields instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) April 11, 2026 16:21
@alexey-pelykh alexey-pelykh merged commit f1d68f0 into main Apr 11, 2026
10 checks passed
@alexey-pelykh alexey-pelykh deleted the gut/remove-dead-memorysearch-config-tree branch April 11, 2026 16:27
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.

gut(config): remove dead memorySearch config tree

1 participant