UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

795 lines • 377 kB
---
summary: "Generated inventory and migration priorities for synchronous SQLite access"
read_when:
  - Choosing a database worker migration
  - Auditing Gateway main-thread SQLite exposure
title: "Database worker migration inventory"
---

<!-- Generated by scripts/database-worker-inventory.mjs. Edit its classification evidence, then regenerate. -->

This snapshot contains **614 non-test files and 2539 call expressions** for the five primitives below. The campaign previously reported 404 files; that is a historical estimate, not a fixed target or a count of call expressions. This inventory follows current source and excludes import-only matches, comments, tests, fixtures, and test support. Its scan scope and exclusions are explicit below.

Regenerate with `pnpm db:worker-inventory:gen`; verify with `pnpm db:worker-inventory:check`. `node scripts/database-worker-inventory.mjs --json` emits every call's primitive, line, column, lexical operation path, optional variable-initializer binding, file owner, tier, and classification evidence. The script uses the repository's TypeScript parser and `rg`; it does not load application code or open a database.

## Scope and interpretation

T1 is request/event/timer exposure, including conservatively retained runtime or mixed kernels whose callers still need tracing. T2 is startup, migration, or a named boot/lock exception candidate. T3 is CLI, Doctor, or developer one-shot code. W marks worker implementations separately: their synchronous SQL is intentional and is not outstanding main-thread debt. A filename-based T2/T3/W classification is an audit lead, not a proof that every caller is safe. Do not move a mixed kernel or a module with ‘worker’ in its name to W without tracing its callers.

Reviewed mixed modules classify calls by their named lexical operation path, optionally narrowed to a variable initializer. Initializer exceptions exclude nested function bodies, so unrelated sites remain conservative even when source lines move. Other file tiers retain the broadest applicable counted exposure, including explicit worker/maintenance mixtures. Each file has at most one row per tier; tier file counts overlap, while total files and call expressions are unique. These are not measured runtime call counts. Recheck the operation and all registered callers before changing its classification. Maintenance invoked by Gateway timers remains T1. Prepared results never confer current authority; follow [worker access](/reference/database-schemas/worker-access).

Canonical-repair mutations remain T2 Doctor work, but its exact-row reader remains T1 because Gateway agent creation invokes legacy-main detection. Incognito category reads and native approval SDK compatibility remain T1. Claw provenance's counted writes are CLI-only; its raw Gateway reads are still runtime debt outside the five-primitive scan. Likewise, worker-only direct Cron receipt calls do not classify the host current-authority reads they transitively expose. Reclassification corrects metadata; it does not move runtime SQL or demonstrate a speedup.

The scan covers JavaScript/TypeScript files under `src/`, `extensions/`, `packages/`, and `scripts/` as selected by `rg` (respecting ignore rules). It recognizes direct calls, property calls with these names, and named-import aliases. It does not resolve higher-order aliases, dynamic dispatch, transitive wrappers, direct `DatabaseSync` methods, other query primitives, or native-language SQLite. It is a reproducible migration queue, not a complete prohibition checker. Tests are deliberately excluded rather than counted as T3.

| Key | Primitive                           |
| --- | ----------------------------------- |
| Q   | `executeSqliteQuerySync`            |
| F   | `executeSqliteQueryTakeFirstSync`   |
| S   | `runOpenClawStateWriteTransaction`  |
| A   | `runOpenClawAgentWriteTransaction`  |
| R   | `withOpenClawAgentDatabaseReadOnly` |

| Tier | Files | Call expressions |
| ---- | ----: | ---------------: |
| T1   |   275 |              925 |
| T2   |    92 |              377 |
| T3   |    75 |              269 |
| W    |   256 |              968 |

## Profile priority and current cutover status

Channel ingress `listPending`, `listClaims`, `listFailed`, `listUnsettled`, and claim/recovery preparation share the write broker's FIFO with mutations. They must observe earlier committed writes and retain read-write database admission. Explicit read-only inspection remains noncreating inside that broker. Failed-health, pressure, and account-discovery diagnostics use the read-only worker, where bounded staleness is acceptable.

The 2026-09-20 five-second Gateway profile on build `ddb31b38a88c` attributed **47% of main-thread time in aggregate** to synchronous state write coordination, including profile creation and exec-approval updates. No separate per-site timing was captured for the read paths below. Their order follows the reported profile triage, not invented individual costs. The T1 table puts these known owners first; all other owners follow alphabetically.

| Priority | Entry point / owner                                                         | Status to verify before a lane                                                                                                                                                                                                                              |
| -------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1        | `ensureProfileForEmail`; `updateExecApprovals`                              | Separate write-coordination lane; exclude from this cutover. The 47% is shared, not a measurement of either method alone.                                                                                                                                   |
| 2        | `sessions.list` → `listProjectedSessions` → resident session row projection | Warm requests already reuse resident rows with no host Kysely reads. Hydration, dirty/archived rows, and membership reads remain migration debt; preserve identity-keyed reuse and projection revisions.                                                    |
| 3        | `chat.history` → history worker                                             | Ordinary durable pages already use the worker. This cutover moves raw cursor delta reads and JSON parsing through the same owner; display/profile projection, byte budgets, and fresh sharing checks stay on the host.                                      |
| 4        | Transcript search → `session-transcript-search.ts`                          | The async facade moves durable FTS reads through the existing worker lifecycle for the runtime callers: `sessions-read.ts`, `sessions-search-projected.ts`, and `embedded-gateway-stub.ts`. Callers recheck current scope and authorization after awaiting. |
| 5        | Task/flow registry                                                          | Async read facades already use workers; native mutations and mixed kernels remain. Preserve accepted-write fences and projection publication.                                                                                                               |
| 6        | Provider catalog → `plugin-model-catalog.ts`                                | Persisted reads reached from `models-config.ts` and prepared model runtime; keep Doctor imports distinct.                                                                                                                                                   |

The warm `sessions.list` baseline used 5,000 rows, 50 viewers, and 350 calls: **zero host Kysely reads**, **3.07538 ms CPU per call**, and **3.12680 ms amortized wall time per call**. The original per-request store scan was already gone, so this lane does not claim another warm-list database cutover or speedup. These numbers do not cover projection hydration, dirty-row refresh, archived-row materialization, or membership reads.

The history cutover leaves selected/current session entries, pending-input/receipt reads, the retained transcript-session key, and lazy subagent source/run-input visibility reads as native work. Ordinary full pages and raw cursor deltas use the history worker. Bound Claude CLI history now uses its temporary merge index: cold preparation scans bounded source windows, and page/anchor requests project only selected messages. Process-held incognito database custody remains migration work because its database cannot be reopened by a durable path in another isolate. Its CLI-history adapter supplies bounded pages from the existing native owner to a request-scoped, memory-only worker index; ownership checks consume committed in-memory facts without additional native revision queries. A failed durable worker read never selects that local path.

Durable session reaction summaries and target-message reads use the admitted history worker; reaction writes use the canonical SQLite worker broker with live transaction and commit admission. Process-held incognito reads and writes retain their sole native owner because their database cannot be reopened by path. The synchronous reaction kernel is shared by those admitted worker and incognito paths; no new broker capability or native fallback is added. Reaction mirroring reads durable source conversation bindings through the history worker, including a final read after account/config preparation and immediately before dispatch; synchronous handoff guards retain live reactor, session, and config checks. The conversation registry remains T1 because other synchronous callers are outside this cutover. Schemas, stored bytes, retention, and update behavior are unchanged.

<a id="next-five-independent-lanes" />

## Next four independent lanes

After the history-delta/search cutovers and the separate profile/exec-approval lane, inspect these owners. Only catalog reads have a profile-listed position here; the other three are source-backed candidates without separate timings. Device pairing already dispatches through workers, with native boot/Doctor migration exceptions. Measure each actual entry point before choosing its migration.

| Owner                        | Concrete caller / boundary                                                                                                                                                                                |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Persisted provider catalogs  | `prepared-model-runtime.facts.ts` and `prepared-model-runtime.scoped-catalog.ts` call `loadPersistedPluginModelCatalogsReadOnly`; prepare catalog bytes off thread without changing registry generations. |
| Operator approval records    | `operator-approval-session-events.ts` calls `listPendingOperatorApprovals`; its store also expires/prunes records. Keep fresh resolution and allow-once consumption with the transaction owner.           |
| Worker environment inventory | `worker-environments/environment-access.ts` and `prepared-pool.ts` call `store.list`; carry inventory revisions back and revalidate placement/credential authority after waits.                           |
| Session membership           | `session-row-projection-materialize.ts` calls `listSessionMembers`; prepare membership with row facts and invalidate from the existing sharing/projection revision.                                       |

## Call sites by tier and owner

Counts use `Q/F/S/A/R` in that order. Source locations are available in `--json`; the first call line below is a navigation hint. Owner labels are source directory boundaries, not CODEOWNERS assignments. Generic runtime candidates require caller evidence before claiming a main-thread defect or a completed migration.

### T1

| Owner / file                                                                                               | Calls (Q/F/S/A/R) | First line | Exposure evidence                                                                                            |
| ---------------------------------------------------------------------------------------------------------- | ----------------: | ---------: | ------------------------------------------------------------------------------------------------------------ |
| **src/infra** · `src/infra/exec-approvals-sqlite.ts`                                                       |         1/3/0/0/0 |         51 | Approval-policy writes; write-coordination cutover owned separately                                          |
| **src/infra** · `src/infra/exec-approvals-store.ts`                                                        |         0/0/2/0/0 |        204 | Approval-policy writes; write-coordination cutover owned separately                                          |
| **src/state** · `src/state/user-profiles.ts`                                                               |         0/1/0/0/0 |         74 | Profile creation; write-coordination cutover owned separately                                                |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-read.ts`                      |         2/1/0/0/0 |        159 | Session-entry read kernel; inspect each caller's execution context                                           |
| **src/gateway** · `src/gateway/session-row-projection-materialize.ts`                                      |         0/0/0/0/1 |        501 | Session-list row entries and membership; process-held incognito path                                         |
| **src/gateway** · `src/gateway/mention-inbox-store.ts`                                                     |         4/1/0/0/0 |         52 | Worker-backed bundled callers; deprecated 2026.9.8 synchronous Mention Inbox SDK kernel until next SDK major |
| **src/gateway** · `src/gateway/mention-inbox.native.ts`                                                    |         0/0/1/0/0 |         28 | Deprecated 2026.9.8 synchronous Mention Inbox SDK transaction; removal at next SDK major                     |
| **src/config/sessions** · `src/config/sessions/session-transcript-search.ts`                               |         1/1/0/0/1 |        115 | Async durable search uses worker; process-held incognito remains native                                      |
| **src/config/sessions** · `src/config/sessions/session-sharing-store.kernel.ts`                            |         1/1/0/0/0 |         19 | Member-row kernel shared by session readers                                                                  |
| **src/config/sessions** · `src/config/sessions/session-sharing-store.ts`                                   |         0/0/0/0/1 |         24 | Session-list member reads and membership mutations                                                           |
| **extensions/memory-core** · `extensions/memory-core/src/memory-session-tombstones.ts`                     |         1/0/0/0/0 |         34 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **extensions/memory-core** · `extensions/memory-core/src/memory/manager-source-state.ts`                   |         1/0/0/0/0 |        111 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **packages/memory-host-sdk** · `packages/memory-host-sdk/src/host/memory-recall-metadata.ts`               |         1/0/0/0/0 |         97 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/acp** · `src/acp/event-ledger.ts`                                                                    |         1/1/1/0/0 |        265 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/acp** · `src/acp/runtime/session-meta-keys.ts`                                                       |         2/1/0/0/0 |         42 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/acp** · `src/acp/runtime/session-meta-write.kernel.ts`                                               |         1/0/0/0/0 |         99 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/acp** · `src/acp/runtime/session-meta-write.native.ts`                                               |         0/0/2/0/0 |        100 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/acp** · `src/acp/runtime/session-meta.ts`                                                            |         1/0/1/0/0 |         98 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents** · `src/agents/agent-create.ts`                                                              |         0/0/1/0/0 |        698 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents** · `src/agents/agent-lifecycle-registry.ts`                                                  |         0/0/3/0/0 |        114 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents** · `src/agents/plugin-model-catalog.kernel.ts`                                               |         1/0/0/0/1 |         29 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents** · `src/agents/workspace-state-store.kernel.ts`                                              |         8/0/0/0/0 |        114 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents** · `src/agents/workspace-state-store.ts`                                                     |         1/1/1/0/0 |        316 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/auth-profiles** · `src/agents/auth-profiles/candidate-stores.ts`                              |         0/0/0/1/0 |        147 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/auth-profiles** · `src/agents/auth-profiles/shared-store-bootstrap.ts`                        |         0/3/0/0/0 |        108 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/auth-profiles** · `src/agents/auth-profiles/sqlite-json.ts`                                   |         6/3/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/auth-profiles** · `src/agents/auth-profiles/sqlite.ts`                                        |         0/0/1/1/0 |        471 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/harness** · `src/agents/harness/context-engine-turn-outbox-store.ts`                          |         0/0/0/1/0 |         49 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/harness** · `src/agents/harness/context-engine-turn-outbox.ts`                                |         7/4/0/0/0 |        143 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/harness** · `src/agents/harness/native-hook-relay-store.ts`                                   |         0/0/1/0/0 |        116 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/sandbox** · `src/agents/sandbox/registry.kernel.ts`                                           |         2/0/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/sandbox** · `src/agents/sandbox/registry.ts`                                                  |         1/0/2/0/0 |        147 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/subagents** · `src/agents/subagents/registry/subagent-registry.store.sqlite.ts`               |         3/0/0/0/0 |        111 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/subagents** · `src/agents/subagents/spawn/acp-parent-stream-store.sqlite.ts`                  |         1/1/0/1/0 |         43 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/worktrees** · `src/agents/worktrees/registry-read.kernel.ts`                                  |         3/0/0/0/0 |        116 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/worktrees** · `src/agents/worktrees/registry.ts`                                              |       15/0/10/0/0 |        198 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/worktrees** · `src/agents/worktrees/run-lease-owner.ts`                                       |         3/0/0/0/0 |         45 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/worktrees** · `src/agents/worktrees/run-lease-store.kernel.ts`                                |         1/0/0/0/0 |         60 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/agents/worktrees** · `src/agents/worktrees/template-registry.ts`                                     |         7/0/1/0/0 |         68 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/boards** · `src/boards/sqlite-board-store.kernel.ts`                                                 |         9/0/0/0/0 |        142 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/boards** · `src/boards/sqlite-board-store.ts`                                                        |         0/0/0/1/3 |        120 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/claws** · `src/claws/provenance-runtime-read.kernel.ts`                                              |         1/0/0/0/0 |         16 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config** · `src/config/io.health-state.kernel.ts`                                                    |         2/0/0/0/0 |         47 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config** · `src/config/io.health-state.ts`                                                           |         0/0/1/0/0 |        139 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/conversation-registry.ts`                                   |         0/0/0/0/1 |        175 | Reaction bindings use worker; other synchronous registry callers remain                                      |
| **src/config/sessions** · `src/config/sessions/goals-operations-read.ts`                                   |         0/0/0/0/1 |         37 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/goals-operations.ts`                                        |         2/2/0/1/0 |        133 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/legacy-main-session-key-scan.ts`                            |         2/0/0/0/2 |         50 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.reset.ts`                                  |         0/0/0/0/1 |         82 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-acp-provenance.ts`                  |         1/1/0/0/1 |         34 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-active-context.ts`                  |         4/2/0/0/0 |         65 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-active-events-read.ts`              |         1/0/0/0/0 |        138 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-active-events.ts`                   |         2/3/0/0/0 |        106 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-active-projection.ts`               |         0/0/0/0/1 |         29 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive-read.ts`                    |         1/0/0/0/0 |         77 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive-store-kernel.ts`            |         4/2/0/0/0 |         81 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive-transaction.ts`             |         0/0/0/1/0 |         20 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-branch-rewrite.ts`                  |         0/1/0/1/0 |         92 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-canonical-repair.ts`                |         0/2/0/0/0 |         68 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-compaction.ts`                      |         0/0/0/1/0 |        114 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-conversation-read.ts`               |         1/0/0/0/0 |        180 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-conversation.ts`                    |         8/0/0/0/0 |         64 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-creation.ts`                        |         0/0/0/1/0 |        198 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-delete-snapshot.ts`                 |         0/5/0/0/0 |         36 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-deletion.ts`                        |         0/0/0/2/0 |        616 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-display-position.ts`                |         1/0/0/0/0 |         57 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-availability.ts`              |         1/1/0/0/2 |         52 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-cache-projection.ts`          |         1/0/0/0/0 |         72 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-cache.ts`                     |         1/0/0/0/0 |        121 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-identity.ts`                  |         0/1/0/0/0 |         12 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-inventory.ts`                 |         1/0/0/0/0 |        101 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-list.read.ts`                 |         1/0/0/0/1 |         70 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-store.ts`                     |         9/1/0/0/0 |        141 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry.ts`                           |         2/1/0/1/4 |        134 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-exact-read.ts`                      |         0/1/0/0/4 |        161 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-generation-copy.ts`                 |         2/0/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-history-input-visibility.ts`        |         0/1/0/0/0 |        101 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-history-interval.ts`                |         3/5/0/0/0 |        173 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-history-projection.ts`              |         1/2/0/0/0 |         58 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-history-query.ts`                   |         2/0/0/0/0 |         81 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-history.ts`                         |         1/0/0/0/2 |        153 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-initial-entry.ts`                   |         0/0/0/1/0 |         95 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-involvement.ts`                     |         0/0/0/1/0 |         29 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-lifecycle-artifacts.ts`             |         3/1/0/0/1 |         64 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-lifecycle-state.ts`                 |         2/1/0/0/0 |        337 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-lifecycle.ts`                       |         0/0/0/1/1 |        124 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-maintenance-store.ts`               |         3/0/0/0/0 |         52 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-maintenance-transaction.ts`         |         0/0/0/2/0 |        210 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-maintenance.ts`                     |         0/0/0/0/1 |        265 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-model-context.ts`                   |         0/1/0/0/4 |        115 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-node-artifacts.ts`                  |        25/2/0/0/0 |        103 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-owner.ts`                           |         1/0/0/1/0 |         72 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-parent-session.ts`                  |         0/0/0/4/0 |        134 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-participant-projection.ts`          |         1/0/0/0/0 |         62 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-participant-read.ts`                |         0/0/0/0/1 |         15 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-participants.native.ts`             |         2/2/0/1/0 |         52 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-pending-input-receipts.ts`          |         1/0/0/0/1 |         32 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-pending-inputs-repair.ts`           |         5/0/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-pending-inputs.ts`                  |         6/2/0/0/0 |        325 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-projection.ts`                      |         0/0/0/2/0 |        301 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-provenance.ts`                      |         0/2/0/0/0 |         39 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-raw-delta-read.ts`                  |         2/0/0/0/0 |        194 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-read.ts`                            |         3/4/0/0/4 |        119 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-reclamation.ts`                     |         4/0/0/3/0 |         98 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-references.ts`                      |         2/0/0/0/0 |        104 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-replacement-projection.ts`          |         0/0/0/1/0 |        292 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-replacement-read.ts`                |         2/0/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-reset-window.ts`                    |         1/9/0/0/0 |        144 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-suffix-read.ts`                     |         2/2/0/0/0 |         65 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-anchor.ts`               |         0/1/0/0/0 |         29 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-header.ts`               |         0/1/0/0/0 |         18 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-message-append.ts`       |         0/0/0/0/1 |        120 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-message-rewrite.ts`      |         0/1/0/2/0 |         48 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-metadata-read.ts`        |         0/1/0/0/0 |         27 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-mirror.ts`               |         1/2/0/0/0 |         36 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-parent.ts`               |         0/5/0/0/0 |        262 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-reports.kernel.ts`       |         0/2/0/0/0 |        155 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-reports.ts`              |         0/0/0/1/0 |        118 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-sequences.ts`            |         1/1/0/0/0 |         59 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-state.ts`                |        11/4/0/0/0 |         89 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-stats.ts`                |         3/0/0/0/0 |        118 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-store.ts`                |         1/2/0/0/0 |        234 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-suffix-idempotency.ts`   |         2/0/0/0/0 |         28 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-suffix-write.ts`         |         0/0/0/1/0 |         57 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-suffix.ts`               |         8/4/0/0/0 |         76 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-turn.ts`                 |         0/0/0/1/1 |         94 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-watermark.ts`            |         0/0/0/0/1 |         36 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-write-guard.ts`          |         0/1/0/0/0 |         67 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-write-snapshot.ts`       |         0/0/0/1/0 |         59 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-write.ts`                |         0/0/0/9/0 |        147 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-accessor.transcript-range.ts`                       |         1/5/0/0/0 |         83 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-canonical-key.ts`                                   |         0/1/0/0/0 |        542 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-canonical-validation.ts`                            |         0/1/0/0/0 |         44 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-cold-storage-inventory.ts`                          |         0/2/0/0/0 |         14 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-cold-storage.ts`                                    |         0/0/0/0/1 |        448 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-entry-snapshots.ts`                                 |         2/0/0/0/0 |         95 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-entry-status-read.ts`                               |         0/0/0/0/1 |         40 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-group-categories.read.ts`                           |         1/0/0/0/0 |         13 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-group-categories.ts`                                |         0/0/0/1/0 |         41 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-history-eviction-candidates.ts`                     |         2/0/0/0/0 |         53 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-history-eviction.ts`                                |         0/0/0/0/1 |        210 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-pending-input-history-reconcile.ts`                 |         2/0/0/1/0 |         24 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-pending-input-history.kernel.ts`                    |         2/1/0/0/0 |         44 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-pending-input-history.ts`                           |         0/0/0/0/1 |         96 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-pending-input-operations.kernel.ts`                 |         3/0/0/0/0 |        135 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-pending-input-source.kernel.ts`                     |         0/4/0/0/0 |         24 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-pending-input-store.ts`                             |         0/0/0/1/0 |        136 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-reaction-store.kernel.ts`                           |         4/2/0/0/0 |         38 | Durable reads and writes use workers; incognito keeps its native owner                                       |
| **src/config/sessions** · `src/config/sessions/session-reaction-store.read.ts`                             |         1/0/0/0/0 |         53 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-reaction-store.ts`                                  |         0/0/0/1/0 |         60 | Worker-admitted reaction writes; process-held incognito retains native owner                                 |
| **src/config/sessions** · `src/config/sessions/session-sharing-store.native.ts`                            |         2/1/0/2/0 |         87 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-suggestion-store.kernel.ts`                         |         7/2/0/0/0 |         70 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-suggestion-store.ts`                                |         0/0/0/4/0 |         67 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-fts.ts`                                  |         1/0/0/0/0 |         73 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-index.ts`                                |         6/5/0/0/0 |         83 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-match.ts`                                |         0/0/0/0/1 |         75 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-projection-rebuild.ts`                   |         6/6/0/0/0 |        102 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-projection-writer.ts`                    |         0/1/0/1/0 |         58 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-read-fence.ts`                           |         0/1/0/0/0 |        173 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-reconcile-memory.ts`                     |         0/2/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-reconcile.ts`                            |         0/0/0/0/2 |        231 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/session-transcript-retained-data.ts`                        |         1/0/0/0/0 |        116 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/targets-read-availability.ts`                               |         0/0/0/0/1 |         96 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/targets.ts`                                                 |         0/0/0/0/2 |        129 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/config/sessions** · `src/config/sessions/transcript-payload.ts`                                      |         0/1/0/0/0 |        102 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/cron** · `src/cron/store/row-codec.ts`                                                               |         1/1/0/0/0 |        262 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/cron** · `src/cron/store/run-receipt-read.ts`                                                        |         1/0/0/0/0 |        133 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/github-personal-publication-store.ts`                                       |         4/3/4/0/0 |         91 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/github-publication-coordinator-methods.ts`                                  |         5/0/2/0/0 |        151 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/github-publication-store.ts`                                                |         4/3/3/0/0 |         76 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/github-publication.ts`                                                      |         1/1/2/0/0 |         91 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/github-repository-publication-store.ts`                                     |         3/7/8/0/0 |        105 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/github-repository-publication.kernel.ts`                                    |         1/0/0/0/0 |        165 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/operator-approval-placement-grants.ts`                                      |         1/3/3/0/0 |         96 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/operator-approval-standing-grants.ts`                                       |         9/4/2/0/0 |        175 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/operator-approval-store.kernel.ts`                                          |         0/0/1/0/0 |        198 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/operator-approval-store.operations.ts`                                      |         0/0/1/0/0 |         34 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/operator-approval-store.rows.ts`                                            |         3/1/0/0/0 |        360 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/operator-approval-store.transitions.ts`                                     |         2/0/2/0/0 |         56 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/progress-card-store.ts`                                                     |         0/0/0/1/1 |         42 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/session-group-catalog.kernel.ts`                                            |         1/0/0/0/0 |         33 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway** · `src/gateway/session-row-membership-read.ts`                                             |         0/0/0/0/1 |        326 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/server-methods** · `src/gateway/server-methods/session-placement-read-projection.ts`         |         0/0/0/0/1 |        148 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/local-workspace-store.ts`           |         0/5/3/0/0 |         32 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-drain.ts`                 |         1/0/0/0/0 |         82 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-move-intent.ts`           |         4/2/0/0/0 |        252 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-row-codec.ts`             |         1/1/0/0/0 |        122 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-store.ts`                 |         4/0/1/0/0 |         72 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-workspace-reservation.ts` |         0/2/0/0/0 |         44 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-workspace-result.ts`      |         4/0/0/0/0 |         99 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/prepared-environment-store.ts`      |         1/2/0/0/0 |         92 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/hooks** · `src/hooks/install-record-transaction.ts`                                                  |         0/0/2/0/0 |         23 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/delivery-queue-sqlite.kernel.ts`                                                |         2/0/0/0/0 |        138 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/device-identity-store.ts`                                                       |         1/2/1/0/0 |        241 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/device-pairing-join-code.ts`                                                    |         4/1/2/0/0 |         48 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/heartbeat-outcome-store.kernel.ts`                                              |         3/1/0/0/0 |         20 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/heartbeat-outcome-store.ts`                                                     |         0/0/0/1/0 |        173 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/message-tool-run-outcome-store.kernel.ts`                                       |         2/0/0/0/0 |         18 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/message-tool-run-outcome-store.ts`                                              |         0/0/0/1/0 |         80 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/push-web-store.kernel.ts`                                                       |         3/1/4/0/0 |         63 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/restart-handoff.ts`                                                             |         1/1/1/0/0 |        256 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/restart-intent.ts`                                                              |         1/1/0/0/0 |        449 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/restart-sentinel-store.ts`                                                      |         1/2/0/0/0 |        213 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/restart-sentinel.ts`                                                            |        0/0/10/0/0 |        109 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/session-cost-usage-cache-read.ts`                                               |         0/0/0/0/1 |         16 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/session-cost-usage-cache.kernel.ts`                                             |        10/0/0/0/0 |         41 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/session-cost-usage-cache.sqlite.ts`                                             |         0/0/0/1/0 |         85 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/sqlite-audit-record-store.ts`                                                   |         0/0/2/0/0 |         26 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/sqlite-audit-record.kernel.ts`                                                  |         3/3/0/0/0 |         61 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/sqlite-staging-token.ts`                                                        |         0/1/0/0/0 |         68 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-failure-report-receipt-store.ts`                                         |         3/0/0/0/0 |        196 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-database.ts`                                     |         1/1/0/0/0 |         74 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-lease.ts`                                        |         1/0/0/0/0 |        267 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-mutation.ts`                                     |         1/0/0/0/0 |         80 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-original-owner.ts`                               |         1/0/0/0/0 |         78 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-reclamation.ts`                                  |         1/0/0/0/0 |         65 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-rows.ts`                                         |         4/0/0/0/0 |         98 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-managed-service-handoff-source-inspection.ts`                            |         0/2/0/0/0 |          7 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-run-admission.ts`                                                        |         0/0/1/0/0 |         74 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-run-ledger.ts`                                                           |         1/0/0/0/0 |        153 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-run-read.kernel.ts`                                                      |         1/2/0/0/0 |         54 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-run-recovery-store.ts`                                                   |         1/0/0/0/0 |         21 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra** · `src/infra/update-run-write.ts`                                                            |         1/0/0/0/0 |        119 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/infra/outbound** · `src/infra/outbound/current-conversation-bindings.ts`                             |         1/0/4/0/0 |         64 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/media** · `src/media/web-media.ts`                                                                   |         3/1/2/0/0 |        303 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/model-catalog** · `src/model-catalog/remote-store.ts`                                                |         0/0/1/0/0 |        112 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/node-host** · `src/node-host/config.ts`                                                              |         1/1/1/0/0 |        239 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/node-host** · `src/node-host/node-worker-prepared-workspace-store.kernel.ts`                         |         1/0/0/0/0 |         70 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/pairing** · `src/pairing/pairing-store-sqlite.ts`                                                    |         6/0/0/0/0 |         79 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/pairing** · `src/pairing/pairing-store.ts`                                                           |         0/0/4/0/0 |        139 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.database.ts`                                   |         0/0/1/0/0 |        127 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.kernel.ts`                                     |         2/0/0/0/0 |        279 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.mutations.ts`                                  |         1/0/0/0/0 |         84 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.reads.ts`                                      |         1/0/0/0/0 |         24 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.retention.ts`                                  |         1/0/0/0/0 |         72 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugins** · `src/plugins/installed-plugin-index-row.ts`                                              |         1/0/0/0/0 |         42 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/plugins** · `src/plugins/installed-plugin-index-store-write.ts`                                      |         0/1/2/0/0 |         90 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/proxy-capture** · `src/proxy-capture/store-readonly.ts`                                              |         1/1/0/0/0 |        178 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/proxy-capture** · `src/proxy-capture/store.sqlite.ts`                                                |         0/0/1/0/0 |        206 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/secrets** · `src/secrets/store/secret-store-hidden-github.ts`                                        |         3/2/2/0/0 |         87 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/secrets** · `src/secrets/store/secret-store.ts`                                                      |         1/1/1/0/0 |        166 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/session-cards** · `src/session-cards/progress-card-store.ts`                                         |         2/2/0/0/0 |         49 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/sessions** · `src/sessions/session-state-events.kernel.ts`                                           |         2/2/0/0/0 |        308 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/sessions** · `src/sessions/session-state-events.ts`                                                  |         4/0/3/0/0 |        105 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/sessions** · `src/sessions/session-upstream-links.ts`                                                |         4/0/2/0/0 |         41 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/skills/library** · `src/skills/library/selection-read.kernel.ts`                                     |         1/0/0/0/0 |         35 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/agent-deletion-journal-history.ts`                                              |         0/2/0/0/0 |         20 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/agent-deletion-journal-recovery.ts`                                             |         1/0/0/0/0 |        105 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/agent-deletion-journal.read.ts`                                                 |         1/0/0/0/0 |        116 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/agent-deletion-journal.ts`                                                      |         8/1/3/0/0 |        123 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/agent-provenance.kernel.ts`                                                     |         0/1/0/0/0 |         31 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/agent-provenance.ts`                                                            |         2/0/1/0/0 |         33 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/claw-mcp-adoption.ts`                                                           |         1/0/1/0/0 |         20 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/claw-package-adoption.ts`                                                       |         1/0/1/0/0 |         29 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/config-machine-state-write.ts`                                                  |         2/1/2/0/0 |         31 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/config-machine-state.ts`                                                        |         0/1/0/0/0 |         27 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/github-publication-session-lifecycles.ts`                                       |         1/1/0/0/0 |         31 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-agent-canonical-validation-receipt.ts`                                 |         0/1/0/0/0 |         53 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-agent-db-metadata-write.ts`                                            |         1/0/0/0/0 |         20 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-agent-db-registry.read.ts`                                             |         1/1/0/0/0 |         20 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-agent-db-registry.ts`                                                  |         3/0/2/0/0 |         52 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-quarantine-store.ts`                                                   |         5/2/0/0/0 |         66 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-state-db-maintenance.ts`                                               |         1/0/0/0/0 |        611 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/openclaw-state-db.ts`                                                           |         0/0/1/0/0 |        378 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/user-github-connections.ts`                                                     |         1/0/3/0/0 |        188 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/user-model-accounts.ts`                                                         |         2/2/4/0/0 |        103 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/user-profile-github-identity.ts`                                                |         1/0/0/0/0 |        123 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/user-profile-identity.read.ts`                                                  |         5/0/0/0/0 |        195 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/user-profile-mutation.ts`                                                       |         0/0/1/0/0 |         45 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/state** · `src/state/user-profiles-internal.ts`                                                      |         2/1/0/0/0 |        102 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/talk** · `src/talk/client-voice-mutation-digest-owner.ts`                                            |         0/0/0/1/0 |         80 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/talk** · `src/talk/client-voice-session.ts`                                                          |         0/0/0/6/0 |        116 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/trajectory** · `src/trajectory/runtime-store.sqlite.ts`                                              |         5/1/0/1/1 |         92 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/transcripts** · `src/transcripts/store-export-jsonl.ts`                                              |         1/1/0/0/0 |         26 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |
| **src/transcripts** · `src/transcripts/store-read.ts`                                                      |         0/2/0/0/0 |        481 | Runtime/mixed candidate; main-thread reachability needs tracing                                              |

### T2

| Owner / file                                                                                     | Calls (Q/F/S/A/R) | First line | Exposure evidence                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------ | ----------------: | ---------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **extensions/codex** · `extensions/codex/src/migration/native-task-assignments.ts`               |         2/0/0/0/0 |        109 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/agents** · `src/agents/plugin-model-catalog.kernel.ts`                                     |         4/0/0/0/0 |         68 | Native replacement is Doctor import only: src/commands/doctor-plugin-model-catalog.ts:103 -> plugin-model-catalog.ts:495,517 -> :162. The other caller is plugin-model-catalog.worker.ts:94; readPluginModelCatalogEntries remains T1.                                                                                                                                                                        |
| **src/agents** · `src/agents/plugin-model-catalog.ts`                                            |         3/0/0/3/0 |        111 | Only doctor-plugin-model-catalog.ts:103,126 reaches repair/import/receipt retirement; runtime replacement dispatches at plugin-model-catalog.ts:584; ModelRegistry synchronous kernel reads stay T1                                                                                                                                                                                                           |
| **src/agents** · `src/agents/workspace-alias-rebind.ts`                                          |         5/4/1/0/0 |         86 | Only src/commands/doctor-workspace-alias.ts:67,107,131 invokes detect/rebind; readWorkspaceMoveState is private at :166,282. Doctor health/lint reaches detection via src/flows/doctor-health-contributions-final.ts:269 and doctor-health-contribution-runners.workspace.ts:77; repair is installed by src/commands/doctor-config-flow.ts:83,93.                                                             |
| **src/agents** · `src/agents/workspace-state-store.kernel.ts`                                    |         2/2/0/0/0 |        172 | Worker runtime/read dispatch plus Doctor workspace-alias-rebind.ts:83,324, migration workspace-setup-store.ts:528 and relocation retirement workspace-state-store.ts:256; native identity/deletion stay T1                                                                                                                                                                                                    |
| **src/agents** · `src/agents/workspace-state-store.ts`                                           |         1/0/0/0/0 |        264 | Only commands/doctor-skill-workshop-workspaces.ts:266 retires migration attestations                                                                                                                                                                                                                                                                                                                          |
| **src/agents/subagents** · `src/agents/subagents/registry/subagent-registry.store.sqlite.ts`     |         1/0/0/0/0 |        502 | Only subagent-session-reconciliation.ts:255 invokes the ownership query, through server-startup-session-migration.ts:130. Callers are server-startup-plugins.ts:99 and server-agent-database-startup.ts:112; the latter is the one-time deferred boot-inspection continuation in src/state/agent-database-startup.ts:235,290,322, not request/timer maintenance.                                              |
| **src/agents/worktrees** · `src/agents/worktrees/registry.ts`                                    |         2/0/1/0/0 |         99 | Only migration discovery src/infra/state-migrations.doctor-discovery.ts:78 and Doctor repair src/config/sessions/worktree-workspace-migration.ts:116 call the list; the latter requires doctor-fix mode and is invoked at src/commands/doctor-session-worktree-workspace.ts:30. Rewrite is called only by state-migrations.doctor.ts:1362, reached through Doctor/startup migration owner at :2488,2509,2717. |
| **src/channels** · `src/channels/message/ingress-queue.migration.ts`                             |         1/1/2/0/0 |        116 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/config/sessions** · `src/config/sessions/legacy-main-session-migration-claims.ts`          |         1/0/0/0/2 |        128 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/config/sessions** · `src/config/sessions/legacy-main-session-migration-operations.ts`      |         6/0/0/1/3 |        205 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/config/sessions** · `src/config/sessions/legacy-main-session-migration.ts`                 |         2/1/1/0/0 |        202 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-canonical-repair.ts`      |        14/2/0/1/0 |        175 | Doctor canonical-key repair/import; exact-row reader stays T1 via agents.create -> agent-create.ts:238 -> legacy-main-session-migration-claims.ts:101                                                                                                                                                                                                                                                         |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-generation-copy.ts`       |         4/2/0/0/0 |        226 | Doctor cross-store repair: legacy-main-session-migration-operations.ts:324 is gated by doctor-fix at :550; session-accessor.sqlite-canonical-repair.ts:504 is called by commands/doctor-session-canonical-keys.ts:454. Gateway agents.create detect mode does not copy.                                                                                                                                       |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-import.ts`                |         0/3/0/1/0 |        104 | Legacy session migration: commands/doctor-session-sqlite-import.ts:84 and doctor-session-sqlite-active.ts:73; Doctor retained recovery at doctor-session-sqlite-retained.ts:197 -> infra/deferred-plugin-session-sources.ts:541,590 -> deferred-plugin-session-verification.ts:92 -> deferred-plugin-session-empty.ts:78.                                                                                     |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-node-artifacts.ts`        |         1/0/0/0/0 |        403 | Only commands/doctor-session-canonical-keys.ts:311 and session-accessor.sqlite-canonical-repair.ts:513 call this member cleanup; the latter is Doctor repair via doctor-session-canonical-keys.ts:454.                                                                                                                                                                                                        |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-pending-inputs-repair.ts` |         0/1/0/0/0 |        146 | node-artifacts.ts:151 is shared, but entry-store.ts:372 runtime alias moves pass the same database and return at pending-inputs-repair.ts:130. The existing initializer is cross-database Doctor repair only, via canonical-repair.ts:514,521 and legacy-main-session-migration-operations.ts:343.                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-status.ts`                |         1/0/0/0/0 |        150 | gateway/server-startup-session-migration.ts:103 and startup main-session recovery via agents/main-session-recovery/main-session-restart-recovery-runtime.ts:270 -> :94 -> main-session-restart-recovery-store.ts:207. Runtime expected-target retry takes :200 and skips enumeration; other direct reader is session-entry-read.worker.ts:306.                                                                |
| **src/config/sessions** · `src/config/sessions/session-canonical-key-read.ts`                    |         0/2/0/0/1 |         21 | Only startup-migration.ts:287 calls it, through gateway/server-startup-session-migration.ts:201 and server-startup-plugins.ts:99 or deferred boot admission at server-agent-database-startup.ts:112.                                                                                                                                                                                                          |
| **src/config/sessions** · `src/config/sessions/session-canonical-key.ts`                         |         1/1/0/0/0 |        575 | Only startup-migration.ts:291 boot admission and commands/doctor-session-canonical-keys.ts:438,518 repair call this setter; other canonical-key runtime operations stay T1.                                                                                                                                                                                                                                   |
| **src/config/sessions** · `src/config/sessions/worktree-workspace-migration.ts`                  |         1/0/0/0/1 |         71 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/gateway** · `src/gateway/config-revision-token.ts`                                         |         1/2/1/0/0 |         58 | Gateway construction at server-kernel-request-runtime.ts:48; local-request-context.ts:107 also initializes it via agents/agent-command-local.ts:61 for standalone commands/boot. Existing Gateway scopes return before local allocation at local-request-context.ts:237. Request hashing captures the key and performs no SQL.                                                                                |
| **src/gateway** · `src/gateway/github-personal-publication-store.ts`                             |         1/0/1/0/0 |        257 | Only github-publication-runtime.ts:18 during construction by server-worker-placement-startup.ts:90, reached from server-runtime-state-prepare.ts:181. Periodic reconcilePublications never calls the fence.                                                                                                                                                                                                   |
| **src/gateway** · `src/gateway/operator-approval-store.transitions.ts`                           |         3/0/2/0/0 |        288 | Boot calls only in server-aux-handlers.ts:105,109; remaining transitions retain native SDK compatibility                                                                                                                                                                                                                                                                                                      |
| **src/gateway** · `src/gateway/server-startup-session-migration.ts`                              |         0/0/0/0/1 |         72 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-turn-claims.ts` |         2/0/0/0/0 |        339 | Only server-worker-environment-startup.ts:177 clears restart claims                                                                                                                                                                                                                                                                                                                                           |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store-schema.ts`          |         0/0/1/0/0 |         26 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/deferred-plugin-migrations.ts`                                        |         2/0/2/0/0 |         76 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/deferred-plugin-session-sources.ts`                                   |         2/0/2/0/0 |        603 | Doctor retained-source recovery/import: src/commands/doctor-session-sqlite-retained.ts:197 and doctor-session-sqlite.ts:376,1039.                                                                                                                                                                                                                                                                             |
| **src/infra** · `src/infra/delivery-queue-sqlite-bound.ts`                                       |         2/0/0/0/0 |        138 | Native migration: src/infra/outbound/delivery-queue-migration.ts:308; schema backfill: src/state/openclaw-state-db-delivery-queue-backfill.ts:93. Other terminalization/pruning callers are delivery-queue.worker.ts:117,316,387,457 and session-delivery-queue.worker.ts:264.                                                                                                                                |
| **src/infra** · `src/infra/delivery-queue-sqlite-namespace.kernel.ts`                            |         0/1/0/0/0 |        121 | Native replace/move: src/infra/delivery-queue-sqlite-namespace.ts:34,49 → outbound/delivery-queue-migration.ts:169,205,235,289,349,367,435. Other callers are enqueue/delivery workers.                                                                                                                                                                                                                       |
| **src/infra** · `src/infra/delivery-queue-sqlite-namespace.ts`                                   |         0/0/2/0/0 |         33 | Sole native callers src/infra/outbound/delivery-queue-migration.ts:169,205,235,289,349,367,435; Doctor entry src/commands/doctor-outbound-delivery.ts:137,162.                                                                                                                                                                                                                                                |
| **src/infra** · `src/infra/delivery-queue-sqlite.kernel.ts`                                      |         2/0/0/0/0 |        200 | Native loads/deletes are Doctor migration: src/commands/doctor-outbound-delivery.ts:47,48,52,137,162 and src/infra/outbound/delivery-queue-migration.ts:289,349,435,506,528,551. Remaining calls use queue workers.                                                                                                                                                                                           |
| **src/infra** · `src/infra/device-identity-store.ts`                                             |         3/0/1/0/0 |        397 | src/infra/state-migrations.device-identity.ts:475 enforces doctorOnlyStateMigrations, then :494 → state-migrations.device-identity-repair.ts:64.                                                                                                                                                                                                                                                              |
| **src/infra** · `src/infra/device-pairing-node-desktop-migration.ts`                             |         0/1/1/0/0 |         76 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/device-pairing-store.ts`                                              |        18/4/6/0/0 |        108 | Runtime uses device-pairing-core.worker.ts and state-read; native snapshots only in device/node-pairing-migration.ts and startup desktop-node migration                                                                                                                                                                                                                                                       |
| **src/infra** · `src/infra/gateway-boot-lifecycle.ts`                                            |         6/5/4/0/0 |         95 | Boot or lock/lease primitive; exception is operation-scoped                                                                                                                                                                                                                                                                                                                                                   |
| **src/infra** · `src/infra/session-cost-usage-cache-migration.ts`                                |         3/0/0/0/0 |         55 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/session-sqlite-transcript-verification.ts`                            |         0/1/0/0/1 |         36 | Doctor readers/import verification: src/commands/doctor-session-sqlite-missing-index.ts:80, doctor-session-sqlite-active.ts:60, doctor-session-sqlite-import.ts:302, doctor-session-sqlite-verification.ts:303; retained recovery doctor-session-sqlite-retained.ts:197.                                                                                                                                      |
| **src/infra** · `src/infra/sqlite-audit-record-store.ts`                                         |         0/0/2/0/0 |         30 | Legacy migration only: src/infra/state-migrations.audit-recovery.ts:561 and state-migrations.audit-logs.ts:435,470,561; Doctor steps state-migrations.doctor.ts:1436,1457.                                                                                                                                                                                                                                    |
| **src/infra** · `src/infra/sqlite-audit-record.kernel.ts`                                        |         1/0/0/0/0 |        240 | Migration readers src/infra/state-migrations.audit-checkpoints.ts:53,146, audit-recovery.ts:577, audit-logs.ts:416,436; CLI backup via backup-create.ts:350,360 → audit-backup.ts:113,141; worker diagnostics openclaw-state-read.worker.ts:401.                                                                                                                                                              |
| **src/infra** · `src/infra/sqlite-schema-header.ts`                                              |         0/1/0/0/0 |         26 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/startup-migration-checkpoint.ts`                                      |         1/1/0/0/0 |        123 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.acp-replay.ts`                                       |         6/2/1/0/0 |        160 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.acp-session-metadata.ts`                             |         0/0/1/0/0 |         40 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.apns.ts`                                             |         1/3/1/0/0 |        192 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.commitments.ts`                                      |         0/0/1/0/0 |        111 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.debug-proxy.ts`                                      |         0/0/1/0/0 |        391 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.device-auth.ts`                                      |         1/2/1/0/0 |         95 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.device-identity.ts`                                  |         2/1/1/0/0 |        136 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.exec-approvals-canonical.ts`                         |         0/1/1/0/0 |         19 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.exec-approvals.ts`                                   |         0/0/1/0/0 |        154 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.managed-outgoing-images.ts`                          |         2/3/2/0/0 |        320 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.media-persistence-database.ts`                       |         3/0/0/0/0 |         59 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.media-persistence.ts`                                |         1/0/0/0/0 |        314 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.meeting-transcripts-insert.ts`                       |         3/0/1/0/0 |         31 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.meeting-transcripts-verify.ts`                       |         1/0/0/0/0 |         35 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.meeting-transcripts.ts`                              |         8/2/3/0/0 |         61 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.node-host.ts`                                        |         1/2/1/0/0 |        232 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.plugin-doctor-context.ts`                            |         2/0/0/0/0 |        343 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.receipts.ts`                                         |         3/2/1/0/0 |         69 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.restart-sentinel-receipts.ts`                        |         0/1/0/0/0 |         93 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.restart-sentinel-runtime.ts`                         |         0/0/1/0/0 |         92 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.restart-sentinel.ts`                                 |         0/0/2/0/0 |         80 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.runtime-state.ts`                                    |         8/1/1/0/0 |         88 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.shared-auth-store.ts`                                |        10/1/2/2/0 |         90 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.transcript-directives-archives.ts`                   |         3/2/0/0/0 |        209 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.transcript-directives.ts`                            |         3/1/0/0/0 |        107 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.tui-last-session.ts`                                 |         2/2/1/0/0 |        158 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.web-push.ts`                                         |         2/5/1/0/0 |        152 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.workspace-setup-receipts.ts`                         |         2/1/0/0/0 |        110 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/infra** · `src/infra/state-migrations.workspace-setup-store.ts`                            |         7/6/1/0/0 |        160 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/pairing** · `src/pairing/pairing-store-sqlite.ts`                                          |         0/0/1/0/0 |        195 | Only src/infra/state-migrations.channel-pairing.ts:314,348 invokes the snapshot transaction; registered by state-migrations.doctor.ts:1527.                                                                                                                                                                                                                                                                   |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.kernel.ts`                           |         1/0/0/0/0 |        260 | Native raw-row inspection only: src/infra/state-migrations.plugin-doctor-context.ts:416 -> plugin-state-store.sqlite.ts:394. Other callers are plugin-state.worker.ts:104 -> plugin-state-store.reads.ts:111 and plugin-state.worker.ts:173 -> plugin-state-store.journal.ts:122; public key-range facade is asynchronous at plugin-state-store.ts:580.                                                       |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.retention.ts`                        |         0/1/0/0/0 |         94 | Only migration/Doctor batch creates retention: src/infra/state-migrations.plugin-doctor-context.ts:409 -> plugin-state-store.ts:597 -> plugin-state-store.sqlite.ts:133,139. The conditional retention refresh at plugin-state-store.retention.ts:228 shares that batch; native ordinary registration (:107) and worker registration (plugin-state.worker.ts:190) omit retention.                             |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.sqlite.ts`                           |         1/0/0/0/0 |        356 | Only src/infra/state-migrations.plugin-doctor-context.ts:466 calls exact-row deletion, after repair-authority validation at :464. Context creation is limited to state-migrations.plugin-doctor.ts:200,325; no runtime keyed-store method exposes this repair operation.                                                                                                                                      |
| **src/sessions** · `src/sessions/session-state-events.ts`                                        |         2/0/1/0/0 |        367 | Restart sweep only called by server-startup-observers.ts:58                                                                                                                                                                                                                                                                                                                                                   |
| **src/skills/workshop** · `src/skills/workshop/store-sqlite-schema.ts`                           |         0/0/1/0/0 |         70 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/agent-deletion-journal.ts`                                            |         0/0/1/0/0 |        152 | Pre-open registration/schema/lease admission at openclaw-agent-db-registry.ts:79, schema.ts:519 and lease.ts:161,495,699; runtime journal mutation/fence reads stay T1                                                                                                                                                                                                                                        |
| **src/state** · `src/state/config-machine-state-write.ts`                                        |         1/1/1/0/0 |        155 | Only migrations src/infra/state-migrations.config-machine-state.ts:71 and state-migrations.update-check.ts:66; Doctor roots doctor-config-preflight.cron.ts:27 and state-migrations.doctor.ts:910,1394.                                                                                                                                                                                                       |
| **src/state** · `src/state/openclaw-agent-db-lease.ts`                                           |         8/4/7/0/0 |        166 | Boot or lock/lease primitive; exception is operation-scoped                                                                                                                                                                                                                                                                                                                                                   |
| **src/state** · `src/state/openclaw-agent-db-schema.ts`                                          |         0/0/1/0/0 |        538 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/openclaw-agent-session-snapshots-migration.ts`                        |         1/0/0/0/0 |         75 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/openclaw-state-db-existing-schema.ts`                                 |         0/1/0/0/0 |         37 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/openclaw-state-db-session-watch-migration.ts`                         |         3/2/0/0/0 |         35 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/openclaw-state-feature-schema.ts`                                     |         0/0/1/0/0 |         26 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/openclaw-state-lease-storage.ts`                                      |         0/0/1/0/0 |         83 | Boot or lock/lease primitive; exception is operation-scoped                                                                                                                                                                                                                                                                                                                                                   |
| **src/state** · `src/state/openclaw-state-lease-store.ts`                                        |         4/2/0/0/0 |         33 | Boot or lock/lease primitive; exception is operation-scoped                                                                                                                                                                                                                                                                                                                                                   |
| **src/state** · `src/state/openclaw-state-schema-publication.ts`                                 |         2/0/0/0/0 |         36 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/user-profiles-owner-migration.ts`                                     |         3/0/1/0/0 |         46 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/user-profiles-schema.ts`                                              |         2/0/1/0/0 |        123 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |
| **src/state** · `src/state/user-profiles-tailscale-migration.ts`                                 |         3/1/1/0/0 |         37 | Schema/startup/migration candidate; verify no runtime caller                                                                                                                                                                                                                                                                                                                                                  |

### T3

| Owner / file                                                                                    | Calls (Q/F/S/A/R) | First line | Exposure evidence                                                                                                                                                                                                                                                                                                                 |
| ----------------------------------------------------------------------------------------------- | ----------------: | ---------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **extensions/memory-core** · `extensions/memory-core/src/memory/manager-status-state.ts`        |         1/0/0/0/0 |         34 | Only manager.ts:546 calls the storage query, gated by sourceInspections populated through inspectSources at manager.ts:182. Explicit diagnostic callers are cli-status.runtime.ts:218, cli-index-search.runtime.ts:73,214, and src/commands/status.scan.shared.ts:474; ordinary Gateway status does not request inspection.       |
| **scripts/bench-agent-concurrency-worker.ts** · `scripts/bench-agent-concurrency-worker.ts`     |         1/0/0/0/0 |        190 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **scripts/bench-agent-database-holds.ts** · `scripts/bench-agent-database-holds.ts`             |         0/0/0/1/0 |        115 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **scripts/crabbox-source-mirror.mts** · `scripts/crabbox-source-mirror.mts`                     |         5/0/0/0/0 |        112 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **scripts/lib** · `scripts/lib/code-mode-matrix-usage.ts`                                       |         4/0/0/0/0 |        135 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/acp** · `src/acp/runtime/session-meta-doctor.ts`                                          |         4/0/2/0/2 |         76 | Doctor repair: src/commands/doctor-session-transcripts.ts:318. Plugin Doctor context: src/infra/state-migrations.plugin-doctor-context.ts:403,463, constructed by state-migrations.plugin-doctor.ts:200,325.                                                                                                                      |
| **src/agents/harness** · `src/agents/harness/native-hook-relay-bridge-query.ts`                 |         0/1/0/0/0 |          9 | Native Node one-shot CLI: src/cli/native-hook-relay-cli.ts:98 -> native-hook-relay-client.ts:39 -> native-hook-relay-client-store.ts:20 -> native-hook-relay-client-read.ts:22. Gateway reads/mutations use native-hook-relay-store.worker.ts:11,35,44,53 through store.kernel.ts:48; Bun CLI uses its client worker.             |
| **src/agents/worktrees** · `src/agents/worktrees/registry.ts`                                   |         2/0/1/0/0 |        114 | Legacy list is only src/infra/state-migrations.doctor-discovery.ts:52 under doctorOnlyStateMigrations === true (:51); discard is only state-migrations.doctor.ts:1360 under isDoctor (:1359). Ordinary runtime worktree readers and mutations remain T1.                                                                          |
| **src/claws** · `src/claws/cron.ts`                                                             |         4/0/4/0/0 |        131 | CLI add/update/remove only: src/cli/claws-cli.ts:115,152,181 → add.ts:585, update-apply.ts:541 and lifecycle-state.ts:555,557 → cron.ts/cron-update.ts.                                                                                                                                                                           |
| **src/claws** · `src/claws/lifecycle-config-removal.ts`                                         |         0/0/2/0/0 |        180 | src/cli/claws-cli.runtime.ts:562 invokes removal → src/claws/lifecycle-state.ts:489 (sole caller).                                                                                                                                                                                                                                |
| **src/claws** · `src/claws/lifecycle-delete-support.ts`                                         |         3/0/1/0/0 |        515 | src/cli/claws-cli.runtime.ts:562 invokes removal → src/claws/lifecycle-state.ts:650 (sole caller).                                                                                                                                                                                                                                |
| **src/claws** · `src/claws/mcp.ts`                                                              |         4/0/4/0/0 |        103 | CLI add/update/remove only: src/cli/claws-cli.ts:115,152,181 → add.ts:568,570, update-apply.ts:410 and lifecycle-state.ts:506 → mcp.ts/mcp-update.ts/lifecycle-mcp-removal.ts.                                                                                                                                                    |
| **src/claws** · `src/claws/package-status.kernel.ts`                                            |         1/0/0/0/0 |         15 | CLI add: src/claws/add.ts:264 → packages.ts:316,395,567,579,656 → provenance.ts:488; worker sibling provenance-write.worker.ts:81.                                                                                                                                                                                                |
| **src/claws** · `src/claws/package-update-provenance.ts`                                        |         2/1/1/0/0 |         47 | CLI update: src/cli/claws-update-cli.runtime.ts:175 → src/claws/update-apply.ts:300,322 → package-update.ts:59,98,99,182,183,228,234,254.                                                                                                                                                                                         |
| **src/claws** · `src/claws/provenance-adopted.ts`                                               |         4/2/2/0/0 |         44 | Only claws migrate/remove CLI one-shots call these writers via migrate.ts and lifecycle-adopted-removal.ts; no Gateway caller                                                                                                                                                                                                     |
| **src/claws** · `src/claws/provenance.ts`                                                       |         6/0/6/0/0 |        144 | CLI add/update/remove writers; Gateway claws-packages.ts:124 injects worker claimPackageRef; raw Gateway reads remain outside this primitive census                                                                                                                                                                               |
| **src/claws** · `src/claws/workspace.ts`                                                        |         4/1/5/0/0 |        154 | CLI add: src/claws/add.ts:509,511 → workspace.ts:376,408,417,419,427,432; CLI update: update-apply.ts:398 → workspace-update.ts:115,121,171,173,177.                                                                                                                                                                              |
| **src/commands** · `src/commands/doctor-agent-database-paths.ts`                                |         0/0/1/0/0 |         15 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-agent-deletion-journal.ts`                              |         0/0/1/0/0 |         89 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-auth-migration-receipts.ts`                             |         5/3/3/0/0 |        103 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-heartbeat-task-migration.ts`                            |         2/0/1/0/0 |        282 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-session-incognito-key-repair-state.ts`                  |        10/1/0/0/0 |         31 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-session-incognito-key-repair.ts`                        |         4/0/3/1/1 |         77 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-session-sqlite-retained.ts`                             |         0/0/1/0/0 |         97 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-session-sqlite-verification.ts`                         |         0/1/0/0/1 |        139 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-session-transcript-headers.ts`                          |         0/2/0/1/0 |        122 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-session-transcript-labels.ts`                           |         0/0/0/1/0 |        229 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-skill-workshop-read.kernel.ts`                          |         1/0/0/0/0 |         23 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-skill-workshop-sidecars.ts`                             |         0/1/0/0/0 |        320 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-skill-workshop-sqlite.ts`                               |         2/1/1/0/0 |        156 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-skill-workshop-workspaces.ts`                           |         2/3/2/0/0 |        123 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-telegram-general-topic-conversations.ts`                |        12/0/0/1/1 |         64 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-update-rehearsal-inventory.ts`                          |         0/1/0/0/0 |        330 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-update-run.ts`                                          |         1/1/0/0/0 |         65 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor-update-schema-guard.ts`                                 |         1/1/0/0/0 |         79 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor/auth-alias-receipt.ts`                                  |         0/0/2/0/0 |        151 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor/cron/store-inventory.ts`                                |         2/0/0/0/0 |         14 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor/cron/store-repair.ts`                                   |         1/0/1/0/0 |         93 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor/shared/legacy-webhook-pins.ts`                          |         0/1/0/0/0 |        101 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/commands** · `src/commands/doctor/shared/session-entry-rewrite.ts`                        |         5/0/0/1/1 |         56 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive-store-kernel.ts` |         2/0/0/0/0 |         31 | Only offline full-store reset calls these at session-accessor.sqlite-reset.ts:65,239 via commands/cleanup-utils.ts; other archive operations retain native lifecycle callers                                                                                                                                                      |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-canonical-inventory.ts`  |         0/0/0/0/4 |        339 | Doctor callers only: commands/doctor-session-canonical-candidates.ts:94; doctor-session-canonical-keys.ts:132; doctor-state-integrity.ts:1280; doctor-session-title-repair.ts:118; doctor-session-delivery-state.ts:112; doctor/shared/codex-route-session-repair.ts:551,552.                                                     |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-reset.ts`                |         3/0/0/0/1 |         47 | Only cleanup-utils.ts:620,628,641 reaches full-store reset from reset.ts:154 and onboard-helpers.ts:254, including CLI dev bootstrap; Gateway session reset is separate                                                                                                                                                           |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-write.ts`     |         0/0/0/1/0 |        111 | Only production invocations are developer benchmarks scripts/bench-agent-database-holds.ts:142 and scripts/bench-session-history.ts:383; remaining references are internal reexports and excluded test helpers. Synchronous replacement is separately retained.                                                                   |
| **src/config/sessions** · `src/config/sessions/session-cold-storage-backup.ts`                  |         1/2/0/0/0 |         21 | infra/backup-sqlite-snapshot.ts:292 via backup-create.ts:320,332,352; snapshot/openclaw-snapshot-copy.ts:72 via local-repository.ts:148 and git-backup.ts:310. Roots are commands/backup.ts:52, backup-sqlite.ts:80, backup-git.ts:131, Doctor/update backup and developer reliability scripts; SQL targets a temporary snapshot. |
| **src/cron** · `src/cron/scratch-read.kernel.ts`                                                |         2/0/0/0/0 |         39 | Doctor-only native reads: src/commands/doctor-heartbeat-scratch-migration.ts:516,567,588 and doctor-heartbeat-task-migration.ts:94,411 → scratch-store.ts:33,42,52. Worker sibling src/cron/store/read-command.ts:54.                                                                                                             |
| **src/cron** · `src/cron/scratch-store.ts`                                                      |         2/0/1/0/0 |        126 | Sole native caller src/commands/doctor-heartbeat-scratch-migration.ts:625: revision-guarded migration compensation.                                                                                                                                                                                                               |
| **src/cron** · `src/cron/scratch-write.kernel.ts`                                               |         2/0/1/0/0 |         94 | Doctor migration/compensation at src/commands/doctor-heartbeat-scratch-migration.ts:570,617; worker sibling src/cron/store/scratch.worker.ts:28.                                                                                                                                                                                  |
| **src/cron** · `src/cron/store.ts`                                                              |         0/0/1/0/0 |        181 | Direct transaction uses Doctor legacy-repair.ts:395 hooks; ordinary load/save dispatch to workers; transitive current-authority SQL remains mixed                                                                                                                                                                                 |
| **src/cron** · `src/cron/store/quarantine.kernel.ts`                                            |         2/0/0/0/0 |         81 | Shared by worker operations and native Doctor store-repair transactions                                                                                                                                                                                                                                                           |
| **src/cron** · `src/cron/store/row-codec.ts`                                                    |         8/1/0/0/0 |        285 | Cron workers or Doctor legacy-repair.ts:380,395 / store-repair.ts:175,183 / doctor-heartbeat-task-migration.ts:348; current-authority and standing-generation reads stay T1                                                                                                                                                       |
| **src/cron** · `src/cron/store/runtime-authority-store.ts`                                      |         4/0/0/0/0 |         87 | load/save kernels run in Cron workers; native save hooks only in commands/doctor/cron/legacy-repair.ts:395                                                                                                                                                                                                                        |
| **src/infra** · `src/infra/exec-approvals-sqlite.ts`                                            |         1/0/0/0/0 |        238 | src/cli/exec-policy-cli.ts:405 → src/infra/exec-approvals-store.ts:431 restores an absent row after CLI config-write failure.                                                                                                                                                                                                     |
| **src/infra** · `src/infra/exec-approvals-store.ts`                                             |         0/0/1/0/0 |        420 | Only src/cli/exec-policy-cli.ts:405 restores the snapshot after CLI config-write failure.                                                                                                                                                                                                                                         |
| **src/infra** · `src/infra/package-update-activation-immutable.ts`                              |         5/0/0/0/0 |         99 | Adoption/preparation writers are called only by update-command-immutable.ts through update-immutable-install.ts; Gateway inspection dispatches immutableInstall.read through the SQLite read-only worker                                                                                                                          |
| **src/infra** · `src/infra/package-update-activation-journal.ts`                                |         8/0/0/0/0 |        107 | CLI admission/status: src/cli/update-cli/update-command-run.ts:208, status.ts:240. Guarded swap: update-command-package.ts:542,645 → src/infra/package-update-swap.ts:342,356 → package-update-activation-prepare.ts:189,298; standalone recovery package-update-activation-sealed.ts:39,62,63.                                   |
| **src/infra** · `src/infra/package-update-activation-status.ts`                                 |         2/0/0/0/0 |         50 | CLI status src/cli/update-cli/status.ts:240 → src/infra/package-update-activation.ts:144; CLI preflight update-command-run.ts:208 → activation.ts:79,40.                                                                                                                                                                          |
| **src/infra** · `src/infra/restart-handoff.ts`                                                  |         1/0/1/0/0 |        408 | Only CLI gateway-cli/register-restart-handoff.ts:61 calls consumeGatewayRestartHandoffSync and its private removeCurrent helper; shared row reader also runs at Gateway boot and remains T1.                                                                                                                                      |
| **src/infra** · `src/infra/restart-intent.ts`                                                   |         1/1/0/0/0 |        379 | CLI lifecycle src/cli/daemon-cli/lifecycle-restart-intent.ts:68,75, lifecycle-unmanaged.ts:131; update stop src/daemon/launchd-stop.ts:219,271; QA suite-runtime-gateway.ts:262. Gateway system-agent uses host.request (operations-execute.ts:601,608), not daemon lifecycle.                                                    |
| **src/infra** · `src/infra/restart-sentinel-store.ts`                                           |         1/0/0/0/0 |        422 | src/infra/restart-sentinel.worker.ts:74,150 plus generated one-shot child in src/infra/update-managed-service-handoff.ts:101,439,1639,1649.                                                                                                                                                                                       |
| **src/infra** · `src/infra/update-candidate-state.ts`                                           |         1/0/0/0/0 |        162 | CLI backup src/cli/update-cli/update-command-database-backup.ts:104 → src/infra/update-database-backup.ts:387; baseline update-command-initialization-run.ts:224 → update-recovery-baseline-capture.ts:343; worker inventory modes update-candidate-state.worker.ts:49,68,73.                                                     |
| **src/infra** · `src/infra/update-managed-service-handoff-database-recovery.ts`                 |         2/0/0/0/0 |        137 | Explicit update recover CLI -> recoverImmutableUpdate -> withImmutableUpdateOwner({ recover: true }) only; ordinary lease and Gateway readers never call this cold-journal admission                                                                                                                                              |
| **src/infra** · `src/infra/update-run-ledger.ts`                                                |         1/3/0/0/0 |        128 | active initializer requires stale-run opt-in only from src/cli/update-cli/update-command-run.ts:304,310,313; guard src/infra/update-run-ledger.ts:127 excludes Gateway/campaign callers. Repairs: update-repair-command.ts:141; interruption: update-command-mutable-signals.ts:158.                                              |
| **src/secrets** · `src/secrets/store/secret-store.ts`                                           |         1/0/1/0/0 |        366 | Only cli/secrets-store-cli.ts:251 mutates allowed hosts; runtime reads and other writes remain T1                                                                                                                                                                                                                                 |
| **src/skills/workshop** · `src/skills/workshop/store-sqlite-record.ts`                          |         1/1/0/0/0 |         44 | Doctor native read/update src/commands/doctor-skill-workshop-sqlite.ts:333,349; other callers use src/skills/workshop/store.worker.ts:68,129,149,167,182,188.                                                                                                                                                                     |
| **src/state** · `src/state/openclaw-agent-db-path-repair.ts`                                    |         3/0/0/0/0 |         31 | src/commands/doctor-agent-database-paths.ts:24 under Doctor repair; registered health runner src/flows/doctor-health-contribution-runners.state.ts:122.                                                                                                                                                                           |
| **src/state** · `src/state/openclaw-agent-db-registry.ts`                                       |         1/0/1/0/0 |        179 | Plural unregister: CLI claw removal src/claws/lifecycle-delete-support.ts:519 → cli/claws-cli.runtime.ts:562; CLI agent deletion src/commands/agents.commands.delete.ts:450 → cli/program/register.agent.ts:183.                                                                                                                  |
| **src/state** · `src/state/openclaw-state-ownership-operations.ts`                              |         1/0/1/0/0 |         76 | Only src/cli/program/register.database.ts:56 invokes claim; its private claimOwnershipRow calls remain within this CLI operation.                                                                                                                                                                                                 |
| **src/state** · `src/state/openclaw-state-snapshot-sanitizer.ts`                                |         2/0/0/0/0 |         49 | CLI SQLite/git backups: src/snapshot/local-repository.ts:148, git-backup.ts:310 → openclaw-snapshot-copy.ts:68; archive/Doctor backup via src/infra/backup-create.ts:320,332,352 → backup-sqlite-snapshot.ts:287; developer reliability scripts also use the provider.                                                            |
| **src/state** · `src/state/user-channel-identities.ts`                                          |         6/3/2/0/0 |        120 | Gateway uses user-channel-identities.worker.ts and state-read; native resolver serves channel-operator-authority.ts CLI/updater capture via update-requester-authority.ts                                                                                                                                                         |
| **src/state** · `src/state/user-model-accounts.ts`                                              |         2/0/1/0/0 |        480 | Only src/commands/doctor-auth-flat-profiles.ts:1727 (Doctor alias migration), invoked by doctor/repair-sequencing.ts:189 and doctor/auth-profile-repair.ts:45.                                                                                                                                                                    |
| **src/state** · `src/state/user-profile-events.ts`                                              |         1/0/0/0/0 |         94 | Native calls only user-profiles-owner-migration.ts:68 and user-profiles-tailscale-migration.ts:98 from src/commands/doctor/repair-sequencing.ts:353,354; remaining calls run in profile/preferences/channel-identity workers.                                                                                                     |
| **src/state** · `src/state/user-profiles-owner.ts`                                              |         0/2/0/0/0 |         16 | Native reader only user-profiles-owner-migration.ts:25,52 → src/commands/doctor/shared/preview-warnings.ts:683 and doctor/repair-sequencing.ts:354; other caller is user-profiles.worker.ts:78.                                                                                                                                   |
| **src/trajectory** · `src/trajectory/runtime-store.sqlite.ts`                                   |         0/1/0/0/0 |        191 | Only CLI export supplies maxEventCount: src/cli/program/register.status-health-sessions.ts:431 → commands/export-trajectory.ts:158 → trajectory/command-export.ts:80 → trajectory/export.ts:415,420. Keep polling/payload expressions T1.                                                                                         |
| **src/tui** · `src/tui/tui-last-session.kernel.ts`                                              |         1/0/0/0/0 |         23 | CLI/Doctor/developer one-shot; reclassify if called by Gateway                                                                                                                                                                                                                                                                    |

### W

| Owner / file                                                                                                        | Calls (Q/F/S/A/R) | First line | Exposure evidence                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------- | ----------------: | ---------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **extensions/imessage** · `extensions/imessage/src/chat-db.worker.ts`                                               |         2/2/0/0/0 |         42 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/logbook** · `extensions/logbook/src/store.worker.ts`                                                   |         9/7/0/0/0 |        273 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory-entry-origin-reads.ts`                              |         3/0/0/0/0 |         48 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory-entry-origins-delete.ts`                            |         1/0/0/0/0 |         39 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory-forget-index-read.ts`                               |         5/0/0/0/0 |         36 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory-forget-kernel.ts`                                   |         5/0/0/0/0 |         42 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory-session-tombstones.ts`                              |         2/0/0/0/0 |         79 | memory-entry-origins.worker.ts:76 -> memory-forget-kernel.ts:40 is the only production writer; manager-cpu-entrypoints.ts:38 registers the worker backend. The separate hasMemorySessionTombstone host reader stays T1.                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **extensions/memory-core** · `extensions/memory-core/src/memory/manager-embedding-cache.ts`                         |         4/0/0/0/0 |         96 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory/manager-search.worker.ts`                           |         1/0/0/0/1 |        107 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/memory/manager-source-index-kernel.ts`                     |         4/1/0/0/0 |         53 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/memory-core** · `extensions/memory-core/src/standing-intents-kernel.ts`                                |         8/1/0/0/0 |         48 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/qa-lab** · `extensions/qa-lab/src/execution-identity-storage-inspection.worker.ts`                     |         1/2/0/0/0 |         59 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/team-reports** · `extensions/team-reports/src/store.worker.ts`                                         |        17/5/0/0/0 |        127 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/workboard** · `extensions/workboard/src/sqlite-store-kernel.ts`                                        |         1/7/0/0/0 |         73 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/workboard** · `extensions/workboard/src/sqlite-store-sessions-board.ts`                                |         4/1/0/0/0 |         69 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **extensions/workboard** · `extensions/workboard/src/sqlite-store-write.ts`                                         |         0/1/0/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **packages/memory-host-sdk** · `packages/memory-host-sdk/src/host/memory-recall-metadata.ts`                        |         1/0/0/0/0 |        275 | extensions/memory-core/src/memory/manager-search.worker.ts:160,161 → curated readers → memory-recall-metadata.ts:162; SDK barrels only re-export.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **packages/memory-host-sdk** · `packages/memory-host-sdk/src/memory-entry-origins.ts`                               |         1/0/0/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/acp** · `src/acp/runtime/session-meta-entry.worker.ts`                                                        |         0/0/0/1/0 |         26 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/acp** · `src/acp/runtime/session-meta-keys.ts`                                                                |         1/0/0/0/0 |         28 | src/acp/runtime/session-meta-list.ts:21 submits acpSessions.list → src/state/openclaw-state-read.worker.ts:264.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **src/acp** · `src/acp/runtime/session-meta-write.worker.ts`                                                        |         0/0/2/0/0 |         70 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents** · `src/agents/mcp-oauth-store.kernel.ts`                                                             |         3/2/0/0/0 |        206 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents** · `src/agents/mcp-oauth-store.worker.ts`                                                             |         5/0/2/0/0 |         54 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents** · `src/agents/plugin-model-catalog-read.worker.ts`                                                   |         1/0/0/0/0 |         29 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents** · `src/agents/plugin-model-catalog.worker.ts`                                                        |         3/0/0/0/0 |        105 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents** · `src/agents/workspace-state-store.kernel.ts`                                                       |         3/0/0/0/0 |        360 | workspace.replaceAttestation dispatch in openclaw-state-worker-runtime.ts:212; shared snapshot/alias helpers retain Doctor/migration exposure                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents** · `src/agents/workspace-state-store.worker.ts`                                                       |         1/0/2/0/0 |         52 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/harness** · `src/agents/harness/native-hook-relay-store.kernel.ts`                                     |         7/0/0/0/0 |         91 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/harness** · `src/agents/harness/native-hook-relay-store.worker.ts`                                     |         0/0/4/0/0 |         21 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/sandbox** · `src/agents/sandbox/registry-import.worker.ts`                                             |         0/0/1/0/0 |         15 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/sandbox** · `src/agents/sandbox/registry-write.worker.ts`                                              |         0/0/1/0/0 |         12 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/sandbox** · `src/agents/sandbox/registry.kernel.ts`                                                    |         3/0/0/0/0 |         68 | Removal is only registry-write.worker.ts:15 -> writeSandboxRegistryInDatabase (:88,101,112,127); import only registry-import.worker.ts:17. List helpers (:348,357,366) are called only at src/state/openclaw-state-read-registry.ts:75,86,90 through openclaw-state-read.worker.ts:679. Native shared insert/row readers stay T1.                                                                                                                                                                                                                                                                                                                                        |
| **src/agents/sessions** · `src/agents/sessions/session-manager-maintenance.worker.ts`                               |         0/0/0/1/0 |        113 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/sessions** · `src/agents/sessions/session-manager-metadata.worker.ts`                                  |         0/0/0/2/0 |        380 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/subagents** · `src/agents/subagents/completion/subagent-completion-admission.worker.ts`                |         1/0/2/0/0 |         87 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/subagents** · `src/agents/subagents/completion/subagent-completion-queue-receipt.ts`                   |         1/0/0/0/0 |         14 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/subagents** · `src/agents/subagents/registry/subagent-registry.store.kernel.ts`                        |         4/0/0/0/0 |         41 | Only subagent-registry.store.worker.ts:46,62 and completion/subagent-completion-admission.worker.ts:90,126,182 invoke the conflict/upsert/write kernels. Delete/upsert in completion/subagent-completion-mutation.kernel.ts:235,237 is reached only by admission.worker.ts:188; no native writer caller remains.                                                                                                                                                                                                                                                                                                                                                         |
| **src/agents/subagents** · `src/agents/subagents/registry/subagent-registry.store.sqlite.ts`                        |         2/0/0/0/0 |         44 | Row reads are only completion/subagent-completion-admission.worker.ts:94,155 or its mutation kernel at :246,274,293,412,523,562,576 (admission.worker.ts:188). Session-list loader at store.sqlite.ts:409 is called only by src/state/openclaw-state-read.worker.ts:196; other native registry readers remain T1.                                                                                                                                                                                                                                                                                                                                                        |
| **src/agents/subagents** · `src/agents/subagents/registry/subagent-registry.store.worker.ts`                        |         0/0/1/0/0 |         44 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/worktrees** · `src/agents/worktrees/registry-read.kernel.ts`                                           |         2/0/0/0/0 |        140 | Only worktrees/dispatch.worker.ts:31,39 calls these kernels; src/state/openclaw-state-worker-registry.ts:149 registers the handlers. Shared native worktree getters/list/provisioned-data readers remain T1.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **src/agents/worktrees** · `src/agents/worktrees/registry-retirement.worker.ts`                                     |         2/0/2/0/0 |         19 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/worktrees** · `src/agents/worktrees/run-lease-owner.ts`                                                |         1/0/0/0/0 |        108 | Only src/state/openclaw-state-read-registry.ts:96 calls this reader, dispatched in openclaw-state-read.worker.ts:679. Host worktrees/registry-read.ts:71 uses the existing read worker; live lease/custody helpers retain their native tiers.                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/agents/worktrees** · `src/agents/worktrees/run-lease-store.kernel.ts`                                         |         2/0/0/0/0 |         21 | Only worktrees/dispatch.worker.ts:50 registers admission through run-lease-store.worker.ts:6; src/state/openclaw-state-worker-registry.ts:149 loads the handler. Shared release/lease cleanup remain T1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **src/agents/worktrees** · `src/agents/worktrees/run-lease-store.worker.ts`                                         |         0/0/1/0/0 |         12 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/audit-event-read.kernel.ts`                                                              |         1/0/0/0/0 |         53 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/audit-event-store.ts`                                                                    |         2/2/2/0/0 |        553 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/audit-identity.ts`                                                                       |         1/4/0/0/0 |         76 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/execution-decision-facts.ts`                                                             |         4/4/2/0/0 |        144 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/execution-identity-context.ts`                                                           |         4/3/2/0/0 |        121 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/execution-owner-lifecycle-binding-store.ts`                                              |         2/2/0/0/0 |         60 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/execution-owner-lifecycle-receipts.ts`                                                   |         1/3/0/0/0 |         58 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/message-delivery-audit-store.ts`                                                         |         1/2/0/0/0 |        122 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/message-delivery-progress-store.ts`                                                      |         4/5/3/0/0 |         72 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/audit** · `src/audit/message-execution-binding.ts`                                                            |         1/1/1/0/0 |         77 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/channels** · `src/channels/message/ingress-queue-health.kernel.ts`                                            |         2/0/0/0/0 |         17 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/channels** · `src/channels/message/ingress-queue.kernel.ts`                                                   |        22/1/0/0/0 |         40 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/channels** · `src/channels/message/ingress-queue.worker.ts`                                                   |         0/0/1/0/0 |         48 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/claws** · `src/claws/provenance-read.kernel.ts`                                                               |         0/1/0/0/0 |        171 | Only src/state/openclaw-state-read.worker.ts:232 and src/claws/provenance-write.worker.ts:48 execute the reader.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **src/claws** · `src/claws/provenance-write.worker.ts`                                                              |         2/1/2/0/0 |         36 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config** · `src/config/config-journal-snapshot.worker.ts`                                                     |         0/0/1/0/0 |         10 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/conversation-delivery-store.kernel.ts`                               |         3/0/0/0/0 |        167 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/provider-review-store.worker.ts`                                     |         0/0/0/1/0 |         24 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive-read.ts`                             |         1/3/0/0/1 |        111 | Only session-transcript.worker.ts:230 (presence) and session-accessor.sqlite-archive.worker.ts:483,491 (page/final) call these readers; shared archive listing remains T1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive-selection.ts`                        |         0/1/0/0/0 |        192 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-archive.worker.ts`                           |         1/0/0/0/0 |        370 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-entry-list.read.ts`                          |         1/0/0/0/0 |        149 | Only session-entry-read-runtime.ts:458,488 produces cronRetention/expiredCronRuns through withSessionStoreReaderInWorker; session-entry-read.worker.ts:166 calls listSessionEntriesReadOnly. Other native list callers omit both selectors; only the rows initializer is worker-only.                                                                                                                                                                                                                                                                                                                                                                                    |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-mutation-worker.runtime.ts`                  |         0/0/0/1/0 |        366 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-summary.ts`                                  |         1/0/0/0/1 |         56 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-binding.ts`                       |         0/1/0/0/0 |         15 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-accessor.sqlite-transcript-reports.worker.ts`                |         0/0/0/1/0 |        131 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-canonical-validation.ts`                                     |         5/0/0/0/0 |         64 | Only session-accessor.sqlite-mutation-worker.runtime.ts:375,280,381 calls these operations in the mutation-worker message handler. Shared host readiness hasPendingCanonicalSessionValidation stays T1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **src/config/sessions** · `src/config/sessions/session-cold-storage-selection.ts`                                   |         2/0/0/0/1 |         31 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-cold-storage-worker.ts`                                      |        11/1/0/1/6 |        170 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-entry-current-admission.worker.ts`                           |         0/0/0/0/1 |        194 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-entry-read.worker.ts`                                        |         2/0/0/0/7 |         91 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-history-archive-pruning.worker.ts`                           |         4/0/0/3/1 |         33 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-history-read-operation.worker.ts`                            |         0/0/0/0/2 |         77 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-incognito-compute.worker.ts`                                 |         0/0/0/1/0 |         59 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-incognito-lifecycle.worker.ts`                               |         0/0/0/1/0 |         69 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-incognito-outbox.worker.ts`                                  |         0/1/0/0/0 |         65 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-incognito-side-data.worker.ts`                               |         0/0/0/1/0 |         55 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-incognito-transcript.worker.ts`                              |         0/0/0/1/0 |         47 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-incognito.worker.ts`                                         |         0/0/0/1/0 |        219 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-membership-facts.ts`                                         |         2/0/0/0/0 |         60 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-pending-input-history-read.worker.ts`                        |         0/0/0/0/1 |         12 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-pending-input-withdrawal.worker.ts`                          |         2/1/0/1/0 |         33 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-transcript-hydration-read.worker.ts`                         |         0/0/0/0/1 |         17 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-transcript-projection-publication.worker.ts`                 |         0/1/0/0/0 |         72 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/config/sessions** · `src/config/sessions/session-transcript.worker.ts`                                        |        0/0/0/0/13 |        108 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/dispatch.worker.ts`                                                                  |         0/0/4/0/0 |        138 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/external-state.worker.ts`                                                            |         0/0/1/0/0 |         20 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/guarded-mutation.worker.ts`                                                          |         0/0/1/0/0 |        118 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/job-name.kernel.ts`                                                                  |         1/0/0/0/0 |         23 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/load.worker.ts`                                                                      |         0/0/1/0/0 |         16 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/row-codec.ts`                                                                        |         2/0/0/0/0 |        330 | run-admission.worker.ts:458 and worker runtime-state saves; Doctor never requests stateOnly saves                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **src/cron** · `src/cron/store/run-admission.worker.ts`                                                             |         0/0/7/0/0 |         68 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/run-history.kernel.ts`                                                               |         6/0/0/0/0 |         93 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/run-receipt-delivery.ts`                                                             |         1/1/0/0/0 |         29 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/run-receipt-read.ts`                                                                 |         1/0/0/0/0 |        146 | read-command.ts:72 -> openclaw-state-read.worker.ts:353; current-authority read stays T1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **src/cron** · `src/cron/store/run-receipt-store.ts`                                                                |         7/2/0/0/0 |        140 | Admission/recovery/reservation/state/maintenance/dispatch workers own direct primitives; host guard at :557 still reaches run-receipt-read.ts:133 and row-codec.ts:262                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **src/cron** · `src/cron/store/run-receipt-trigger-state.ts`                                                        |         1/2/0/0/0 |         58 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/run-recovery.worker.ts`                                                              |         0/0/1/0/0 |         20 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/runtime-maintenance.worker.ts`                                                       |         0/0/3/0/0 |         31 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/save.worker.ts`                                                                      |         0/0/1/0/0 |         22 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/scheduler-reservation.worker.ts`                                                     |         0/0/1/0/0 |         58 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/scheduler-state.worker.ts`                                                           |         0/0/1/0/0 |         33 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/scratch.worker.ts`                                                                   |         0/0/1/0/0 |         19 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/cron** · `src/cron/store/startup-plan.worker.ts`                                                              |         0/0/1/0/0 |         29 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/fleet** · `src/fleet/registry.kernel.ts`                                                                      |         9/4/0/0/0 |         33 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/fleet** · `src/fleet/registry.worker.ts`                                                                      |         0/0/1/0/0 |         20 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway** · `src/gateway/cli-session-history-index.worker.ts`                                                 |         4/3/0/0/0 |        404 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway** · `src/gateway/github-publication-shared-read.kernel.ts`                                            |         0/7/0/0/0 |         37 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway** · `src/gateway/managed-image-record-store.kernel.ts`                                                |         6/4/1/0/0 |        105 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway** · `src/gateway/mention-inbox.worker.ts`                                                             |         0/0/1/0/0 |         27 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway** · `src/gateway/operator-approval-standing-grants.ts`                                                |         1/0/0/0/0 |        423 | Only state/openclaw-state-read.worker.ts:495; server-methods/exec-approval.ts:462 -> operator-approval-store.ts:273 uses readApprovalStore -> executeExistingOpenClawStateRead at :248 even when a guard exists.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **src/gateway** · `src/gateway/operator-approval-store.kernel.ts`                                                   |         5/1/2/0/0 |         88 | exec-approval-manager.ts:125 insert and operator-approval-session-events.ts:194 pending supply no native guard; operator-approval-store.ts:138,173 selects worker dispatch to operator-approval-store.operations.ts:57,65 via state/openclaw-state-worker-registry.ts:119. Other approval operations retain native compatibility.; Only openclaw-state-read.worker.ts:489 serves approval history; the native compatibility operation map has no history operation                                                                                                                                                                                                       |
| **src/gateway** · `src/gateway/operator-approval-store.receipts.ts`                                                 |         1/2/0/0/0 |        437 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway** · `src/gateway/operator-approval-store.rows.ts`                                                     |         0/1/0/0/0 |        388 | Only operator-approval-store.kernel.ts:98 insert calls it. Sole facade caller exec-approval-manager.ts:125 passes assertCurrent but no native guard, so operator-approval-store.ts:173 dispatches the registered worker operation.                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **src/gateway** · `src/gateway/operator-approval-store.transitions.ts`                                              |         3/0/2/0/0 |        240 | operator-approval-session-events.ts:178 expiry and exec-approval-manager.ts:644 consume supply no native guard; operator-approval-store.ts:173 -> operator-approval-store.operations.ts:85,89 worker dispatch. Expiry also runs from worker-only pending kernel at operator-approval-store.kernel.ts:233.                                                                                                                                                                                                                                                                                                                                                                |
| **src/gateway** · `src/gateway/session-group-catalog.kernel.ts`                                                     |         9/0/1/0/0 |         44 | state-read.worker.ts:334 and state-worker-runtime.ts:222; readSessionGroupCatalogEntry stays T1 for native incognito categories                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **src/gateway** · `src/gateway/session-group-registration.kernel.ts`                                                |         4/0/1/0/0 |         11 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/inference-store.kernel.ts`                   |         7/3/0/0/0 |        106 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/inference-store.worker.ts`                   |         0/0/1/0/0 |         20 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/local-workspace-store.ts`                    |         0/1/0/0/0 |         20 | Only agents/worktrees/registry-retirement.worker.ts:62 calls the retirement predicate                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-dispatch-store.worker.ts`          |         2/0/1/0/0 |         35 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-move-intent.ts`                    |         1/0/0/0/0 |        271 | Only placement-dispatch-store.worker.ts:69, placement-turn-claims.worker.ts:72 and placement-read-projection.ts:85 call the batch reader; projection itself is only called by state/openclaw-state-read.worker.ts:670. Native getPlacementMove uses another reader.                                                                                                                                                                                                                                                                                                                                                                                                      |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-pending-failure.ts`                |         5/0/0/0/0 |         46 | Only placementTurns.failResult in placement-turn-claims.worker.ts constructs the terminal-failure kernel; all runtime callers await its worker facade                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-read-projection.ts`                |         5/0/0/0/0 |         33 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-row-codec.ts`                      |         3/0/0/0/0 |        166 | Reporting snapshot only called by openclaw-state-read.worker.ts:644; placement-dispatch-store.worker.ts:38 and placement-turn-claims.ts:112 claim path; claims only invoked at placement-turn-claims.worker.ts:160,175,345. Native placement-store.ts:75,76 selects clear/wait/validate methods that do not claim.; Only activation at placement-transitions.worker.ts:58 reaches this initializer; native placement-store.ts:325 passes provisioning, not active; the placement update stays T1                                                                                                                                                                         |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-session-tool-operations.kernel.ts` |        12/0/0/0/0 |         36 | Factory runs in placement-session-tool-operations.worker.ts; claim, reconcile and terminal-failure cleanup now only run through placement-turn-claims.worker.ts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-session-tool-operations.worker.ts` |         0/0/1/0/0 |         24 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-transitions.worker.ts`             |         3/0/0/0/0 |        147 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-turn-claims.ts`                    |         7/0/0/0/0 |         76 | placement-store.ts:102 selects only native restart/wait/validation; claim/release/cancel mutations run in placement-turn-claims.worker.ts:102,117,191,200,287,355,360; placement-store.ts:132 supplies worker mutations; placement-turn-claims.worker.ts:299,355,360 executes release/manifest methods                                                                                                                                                                                                                                                                                                                                                                   |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-turn-claims.worker.ts`             |         1/0/1/0/0 |         61 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-workspace-journal.ts`              |         8/0/0/0/0 |         57 | Read dispatch at state-read.worker.ts:653 and journal mutation factory at placement-workspace-journal.worker.ts:30; Acceptance at placement-turn-claims.worker.ts:190, journal abort via placement-workspace-journal.worker.ts:30 and manifest drain via placement-transitions.worker.ts:82; native move drain supplies no manifest and skips cleanup                                                                                                                                                                                                                                                                                                                    |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-workspace-journal.worker.ts`       |         0/0/1/0/0 |         27 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-workspace-reservation.kernel.ts`   |         0/1/0/0/0 |         18 | placement-dispatch-store.worker.ts:39 and placement-turn-claims.ts:93 claim path; claims only invoked at placement-turn-claims.worker.ts:160,175,345. Native placement-store.ts:75,76 selects clear/wait/validate methods.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/placement-workspace-result.ts`               |        11/0/0/0/0 |         69 | Mutation factory/helpers run only through placement-turn-claims.worker.ts:102,117,125,132,140,147,157,191,200,278,299,313,326,346; claim read also in placement-read-projection.ts:101 via state-read.worker.ts:666; Only placement-turn-claims.worker.ts:313 publishes staged results; native compatibility readers and pending-result transition guards stay T1                                                                                                                                                                                                                                                                                                        |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/prepared-environment-store.ts`               |         3/1/0/0/0 |        160 | Factory only in store.kernel.ts:99 -> store.worker.ts:48; native consume and shared reader stay T1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/prepared-pool-presence-store.worker.ts`      |         2/1/0/0/0 |         69 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/prepared-pool-presence.worker.ts`            |         0/0/1/0/0 |         15 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/session-attachment-store.ts`                 |         6/2/0/0/0 |         69 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store-mutations.ts`                          |         5/2/0/0/0 |         35 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store-row-codec.ts`                          |         3/1/0/0/0 |        193 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store-transitions.ts`                        |         2/1/0/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store-write.ts`                              |         0/1/0/0/0 |          5 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store.kernel.ts`                             |         2/1/0/0/0 |         56 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/store.worker.ts`                             |         0/0/1/0/0 |         43 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/terminal-environment-retention.ts`           |         2/1/0/0/0 |         63 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/transcript-commit-store.worker.ts`           |         5/2/1/0/0 |        100 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/gateway/worker-environments** · `src/gateway/worker-environments/transcript-commit.worker.ts`                 |         0/0/0/1/0 |         72 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/delivery-queue-sqlite-namespace.kernel.ts`                                               |         1/0/0/0/0 |         43 | src/infra/outbound/delivery-queue-enqueue.worker.ts:95; registered dispatch src/infra/delivery-queue.worker.ts:445.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **src/infra** · `src/infra/delivery-queue-sqlite.kernel.ts`                                                         |         3/0/0/0/0 |         63 | Expiry snapshot: src/infra/delivery-queue.worker.ts:487 → outbound/delivery-queue-media-staging.kernel.ts:74. Failed count: delivery-queue.worker.ts:455.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **src/infra** · `src/infra/delivery-queue.worker.ts`                                                                |         0/0/1/0/0 |        279 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/device-auth-store.kernel.ts`                                                             |         4/1/0/0/0 |         87 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/device-pairing-cloud-worker.ts`                                                          |         1/2/0/0/0 |         18 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/device-pairing-dispatch.worker.ts`                                                       |         0/0/1/0/0 |         32 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/exec-approvals-authorization.worker.ts`                                                  |         0/0/1/0/0 |         70 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/promotions-feed.kernel.ts`                                                               |         1/0/0/0/0 |         53 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/promotions-feed.worker.ts`                                                               |         0/0/2/0/0 |         28 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/push-apns-store-transaction.ts`                                                          |         2/2/0/0/0 |         44 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/push-apns-store.ts`                                                                      |         1/1/0/0/0 |        387 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/push-apns-store.worker.ts`                                                               |         2/2/2/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/push-web-store.kernel.ts`                                                                |         9/4/4/0/0 |        111 | Only push-web-store.worker.ts:14,20,22,24,28,32,36,40,62 calls these operations; native preferences/upsert/delete-bound and their shared schema helper stay T1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **src/infra** · `src/infra/restart-sentinel-store.ts`                                                               |         1/0/0/0/0 |        464 | Only src/infra/restart-sentinel.worker.ts:79; worker registration src/state/openclaw-state-worker-registry.ts:110.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **src/infra** · `src/infra/restart-sentinel.worker.ts`                                                              |         0/0/1/0/0 |         25 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/session-cost-usage-worker.ts`                                                            |         0/0/0/0/3 |        244 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/session-delivery-queue.worker.ts`                                                        |         0/0/2/0/0 |        102 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/sqlite-audit-record.kernel.ts`                                                           |         1/0/0/0/0 |        188 | src/config/config-journal-snapshot.worker.ts:11 → config-journal-snapshot.kernel.ts:38,43. Native greeting callbacks (src/system-agent/greeting.ts:424,554) never return delete, retaining their SQL T1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **src/infra** · `src/infra/sqlite-audit-record.worker.ts`                                                           |         0/0/1/0/0 |         14 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/state-migrations.mcp-oauth.worker.ts`                                                    |         2/2/1/0/0 |         45 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/telemetry-store.kernel.ts`                                                               |         0/1/0/0/0 |         23 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/telemetry-store.worker.ts`                                                               |         0/0/1/0/0 |         26 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/update-candidate-exec-approvals.ts`                                                      |         1/0/0/0/0 |         29 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/update-candidate-plugins.ts`                                                             |         1/1/0/0/0 |        243 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/update-candidate-state.ts`                                                               |         3/0/0/0/0 |        667 | Snapshot sole executor src/infra/update-candidate-state.worker.ts:63 (isolated candidate child).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **src/infra** · `src/infra/update-run-interruption-store.ts`                                                        |         1/0/0/0/0 |        120 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/update-run-reconciliation.read.ts`                                                       |         1/0/0/0/0 |         47 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra** · `src/infra/update-run-reconciliation.worker.ts`                                                     |         0/1/0/0/0 |         55 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra/outbound** · `src/infra/outbound/current-conversation-bindings.worker.ts`                               |         0/0/3/0/0 |         84 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra/outbound** · `src/infra/outbound/delivery-queue-ack.worker.ts`                                          |         0/0/1/0/0 |         12 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra/outbound** · `src/infra/outbound/delivery-queue-enqueue.worker.ts`                                      |         0/0/1/0/0 |         52 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra/outbound** · `src/infra/outbound/delivery-queue-media-staging.kernel.ts`                                |         1/0/0/0/0 |         86 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra/outbound** · `src/infra/outbound/delivery-queue-pending-failure.worker.ts`                              |         0/0/1/0/0 |         27 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/infra/outbound** · `src/infra/outbound/delivery-queue-storage.kernel.ts`                                      |         1/0/0/0/0 |         91 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/node-host** · `src/node-host/node-worker-launch-store.kernel.ts`                                              |        11/3/1/0/0 |        119 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/node-host** · `src/node-host/node-worker-lineage-completion.ts`                                               |         2/0/0/0/0 |         59 | Detached anchor spawned at src/process/supervisor/service-child-relay.ts:167; only service-child-group-anchor.ts:229,273 calls completion. W denotes the isolated supervisor subprocess.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **src/node-host** · `src/node-host/node-worker-prepared-workspace-store.kernel.ts`                                  |         5/2/1/0/0 |         31 | List/mutations run only in node-worker-journal.worker.ts:14,19,26,31,36; selectRow/write are mutation-only helpers; native findSync at node-worker-prepared-workspace-store.ts:31 reaches only find, which stays T1                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **src/node-host** · `src/node-host/node-worker-turn-store.kernel.ts`                                                |         1/3/1/0/0 |         49 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/plugin-state** · `src/plugin-state/plugin-blob-store.sqlite.ts`                                               |         7/5/0/0/0 |        167 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/plugin-state** · `src/plugin-state/plugin-blob-store.worker.ts`                                               |         0/0/1/0/0 |         30 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/plugin-state** · `src/plugin-state/plugin-state-store.kernel.ts`                                              |         0/1/0/0/0 |        392 | Only plugin-state-store.journal.ts:202 calls allocation, and only plugin-state.worker.ts:173 calls that journal kernel; host facade plugin-state-store.ts:555 dispatches registerPluginStateJournalInWorker.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **src/plugin-state** · `src/plugin-state/plugin-state.worker.ts`                                                    |         0/0/1/0/0 |        167 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/plugins** · `src/plugins/conversation-binding-state.kernel.ts`                                                |         2/0/0/0/0 |         14 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/plugins** · `src/plugins/official-external-plugin-catalog-snapshot-store.kernel.ts`                           |         1/1/0/0/0 |        159 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/plugins** · `src/plugins/state.worker.ts`                                                                     |         0/0/4/0/0 |         34 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/projects** · `src/projects/project-registry.kernel.ts`                                                        |         6/7/0/0/0 |         43 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/projects** · `src/projects/project-registry.worker.ts`                                                        |         0/0/1/0/0 |         29 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/proxy-capture** · `src/proxy-capture/store.worker.ts`                                                         |         0/0/1/0/0 |         17 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/secrets** · `src/secrets/store/secret-store-config-ref.kernel.ts`                                             |         1/1/1/0/0 |         47 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/secrets** · `src/secrets/store/secret-store-expiry.kernel.ts`                                                 |         3/0/1/0/0 |         39 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/secrets** · `src/secrets/store/secret-store-hidden-github.ts`                                                 |         1/0/0/0/0 |        128 | Counted expression is null DELETE only: src/state/user-github-connections.ts:260 → user-profiles-merge.ts:58 → user-profile-writes.worker.ts:325,375,432. Other value callers pass JSON strings.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **src/secrets** · `src/secrets/store/secret-store-metadata.kernel.ts`                                               |         1/1/0/0/0 |         70 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/secrets** · `src/secrets/store/secret-store-write.ts`                                                         |         3/1/3/0/0 |         80 | Only openclaw-state-worker-runtime.ts calls these ordinary secret mutation kernels                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **src/sessions** · `src/sessions/session-state-events.kernel.ts`                                                    |         9/4/0/0/0 |        105 | session-state-events.worker.ts and session-upstream-links.worker.ts; event/head SQL retains native adopted-event callers; Watch calls only in session-state-events.worker.ts:40,58,95; event cursor paths gated by NOTIFY_BY_KIND at kernel:367,386; native producers are non-notifying; Seed cursors run through sessionState.record/registerWatch; periodic and restart pruning dispatch sessionState.prune; adopted-event/native-binding producers remain native; Only the registeredWatcherKeys initializer at kernel:354 is notifying-only; worker record at session-state-events.worker.ts:158 / subagent-registry.store.worker.ts:65; other event sites remain T1 |
| **src/sessions** · `src/sessions/session-state-events.read.worker.ts`                                               |         3/3/0/0/0 |         18 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/sessions** · `src/sessions/session-state-events.worker.ts`                                                    |         2/0/4/0/0 |         56 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/sessions** · `src/sessions/session-upstream-links.kernel.ts`                                                  |         1/0/0/0/0 |         56 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/sessions** · `src/sessions/session-upstream-links.worker.ts`                                                  |         2/0/1/0/0 |         23 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/library** · `src/skills/library/import.kernel.ts`                                                      |         4/0/0/0/0 |         41 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/library** · `src/skills/library/selection-read.kernel.ts`                                              |         1/0/0/0/0 |         52 | Manifest batch only called by openclaw-state-read.worker.ts:477; metadata batch remains host-reachable                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **src/skills/library** · `src/skills/library/service.kernel.ts`                                                     |         7/0/0/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/library** · `src/skills/library/store.ts`                                                              |         2/4/1/0/0 |         71 | Library row, revision, upload, and mutation kernels run only through the shared-state reader/writer; the SDK metadata batch remains in selection-read.kernel.ts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **src/skills/library** · `src/skills/library/store.worker.ts`                                                       |         0/0/3/0/0 |         31 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/lifecycle** · `src/skills/lifecycle/upload-store-commit.ts`                                            |         2/1/1/0/0 |        100 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/lifecycle** · `src/skills/lifecycle/upload-store.kernel.ts`                                            |         7/4/5/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/lifecycle** · `src/skills/lifecycle/upload-store.sqlite.ts`                                            |         4/5/3/0/0 |         64 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/collection-review.kernel.ts`                                         |         2/0/0/0/0 |        130 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/curator.kernel.ts`                                                   |         3/0/0/0/0 |         23 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/store-proposal.kernel.ts`                                            |         3/4/0/0/0 |         52 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/store-sqlite-event.ts`                                               |         2/2/0/0/0 |         49 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/store-sqlite-record.ts`                                              |         1/0/0/0/0 |         86 | Only src/skills/workshop/store-proposal.kernel.ts:73,168 inserts; sole executors store.worker.ts:139,157.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **src/skills/workshop** · `src/skills/workshop/store-sqlite-rollback.ts`                                            |         4/3/0/0/0 |         38 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/store-sqlite-transition.ts`                                          |         1/0/0/0/0 |         45 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/skills/workshop** · `src/skills/workshop/store.worker.ts`                                                     |         0/0/2/0/0 |         64 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/agent-deletion-journal-authority.worker.ts`                                              |         0/1/0/0/0 |         12 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/agent-deletion-journal.read.ts`                                                          |         0/1/0/0/0 |         67 | src/state/openclaw-state-read-registry.ts:65 under read worker :679; other executor src/state/openclaw-agent-execution.worker.ts:190.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **src/state** · `src/state/agent-provenance.kernel.ts`                                                              |         1/0/0/0/0 |         40 | src/state/agent-provenance.ts:114 submits agentProvenance.list → openclaw-state-worker-runtime.ts:277.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **src/state** · `src/state/backup-run-records.kernel.ts`                                                            |         3/0/0/0/0 |         24 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/config-machine-state-write.ts`                                                           |         1/0/1/0/0 |        128 | src/state/onboarding-recommendations.ts:77 submits clear → worker registry :171 → onboarding-recommendations.kernel.ts:178.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **src/state** · `src/state/github-personal-publication-lifecycle.ts`                                                |         3/2/1/0/0 |         87 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/openclaw-agent-canonical-validation-receipt.ts`                                          |         1/0/0/0/0 |         79 | src/config/sessions/session-accessor.sqlite-mutation-worker.runtime.ts:392; loaded only by archive.worker.ts:523,594.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **src/state** · `src/state/openclaw-agent-execution-cleanup.worker.ts`                                              |         0/0/1/0/0 |         16 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/openclaw-agent-execution.worker.ts`                                                      |         0/0/1/1/0 |        345 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/openclaw-state-lease-worker.ts`                                                          |         0/0/1/0/0 |        218 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/openclaw-state-worker-runtime.ts`                                                        |         0/0/4/0/0 |        210 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/openclaw-state.worker.ts`                                                                |         0/0/1/0/0 |        299 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/session-repository-workspaces.kernel.ts`                                                 |         0/5/0/0/0 |         57 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/session-repository-workspaces.worker.ts`                                                 |         0/0/1/0/0 |         75 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/user-channel-identities.worker.ts`                                                       |         0/0/1/0/0 |         72 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/user-model-accounts.ts`                                                                  |         2/0/0/0/0 |        614 | Only src/state/user-profiles-merge.ts:57, executed by user-profile-writes.worker.ts:325,375,432.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **src/state** · `src/state/user-preferences.store.ts`                                                               |         9/0/0/0/0 |         38 | Preference read/write dispatch at user-preferences.worker.ts:52,74; merge/GitHub helpers only in user-profile-writes.worker.ts:325,375,432 and openclaw-state-read.worker.ts:616; private key scans serve these worker writers                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **src/state** · `src/state/user-preferences.worker.ts`                                                              |         0/0/1/0/0 |         45 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/user-profile-github-identity.ts`                                                         |         4/2/0/0/0 |        256 | Read dispatcher src/state/openclaw-state-read.worker.ts:577; mutations user-profile-writes.worker.ts:424,432 and merges :325,375. ensureEmail path user-profiles.worker.ts:61; private writeIdentity only from applyVerifiedGitHubIdentity.                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **src/state** · `src/state/user-profile-identity.read.ts`                                                           |         4/0/0/0/0 |         63 | Only registered user-profile-writes.worker.ts:126,187 / user-profiles.worker.ts:110,111 and state-read.worker.ts:566,592,605 call these readers; projects.ts:432 native aliases and admission fallbacks stay T1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **src/state** · `src/state/user-profile-writes.worker.ts`                                                           |         8/1/0/0/0 |        238 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/state** · `src/state/user-profiles-internal.ts`                                                               |         2/2/0/0/0 |         64 | Creation/link/merge/sync calls flow through src/state/user-profiles.worker.ts:61,69,71 and user-profile-writes.worker.ts:325,350,359,375,430; identity/avatar reads dispatch only from openclaw-state-read.worker.ts:577,604,631.                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **src/state** · `src/state/user-profiles-merge.ts`                                                                  |         6/0/0/0/0 |         34 | Only src/state/user-profile-writes.worker.ts:325,375,432 executes mergeUserProfiles.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **src/state** · `src/state/user-profiles-owner.ts`                                                                  |         3/0/0/0/0 |         75 | src/state/user-profiles.ts:320 invokes ensureGatewayOwnerProfileRow; sole executor user-profiles.worker.ts:78.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **src/state** · `src/state/user-profiles.ts`                                                                        |         3/1/0/0/0 |        210 | Sole executor src/state/user-profiles.worker.ts:69 → ensureProfileForTailscaleIdentity → user-profiles.ts:339,345.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **src/state** · `src/state/user-profiles.worker.ts`                                                                 |         2/0/1/0/0 |        119 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/transcripts** · `src/transcripts/store-read.ts`                                                               |         0/1/0/0/0 |        499 | src/transcripts/store.ts:250 submits transcripts.latest → src/state/openclaw-state-worker-runtime.ts:188 → src/transcripts/store-worker-read.ts:94; other reference is ReturnType only.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **src/transcripts** · `src/transcripts/store-sqlite-read.ts`                                                        |         5/4/0/0/0 |         38 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/transcripts** · `src/transcripts/store-sqlite-write.ts`                                                       |         3/2/0/0/0 |         71 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/transcripts** · `src/transcripts/store-sqlite.ts`                                                             |         3/5/0/0/0 |         67 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **src/transcripts** · `src/transcripts/store-worker-write.ts`                                                       |         0/0/1/0/0 |         38 | Worker implementation; keep SQL in this owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |