refactor: remove the tool-call (explore) cache entirely#246
Merged
plusplusoneplusplus merged 1 commit intoMay 30, 2026
Merged
Conversation
The tool-call Q&A cache (a.k.a. explore cache) is no longer needed.
Remove it from both forge and coc, end to end.
forge:
- Delete tool-call-cache-{aggregator,presets,retriever,store,types},
tool-call-capture, and with-tool-call-cache modules + tests
- Prune all cache exports from memory/index.ts
- Drop the dead toolCallCache plumbing from the pipeline compiler
(PipelineConfig.toolCallCache, WorkflowSettings.toolCallCache, and the
compiler mapping) plus its tests
- Keep BaseFileStore and computeRepoHash (still used elsewhere)
coc:
- Remove ToolCallCapture wiring from ai-invoker (and its cacheDataDir/
gitHash options), chat-base-executor, executor-registry, and
queue-executor-bridge
- Drop the explore-cache REST routes (keep /api/memory/config) and the
'tool-call-cache' admin prompt entry
- Delete the ExploreCache SPA panels and cache methods from memoryApi;
MemoryConfigPanel no longer renders the explore-cache panel
coc-client:
- Remove explore-cache/tool-call types and MemoryClient methods
(keep getConfig/replaceConfig and all Memory V2)
Tests updated accordingly; docs (dashboard-spa reference, queue-executor
symbol map) reflect the removal.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cad3462 to
c44cc32
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tool-call Q&A cache (a.k.a. explore cache) is no longer needed.
Remove it from both forge and coc, end to end.
forge:
tool-call-capture, and with-tool-call-cache modules + tests
(PipelineConfig.toolCallCache, WorkflowSettings.toolCallCache, and the
compiler mapping) plus its tests
coc:
gitHash options), chat-base-executor, executor-registry, and
queue-executor-bridge
'tool-call-cache' admin prompt entry
MemoryConfigPanel no longer renders the explore-cache panel
coc-client:
(keep getConfig/replaceConfig and all Memory V2)
Tests updated accordingly; docs (dashboard-spa reference, queue-executor
symbol map) reflect the removal.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com