Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Thanks for the context here. I did a careful shell check against current The requested cold-start and independent wiki-budget behavior is already implemented and shipped in v2026.9.4. The remaining callback adapter preserves an identity that main already passes through unchanged, so it does not establish a distinct remaining fix. I found the merged PR that appears to have closed this: #143590: fix(memory): keep managed local-service readiness on its own budget during memory_search. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. So I’m closing this as already implemented rather than keeping a duplicate issue open. Review detailsBest possible solution: Retain the shipped readiness-owner implementation and use the existing registration-identity work for any separately demonstrated callback-reuse defect. Do we have a high-confidence way to reproduce the issue? No remaining current-main failure was established: source, existing regression coverage, and the merged repair address the reported cold-start and wiki-budget scenarios. Is this the best way to solve the issue? No additional implementation is needed for the stated behavior; the shipped phase-boundary repair provides it, and direct callback forwarding already preserves the identity exercised by this branch. Security review: Security review cleared: The introduced diff adds no concrete authorization, credential, persistence, dependency, or supply-chain concern. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning medium; reviewed against 9f035223edb7; fix evidence: merged PR #143590, release v2026.9.4, commit 874b2ce292f4. |
2871dca to
4e5dfe1
Compare
4e5dfe1 to
3b91461
Compare
3b91461 to
b521348
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Resolves two deadline regressions in
memory_search: cold managed local embedding startup could be cancelled by the search budget, andcorpus=allcould let a paused primary budget also extend the wiki supplement budget.Why This Change Was Made
The tool and runtime now resolve one stable adapter per host acquisition callback, so manager cache identity is shared across runtime → tool → runtime transitions while different hosts remain isolated. Readiness-only pause/resume is carried by the provider target boundary; post-readiness reconciliation, ordinary manager acquisition, and registry waits remain inside each search's 15-second deadline. Primary memory and wiki searches keep independent budgets, both still linked to immediate caller cancellation.
User Impact
Cold managed local embedding services can finish startup within their configured readiness window. A slow primary startup no longer extends wiki retrieval, reconciliation cannot consume an unbounded readiness exemption, and runtime/tool consumers do not replace a healthy manager merely because they crossed a plugin boundary.
Evidence
e7ba92a51eddde86722077565357bd91c1d5f575) production-module-boundary proof using the realcreateMemoryRuntimeandcreateMemorySearchToolconsumers, with the same host callback across runtime → tool → runtime:node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-memory.config.ts extensions/memory-core/src/runtime-provider.test.ts extensions/memory-core/src/tools.test.ts extensions/memory-core/src/memory-corpus.test.ts extensions/memory-core/src/tools.budget.test.ts extensions/memory-core/src/tools.real-manager.test.ts(5 files, 84 tests passed), including the real manager cold-start path and the runtime/tool identity sequence.node scripts/run-vitest.mjs run --config test/vitest/vitest.plugins.config.ts src/plugins/openai-compatible-embedding-provider.test.ts(35 tests passed), including pause/resume around readiness and slow reconciliation outside the exemption.git diff --check.Production boundary proof source
AI-assisted: built with Codex