Skip to content

refactor(runtime): prepare config, auth, and session facts asynchronously - #169714

Merged
steipete merged 96 commits into
mainfrom
dbasync/t1cut-misc-next
Oct 12, 2026
Merged

steipete merged 96 commits into
mainfrom
dbasync/t1cut-misc-next

Conversation

@steipete

@steipete steipete commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Several bundled runtime paths still reached synchronous SQLite through otherwise asynchronous owner APIs. This moves ACP metadata, model-catalog discovery, credential preparation, native binding checks, Reef trust reads, and managed-plugin install-ledger preparation onto existing workers or committed owner facts. It removes repeated ACP and Claw provenance reads while preserving current authority at credential, command, consent, disclosure, and other real effects.

This is the third misc-owner slice; #169631 and #169633 are already landed. The final comparison isolates this slice against integrated main 64400ffa0503af72fc7cd089fedc8aa427342802. The source and result pins, source-call inventory, shared read families, and CI evidence are recorded below.

Owner changes

  • ACP and sessions: readAcpSessionMetaForEntryAsync uses the existing batched metadata worker. Session patch preparation reads only when a runtime-sensitive field needs metadata, then shares that result across validation. sessions_send reuses its prepared target metadata and reads again only when it actually creates a different target. Agent preflight, runtime-session creation, export, status, Discord binding lifecycle, and Telegram reconciliation await the same reader. Lifecycle matching happens in the worker; bound metadata requires matching entry identity, while unbound metadata retains its existing read contract.
  • Model catalogs: ModelRegistry.createAsync, refreshAsync, and unregisterProviderAsync read persisted plugin catalogs through the existing catalog worker. Prepared catalogs use fromCapturedSources; session forks retain their immediate in-memory behavior. Runtime discovery and session reload await the async path, and refresh clears normalized lookup results. The internal synchronous discoverModels path is deleted; every bundled caller and its fixtures now use discoverModelsAsync or already captured sources. Legacy disk-backed SDK methods remain deprecated and supported.
  • Auth: profile batch writes and conditional compensation use runAuthProfileStoreUpdate. Rollback changes only entries still owned by that attempt, preserves intervening neighboring writes, and is awaited before recovery continues. AuthStorage gains worker-backed creation, reads, writes, and reload; login and OAuth settlement await publication. CLI credential fingerprints, auth display paths, model-auth labels, setup inference, and QA fixtures use awaited preparation. Explicit QA state roots remain isolated. The OpenAI image provider drops its duplicate synchronous readiness callback.
  • Plugin state and native bindings: a held canonical native lease pins its committed row independently of the read LRU. Exact writer postimages and deletions update that fact; unknown outcomes refuse effects. The final lease check consumes the owner's fact instead of issuing another SQL lookup. Compound rollback refreshes only bindings actually restored by compensation; pending and absent bindings were not modified and retain their original failure. Agents API drops its redundant SQL callback; cold cleanup requests an independent mutable copy from its injected runtime config owner, retaining config-resolution facts; six ordinary Codex reads await readAsync. Legacy external binding adapters retain their synchronous callback with a migration warning.
  • Reef: asynchronous allowlist, account-description, and DM-policy hooks use the worker trust store. The modern store no longer opens a synchronous peer store or implements listCurrent. Deprecated hooks remain for released hosts without async hooks; an async failure does not fall back to the native path.
  • Claw provenance and managed plugins: a ready Claw install-schema snapshot is reused until the existing lifecycle invalidation or committed publication replaces it. Managed-plugin reload obtains install hashes through the worker-backed ledger reader, then checks current caller authority; the second consent-sensitive ledger read remains because consent can change the accepted surface. The synchronous readPersistedInstalledPluginIndexInstallRecords reader is deleted, and every internal caller, including update/Doctor and lifecycle fixtures, now awaits readPersistedInstalledPluginIndexInstallRecordsAsync. This removes that reader, not all native recovery or inspection contracts in the shared owner.
  • Compatibility: synchronous upstream-link operations now emit their recorded migration warning. SDK compatibility records and ACP tests name the replacement rather than silently retaining native runtime use.
  • Runtime config: core getRuntimeConfig consumes the prepared snapshot and no longer falls through to a cold synchronous load. Long-lived bundled startup paths await the existing config preparation owner; 64 ordinary CLI reads await the same captured async reader and preserve their validation options. The only retained direct cold reads are the offline CLI custody getter, Doctor session target discovery, and migration context, all one-shot process boundaries. The SDK's released getter retains its cold-load contract behind an explicit deprecation; readRuntimeConfig is the prepared-only replacement.

Removed checks and accepted edges

Removed work Accepted edge / retained boundary
Repeated ACP metadata reads within one session patch or send preparation The operation keeps its prepared metadata until it selects a new target. It does not observe an unrelated metadata edit midway through that preparation; session and dispatch authority still gate the real effect.
Host-side second ACP lifecycle filter after the worker result The worker owns the filter. Bound rows with missing or mismatched entry identity return no metadata; unbound rows remain readable.
Repeated Claw install-schema queries after a ready snapshot Out-of-process writes while the Gateway owns the database are not observed. In-process writes and database lifecycle changes update or invalidate the owner facts.
Repeated auth display-source currency and identity checks around label formatting A label can describe a source that closes immediately after its read. One current caller-authority check remains before consuming the label; display text grants no credential authority.
OpenAI image-provider synchronous readiness lookup alongside the awaited hook Availability can become stale before execution. Credential resolution and its effect-time authority check remain the enforcement point.
Canonical native-lease SQL lookup on every final guard Committed in-process facts are authoritative. Released leases and unknown outcomes fail closed; foreign database writers are outside the live Gateway ownership contract.
Redundant physical-path identity stat after broker-certified native close A certified close has already established the owner and no further file effect remains. Uncertified cleanup retains its identity check.

No new fencing protocol, foreign-commit probe, schema, retention rule, or durability mode is introduced. Size-limiting SQL JSON projections are unchanged.

SDK migration

Await these replacements before dependent work. Deprecated APIs remain available until removal in a later stable release after deprecation ships.

Surface Deprecated operation Replacement
agent-sessions ModelRegistry.create await ModelRegistry.createAsync; fromCapturedSources when catalogs are already prepared
agent-sessions ModelRegistry.refresh await refreshAsync()
agent-sessions Disk-backed ModelRegistry.unregisterProvider await unregisterProviderAsync(name)
agent-sessions AuthStorage.create, AuthStorage.forAgent await AuthStorage.forAgentAsync(agentDir, config)
agent-sessions AuthStorage.reload, set, remove, logout reloadAsync, setAsync, removeAsync, logoutAsync
agent-runtime loadAuthProfileStoreForSecretsRuntime Existing loadAuthProfileStoreForRuntimeAsync with readOnly: true and allowKeychainPrompt: false; internal secret callers use loadAuthProfileStoreForSecretsRuntimeAsync
agent-runtime saveAuthProfileStore await updateAuthProfileStoreWithLock(...) from provider-auth; mutate only the intended current rows
Internal auth display callers resolveAuthStorePathForDisplay resolveAuthStorePathForDisplayAsync; the released SDK getter remains deprecated, and the internal replacement is not newly exported from agent-runtime
Internal matching display alias resolveAuthStatePathForDisplay resolveAuthStatePathForDisplayAsync
acp-runtime readAcpSessionEntry readAcpSessionEntryAsync
session-catalog upsertSessionUpstreamLink, deleteSessionUpstreamLink Existing upsertSessionUpstreamLinkAsync, deleteSessionUpstreamLinkAsync
Native binding adapter NativeSessionBindingStateStoreV2.assertLeaseCurrent custom SQL callback withCurrent backed by api.runtime.state.openKeyedStoreV2; canonical leases derive current facts from receipts
Reef channel hooks resolveAllowFrom, describeAccount, resolveDmPolicy resolveAllowFromAsync, describeAccountAsync, resolveDmPolicyAsync
runtime-config-snapshot, memory-core-host-runtime-core getRuntimeConfig readRuntimeConfig from runtime-config-snapshot for prepared reads; await captureRuntimeConfigAsyncReader()() at a cold boundary

The only new public callable exports are runtime-config-snapshot.readRuntimeConfig and captureRuntimeConfigAsyncReader. Internal auth-display and secret-runtime helpers are not newly re-exported. The task-authorized deprecate-and-replace migration requires exact authored allowances of +2 public exports / +2 callable / +4 deprecated, with per-entry deprecation allowances for runtime-config-snapshot and agent-runtime. The authored source limits increase only for these replacements; generated shipped-surface inventory is unchanged. The four public deprecations are runtime-config-snapshot.getRuntimeConfig and agent-runtime.loadAuthProfileStoreForSecretsRuntime, saveAuthProfileStore, and resolveAuthStorePathForDisplay; the memory-core-host-runtime-core getter is local-only.

The actual SDK surface cap passed on f53c0078 in Workflow Sanity 38273557824, job 114893468444: 154 public entrypoints, 3,712 exports, 2,167 callable, and 190 deprecated, with no unauthorized v2026.10.2 removals. This executed the generated surface cap rather than relying on a skipped automatic job. The earlier SDK API diff passed with the two authored exports, separately from the cap; final static evidence follows below. Later changes are fixture repairs and main integration.

Async-created AuthStorage instances reject synchronous mutation/reload methods with the replacement name. Existing synchronous instances preserve immediate completion. get, list, and has consume the prepared local view; credential resolution refreshes and checks the owning source before use. Captured model registries keep immediate in-memory extension registration/removal.

T1 and retained native boundaries

Exact-source scans compare base 64400ffa0503af72fc7cd089fedc8aa427342802 with production source 38be4769d117583a84514951b24dfe3d8d6e3724. Subsequent authored repairs change tests, test support, shrink-only mock baselines and generated inventory. Main integration is identified separately from these exact-source measurements.

Scope T1 base → candidate T1-compat Worker base → candidate
Repository 494 → 493 2 → 2 1225 → 1226
Original 33 lane paths 59 → 58 2 → 2 22 → 23
Including moved hidden-GitHub kernel 64 → 63 2 → 2 23 → 24

Both measured-source scans contain 626 files and 2,386 primitive call expressions. The single T1→worker classification change is src/acp/runtime/session-meta-keys.ts (3→2 T1, 1→2 worker), from migrating its ordinary caller path. The kernel source bytes are unchanged. The committed base inventory was stale (496 T1, 1221 worker, 2384 calls); correcting that document is not claimed as a saving.

The final canonical generator on the integrated 3df58d7f production tree reports 624 files / 2,384 call expressions: 481 T1, 2 compatibility, 412 T2, 261 T3, and 1,228 worker calls. Its document refresh is +46/−46. Those current-main/classifier counts are separate from the exact measured M494/C493 comparison and are not attributed wholesale to this PR. Subsequent authored repairs change test fixtures and delete one unused test-only downgrade helper; they do not change these measured production paths.

This slice does not reach zero T1 in the original lane; the inventory still includes the retained native and SDK paths below.

The initial observation of nonportable, unfenced OAuth credentials remains synchronous before the first yield. A queued batch compares its original observation with the credential held at commit; observing only after an await can mistake a rotated credential for its starting state and restore a consumed generation. API keys, static tokens, portable OAuth copies, and fence records skip this observation. Current local/inherited credentials come from the worker transaction, so the post-lock native reread is removed. Queued-refresh regressions cover this boundary.

Native credential removal, credential-attribution/disclosure checks, and deletion commit guards remain. Codex retains synchronous reads for actual tool/command/disclosure and native ownership boundaries or legacy adapters; prepared reads do not authorize a later effect. This slice does not port or claim a saving for incognito-native paths; that cutover belongs to the dedicated removal lane.

The caller audit found no additional ordinary bundled durable MAIN path in health config, proxy capture, skill selection, pairing, managed workspaces, ambient session-state events, trajectory, or progress cards. Config policy readers disable health observation; remaining synchronous skill callers do not supply library selections. Bundled proxy, workspace, prompt, compaction, and harness callers use async APIs. Retained kernels serve deprecated adapters, CLI/maintenance, incognito, or native atomic reset. Board writes with cross-physical, nonphysical, or explicitly native source authority still execute through the native transaction path; target-only worker admission cannot validate the source, and a source-owner publication contract is the remaining cutover prerequisite. Same-physical source predicates use the worker.

Live SQL measurement

The unchanged shared harness ran against isolated state. One additional pair was required because the earlier 0644d3a7 → 2d1972fe pair was ambiguous: warm SQL means were 411.8 → 406.8 and requests 101.2 → 98.3, but actor hydration rose by 5, row-fact SELECTs by 3, and watermark SELECTs by 1 over ten turns. Those increases were retained in the analysis rather than waived as noise. Both runs completed all 13 turns, child execution, cron, compaction, and shutdown, with warm MAIN at zero. The additional pair uses the integrated production source and the same instrumentation.

Metric Base 64400ffa Candidate d6b8512e
Warm statements, median [min–max] 365.5 [353–458] 358 [354–404]
Warm requests, median [min–max] 81 [78–99] 80 [78–92]
Warm mean statements / requests 384.4 / 85.5 369.9 / 82.8
Warm MAIN statements 0 0
First-turn statements / requests / MAIN 848 / 169 / 66 1,481 / 257 / 78
Whole workload statements / requests / MAIN 10,558 / 1,748 / 2,013 10,480 / 1,718 / 2,012

Both runs passed all 13 turns, child execution, cron, compaction, RPCs and shutdown. This is a worker/API cutover, not a demonstrated deterministic warmed-turn speedup: paired-turn median deltas were only −5.5 statements and −1 request, and work moved between startup and later phases.

Shared read family Warm total base → candidate Per warm turn Whole total
Exact-entry facts 58 → 56 5.8 → 5.6 96 → 101
Actor hydration 43 → 42 4.3 → 4.2 66 → 68
Entry-cache snapshot SQL 8 → 6 0.8 → 0.6 31 → 29
Entry-cache snapshot loads 4 → 3 0.4 → 0.3 19 → 17
Row facts 30 → 30 3 → 3 52 → 52
Watermark reads 20 → 20 2 → 2 31 → 31

The cutover's warmed owner operations are unchanged: ACP metadata is 20 requests / 10 statements, auth-profile rows 30 / 30, and plugin-state entries 30 / 30 on both sides. The scheduled plugin-catalog snapshot write ran once on the baseline warm sequence and in a different phase on the candidate. Generic source/cache/vector publication accounts for most raw warm reduction; some of that work moved into the first turn.

Cold-workload tradeoff: five extra exact-entry SELECTs and two extra actor hydrations remain attributed to the candidate. Exact-entry requests rise by five in cron; actor append hydrations rise 21 → 23 within the same 41 commands, delivery hydrations 1 → 2 within the same 26 commands, offset by one fewer actor-read hydration. The trace does not prove why these caches missed. None of these families increases on warmed turns, warm MAIN remains zero, and whole workload statements/requests both fall; this is disclosed under the T1 move exception, not claimed as a paid deterministic query reduction.

The host was loaded; no latency or throughput claim is made. Native SQL and request-census events reconcile across every thread. Per-turn ranges are workload-turn ranges, not confidence intervals across independent trials.

Both runs retained the same five failed BEGIN IMMEDIATE executions during shutdown: two MAIN lease idle-close, two worker lease-close and one worker audit-pruning attempt. They reported database locked, are excluded from successful statement counts, and both shutdowns exited zero. SQL/request-census conservation reconciled 11,605/11,605 base events and 11,535/11,535 candidate events. Two boot requests on each side have unknown transport targets but no missing SQL events.

Evidence

Core runtime config reads now require a prepared snapshot. Fixtures that formerly relied on a mocked facade or implicit disk load publish their existing config at the setup/invocation boundary and clear it after cleanup. Security, provider, writer, and source-identity assertions remain. Partial mocks retain the actual owner exports. The completed hidden cron alias is explicitly absent after cleanup, while both pre-run provenance/sandbox checks and the stable-row post-run checks remain.

Doctor prepares the already-read config through the async owner without another config read. Native close reports the original close failure and leaves retry in charge of cleanup; it does not wait forever for a worker that failed to stop. No schema or stored-format migration is required. Current main's type fixes, cancellation callback waits, moved deletion-safety tests, usage coalescing, visible-child writer isolation, and model-catalog warnings are retained. The only latest merge conflict was the model-list import block: it keeps async config preparation and main's shared catalog-warning reader.

Basic local oxfmt, oxlint and whitespace checks passed on the changed files. Final session-mutation fixtures wait for their own transcript reconciliation before native inspection; the catalog-authority regression uses an entry signal instead of a one-second poll, retaining all security assertions. Knip identified one unreferenced historical downgrade fixture, which is deleted without changing migration code. Completed Codex implementation/repair reviews found no remaining actionable P0/P1 findings; mechanical integration and fixture follow-ups were independently inspected. No broad local suite/typecheck is claimed under relaxed testing v6. Focused diagnosis of the identityless SQLite peer regression passed: one selected test, 18 skipped, 179.53 seconds including a 115.5-second cold worker build. The fixture now observes the peer selecting the pending fence before releasing the refresh owner; every credential, refresh-count and subsequent-read assertion remains.

The final update cell passed in Package Acceptance run 38272933543, job 114898947762. Its artifact reports: published 2026.10.2 → candidate 2026.10.2 at f53c0078c99043ed86015483f5e41c6f77614b08, finished, readyz=200, running version verified. Candidate package SHA-256: 5e2587f14005651409f4c11b1887c74a075abe26bbd0079c7ceb27bcf914c512. Later authored changes repair test fixtures/delete unused test support and fix CI report allocation/routing; the update-related production inputs are unchanged.

On prior head dbd59df934ec467a710001313004f86337ce5099, CI 38276954075 passed production and root test types, all five core test-type shards, all five core lint shards and root lint, source contracts, and Knip/dependencies job 114905017597. The orphaned test helper was the sole prior Knip failure and is removed.

Before final main integration, head a34535bc passed Madge/architecture with zero cycles, database T1/dialect/worker ratchets, source contracts, and plugin/runtime API guardrails, with all 251 contract tests passing. Unchanged SDK surface/runtime-API inputs retain these supporting receipts; final integrated static evidence is recorded below. PostgreSQL conformance correctly skips: none of the changed paths match its engine/workboard ownership filters.

The SDK qualification also repairs the report allocation: only its dispatch row moves to the existing 32-class, with the existing planner assertion and runner documentation updated. Two hosted serial attempts (a345, dbd59df) exceeded the unchanged 20-minute job deadline after baseline rendering consumed about 11.4–11.7 minutes. Separate runner diagnostics show the 8-class exposes two CPUs/about 8 GiB and the 32-class eight CPUs/about 32 GiB; only the latter clears the existing eight-CPU/24-GiB parallel floor. No renderer guard, heap limit, global backend or deadline changes. Ordinary CI row counts are unchanged. Main-shaped qualification dispatches retain the SDK report alongside their existing push-shaped coverage; PR-shaped qualification stays unchanged. The first qualification was safely rejected before SDK execution because GitHub's merge ref still named the previous head. The second exposed the planner's incompatible main-tier input and omitted comparison row. The main-tier validation guard remains intact; qualifications use the supported full tier. Neither failed preflight is passing evidence. Focused diagnosis of the routing correction passed all three planner cases in 69.09 seconds; an independent source review found no actionable issue.

The integrated SDK API comparison passed for base bcd41d1aae8d60336fbf5466f22eb665ee353e4f → merge 9568291752cb2ebb56cb0ce1973cf1794616c1f9 (second parent d1c2b2ebc8b7ed82ba3666b40df72d07a9f592f6). The full job took 6m48s, with concurrent renders of 331.0s and 335.3s; acknowledgment 26528526. It reports two added exports, two changed signatures, and 34 changed reachable declarations. Later edits are fixture-only and preserve all renderer inputs.

Final head 719bf1ad1ef7fdf9cc23cd92917558f74fd4fec7 passes the corrected UI/core-types-3 lane, root lint, and source contracts. The only change from 6980154ff3c1 is the explicit action label in the UI fixture. All other static inputs retain the completed 698 verification: production/root types, the other four core type stripes, all five core lint stripes, guards, boundaries, plugin/runtime contracts, Madge/architecture, Knip/dependencies, T1/dialect/worker ratchets, and security. Final ratchets report T1 481 → 481, compatibility 2 → 2, and dialect groups 0 → 0, 5 → 5, and 2 → 2. Madge reports zero cycles. The superseded UI type failure is recorded rather than described as inherited. These final test-only changes preserve the completed SDK, update, and SQL measurement inputs above.

The preceding qualification at 349e7cf5467f passed all selected static and security checks, including the SDK API comparison in 6m49s. Both SDK renders overlapped (347.4s / 349.0s). Ratchets reported T1 481→481 and compatibility 2→2; Madge reported zero cycles. That result is supporting evidence; the later integrated SDK result above includes main's catalog-declaration changes.

Broad runtime CI is not claimed all-green. The final broad dispatches also contain runtime failures that were not investigated after the static-check freeze; they are neither passing proof nor labeled inherited. The earlier attributed observations below retain their original evidence. Fixture-only head 6980154ff3c1b2db9be06b54d2204de168dfdc1e adds explicit config preparation in 37 more session fixtures and the confirmed Gateway/status fixtures. Snapshot cleanup follows owner drainage, including reverse-order teardown registration. Local basic lint passes all 45 changed tests. Final fixture repairs address the confirmed catalog-entry polling and rewind transcript-reconciliation ordering failures, plus missing runtime-config preparation in session, Gateway, worktree, heartbeat, and cleanup fixtures. Each publishes its authored config before the dependent operation; assertions, security inputs, and timeouts stay intact. Incoming main's composer-banner test spread an action/no-action union and made the paired action label optional. The refreshed fixture now states its existing Unarchive label and action explicitly, preserving the rendered values. The first kind-only repair did not resolve this and failed CI; the follow-up removes the union spread. No UI behavior changes. Optional runtime jobs do not replace the static gates; unresolved observations remain explicitly listed below under relaxed landing v4. The prior head retains these unresolved observations, with no claim that they are inherited or that a replay proves repair:

Final optional runtime failures (metadata snapshot; uninvestigated)

These are not passing proof and have no inherited classification. Later job completions are outside this snapshot.

Head Job
698 checks-node-compact-large-28
698 checks-node-compact-large-27
698 checks-node-compact-large-23
698 checks-node-compact-large-33
698 checks-node-compact-small-24
698 checks-node-compact-large-20
698 checks-node-compact-large-3
698 checks-node-compact-large-32
698 checks-node-compact-large-19
698 checks-node-compact-large-31
698 checks-node-compact-large-6
698 checks-node-compact-large-15
698 checks-node-compact-large-42
698 checks-node-compact-large-9
698 checks-node-compact-large-30
698 checks-node-compact-large-43
698 checks-node-compact-large-2
719 checks-node-compact-large-20
719 checks-node-compact-large-19
719 checks-node-compact-large-10
719 checks-node-compact-large-23
719 checks-node-compact-small-7

Separately, the untouched placement-reclaim failure has the same main stack, and focused main f2c48ebd reproduces the unchanged UI i18n fallback-baseline drift. Those named inherited exceptions are recorded in the campaign red-main inbox. Unresolved runtime follow-ups are also assigned there without converting uncertainty into an inherited claim. All required static, security, SDK and update evidence remains separate from these optional runtime observations.

Size

Relative to merge-base main 8eae8c826dd9: 1,233 files, +8,809/−2,980. Heuristic buckets: production 192 files +1,747/−937; tests 1,027 files +6,843/−1,898; docs/config/tooling 14 files +219/−145. Test buckets include named test support, fixtures, and test utility modules. Most changed files prepare existing test configs explicitly; no assertion or timeout is weakened. Final integration retains main's catalog warnings and cancellation cleanup.

# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
#	src/agents/auth-profiles/upsert-with-lock.ts
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
#	docs/reference/database-schemas/worker-access.md
#	scripts/database-worker-inventory.mjs
#	src/state/openclaw-state-db-read-admission.test.ts
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
…orage

# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
#	src/config/sessions/session-accessor.sqlite-projection.ts
#	src/config/sessions/session-lifecycle-projection.worker.ts
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
…orage

# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
#	src/agents/subagents/registry/subagent-registry-read-snapshot.ts
#	src/cron/isolated-agent/run-subagent-registry.runtime.ts
#	src/cron/run-continuation-cleanup.ts
#	src/cron/session-reaper.ts
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
#	extensions/qa-lab/src/providers/shared/auth-store.ts
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
# Conflicts:
#	docs/reference/database-schemas/worker-access-inventory.md
steipete added a commit that referenced this pull request Oct 13, 2026
* fix(doctor): prepare runtime config before plugin health checks

Publish the prepared Doctor config through the existing runtime snapshot owner before health contributions register plugins. Preserve an existing process snapshot and keep strict runtime readers intact.

Fixes the regression from #169714 exposed by standalone Doctor after updates. Add real plugin-registration regression coverage and document the standalone update flow.

* docs(doctor): retain post-update guidance after runtime fix

The equivalent runtime preparation fix and regression landed in #170445. Remove this branch’s overlapping implementation and test so the PR only adds its standalone Doctor documentation clarification. Keep the original update proof in the PR body.

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: reef Channel integration: reef channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: whatsapp-web Channel integration: whatsapp-web cli CLI command changes commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: agentsapi extensions: browser extensions: codex extensions: copilot extensions: memory-core Extension: memory-core extensions: openai extensions: qa-lab gateway Gateway runtime plugin: file-transfer scripts Repository scripts security-sensitive-changed size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants