Skip to content

refactor: remove the tool-call (explore) cache entirely#246

Merged
plusplusoneplusplus merged 1 commit into
mainfrom
pr/aadd7d935-refactor-remove-the-tool-call-explore-ca
May 30, 2026
Merged

refactor: remove the tool-call (explore) cache entirely#246
plusplusoneplusplus merged 1 commit into
mainfrom
pr/aadd7d935-refactor-remove-the-tool-call-explore-ca

Conversation

@plusplusoneplusplus
Copy link
Copy Markdown
Owner

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

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>
@plusplusoneplusplus plusplusoneplusplus force-pushed the pr/aadd7d935-refactor-remove-the-tool-call-explore-ca branch from cad3462 to c44cc32 Compare May 30, 2026 03:38
@plusplusoneplusplus plusplusoneplusplus merged commit 8c2f445 into main May 30, 2026
65 of 68 checks passed
@plusplusoneplusplus plusplusoneplusplus deleted the pr/aadd7d935-refactor-remove-the-tool-call-explore-ca branch May 30, 2026 03: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