Repository navigation
fix(memory-wiki): finish snapshot recovery after search timeout - #187429
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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR lets shared wiki synchronization finish after an individual search times out while preserving query cancellation and service shutdown. Example: Search a 12,400-page vault without a compiled snapshot.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep this PR open: it fixes a current-main snapshot-recovery defect, and no actionable code findings remain. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Memory Wiki search tool synchronizes configured vault sources before querying them; synchronization imports pages and publishes a compiled snapshot under the plugin service lifecycle. flowchart TD
A[Gateway wiki search] --> B[Response deadline and caller cancellation]
A --> C[Shared source synchronization]
D[Plugin service lifetime] --> C
C --> E[Compiled snapshot publication]
E --> F[Caller bound query]
B --> F
F --> G[Search results]
Technical reviewBest possible solution: Use the existing service signal for shared synchronization while keeping search responses and queries caller-bound. Do we have a high-confidence way to reproduce the issue? Current-main source directly couples recovery to the search deadline, and the supplied built-Gateway before/after traces reproduce the failure; this review did not execute target code. Is this the best way to solve the issue? The patch is the smallest complete fix: it corrects maintenance lifetime at the existing search integration without adding scheduling, retries, state, or a competing synchronization owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c8a27378eeca. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +6, Tests -5. Total +1 across 2 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 29, 2026, 5:01 AM ET / 09:01 UTC (Revision 2). |
Built Gateway recovery proofHead: Both refs were installed and built independently in secretless Linux/arm64 Docker, Node24.22.1. Each run used explicit isolated profile/config/state/database paths, disabled external integrations, and the bundled memory-wiki plugin with local search. Requests used the shipped Gateway Input: a fresh valid vault containing12,400 synthetic Markdown source pages (60 archive paragraphs and wikilinks per page), with no compiled publication. Real importer/synchronizer, Markdown scanner, backlink writer, compiler, SQLite snapshot store and local query reader ran unchanged. No mocked I/O, clock adjustment, compiler delay or30-second budget change. Focused regression: the identical consolidated cancellation suite fails on main because the search deadline aborts maintenance, while the query-cancellation control passes. Candidate:4 files/22 tests pass (tool deadline, tool, source-sync, plugin lifecycle). The suite also retains caller cancellation, service cancellation and caller-bound fallback outside an active service. Targeted oxlint:0 warnings/errors. Test-line delta against main -5; production +6. The contributor's commits remain intact. Proof limitation/setup note: an initial harness used This addresses the actual lifetime defect: a search deadline/caller abort must not cancel shared recovery. It does not claim main lets recovery escape service shutdown; shutdown already owns cancellation/joining and remains effective. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…claw#187429) fix(memory-wiki): let snapshot recovery finish when a search times out When a wiki search hit its 30 s deadline, or its caller went away, it also cancelled the shared snapshot compile that was recovering the vault, so the snapshot was never published and later searches kept failing. Recovery now runs under the existing service lifetime: one search can time out without cancelling it, and service shutdown still cancels and joins it. Evidence: built Gateway with real 12,400-page vaults. On main the search failed at 30 s and no snapshot was published (twice); with this change the search still timed out, but the snapshot was published at about 47 to 49 s and later searches succeeded (twice). Healthy-snapshot, concurrent-search, caller-disconnect, service-cancellation and restart-recovery controls behave correctly. Details: openclaw#187429 (comment). Thanks @Baumus. Co-authored-by: Ayaan Zaidi <[email protected]>
…#188256) Root cause: `extensions/memory-wiki/src/tool.ts:174` awaits `syncMemoryWikiImportedSources` (import, then a full compile) inside the 30 s `wiki_search` deadline, and `extensions/memory-wiki/src/gateway.ts:277` awaits the same sync before `wiki.search` with no deadline, so a large pending import fails or stalls searches for pages that are already on disk. Related: #187429, #132296, #166329 ## What Problem This Solves Fixes: `wiki_search` fails with "wiki_search timed out after 30s", and the `wiki.search` Gateway method hangs, when a large vault has source changes waiting to import and compile. The pages being searched for are already on disk. ## User Impact Searches answer from the current wiki at once while the Gateway imports and compiles in the background. Content that changed in the sources since the last refresh shows up on the next search, not this one. That one-search delay is the only staleness: pages written with `wiki_apply` are read live, and a vault with no compiled snapshot yet still answers through the existing full scan. Unchanged: `wiki_get`, `openclaw wiki search`, imports, compile, lint, apply and status still wait for the sync. `ingest.autoCompile: false` still never compiles. A caller with no running wiki service (one-shot hosts) still waits as before. ## Why This Change Was Made When the wiki service is running, `wiki_search` and `wiki.search` run the query first and then start the service-owned source sync that the Overview and Import Insights dashboards already use (#132296). That helper moves from `gateway.ts` to `source-sync.ts` as `refreshMemoryWikiImportedSources`. It still single-flights equal requests, queues on the vault mutation lock, is cancelled by the service signal and is joined at shutdown. The refresh starts after the query because a cold read owner activates through the same vault queue, so a refresh started first would block the search. The helper runs the sync with `runInDetachedAsyncContext`. Without it the built Gateway aborted every refresh after the `/tools/invoke` response with `Failed to open the plugin state database. | This operation was aborted`, so nothing was ever published. The dashboard path on main has the same defect and this fixes it too. This takes over Baumus's PR. Thanks @Baumus for finding this, carrying the fix in your own deployment since 2026.10.10 and for the real-Gateway proof (#188256 (comment)), which also found the async-scope abort. Your commits stay in the branch. The commits on top replace the refresh coordinator (60 s freshness window, 5–60 s retry backoff, retry handles), the move to the plugin service scheduler, the query hook, the README section and the test-line allocation with the existing dashboard helper. No new freshness or retry policy is needed: the next search or dashboard poll is the retry, as for dashboards today. ## Evidence The built Gateway (dist) runs in an isolated profile with a task-owned state, config and port. Requests go through `/tools/invoke` → `wiki_search` and through `openclaw gateway call wiki.search`. The importer and compiler are the real unsafe-local ones, with no mocks or delays. Fixture: a compiled vault with one `entities/cobalt.md`, then 6,000 new synthetic source files. Source `0` contains "Zirconium publication evidence." Harness and raw captures: #188256 (comment). | Run | Base 6052fff | This PR | | --- | --- | --- | | `wiki_search cobalt`, run 1 | HTTP 500 at 30.5 s, `wiki_search timed out after 30s` | HTTP 200 at 4.9 s, `entities/cobalt.md`, 0 pages imported, no new publication | | `wiki_search cobalt`, run 2 | HTTP 500 at 30.4 s, `wiki_search timed out after 30s` | HTTP 200 at 4.3 s, `entities/cobalt.md` | | `wiki_search zirconium` after publication | n/a | HTTP 200 at 8.4 s, the newly imported source page | | `wiki.search` RPC (`openclaw gateway call`), twice | no answer within 600 s; all 6,000 imported, still no publication | `entities/cobalt.md` in 8.8 s and 7.7 s; after publication `zirconium` returns the new page | Controls on this PR: - Cold vault with no compiled snapshot: answers `cobalt` in 4.3 s through the scan fallback. - Two concurrent searches plus one `wiki.overview` poll: all answer, and exactly one compile is published. - SIGTERM during the refresh: exit 0 in 2.2 s, no publication, journal unchanged after exit. - `ingest.autoCompile: false`: the search answers, all 6,000 sources import, and nothing compiles. - One-shot `openclaw wiki search zirconium`: still waits for import and compile (508 s on a loaded host) and returns the new page. - Without `runInDetachedAsyncContext`, both runs logged `background source sync failed: Failed to open the plugin state database. | This operation was aborted` and never published. Unit: `tool.deadline.test.ts` "answers from the current index while the service refreshes" fails on base with `wiki_search timed out after 30s` and passes here. Focused memory-wiki suites pass: 8 files, 95 tests. Local review on the head reports no findings. ## Merge Danger Two-way door. No config, schema, protocol or stored-data change; a revert restores the awaited sync. Blast radius: memory-wiki search through the agent tool and the `wiki.search` Gateway method while the plugin service runs. Co-authored-by: Ayaan Zaidi <[email protected]>
…#188256) Root cause: `extensions/memory-wiki/src/tool.ts:174` awaits `syncMemoryWikiImportedSources` (import, then a full compile) inside the 30 s `wiki_search` deadline, and `extensions/memory-wiki/src/gateway.ts:277` awaits the same sync before `wiki.search` with no deadline, so a large pending import fails or stalls searches for pages that are already on disk. Related: #187429, #132296, #166329 ## What Problem This Solves Fixes: `wiki_search` fails with "wiki_search timed out after 30s", and the `wiki.search` Gateway method hangs, when a large vault has source changes waiting to import and compile. The pages being searched for are already on disk. ## User Impact Searches answer from the current wiki at once while the Gateway imports and compiles in the background. Content that changed in the sources since the last refresh shows up on the next search, not this one. That one-search delay is the only staleness: pages written with `wiki_apply` are read live, and a vault with no compiled snapshot yet still answers through the existing full scan. Unchanged: `wiki_get`, `openclaw wiki search`, imports, compile, lint, apply and status still wait for the sync. `ingest.autoCompile: false` still never compiles. A caller with no running wiki service (one-shot hosts) still waits as before. ## Why This Change Was Made When the wiki service is running, `wiki_search` and `wiki.search` run the query first and then start the service-owned source sync that the Overview and Import Insights dashboards already use (#132296). That helper moves from `gateway.ts` to `source-sync.ts` as `refreshMemoryWikiImportedSources`. It still single-flights equal requests, queues on the vault mutation lock, is cancelled by the service signal and is joined at shutdown. The refresh starts after the query because a cold read owner activates through the same vault queue, so a refresh started first would block the search. The helper runs the sync with `runInDetachedAsyncContext`. Without it the built Gateway aborted every refresh after the `/tools/invoke` response with `Failed to open the plugin state database. | This operation was aborted`, so nothing was ever published. The dashboard path on main has the same defect and this fixes it too. This takes over Baumus's PR. Thanks @Baumus for finding this, carrying the fix in your own deployment since 2026.10.10 and for the real-Gateway proof (#188256 (comment)), which also found the async-scope abort. Your commits stay in the branch. The commits on top replace the refresh coordinator (60 s freshness window, 5–60 s retry backoff, retry handles), the move to the plugin service scheduler, the query hook, the README section and the test-line allocation with the existing dashboard helper. No new freshness or retry policy is needed: the next search or dashboard poll is the retry, as for dashboards today. ## Evidence The built Gateway (dist) runs in an isolated profile with a task-owned state, config and port. Requests go through `/tools/invoke` → `wiki_search` and through `openclaw gateway call wiki.search`. The importer and compiler are the real unsafe-local ones, with no mocks or delays. Fixture: a compiled vault with one `entities/cobalt.md`, then 6,000 new synthetic source files. Source `0` contains "Zirconium publication evidence." Harness and raw captures: #188256 (comment). | Run | Base 6052fff | This PR | | --- | --- | --- | | `wiki_search cobalt`, run 1 | HTTP 500 at 30.5 s, `wiki_search timed out after 30s` | HTTP 200 at 4.9 s, `entities/cobalt.md`, 0 pages imported, no new publication | | `wiki_search cobalt`, run 2 | HTTP 500 at 30.4 s, `wiki_search timed out after 30s` | HTTP 200 at 4.3 s, `entities/cobalt.md` | | `wiki_search zirconium` after publication | n/a | HTTP 200 at 8.4 s, the newly imported source page | | `wiki.search` RPC (`openclaw gateway call`), twice | no answer within 600 s; all 6,000 imported, still no publication | `entities/cobalt.md` in 8.8 s and 7.7 s; after publication `zirconium` returns the new page | Controls on this PR: - Cold vault with no compiled snapshot: answers `cobalt` in 4.3 s through the scan fallback. - Two concurrent searches plus one `wiki.overview` poll: all answer, and exactly one compile is published. - SIGTERM during the refresh: exit 0 in 2.2 s, no publication, journal unchanged after exit. - `ingest.autoCompile: false`: the search answers, all 6,000 sources import, and nothing compiles. - One-shot `openclaw wiki search zirconium`: still waits for import and compile (508 s on a loaded host) and returns the new page. - Without `runInDetachedAsyncContext`, both runs logged `background source sync failed: Failed to open the plugin state database. | This operation was aborted` and never published. Unit: `tool.deadline.test.ts` "answers from the current index while the service refreshes" fails on base with `wiki_search timed out after 30s` and passes here. Focused memory-wiki suites pass: 8 files, 95 tests. Local review on the head reports no findings. ## Merge Danger Two-way door. No config, schema, protocol or stored-data change; a revert restores the awaited sync. Blast radius: memory-wiki search through the agent tool and the `wiki.search` Gateway method while the plugin service runs. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit f9f7bf7)
…#188256) Root cause: `extensions/memory-wiki/src/tool.ts:174` awaits `syncMemoryWikiImportedSources` (import, then a full compile) inside the 30 s `wiki_search` deadline, and `extensions/memory-wiki/src/gateway.ts:277` awaits the same sync before `wiki.search` with no deadline, so a large pending import fails or stalls searches for pages that are already on disk. Related: #187429, #132296, #166329 ## What Problem This Solves Fixes: `wiki_search` fails with "wiki_search timed out after 30s", and the `wiki.search` Gateway method hangs, when a large vault has source changes waiting to import and compile. The pages being searched for are already on disk. ## User Impact Searches answer from the current wiki at once while the Gateway imports and compiles in the background. Content that changed in the sources since the last refresh shows up on the next search, not this one. That one-search delay is the only staleness: pages written with `wiki_apply` are read live, and a vault with no compiled snapshot yet still answers through the existing full scan. Unchanged: `wiki_get`, `openclaw wiki search`, imports, compile, lint, apply and status still wait for the sync. `ingest.autoCompile: false` still never compiles. A caller with no running wiki service (one-shot hosts) still waits as before. ## Why This Change Was Made When the wiki service is running, `wiki_search` and `wiki.search` run the query first and then start the service-owned source sync that the Overview and Import Insights dashboards already use (#132296). That helper moves from `gateway.ts` to `source-sync.ts` as `refreshMemoryWikiImportedSources`. It still single-flights equal requests, queues on the vault mutation lock, is cancelled by the service signal and is joined at shutdown. The refresh starts after the query because a cold read owner activates through the same vault queue, so a refresh started first would block the search. The helper runs the sync with `runInDetachedAsyncContext`. Without it the built Gateway aborted every refresh after the `/tools/invoke` response with `Failed to open the plugin state database. | This operation was aborted`, so nothing was ever published. The dashboard path on main has the same defect and this fixes it too. This takes over Baumus's PR. Thanks @Baumus for finding this, carrying the fix in your own deployment since 2026.10.10 and for the real-Gateway proof (#188256 (comment)), which also found the async-scope abort. Your commits stay in the branch. The commits on top replace the refresh coordinator (60 s freshness window, 5–60 s retry backoff, retry handles), the move to the plugin service scheduler, the query hook, the README section and the test-line allocation with the existing dashboard helper. No new freshness or retry policy is needed: the next search or dashboard poll is the retry, as for dashboards today. ## Evidence The built Gateway (dist) runs in an isolated profile with a task-owned state, config and port. Requests go through `/tools/invoke` → `wiki_search` and through `openclaw gateway call wiki.search`. The importer and compiler are the real unsafe-local ones, with no mocks or delays. Fixture: a compiled vault with one `entities/cobalt.md`, then 6,000 new synthetic source files. Source `0` contains "Zirconium publication evidence." Harness and raw captures: #188256 (comment). | Run | Base 6052fff | This PR | | --- | --- | --- | | `wiki_search cobalt`, run 1 | HTTP 500 at 30.5 s, `wiki_search timed out after 30s` | HTTP 200 at 4.9 s, `entities/cobalt.md`, 0 pages imported, no new publication | | `wiki_search cobalt`, run 2 | HTTP 500 at 30.4 s, `wiki_search timed out after 30s` | HTTP 200 at 4.3 s, `entities/cobalt.md` | | `wiki_search zirconium` after publication | n/a | HTTP 200 at 8.4 s, the newly imported source page | | `wiki.search` RPC (`openclaw gateway call`), twice | no answer within 600 s; all 6,000 imported, still no publication | `entities/cobalt.md` in 8.8 s and 7.7 s; after publication `zirconium` returns the new page | Controls on this PR: - Cold vault with no compiled snapshot: answers `cobalt` in 4.3 s through the scan fallback. - Two concurrent searches plus one `wiki.overview` poll: all answer, and exactly one compile is published. - SIGTERM during the refresh: exit 0 in 2.2 s, no publication, journal unchanged after exit. - `ingest.autoCompile: false`: the search answers, all 6,000 sources import, and nothing compiles. - One-shot `openclaw wiki search zirconium`: still waits for import and compile (508 s on a loaded host) and returns the new page. - Without `runInDetachedAsyncContext`, both runs logged `background source sync failed: Failed to open the plugin state database. | This operation was aborted` and never published. Unit: `tool.deadline.test.ts` "answers from the current index while the service refreshes" fails on base with `wiki_search timed out after 30s` and passes here. Focused memory-wiki suites pass: 8 files, 95 tests. Local review on the head reports no findings. ## Merge Danger Two-way door. No config, schema, protocol or stored-data change; a revert restores the awaited sync. Blast radius: memory-wiki search through the agent tool and the `wiki.search` Gateway method while the plugin service runs. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit f9f7bf7) Co-authored-by: RomneyDa <[email protected]>
…openclaw#188256) Root cause: `extensions/memory-wiki/src/tool.ts:174` awaits `syncMemoryWikiImportedSources` (import, then a full compile) inside the 30 s `wiki_search` deadline, and `extensions/memory-wiki/src/gateway.ts:277` awaits the same sync before `wiki.search` with no deadline, so a large pending import fails or stalls searches for pages that are already on disk. Related: openclaw#187429, openclaw#132296, openclaw#166329 ## What Problem This Solves Fixes: `wiki_search` fails with "wiki_search timed out after 30s", and the `wiki.search` Gateway method hangs, when a large vault has source changes waiting to import and compile. The pages being searched for are already on disk. ## User Impact Searches answer from the current wiki at once while the Gateway imports and compiles in the background. Content that changed in the sources since the last refresh shows up on the next search, not this one. That one-search delay is the only staleness: pages written with `wiki_apply` are read live, and a vault with no compiled snapshot yet still answers through the existing full scan. Unchanged: `wiki_get`, `openclaw wiki search`, imports, compile, lint, apply and status still wait for the sync. `ingest.autoCompile: false` still never compiles. A caller with no running wiki service (one-shot hosts) still waits as before. ## Why This Change Was Made When the wiki service is running, `wiki_search` and `wiki.search` run the query first and then start the service-owned source sync that the Overview and Import Insights dashboards already use (openclaw#132296). That helper moves from `gateway.ts` to `source-sync.ts` as `refreshMemoryWikiImportedSources`. It still single-flights equal requests, queues on the vault mutation lock, is cancelled by the service signal and is joined at shutdown. The refresh starts after the query because a cold read owner activates through the same vault queue, so a refresh started first would block the search. The helper runs the sync with `runInDetachedAsyncContext`. Without it the built Gateway aborted every refresh after the `/tools/invoke` response with `Failed to open the plugin state database. | This operation was aborted`, so nothing was ever published. The dashboard path on main has the same defect and this fixes it too. This takes over Baumus's PR. Thanks @Baumus for finding this, carrying the fix in your own deployment since 2026.10.10 and for the real-Gateway proof (openclaw#188256 (comment)), which also found the async-scope abort. Your commits stay in the branch. The commits on top replace the refresh coordinator (60 s freshness window, 5–60 s retry backoff, retry handles), the move to the plugin service scheduler, the query hook, the README section and the test-line allocation with the existing dashboard helper. No new freshness or retry policy is needed: the next search or dashboard poll is the retry, as for dashboards today. ## Evidence The built Gateway (dist) runs in an isolated profile with a task-owned state, config and port. Requests go through `/tools/invoke` → `wiki_search` and through `openclaw gateway call wiki.search`. The importer and compiler are the real unsafe-local ones, with no mocks or delays. Fixture: a compiled vault with one `entities/cobalt.md`, then 6,000 new synthetic source files. Source `0` contains "Zirconium publication evidence." Harness and raw captures: openclaw#188256 (comment). | Run | Base fa7a528 | This PR | | --- | --- | --- | | `wiki_search cobalt`, run 1 | HTTP 500 at 30.5 s, `wiki_search timed out after 30s` | HTTP 200 at 4.9 s, `entities/cobalt.md`, 0 pages imported, no new publication | | `wiki_search cobalt`, run 2 | HTTP 500 at 30.4 s, `wiki_search timed out after 30s` | HTTP 200 at 4.3 s, `entities/cobalt.md` | | `wiki_search zirconium` after publication | n/a | HTTP 200 at 8.4 s, the newly imported source page | | `wiki.search` RPC (`openclaw gateway call`), twice | no answer within 600 s; all 6,000 imported, still no publication | `entities/cobalt.md` in 8.8 s and 7.7 s; after publication `zirconium` returns the new page | Controls on this PR: - Cold vault with no compiled snapshot: answers `cobalt` in 4.3 s through the scan fallback. - Two concurrent searches plus one `wiki.overview` poll: all answer, and exactly one compile is published. - SIGTERM during the refresh: exit 0 in 2.2 s, no publication, journal unchanged after exit. - `ingest.autoCompile: false`: the search answers, all 6,000 sources import, and nothing compiles. - One-shot `openclaw wiki search zirconium`: still waits for import and compile (508 s on a loaded host) and returns the new page. - Without `runInDetachedAsyncContext`, both runs logged `background source sync failed: Failed to open the plugin state database. | This operation was aborted` and never published. Unit: `tool.deadline.test.ts` "answers from the current index while the service refreshes" fails on base with `wiki_search timed out after 30s` and passes here. Focused memory-wiki suites pass: 8 files, 95 tests. Local review on the head reports no findings. ## Merge Danger Two-way door. No config, schema, protocol or stored-data change; a revert restores the awaited sync. Blast radius: memory-wiki search through the agent tool and the `wiki.search` Gateway method while the plugin service runs. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Large-vault
wiki_searchcan commit imports and then repeatedly cancel missing-snapshot recovery at its 30-second response deadline. Later searches restart the same repair without obtaining a usable snapshot.User Impact
Shared import and snapshot publication can finish after an individual search times out or is cancelled. Subsequent searches use the recovered snapshot. Search/query cancellation remains prompt, and stopping the plugin still cancels and joins maintenance. No config or data migration is required.
Why This Change Was Made
Use the existing plugin-service signal for shared synchronization, while retaining the composed caller/deadline/service signal for the response race and query. Outside an active service, synchronization stays caller-bound. This repairs the maintenance lifetime edge of #166329 without adding a scheduler, retry mechanism or performance change. Contributor implementation and commits are retained.
Evidence
Built Gateway before/after captures and lifecycle controls.
wiki_searchthrough the shipped Gateway after plugin services were ready, using fresh valid 12,400-page synthetic vaults, real local compilation/storage/query and no paid keys, clock changes or compiler delays.Merge Danger
Two-way door: reverting restores the prior lifetime selection; no schema, config, protocol or published-contract changes. Blast radius is limited to Memory Wiki searches that synchronize or recover snapshots, especially large vaults. Existing service shutdown remains authoritative. Performance work is separate.