Skip to content

refactor(memory): remove memorizer and file-backed memory backends#233

Merged
Aaronontheweb merged 3 commits into
devfrom
claude-wt-remove-memorizer
Mar 14, 2026
Merged

refactor(memory): remove memorizer and file-backed memory backends#233
Aaronontheweb merged 3 commits into
devfrom
claude-wt-remove-memorizer

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

  • Deletes all Memorizer-MCP and file-backed memory tool implementations (~23 source/test files, ~3000 lines)
  • Removes FileBacked, MemorizerConnected, MemorizerDisconnected from MemoryContextState enum and their switch cases in MemoryIndexContextLayer
  • Removes MemoryConfig.Provider property and the memorizer/files enum values from the JSON schema — SQLite is the only backend
  • Simplifies ToolIndexUpdater: drops _memoryConfig field, hardcodes ResolveMemoryState() to SqlitePrimary
  • Simplifies DaemonRuntimeStatusService: removes fileMemoryStore optional param and the memorizer/file branches from BuildMemoryStatusAsync
  • Removes memorizer-usage system skill and embedded copy; removes memorizer cross-reference from capability-reference
  • Extracts FakeNetclawTool to a standalone shared test helper (it was embedded in a deleted file but referenced by SubAgent tests)

Test plan

  • dotnet build Netclaw.slnx — 0 errors
  • dotnet test Netclaw.slnx — all 896 tests pass (0 failures)
  • dotnet slopwatch analyze — 0 new violations

Deletes the Memorizer-MCP and file-backed tool implementations, their
tests, and all conditional branches that routed to them. SQLite is the
only supported memory backend.

Changes:
- Delete 11 source files: Memorizer*Tool, MemorizerMemoryExtractor,
  File*Tool, FileMemoryStore, FileMemoryExtractor, StoreMemoryTool
- Delete 12 test files covering the removed tools
- Remove FileBacked/MemorizerConnected/MemorizerDisconnected from
  MemoryContextState enum and MemoryIndexContextLayer switch
- Remove MemoryConfig.Provider property and schema enum (sqlite only)
- Simplify ToolIndexUpdater: drop _memoryConfig field, hardcode
  ResolveMemoryState() to SqlitePrimary
- Simplify DaemonRuntimeStatusService: drop fileMemoryStore param and
  memorizer/file branches from BuildMemoryStatusAsync
- Remove memorizer-usage system skill and embedded copy
- Remove memorizer references from capability-reference skill
- Extract FakeNetclawTool to shared test helper (was in deleted file)
- Update ConfigSchemaDoctorCheckTests to not reference removed Provider
Follow-up cleanup addressing review findings from the initial deletion.

Init wizard:
- Remove memory backend selection step (Memorizer/files choices)
- Remove MemorizerUrl, StartMemorizerProbe, ProbeMemorizerAsync
- Remove Memory.Provider from generated config
- Remove memorizer MCP server generation from config output
- Update TOOLING.md memory triage table to reference memory tools
- Delete 3 dead wizard tests, fix sqlite assertion

Production code:
- Remove dead memorizer/files switch arms from CLI status display
- Remove dead MemoryCount/IndexPath/Endpoint/ToolCount from
  DaemonRuntimeStatus.Memory wire type
- Remove memorizer/search_memories from verified-tool-finding filter
  in LlmSessionActor
- Simplify MemoryCheckpointHealthDoctorCheck: always assume SQLite
- Fix IMemoryExtractor doc comment
- Fix NetclawPaths legacy comment

Skills & docs:
- Remove memorizer-usage row from CLAUDE.md/AGENTS.md skill sync table
- Remove memorizer cross-reference from capability-reference 1.0.0/1.1.0
- Update FakeNetclawTool default grant category to "builtin"
- Delete dead Passes_WhenMemoryProviderIsNotSqlite test
@Aaronontheweb Aaronontheweb marked this pull request as ready for review March 14, 2026 04:47
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) March 14, 2026 04:47
@Aaronontheweb Aaronontheweb merged commit e5cfd61 into dev Mar 14, 2026
3 checks passed
@Aaronontheweb Aaronontheweb deleted the claude-wt-remove-memorizer branch March 14, 2026 04:50
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