Repository navigation
perf(memory): reuse pooled origin readers - #170795
Merged
Merged
Conversation
Borrow the existing agent read-only owner for memory origins and forgotten-session membership instead of opening and closing a fresh connection per request. Preserve lifecycle retirement and verify committed origin and tombstone writes remain visible through the retained reader.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
vincentkoc
added a commit
that referenced
this pull request
Oct 13, 2026
* commit '7ae69497bec4d9c37f170f046a3cbbf954ff19a7': (6238 commits) refactor(ui): replace Systems filters with native menu (#170786) fix(browser): browser open honors timeoutMs for its opening navigation (#170053) refactor: deslop old Apple shared/macOS and Control UI code (#170823) perf(memory): reuse pooled origin readers (#170795) fix(crabbox): preserve project snapshots across runtime updates (#170780) fix: prevent chat image loading from shifting messages (#170819) refactor(ui): use native menus for Secret Store actions (#170663) fix(gateway): keep chat metadata available during model reloads (#170805) fix: preserve diagnostics for unresponsive state lease heartbeats (#170835) fix(test): prepare runtime config for corpus revision proof test: give credential fixtures database ownership perf(auth): unblock session writes during health preparation (#170807) fix(ci): use smaller runners for selected Gateway client tests (#170821) fix: use same-commit plugins in development macOS builds (#170776) perf(github): share cached reads across sessions and searches (#170825) fix(projects): keep listings stable during unrelated session changes (#170824) fix(update): update repair fails after Doctor completes on busy macOS hosts (#170779) fix(heartbeat): suppress truncated NO_REPLY finals such as NO_R (#170190) perf(sessions): reduce read transaction overhead (#170745) refactor: simplify older plugin and package lifecycles (#170800) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
Reuse the existing worker-owned agent database reader for memory origins and forgotten-session tombstones. Preserve write-receipt invalidation and reader retirement while removing repeated connection admission. Add a regression that retains one reader and observes later committed origin and tombstone writes. The measured owner falls from eight to four total opens and eliminates all four repeat background opens; warmed-turn requests and overall opens are unchanged.
vincentkoc
added a commit
that referenced
this pull request
Oct 18, 2026
* feat(qa): report scorecard evidence gaps Distinguish catalog coverage, recorded attempts, and qualified evidence without changing scores or release gates. Include the canonical compatibility migration-status correction from ec1fb60. Co-authored-by: Patrick Erichsen <[email protected]> * chore(qa): drop compatibility backport already on main Keep the QA evidence-gap change scoped to its 13 paths. The canonical compatibility correction ec1fb60 and later refinements are already on main; restore the six branch preimages so the merge consumes that upstream owner state. * chore(qa): integrate canonical worker settlement fixes * commit '7ae69497bec4d9c37f170f046a3cbbf954ff19a7': (6238 commits) refactor(ui): replace Systems filters with native menu (#170786) fix(browser): browser open honors timeoutMs for its opening navigation (#170053) refactor: deslop old Apple shared/macOS and Control UI code (#170823) perf(memory): reuse pooled origin readers (#170795) fix(crabbox): preserve project snapshots across runtime updates (#170780) fix: prevent chat image loading from shifting messages (#170819) refactor(ui): use native menus for Secret Store actions (#170663) fix(gateway): keep chat metadata available during model reloads (#170805) fix: preserve diagnostics for unresponsive state lease heartbeats (#170835) fix(test): prepare runtime config for corpus revision proof test: give credential fixtures database ownership perf(auth): unblock session writes during health preparation (#170807) fix(ci): use smaller runners for selected Gateway client tests (#170821) fix: use same-commit plugins in development macOS builds (#170776) perf(github): share cached reads across sessions and searches (#170825) fix(projects): keep listings stable during unrelated session changes (#170824) fix(update): update repair fails after Doctor completes on busy macOS hosts (#170779) fix(heartbeat): suppress truncated NO_REPLY finals such as NO_R (#170190) perf(sessions): reduce read transaction overhead (#170745) refactor: simplify older plugin and package lifecycles (#170800) ... * fix(gateway): preserve safe previews and no-op bindings Clear only the matching pending binding operation after an authoritative unchanged settlement, preserving committed and unknown invalidation fences. Include the canonical managed-media preview correction from 47ba0ae. Co-authored-by: Peter Steinberger <[email protected]> * merge(main): reconcile QA reporting with frozen main * test(gateway): verify retained route authority after binding settlement Co-authored-by: Patrick Erichsen <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 18, 2026
* feat(qa): report scorecard evidence gaps Distinguish catalog coverage, recorded attempts, and qualified evidence without changing scores or release gates. Include the canonical compatibility migration-status correction from 3f6d26f. Co-authored-by: Patrick Erichsen <[email protected]> * chore(qa): drop compatibility backport already on main Keep the QA evidence-gap change scoped to its 13 paths. The canonical compatibility correction 3f6d26f and later refinements are already on main; restore the six branch preimages so the merge consumes that upstream owner state. * chore(qa): integrate canonical worker settlement fixes * commit '4ae87487b6eca95ac58a2f18de0e742b240772eb': (6238 commits) refactor(ui): replace Systems filters with native menu (openclaw#170786) fix(browser): browser open honors timeoutMs for its opening navigation (openclaw#170053) refactor: deslop old Apple shared/macOS and Control UI code (openclaw#170823) perf(memory): reuse pooled origin readers (openclaw#170795) fix(crabbox): preserve project snapshots across runtime updates (openclaw#170780) fix: prevent chat image loading from shifting messages (openclaw#170819) refactor(ui): use native menus for Secret Store actions (openclaw#170663) fix(gateway): keep chat metadata available during model reloads (openclaw#170805) fix: preserve diagnostics for unresponsive state lease heartbeats (openclaw#170835) fix(test): prepare runtime config for corpus revision proof test: give credential fixtures database ownership perf(auth): unblock session writes during health preparation (openclaw#170807) fix(ci): use smaller runners for selected Gateway client tests (openclaw#170821) fix: use same-commit plugins in development macOS builds (openclaw#170776) perf(github): share cached reads across sessions and searches (openclaw#170825) fix(projects): keep listings stable during unrelated session changes (openclaw#170824) fix(update): update repair fails after Doctor completes on busy macOS hosts (openclaw#170779) fix(heartbeat): suppress truncated NO_REPLY finals such as NO_R (openclaw#170190) perf(sessions): reduce read transaction overhead (openclaw#170745) refactor: simplify older plugin and package lifecycles (openclaw#170800) ... * fix(gateway): preserve safe previews and no-op bindings Clear only the matching pending binding operation after an authoritative unchanged settlement, preserving committed and unknown invalidation fences. Include the canonical managed-media preview correction from f3260b9. Co-authored-by: Peter Steinberger <[email protected]> * merge(main): reconcile QA reporting with frozen main * test(gateway): verify retained route authority after binding settlement Co-authored-by: Patrick Erichsen <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Vincent Koc <[email protected]>
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.
What Problem This Solves
Memory-origin and forgotten-session lookups open and close an agent database reader for each operation, repeating connection setup and discarding prepared statements.
User Impact
Memory reads reuse the existing agent reader owner and continue observing committed origin and tombstone writes. No configuration, schema, SDK surface, or update behavior changes.
Why This Change Was Made
readMemoryOriginsInWorkernow borrowswithOpenClawAgentDatabaseReadOnlyinstead of the fresh-only helper. The existing owner already handles committed-write invalidation, physical-file replacement, terminal retirement, shutdown, and idle expiry. The per-operation fresh-open/close path is removed from this consumer; no additional pool or lifetime protocol is introduced.Removed check/lifetime operation: unconditional fresh admission/open/close per memory-origin request. Accepted edge: an idle reader remains open until the existing reader owner's expiry or lifecycle close; agent deletion and replacement still retire it.
The connection census also found a distinct credential-reader floor:
sqlite-json.ts:readAuthProfileRowsReadOnlycloses its child-local auth pool after reading. That pool does not bind retained handles to physical-file identity or the parent's deletion resource. Removing its close could reuse old credentials after replacement and hold Windows deletion locks. It remains unchanged. Plugin metadata discovery's fresh shared-state reads also remain with their existing owner: the synchronous discovery worker can borrow an existing cached writer, but has no retained shared-state reader when that writer is absent. Removing those opens requires connecting discovery to the shared-state reader owner; this PR does not create a second pool. All four warm plugin metadata opens came from the same discovery worker, so that remains a real follow-up.Evidence
8555bbfc6a129. The failing case passed locally withpnpm test extensions/memory-core/src/memory-entry-origins.test.ts --maxWorkers=1 -t 'retains one origin reader'(1 passed, 13 skipped; 1042.81 s wall time, dominated by cold worker build/transformation on the loaded host). Final-head CI passed all 14/14 tests in 65.80 s (changed-extension test job).memory-entry-origin-reads.tsis already a registered worker module). No synchronous Gateway path is added.oxfmt, changed-fileoxlint, andgit diff --check: passed. Final-head CI passed, including production/test types, lint, changed-file Knip export scan, architecture/Madge, source contracts, and database worker/dialect ratchets. The combined CI/security gate passed; security review reported no sensitive product changes.Connection census and measurement
Measured base:
95b3b97a4c38457f1c615ec34c7947d35e2a191f; candidate:8555bbfc6a129(one pair). Landing heada23e7e8b14991merges mainb4ca9a7a94c8bcleanly; the pooling implementation and regression are unchanged after measurement.The native-open observer distinguishes actual connection constructors from
PRAGMA busy_timeout. The latter is also used to change timeout on an existing connection: all 40 warm-window timeout statements in the baseline came from audit writer admission, not 40 connection opens.Baseline warm window (10 turns, 113.245 seconds): 22 actual opens—14 auth readers (
sqlite-read-pool.ts:acquireAuthProfileReadDatabasethroughsqlite-json.ts:readAuthProfileRowsReadOnly), 4 shared-state plugin-index readers (installed-plugin-index-row.ts:readPluginMetadataStateRowsSync), and 4 accompanying quarantine readers (openclaw-quarantine-store.ts:readPersistedQuarantineDecision). All are read-only and close after the operation. Median observed lifetimes: 8 ms, 16 ms, and 384 ms respectively; these are lifecycle observations on a loaded host, not latency comparisons.The changed memory-origin path had two opens during first turn, one during compaction, and one during the idle minute (each with an accompanying quarantine reader), none in the ten warmed chat turns. This PR does not claim an 80% reduction across the unrelated auth/plugin owners.
Shared families across ten warm turns (base → candidate): exact-entry facts 43 → 42, actor hydration 13 → 14, entry-cache snapshots 0 → 0, row facts 3 → 0, transcript watermark reads 11 → 10. The one extra hydration is in the unchanged session-actor writer (thread 14,
session-actor-durable.ts→session-actor.worker.ts:read), which rehydrates from committed write-token changes. The changed read-only memory owner executes zero operations in either warmed window and publishes no writes or invalidations. This is scheduling variation in the independent actor owner, not a new memory-origin operation. Mean turn-caused statements/requests also fall slightly, 171.2 / 41.2 → 169.9 / 41.1, within noise; no warmed-turn performance gain is claimed.The selected owner executes four requests in both runs. Its SQL falls 10 → 6, with the removed statements all admission reads during compaction and idle. Its physical opens fall 8 → 4 overall: first use retains two agent readers (plus their two one-time quarantine readers); subsequent compaction and idle opens fall 4 → 0. That is a 100% reduction after first use for this owner, but does not reach an 80% reduction across all background owners. Overall warm opens remain 22; idle opens remain 8 because the existing memory-search reader (
manager-search.worker.ts:130) had a later first admission in the candidate. Overall first-turn opens are 66 → 64 (plugin-discovery variation). Audit timeout changes remain 40 → 40 in the warm window and vary 10 → 4 in the idle minute; they are not the pooling saving.PRAGMA user_versionPRAGMA user_versionBaseline/candidate warm windows lasted 113.245 / 84.139 seconds. Warm background SQL rates were 103.85 / 117.66 statements per minute; the windows overlap different timer ticks, so these rates are descriptive, not a throughput claim. Host load was 132 at baseline start and 107 at candidate start on 32 cores; no latency claim is made.
Coordination boundaries: idlewake2 owns timer/checkpoint policy, memqueue2 owns indexing scheduling, writerbatch2 owns write transactions. This change only selects the existing memory reader owner and changes none of those policies.
Baseline first-turn, warm, and idle connection attribution
acquireAuthProfileReadDatabase (src/agents/auth-profiles/sqlite-read-pool.ts:154:10)openclaw-agent.sqlitebuildSqliteSchemaContract (src/infra/sqlite-schema-contract.ts:494:20):memory:expectedDefinitions (src/state/openclaw-agent-canonical-validation-schema.ts:115:20):memory:listSessionEntriesReadOnly (src/config/sessions/session-accessor.sqlite-entry-list.read.ts:159:18)openclaw-agent.sqlitelistSessionEntriesReadOnly (src/config/sessions/session-accessor.sqlite-entry-list.read.ts:159:18)openclaw-quarantine.sqliteopenMemoryDatabaseReadOnlyAtPath (extensions/memory-core/src/memory/manager-db.ts:233:18):memory:openMemoryDatabaseReadOnlyAtPath (extensions/memory-core/src/memory/manager-db.ts:233:18)openclaw-agent.sqliteopenMemoryDatabaseReadOnlyAtPath (extensions/memory-core/src/memory/manager-db.ts:233:18)openclaw-quarantine.sqliteopenOpenClawAgentDatabaseReadOnly (src/state/openclaw-agent-db-readonly-open.ts:176:10)openclaw-agent.sqliteopenOpenClawAgentDatabaseSteps (src/state/openclaw-agent-db.ts:295:28)openclaw-quarantine.sqliteopenOpenClawAgentDatabaseSteps (src/state/openclaw-agent-db.ts:378:16)openclaw-agent.sqliteopenShadowBackend (extensions/memory-core/src/memory/manager-publication.worker.ts:113:14)openclaw-agent.sqlite.memory-reindex-<id>openTrackedStateDatabaseResult (src/state/openclaw-state-db-handle.ts:61:22)openclaw.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-agent.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-quarantine.sqlitereadAuthProfileRowsReadOnly (src/agents/auth-profiles/sqlite-json.ts:165:22)openclaw-agent.sqlitereadCanonicalStrictTables (src/infra/sqlite-strict.ts:132:21):memory:readExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:254:20):memory:readExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:254:20)openclaw-agent.sqlitereadExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:254:20)openclaw-quarantine.sqlitereadExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:364:18)openclaw-agent.sqlitereadExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:364:18)openclaw-quarantine.sqlitereadMemoryOriginsInWorker (extensions/memory-core/src/memory-entry-origin-reads.ts:42:18)openclaw-agent.sqlitereadMemoryOriginsInWorker (extensions/memory-core/src/memory-entry-origin-reads.ts:42:18)openclaw-quarantine.sqlitereadOpenClawAgentIntegrityVerification (src/state/openclaw-quarantine-store.ts:198:16)openclaw-quarantine.sqlitereadPersistedQuarantineDecision (src/state/openclaw-quarantine-store.ts:490:20)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw.sqlitereadPluginModelCatalogEntries (src/agents/plugin-model-catalog.kernel.ts:33:18):memory:readPluginModelCatalogEntries (src/agents/plugin-model-catalog.kernel.ts:33:18)openclaw-agent.sqlitereadPluginModelCatalogEntries (src/agents/plugin-model-catalog.kernel.ts:33:18)openclaw-quarantine.sqlitereadSessionEntryList (src/config/sessions/session-entry-list.worker.ts:40:18)openclaw-agent.sqlitereadSessionEntryList (src/config/sessions/session-entry-list.worker.ts:40:18)openclaw-quarantine.sqliteresolveExistingAgentSessionStoreTargetsReadOnlyResult (src/config/sessions/targets-read-availability.worker.ts:249:22)openclaw-agent.sqliteresolveExistingAgentSessionStoreTargetsReadOnlyResult (src/config/sessions/targets-read-availability.worker.ts:249:22)openclaw-quarantine.sqliterunWithSessionTranscriptReadFence (src/config/sessions/session-transcript-read-fence.ts:107:67)openclaw-agent.sqliterunWithSessionTranscriptReadFence (src/config/sessions/session-transcript-read-fence.ts:107:67)openclaw-quarantine.sqlitesdkOpenNodeSqliteDatabase (src/plugin-sdk/sqlite-runtime-legacy.ts:27:10)openclaw-agent.sqlite.memory-reindex-<id>withHistoryDatabase (src/config/sessions/session-transcript-worker-scopes.ts:34:25):memory:withHistoryDatabase (src/config/sessions/session-transcript-worker-scopes.ts:34:25)openclaw-agent.sqlitewithHistoryDatabase (src/config/sessions/session-transcript-worker-scopes.ts:34:25)openclaw-quarantine.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-agent.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-quarantine.sqlitereadMemoryOriginsInWorker (extensions/memory-core/src/memory-entry-origin-reads.ts:42:18)openclaw-agent.sqlitereadMemoryOriginsInWorker (extensions/memory-core/src/memory-entry-origin-reads.ts:42:18)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw.sqlitereadAuthProfileRowsReadOnly (src/agents/auth-profiles/sqlite-json.ts:165:22)openclaw-agent.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw.sqliteOpen connections are observed until recording ends; an unclosed handle’s lifetime is a lower bound. Synthetic
:memory:schema builders and the memory-reindex staging file are shown separately from retained runtime databases. Quarantine rows are admission companions of the named requesting owner.Candidate first-turn, warm, and idle connection attribution
acquireAuthProfileReadDatabase (src/agents/auth-profiles/sqlite-read-pool.ts:154:10)openclaw-agent.sqlitebuildSqliteSchemaContract (src/infra/sqlite-schema-contract.ts:494:20):memory:expectedDefinitions (src/state/openclaw-agent-canonical-validation-schema.ts:115:20):memory:listSessionEntriesReadOnly (src/config/sessions/session-accessor.sqlite-entry-list.read.ts:159:18)openclaw-agent.sqlitelistSessionEntriesReadOnly (src/config/sessions/session-accessor.sqlite-entry-list.read.ts:159:18)openclaw-quarantine.sqliteopenMemoryDatabaseReadOnlyAtPath (extensions/memory-core/src/memory/manager-db.ts:233:18):memory:openMemoryDatabaseReadOnlyAtPath (extensions/memory-core/src/memory/manager-db.ts:233:18)openclaw-agent.sqliteopenMemoryDatabaseReadOnlyAtPath (extensions/memory-core/src/memory/manager-db.ts:233:18)openclaw-quarantine.sqliteopenOpenClawAgentDatabaseReadOnly (src/state/openclaw-agent-db-readonly-open.ts:176:10)openclaw-agent.sqliteopenOpenClawAgentDatabaseSteps (src/state/openclaw-agent-db.ts:295:28)openclaw-quarantine.sqliteopenOpenClawAgentDatabaseSteps (src/state/openclaw-agent-db.ts:378:16)openclaw-agent.sqliteopenShadowBackend (extensions/memory-core/src/memory/manager-publication.worker.ts:113:14)openclaw-agent.sqlite.memory-reindex-<id>openTrackedStateDatabaseResult (src/state/openclaw-state-db-handle.ts:61:22)openclaw.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-agent.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-quarantine.sqlitereadAuthProfileRowsReadOnly (src/agents/auth-profiles/sqlite-json.ts:165:22)openclaw-agent.sqlitereadCanonicalStrictTables (src/infra/sqlite-strict.ts:132:21):memory:readExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:254:20):memory:readExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:254:20)openclaw-agent.sqlitereadExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:254:20)openclaw-quarantine.sqlitereadExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:364:18)openclaw-agent.sqlitereadExactSessionEntriesWithLifecycle (src/config/sessions/session-entry-read.worker.ts:364:18)openclaw-quarantine.sqlitereadMemoryOriginsInWorker (extensions/memory-core/src/memory-entry-origin-reads.ts:42:18)openclaw-agent.sqlitereadMemoryOriginsInWorker (extensions/memory-core/src/memory-entry-origin-reads.ts:42:18)openclaw-quarantine.sqlitereadOpenClawAgentIntegrityVerification (src/state/openclaw-quarantine-store.ts:198:16)openclaw-quarantine.sqlitereadPersistedQuarantineDecision (src/state/openclaw-quarantine-store.ts:490:20)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw.sqlitereadPluginModelCatalogEntries (src/agents/plugin-model-catalog.kernel.ts:33:18):memory:readPluginModelCatalogEntries (src/agents/plugin-model-catalog.kernel.ts:33:18)openclaw-agent.sqlitereadPluginModelCatalogEntries (src/agents/plugin-model-catalog.kernel.ts:33:18)openclaw-quarantine.sqlitereadSessionEntryList (src/config/sessions/session-entry-list.worker.ts:40:18)openclaw-agent.sqlitereadSessionEntryList (src/config/sessions/session-entry-list.worker.ts:40:18)openclaw-quarantine.sqliteresolveExistingAgentSessionStoreTargetsReadOnlyResult (src/config/sessions/targets-read-availability.worker.ts:249:22)openclaw-agent.sqliteresolveExistingAgentSessionStoreTargetsReadOnlyResult (src/config/sessions/targets-read-availability.worker.ts:249:22)openclaw-quarantine.sqliterunWithSessionTranscriptReadFence (src/config/sessions/session-transcript-read-fence.ts:107:67)openclaw-agent.sqliterunWithSessionTranscriptReadFence (src/config/sessions/session-transcript-read-fence.ts:107:67)openclaw-quarantine.sqlitesdkOpenNodeSqliteDatabase (src/plugin-sdk/sqlite-runtime-legacy.ts:27:10)openclaw-agent.sqlite.memory-reindex-<id>withHistoryDatabase (src/config/sessions/session-transcript-worker-scopes.ts:34:25):memory:withHistoryDatabase (src/config/sessions/session-transcript-worker-scopes.ts:34:25)openclaw-agent.sqlitewithHistoryDatabase (src/config/sessions/session-transcript-worker-scopes.ts:34:25)openclaw-quarantine.sqliteopenOpenClawAgentDatabaseReadOnly (src/state/openclaw-agent-db-readonly-open.ts:176:10)openclaw-agent.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-agent.sqliteprepareSessionMemoryEntries (src/config/sessions/session-memory-entry.worker.ts:51:5)openclaw-quarantine.sqlitereadPersistedQuarantineDecision (src/state/openclaw-quarantine-store.ts:490:20)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw.sqlitereadAuthProfileRowsReadOnly (src/agents/auth-profiles/sqlite-json.ts:165:22)openclaw-agent.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw-quarantine.sqlitereadPluginMetadataStateRowsSync (src/plugins/installed-plugin-index-row.ts:63:9)openclaw.sqlite