Repository navigation
fix(update): preserve configuration and hand failed upgrades to triage - #134490
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Published 2026.8.1 baseline — before this PRAttached are the inspected continuous recording and disconnection screenshot from a real installed Gateway and Control UI, using a dedicated disposable Linux account with its actual HOME and native user-systemd service. Installation used A real filesystem permission refusal prevented creation of the npm staging directory after the service was parked. Published 2026.8.1 already recovered this safe pre-lifecycle failure: native PID 7771 → stopped/MainPID 0 → recovered PID 8217, unchanged installed package/build, successful RPC health, and readiness HTTP 200. The UI disconnected, reconnected, and retained the failed-update details. A later Check status click produced a new real response. This is preservation evidence, not a claim that published 8.1 strands this safe case, and not proof of the PR candidate. The screenshot also records the previous “The Gateway is restarting” copy; the candidate's after-capture remains pending. Installed build: The 16.76-second recording's 419 decoded frames were inspected through all 19 contact sheets and selected full-size stills. Its bytes were rechecked before upload: SHA256 attachment-3352894927.webm |
f0b1469 to
e30232b
Compare
Prefer npm before ClawHub only among declared plugin identities, preserving explicit source/version intent, artifact integrity and capability consent. Keep the exact installed beta cohort and require typed target absence before fallback. Preserve authored environment references through both Doctor writers, resolve snapshot destinations at operation time, and keep migration-only metadata out of redacted snapshots. Avoid loading channel runtimes for unused pairing account facts while retaining captured migration-owner attribution. Record activation safety at package/Git mutation boundaries. Keep installed-CLI recovery, verify runtime/native-service identity, fence Windows autostart, preserve child status, and avoid duplicating consumed notifications or rejecting completed install switches. Surface update-specific disconnect diagnostics without changing explicit-restart guidance in Model Setup. Retain the upgrade-survivor first-hop, approval and installed-version oracles. Repair CI's type-only Doctor cycle and stale source-policy, final-Doctor and Teams whitespace expectations without weakening timeouts, gates or the main-owned Markdown fix. PR: #134490
e30232b to
dcdd46a
Compare
Dependency graph guard clearedThis PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh
|
Native Linux after-proof — exact packaged candidateThe full native harness passed on Blacksmith Testbox run 33475007368, lease An actual pre-lifecycle staging EACCES produced a failed update while restoring the verified service. UI recovery and both foreground CLI output modes preserved the expected failure exit, installed package bytes, serving build identity, successful RPC and HTTP readiness. Gateway PIDs changed 6224 → 6694 → 7086 → 7430. The UI showed disconnected guidance, reconnected to the retained failure, and Check status produced a fresh successful The pre-CLI npm matrix also passed under Node 24.19.0/npm 11.17.0: normal and cleanup-opt-out installs cleared the lifecycle marker; Remote scenario invocation: node scripts/crabbox-wrapper.mjs run --debug --id tbx_01m1dr5jngrrzesb4a9y3ncryx --timing-json -- python3 native-final-input-native/bootstrap.pyThe attached continuous recording is 17.56 seconds. Every decoded frame was inspected through complete contact sheets (439 frames; only checksum-identical frames collapsed), along with the selected full-resolution stills. Captures contain only synthetic test state, masked authentication and product-redacted paths. Video SHA256: This completes the safe native/UI lane, not the entire campaign. The injected target-Doctor crash and published-version first hop remain separate gates. Required CI is green on the exact head. Earlier supplemental mock-transport dark/light coverageThese real browser renders used synthetic mock Gateway transport in the four-case attachment-299690633.webm |
Additional installed-upgrade proof and remaining first-hop blockerThe injected target-Doctor crash proof passed on Blacksmith Testbox run 33493452384, using the unchanged exact candidate The harness bound the actual Doctor child through its pidfd, executable/entrypoint identity, process birth and live ancestry to the launched updater. After the owned service was observed stopped, one The proof-input transfer blocker was resolved without increasing deadlines or skipping source: a complete hash manifest replaced the duplicate source-archive upload. Local validation covered all 37,549 archive members and 35,914 tracked files/symlinks. Remote reconstruction verifies every source member before creating the native test account, while retaining the existing tar extraction filter. The passing run's ordinary syncs took 103.083 seconds and 11.316 seconds. No product source or package bytes changed for this harness repair. The populated That first hop is not qualified as a successful upgrade. The old updater exited 1 without JSON after the updated installation refused its service-environment refresh with An earlier first-hop attempt had probed RPC immediately after an explicit service-start acknowledgment. The harness now uses the existing canonical readiness probe before RPC for its two explicit startup baselines, sharing the original 90-second deadline. It does not add waiting after the updater returns or weaken the immediate migration/process assertions. Landing remains blocked on a separate first-hop startup failure. A distinct follow-up fixture explicitly prepared its known-owned service paths with the documented nonrecursive permission correction, recording before/after metadata. This is an operator prerequisite, not automatic upgrade recovery. That case passed the permission guard and immediate migration/reference assertions, but the old updater still exited 1 without JSON after Gateway restart failed. It reached neither separate capability consent nor the candidate-generation-change phase. The latest replay, Blacksmith Testbox run 33502934695, preserved that failure on the same exact candidate/package. The service was active/running with A fresh review of the complete committed campaign also completed with no findings at the configured P0 threshold, across two complete chunks. This does not replace runtime proof or certify lower priorities. No merge, release, version bump, or package publication has occurred. |
* perf(ui): defer Settings English until needed Keep optional Settings copy out of Control UI startup while preserving cold settings search, the Updates introduction, translation fallbacks, and shared startup/update guidance. Move 263 strings unchanged through the existing lazy catalog registration boundary. Unify complete source-catalog composition and source-hash dependencies for Vite, verification, and locale generation. Preserve source ordering and translation-memory aliases; no budget or baseline changes. Related: #121497 Separate startup-headroom follow-up to #134490. * test(ui): count only registered locale adapters Keep locale loading assertions independent of English source fragments. The Settings registrar is not an operator-selectable foreign locale. Use the canonical registry instead of a growing English filename list. * test(agents): scope real OpenRouter hooks in error integration Replace cold inactive-registry warm-up with existing public plugin loading and request-scoped registration. Keep HTTP/SSE composition and add a billing case that proves the real provider hook participates. Remove the 300-second setup override; no production behavior changes. * test(plugins): own OpenRouter composition coverage at the integration boundary Move the real-provider/core-classifier suite out of core source. Preserve all six HTTP/SSE cases, registry scope and automatic unit-fast/CI coverage. The explicit extension boundary suite and canonical root types/lint pass.
831119a to
0aebcbe
Compare
|
Latest observed PR head: The current CI run has failing checks, including the aggregate gate. The parallel recovery workstream reports a reproduced populated-upgrade failure involving the retired Completed verification for the earlier
|
* perf(ui): defer Settings English until needed Keep optional Settings copy out of Control UI startup while preserving cold settings search, the Updates introduction, translation fallbacks, and shared startup/update guidance. Move 263 strings unchanged through the existing lazy catalog registration boundary. Unify complete source-catalog composition and source-hash dependencies for Vite, verification, and locale generation. Preserve source ordering and translation-memory aliases; no budget or baseline changes. Related: openclaw#121497 Separate startup-headroom follow-up to openclaw#134490. * test(ui): count only registered locale adapters Keep locale loading assertions independent of English source fragments. The Settings registrar is not an operator-selectable foreign locale. Use the canonical registry instead of a growing English filename list. * test(agents): scope real OpenRouter hooks in error integration Replace cold inactive-registry warm-up with existing public plugin loading and request-scoped registration. Keep HTTP/SSE composition and add a billing case that proves the real provider hook participates. Remove the 300-second setup override; no production behavior changes. * test(plugins): own OpenRouter composition coverage at the integration boundary Move the real-provider/core-classifier suite out of core source. Preserve all six HTTP/SSE cases, registry scope and automatic unit-fast/CI coverage. The explicit extension boundary suite and canonical root types/lint pass.
openclaw#134490) * fix(update): preserve configuration and verify upgrade recovery Prefer npm before ClawHub only among declared plugin identities, preserving explicit source/version intent, artifact integrity and capability consent. Keep the exact installed beta cohort and require typed target absence before fallback. Preserve authored environment references through both Doctor writers, resolve snapshot destinations at operation time, and keep migration-only metadata out of redacted snapshots. Avoid loading channel runtimes for unused pairing account facts while retaining captured migration-owner attribution. Record activation safety at package/Git mutation boundaries. Keep installed-CLI recovery, verify runtime/native-service identity, fence Windows autostart, preserve child status, and avoid duplicating consumed notifications or rejecting completed install switches. Surface update-specific disconnect diagnostics without changing explicit-restart guidance in Model Setup. Retain the upgrade-survivor first-hop, approval and installed-version oracles. Repair CI's type-only Doctor cycle and stale source-policy, final-Doctor and Teams whitespace expectations without weakening timeouts, gates or the main-owned Markdown fix. PR: openclaw#134490 * test(msteams): align the corrected main whitespace fixture * perf(ui): remove unreachable update translations Remove superseded version-only verification copy and the unused idle label from the eager catalog. Keep identity-aware verification and all recovery guidance unchanged, align translation fixtures, and restore the existing merged startup budget without increasing its baseline or limits. * fix(update): retain consent failures and isolate validation homes Carry unresolved non-retained plugin capability refusals from missing-install repair through post-core convergence as typed outcomes, preserving the existing update failure and restart boundary. Keep usable retained artifacts and transient fetch failures on their existing notice/warning paths. Give test invocations a native process HOME before config imports and worker creation. Preserve bounded live/profile context, report selection, installed tool caches, and process-group/pipe-owned namespace cleanup or truthful retention. Keep unknown or mixed explicit real-home selections closed. Resolve the repo-owned staging helper from its owning cwd and await complete PID readiness before cancelling native report fixtures. Align the survivor recovery oracle with typed consent errors that intentionally have no Doctor reason. Preserve strict plugin/code/version/core-step checks and historical warning-only reports; successful-update admission still rejects refusals. Keep the local TestHomeMode alias private and satisfy helper lint. PR: openclaw#134490 * fix(plugins): preserve declared catalog identity during upgrade integration Carry the prepared, provenance-validated ClawHub package instead of discarding it into a boolean. Suppress the declared installed counterpart without deriving an npm identity from overlaid display metadata or hiding an npm namesake. Keep lazy prepared catalog facts and first-normalized-record icon behavior. Retain explicit ClawHub-only actions and npm-first dual-source actions, and cover the selected source's pinned inspection metadata with existing tables. The incoming duplicate-row cases fail before the provenance fact is retained. PR: openclaw#134490 * fix(ci): include home isolation in PR anchor closure Register the three runtime dependencies in the canonical extraction and trust inventory. Extracted planners and publishers now load the real home policy, context, and selection modules without stubs or weaker assertions. The existing extracted-anchor regression fails before this change and the full wrapper suite passes afterward. * fix(update): hand failed upgrades to local coding agents Route interactive update failures through triage after updater ownership is released. Preserve the captured installation, invocation directory, bounded diagnostics and original update result while the installed coding agent repairs and verifies the machine using its existing permissions. Keep background and JSON guidance consistent, preserve config references, and fix resolved consent failures and selected catalog source provenance. Validation: complete combined P2 review, 639 focused tests, 71 UI unit tests, and four Chromium scenarios passed. Full changed-code checks passed all typegraphs but stopped on one no-map-spread lint error in a test fixture. Local integration checkpoint: fix that fixture and combine the current main triage owner before final review, package proof, publication, or landing. * fix(update): preserve configuration and verify upgrade recovery Prefer npm before ClawHub only among declared plugin identities, preserving explicit source/version intent, artifact integrity and capability consent. Keep the exact installed beta cohort and require typed target absence before fallback. Preserve authored environment references through both Doctor writers, resolve snapshot destinations at operation time, and keep migration-only metadata out of redacted snapshots. Avoid loading channel runtimes for unused pairing account facts while retaining captured migration-owner attribution. Record activation safety at package/Git mutation boundaries. Keep installed-CLI recovery, verify runtime/native-service identity, fence Windows autostart, preserve child status, and avoid duplicating consumed notifications or rejecting completed install switches. Surface update-specific disconnect diagnostics without changing explicit-restart guidance in Model Setup. Retain the upgrade-survivor first-hop, approval and installed-version oracles. Repair CI's type-only Doctor cycle and stale source-policy, final-Doctor and Teams whitespace expectations without weakening timeouts, gates or the main-owned Markdown fix. PR: openclaw#134490 * test(msteams): align the corrected main whitespace fixture * perf(ui): remove unreachable update translations Remove superseded version-only verification copy and the unused idle label from the eager catalog. Keep identity-aware verification and all recovery guidance unchanged, align translation fixtures, and restore the existing merged startup budget without increasing its baseline or limits. * fix(update): retain consent failures and isolate validation homes Carry unresolved non-retained plugin capability refusals from missing-install repair through post-core convergence as typed outcomes, preserving the existing update failure and restart boundary. Keep usable retained artifacts and transient fetch failures on their existing notice/warning paths. Give test invocations a native process HOME before config imports and worker creation. Preserve bounded live/profile context, report selection, installed tool caches, and process-group/pipe-owned namespace cleanup or truthful retention. Keep unknown or mixed explicit real-home selections closed. Resolve the repo-owned staging helper from its owning cwd and await complete PID readiness before cancelling native report fixtures. Align the survivor recovery oracle with typed consent errors that intentionally have no Doctor reason. Preserve strict plugin/code/version/core-step checks and historical warning-only reports; successful-update admission still rejects refusals. Keep the local TestHomeMode alias private and satisfy helper lint. PR: openclaw#134490 * fix(plugins): preserve declared catalog identity during upgrade integration Carry the prepared, provenance-validated ClawHub package instead of discarding it into a boolean. Suppress the declared installed counterpart without deriving an npm identity from overlaid display metadata or hiding an npm namesake. Keep lazy prepared catalog facts and first-normalized-record icon behavior. Retain explicit ClawHub-only actions and npm-first dual-source actions, and cover the selected source's pinned inspection metadata with existing tables. The incoming duplicate-row cases fail before the provenance fact is retained. PR: openclaw#134490 * fix(ci): include home isolation in PR anchor closure Register the three runtime dependencies in the canonical extraction and trust inventory. Extracted planners and publishers now load the real home policy, context, and selection modules without stubs or weaker assertions. The existing extracted-anchor regression fails before this change and the full wrapper suite passes afterward. * fix(test): preserve source home when loading profiles Read the explicitly selected profile with a non-login Bash command so system and user login startup cannot replace the source HOME first. Keep positional profile quoting, child-only HOME/USERPROFILE, existing profile opt-in and test/native-home isolation unchanged. The existing six profile-home matrix cases failed on Linux CI run 33536959196, job 99953769387. New exact-head Linux CI remains required; this local repair does not refresh or admit the prior native proof. PR: openclaw#134490 * fix(update): complete failure triage integration Keep landed failure diagnosis after recovery and cleanup decisions without letting diagnostic exports authorize activation or overwrite updater exits. Preserve exact unsafe handoff and nested foreground results, consumed notifications, successful install-root switches, typed consent failures and update-specific disconnected guidance alongside main's triage takeover. Contain diagnostic read failures inside the diagnostic owner so a completed recovery still releases its lease and sensitive files. Retain phase-labelled updater, recovery and diagnostic exits plus helper terminal completion. Remove the trivial aggregate-error wrapper while preserving both failures, and consolidate launchd/notification coverage into canonical test support. Focused CLI, Doctor, handoff, UI and profile-home proof passed under external synthetic homes. Complete integrated P0 review is scoped-clean; exact-head Linux CI and native/package qualification remain with the parent workflow. The unchanged main models-cli auth-login test-type error remains a follow-up. PR: openclaw#134490 * test(update): split Doctor and service recovery fixtures Move the existing Windows Doctor recovery matrix and shared fixtures into focused files, and keep managed terminal-outcome tests in their existing result helper. Preserve all case bodies, assertions, and hook cleanup. Keep Windows restore failure in a local variable and narrow the triage prompt-write fixture path before string matching. Scoped type-aware lint, all affected existing suites, and independent follow-up review pass. The full repository gate and final packaged Crabbox recovery and upgrade proof remain required before landing. * fix(update): retain plugin attempt spec on consent failure * test(update): preserve runtime exports in option mocks --------- Co-authored-by: Jason (Json) <[email protected]>
…#135671) * fix(config): preserve authored references during Doctor repair Use canonical authored projection for invalid snapshots so a legacy agent roster can migrate without restoring the retired list or flattening includes. Keep roster-format intent separate from explicit value edits and consume it only after the Doctor write commits. Compare resolved Gateway modes while retaining intentional parameter removal and ambiguous-include safeguards. Derive plugin consent failure from its existing typed outcomes, and arm the transient composer-cue test observer before the user action. Follow-up to #134490. The exact repair patch and all 26 managed-review datasets are unchanged after adopting its landed main base. Independent P0-P2 review, 107 integration cases, and 18 real Doctor cases on this base pass. The earlier 528 config/Doctor cases pass with those owners unchanged. Final packaged Crabbox upgrade and autonomous repair proof remains pending. Co-authored-by: Jason (Json) <[email protected]> * test(update): verify npm artifacts in upgrade recovery Validate automatic plugin recovery against the declared npm source, its managed installation, exact version, artifact integrity, and capability consent. Preserve selected-plugin consent deferral and the explicit ClawHub companion audit. Replace the stale ClawHub-only request expectation with a positive artifact assertion and zero unexpected ClawHub requests. Exercise invalid records and the real phase order, including macOS Bash 3.2 optional arguments. The packaged stable-to-candidate reproduction exposed the obsolete oracle. Focused regressions, all changed checks, and final managed review pass. Full final-package Crabbox verification remains in progress. Related: #134490 * test(ui): wait for draft persistence before legacy seeding Observe the committed nonempty draft and its post-send clear before replacing current metadata with the legacy outbox fixture. This prevents navigation from aborting the clear and restoring the old text and Blob. The native IndexedDB latency reproduction fails before the correction and passes after it. Both original legacy table cases and the changed checks pass. * test(ui): wait for menu readiness in continuation proof Use the shared focus-synchronized submenu helper for both desktop openings of Continue in terminal. Keep the real action clicks, exact handoff and clipboard assertions, reconnect retirement, and mobile pointer flow. Both browser cases and the changed-file gate pass with a clean managed review. Co-authored-by: Jason (Json) <[email protected]> --------- Co-authored-by: Jason (Json) <[email protected]>
* fix(update): preserve configuration and verify upgrade recovery Prefer npm before ClawHub only among declared plugin identities, preserving explicit source/version intent, artifact integrity and capability consent. Keep the exact installed beta cohort and require typed target absence before fallback. Preserve authored environment references through both Doctor writers, resolve snapshot destinations at operation time, and keep migration-only metadata out of redacted snapshots. Avoid loading channel runtimes for unused pairing account facts while retaining captured migration-owner attribution. Record activation safety at package/Git mutation boundaries. Keep installed-CLI recovery, verify runtime/native-service identity, fence Windows autostart, preserve child status, and avoid duplicating consumed notifications or rejecting completed install switches. Surface update-specific disconnect diagnostics without changing explicit-restart guidance in Model Setup. Retain the upgrade-survivor first-hop, approval and installed-version oracles. Repair CI's type-only Doctor cycle and stale source-policy, final-Doctor and Teams whitespace expectations without weakening timeouts, gates or the main-owned Markdown fix. PR: #134490 * test(msteams): align the corrected main whitespace fixture * perf(ui): remove unreachable update translations Remove superseded version-only verification copy and the unused idle label from the eager catalog. Keep identity-aware verification and all recovery guidance unchanged, align translation fixtures, and restore the existing merged startup budget without increasing its baseline or limits. * fix(update): retain consent failures and isolate validation homes Carry unresolved non-retained plugin capability refusals from missing-install repair through post-core convergence as typed outcomes, preserving the existing update failure and restart boundary. Keep usable retained artifacts and transient fetch failures on their existing notice/warning paths. Give test invocations a native process HOME before config imports and worker creation. Preserve bounded live/profile context, report selection, installed tool caches, and process-group/pipe-owned namespace cleanup or truthful retention. Keep unknown or mixed explicit real-home selections closed. Resolve the repo-owned staging helper from its owning cwd and await complete PID readiness before cancelling native report fixtures. Align the survivor recovery oracle with typed consent errors that intentionally have no Doctor reason. Preserve strict plugin/code/version/core-step checks and historical warning-only reports; successful-update admission still rejects refusals. Keep the local TestHomeMode alias private and satisfy helper lint. PR: #134490 * fix(plugins): preserve declared catalog identity during upgrade integration Carry the prepared, provenance-validated ClawHub package instead of discarding it into a boolean. Suppress the declared installed counterpart without deriving an npm identity from overlaid display metadata or hiding an npm namesake. Keep lazy prepared catalog facts and first-normalized-record icon behavior. Retain explicit ClawHub-only actions and npm-first dual-source actions, and cover the selected source's pinned inspection metadata with existing tables. The incoming duplicate-row cases fail before the provenance fact is retained. PR: #134490 * fix(ci): include home isolation in PR anchor closure Register the three runtime dependencies in the canonical extraction and trust inventory. Extracted planners and publishers now load the real home policy, context, and selection modules without stubs or weaker assertions. The existing extracted-anchor regression fails before this change and the full wrapper suite passes afterward. * fix(test): preserve source home when loading profiles Read the explicitly selected profile with a non-login Bash command so system and user login startup cannot replace the source HOME first. Keep positional profile quoting, child-only HOME/USERPROFILE, existing profile opt-in and test/native-home isolation unchanged. The existing six profile-home matrix cases failed on Linux CI run 33536959196, job 99953769387. New exact-head Linux CI remains required; this local repair does not refresh or admit the prior native proof. PR: #134490 * fix(update): roll back npm candidate after Doctor failure * fix(update): roll back npm candidate after Doctor failure * fix(update): separate package rollback evidence * fix(update): preserve rollback sentinel compatibility * fix(update): keep staged Doctor service-external * test(update): verify exact post-Doctor restoration * test(update): narrow restored version assertion * test(update): cover all rollback residue prefixes * fix(update): preserve package rollback diagnostics --------- Co-authored-by: Peter Steinberger <[email protected]>
… plugin when its plugin entry is enabled (#136211) * fix(plugins): honor channels.<id>.enabled=false over plugin entry enablement A channel plugin whose channel is switched off in config (`channels.<id>.enabled: false`) kept loading whenever `plugins.entries.<id>.enabled: true` was also present, which is exactly the state `openclaw plugins install @openclaw/<id>` and `openclaw plugins enable` leave behind. Auto-enable, the Gateway startup plan, channel presence policy and the official-external repair targets all already treat that channel flag as an explicit disable; the shared activation decision was the one owner that did not, so every unscoped registry load (CLI plugin registry, agent runtime loads, outbound bootstrap) still imported the plugin. On git-built installs of source-external plugins (discord, slack: `build.bundledDist: false`) that import is what surfaced as startup ERROR lines: the build links `dist/extensions/<id>/node_modules` back to `extensions/<id>/node_modules`, and a moved or pruned checkout leaves that link dangling, so the import fails with `Cannot find module` for a channel the operator had turned off. - Teach the shared activation decision a closed `channel-disabled-in-config` cause and make the channel-config reader tri-state (`resolveChannelConfigEnablement`), so `channels.<id>.enabled: false` wins the same way `enabled: true` already opts a bundled channel in. - When an externally distributed plugin fails to import because a module is missing, name the enablement path in the loader error (`openclaw plugins install <spec>` / `openclaw doctor --fix`) at both loader failure sites so `status`/`doctor` show what to do next. - Align the stale WhatsApp repair-hint test with the npm-first install ordering from #134490. Regression tests fail on pre-fix code at the activation decision and at the loader (bundled telegram fixture with the channel disabled and the plugin entry enabled). * fix(plugins): report missing dependencies for externally distributed bundled plugins Follow-up to the channel-disable activation fix, addressing review findings. - Plugin status skipped dependency health for every bundled-origin plugin, so a source-external plugin (`build.bundledDist: false`) compiled into `dist/extensions/<id>` without its plugin-local `node_modules` never showed the typed "required dependencies are missing" state in `plugins list`, `status`, or `doctor`; the only signal was the raw import error at load time. Narrow the gate: bundled plugins that are distributed outside the root package now get dependency status like external installs. - The activation metadata hash only fingerprinted channels with `enabled: true`, so adding `enabled: false` produced the same registry cache key as an absent flag and could reuse a registry that had already loaded the plugin. Serialize the boolean tri-state instead. - Guard the missing-module cause walk in `recordPluginError`: a plugin-thrown error may expose a throwing `cause` accessor, and diagnostics inside a catch handler must not rethrow it out of the loader loop. All four regression tests fail on the previous commit. * test(plugins): split dependency-health snapshot cases out of the oversized status suite * fix(plugins): verify the official package before naming its install command The missing-dependency hint resolved the official install command from the plugin id alone, so a foreign `build.bundledDist: false` package reusing an official id (for example a Discord fork registered as `discord`) would be told to install `@openclaw/discord` over itself. Resolve the catalog entry by package name and require canonical-id equality; other externally distributed packages get a generic reinstall/update hint instead. The mismatched-package regression fails on the previous commit. * fix(plugins): resolve channel disables through manifest-owned channel ids Review follow-ups on the channel-disable activation fix: - The activation decision resolved `channels.<id>.enabled` from the plugin id alone, so a plugin whose id differs from its channel key (QQ Bot documents `openclaw-qqbot` owning `channels.qqbot`) never saw the operator's disable. Thread manifest-owned channel ids from both loaders into the shared decision and check them before the built-in catalog mapping. - Runtime status dropped package build metadata, so a generic source-external bundled plugin (`build.bundledDist: false` without an official catalog entry) was treated as an ordinary bundled plugin and its missing dependencies never surfaced in `status`/`doctor`. Carry the installed index's `packageBuild` into the runtime dependency-status decision. - Guard nested error-code reads in the missing-module classifier: a nested error with a throwing `code` getter must not escape the loader's catch. Every regression fails on the previous commit. * fix(plugins): pass manifest channel ids to every activation consumer The channel-disable decision only received manifest-owned channel ids from the two module loaders, so metadata consumers that publish a plugin's declared surfaces (skills, hooks, embedded settings, startup planning, presence policy, index writes, provider inventory, public-surface access) still activated a renamed-channel plugin such as `openclaw-qqbot` after `channels.qqbot.enabled: false`. Pass `channels` from the manifest or installed-index record at every call site that has one; id-only callers keep the built-in catalog mapping. The skills regression (bundled `openclaw-demo` owning `channels.demo`) fails on the previous commit. * fix(plugins): honor channel disables and source-external dependency health in index and managed diagnostics Two remaining consumers of the activation decision and dependency-status gate: - `isInstalledPluginEnabled` evaluated a renamed-channel plugin from its id alone, so contribution and command-default consumers still saw `openclaw-qqbot` as enabled after `channels.qqbot.enabled: false`. Pass the index record's channel ids. - Gateway `plugins.list` diagnostics excluded every bundled-origin plugin from dependency health, so an enabled `build.bundledDist: false` plugin with missing required dependencies was listed without its error. Use the shared `tracksPluginDependencyStatus` gate there too. Both regressions fail on the previous commit.
…openclaw#135671) * fix(config): preserve authored references during Doctor repair Use canonical authored projection for invalid snapshots so a legacy agent roster can migrate without restoring the retired list or flattening includes. Keep roster-format intent separate from explicit value edits and consume it only after the Doctor write commits. Compare resolved Gateway modes while retaining intentional parameter removal and ambiguous-include safeguards. Derive plugin consent failure from its existing typed outcomes, and arm the transient composer-cue test observer before the user action. Follow-up to openclaw#134490. The exact repair patch and all 26 managed-review datasets are unchanged after adopting its landed main base. Independent P0-P2 review, 107 integration cases, and 18 real Doctor cases on this base pass. The earlier 528 config/Doctor cases pass with those owners unchanged. Final packaged Crabbox upgrade and autonomous repair proof remains pending. Co-authored-by: Jason (Json) <[email protected]> * test(update): verify npm artifacts in upgrade recovery Validate automatic plugin recovery against the declared npm source, its managed installation, exact version, artifact integrity, and capability consent. Preserve selected-plugin consent deferral and the explicit ClawHub companion audit. Replace the stale ClawHub-only request expectation with a positive artifact assertion and zero unexpected ClawHub requests. Exercise invalid records and the real phase order, including macOS Bash 3.2 optional arguments. The packaged stable-to-candidate reproduction exposed the obsolete oracle. Focused regressions, all changed checks, and final managed review pass. Full final-package Crabbox verification remains in progress. Related: openclaw#134490 * test(ui): wait for draft persistence before legacy seeding Observe the committed nonempty draft and its post-send clear before replacing current metadata with the legacy outbox fixture. This prevents navigation from aborting the clear and restoring the old text and Blob. The native IndexedDB latency reproduction fails before the correction and passes after it. Both original legacy table cases and the changed checks pass. * test(ui): wait for menu readiness in continuation proof Use the shared focus-synchronized submenu helper for both desktop openings of Continue in terminal. Keep the real action clicks, exact handoff and clipboard assertions, reconnect retirement, and mobile pointer flow. Both browser cases and the changed-file gate pass with a clean managed review. Co-authored-by: Jason (Json) <[email protected]> --------- Co-authored-by: Jason (Json) <[email protected]>
…35462) * fix(update): preserve configuration and verify upgrade recovery Prefer npm before ClawHub only among declared plugin identities, preserving explicit source/version intent, artifact integrity and capability consent. Keep the exact installed beta cohort and require typed target absence before fallback. Preserve authored environment references through both Doctor writers, resolve snapshot destinations at operation time, and keep migration-only metadata out of redacted snapshots. Avoid loading channel runtimes for unused pairing account facts while retaining captured migration-owner attribution. Record activation safety at package/Git mutation boundaries. Keep installed-CLI recovery, verify runtime/native-service identity, fence Windows autostart, preserve child status, and avoid duplicating consumed notifications or rejecting completed install switches. Surface update-specific disconnect diagnostics without changing explicit-restart guidance in Model Setup. Retain the upgrade-survivor first-hop, approval and installed-version oracles. Repair CI's type-only Doctor cycle and stale source-policy, final-Doctor and Teams whitespace expectations without weakening timeouts, gates or the main-owned Markdown fix. PR: openclaw#134490 * test(msteams): align the corrected main whitespace fixture * perf(ui): remove unreachable update translations Remove superseded version-only verification copy and the unused idle label from the eager catalog. Keep identity-aware verification and all recovery guidance unchanged, align translation fixtures, and restore the existing merged startup budget without increasing its baseline or limits. * fix(update): retain consent failures and isolate validation homes Carry unresolved non-retained plugin capability refusals from missing-install repair through post-core convergence as typed outcomes, preserving the existing update failure and restart boundary. Keep usable retained artifacts and transient fetch failures on their existing notice/warning paths. Give test invocations a native process HOME before config imports and worker creation. Preserve bounded live/profile context, report selection, installed tool caches, and process-group/pipe-owned namespace cleanup or truthful retention. Keep unknown or mixed explicit real-home selections closed. Resolve the repo-owned staging helper from its owning cwd and await complete PID readiness before cancelling native report fixtures. Align the survivor recovery oracle with typed consent errors that intentionally have no Doctor reason. Preserve strict plugin/code/version/core-step checks and historical warning-only reports; successful-update admission still rejects refusals. Keep the local TestHomeMode alias private and satisfy helper lint. PR: openclaw#134490 * fix(plugins): preserve declared catalog identity during upgrade integration Carry the prepared, provenance-validated ClawHub package instead of discarding it into a boolean. Suppress the declared installed counterpart without deriving an npm identity from overlaid display metadata or hiding an npm namesake. Keep lazy prepared catalog facts and first-normalized-record icon behavior. Retain explicit ClawHub-only actions and npm-first dual-source actions, and cover the selected source's pinned inspection metadata with existing tables. The incoming duplicate-row cases fail before the provenance fact is retained. PR: openclaw#134490 * fix(ci): include home isolation in PR anchor closure Register the three runtime dependencies in the canonical extraction and trust inventory. Extracted planners and publishers now load the real home policy, context, and selection modules without stubs or weaker assertions. The existing extracted-anchor regression fails before this change and the full wrapper suite passes afterward. * fix(test): preserve source home when loading profiles Read the explicitly selected profile with a non-login Bash command so system and user login startup cannot replace the source HOME first. Keep positional profile quoting, child-only HOME/USERPROFILE, existing profile opt-in and test/native-home isolation unchanged. The existing six profile-home matrix cases failed on Linux CI run 33536959196, job 99953769387. New exact-head Linux CI remains required; this local repair does not refresh or admit the prior native proof. PR: openclaw#134490 * fix(update): roll back npm candidate after Doctor failure * fix(update): roll back npm candidate after Doctor failure * fix(update): separate package rollback evidence * fix(update): preserve rollback sentinel compatibility * fix(update): keep staged Doctor service-external * test(update): verify exact post-Doctor restoration * test(update): narrow restored version assertion * test(update): cover all rollback residue prefixes * fix(update): preserve package rollback diagnostics --------- Co-authored-by: Peter Steinberger <[email protected]>
… plugin when its plugin entry is enabled (openclaw#136211) * fix(plugins): honor channels.<id>.enabled=false over plugin entry enablement A channel plugin whose channel is switched off in config (`channels.<id>.enabled: false`) kept loading whenever `plugins.entries.<id>.enabled: true` was also present, which is exactly the state `openclaw plugins install @openclaw/<id>` and `openclaw plugins enable` leave behind. Auto-enable, the Gateway startup plan, channel presence policy and the official-external repair targets all already treat that channel flag as an explicit disable; the shared activation decision was the one owner that did not, so every unscoped registry load (CLI plugin registry, agent runtime loads, outbound bootstrap) still imported the plugin. On git-built installs of source-external plugins (discord, slack: `build.bundledDist: false`) that import is what surfaced as startup ERROR lines: the build links `dist/extensions/<id>/node_modules` back to `extensions/<id>/node_modules`, and a moved or pruned checkout leaves that link dangling, so the import fails with `Cannot find module` for a channel the operator had turned off. - Teach the shared activation decision a closed `channel-disabled-in-config` cause and make the channel-config reader tri-state (`resolveChannelConfigEnablement`), so `channels.<id>.enabled: false` wins the same way `enabled: true` already opts a bundled channel in. - When an externally distributed plugin fails to import because a module is missing, name the enablement path in the loader error (`openclaw plugins install <spec>` / `openclaw doctor --fix`) at both loader failure sites so `status`/`doctor` show what to do next. - Align the stale WhatsApp repair-hint test with the npm-first install ordering from openclaw#134490. Regression tests fail on pre-fix code at the activation decision and at the loader (bundled telegram fixture with the channel disabled and the plugin entry enabled). * fix(plugins): report missing dependencies for externally distributed bundled plugins Follow-up to the channel-disable activation fix, addressing review findings. - Plugin status skipped dependency health for every bundled-origin plugin, so a source-external plugin (`build.bundledDist: false`) compiled into `dist/extensions/<id>` without its plugin-local `node_modules` never showed the typed "required dependencies are missing" state in `plugins list`, `status`, or `doctor`; the only signal was the raw import error at load time. Narrow the gate: bundled plugins that are distributed outside the root package now get dependency status like external installs. - The activation metadata hash only fingerprinted channels with `enabled: true`, so adding `enabled: false` produced the same registry cache key as an absent flag and could reuse a registry that had already loaded the plugin. Serialize the boolean tri-state instead. - Guard the missing-module cause walk in `recordPluginError`: a plugin-thrown error may expose a throwing `cause` accessor, and diagnostics inside a catch handler must not rethrow it out of the loader loop. All four regression tests fail on the previous commit. * test(plugins): split dependency-health snapshot cases out of the oversized status suite * fix(plugins): verify the official package before naming its install command The missing-dependency hint resolved the official install command from the plugin id alone, so a foreign `build.bundledDist: false` package reusing an official id (for example a Discord fork registered as `discord`) would be told to install `@openclaw/discord` over itself. Resolve the catalog entry by package name and require canonical-id equality; other externally distributed packages get a generic reinstall/update hint instead. The mismatched-package regression fails on the previous commit. * fix(plugins): resolve channel disables through manifest-owned channel ids Review follow-ups on the channel-disable activation fix: - The activation decision resolved `channels.<id>.enabled` from the plugin id alone, so a plugin whose id differs from its channel key (QQ Bot documents `openclaw-qqbot` owning `channels.qqbot`) never saw the operator's disable. Thread manifest-owned channel ids from both loaders into the shared decision and check them before the built-in catalog mapping. - Runtime status dropped package build metadata, so a generic source-external bundled plugin (`build.bundledDist: false` without an official catalog entry) was treated as an ordinary bundled plugin and its missing dependencies never surfaced in `status`/`doctor`. Carry the installed index's `packageBuild` into the runtime dependency-status decision. - Guard nested error-code reads in the missing-module classifier: a nested error with a throwing `code` getter must not escape the loader's catch. Every regression fails on the previous commit. * fix(plugins): pass manifest channel ids to every activation consumer The channel-disable decision only received manifest-owned channel ids from the two module loaders, so metadata consumers that publish a plugin's declared surfaces (skills, hooks, embedded settings, startup planning, presence policy, index writes, provider inventory, public-surface access) still activated a renamed-channel plugin such as `openclaw-qqbot` after `channels.qqbot.enabled: false`. Pass `channels` from the manifest or installed-index record at every call site that has one; id-only callers keep the built-in catalog mapping. The skills regression (bundled `openclaw-demo` owning `channels.demo`) fails on the previous commit. * fix(plugins): honor channel disables and source-external dependency health in index and managed diagnostics Two remaining consumers of the activation decision and dependency-status gate: - `isInstalledPluginEnabled` evaluated a renamed-channel plugin from its id alone, so contribution and command-default consumers still saw `openclaw-qqbot` as enabled after `channels.qqbot.enabled: false`. Pass the index record's channel ids. - Gateway `plugins.list` diagnostics excluded every bundled-origin plugin from dependency health, so an enabled `build.bundledDist: false` plugin with missing required dependencies was listed without its error. Use the shared `tracksPluginDependencyStatus` gate there too. Both regressions fail on the previous commit.
…7578) Use the existing exact-pin diagnostic for unchanged official bulk updates and dry runs. Preserve the recorded selector until the operator explicitly changes it, including ambiguous pins created by older official syncs. Remove no-op record-spec transformations from the canonical update owner. Regression: four official cases fail before the repair while four third-party controls pass. All 272 owner/sibling tests, full build, changed gate and independent review pass. A fresh Linux baseline/candidate CLI proof preserves both pins, reports the official newer release only after the fix, and executes the printed selector-change command without changing the other plugin. Production LOC: +15/-37 (net -22). Tests: +71/-35. Docs: +3/-1. Related: #105374 Original automatic-pin producer already repaired by #134490.
…nclaw#137578) Use the existing exact-pin diagnostic for unchanged official bulk updates and dry runs. Preserve the recorded selector until the operator explicitly changes it, including ambiguous pins created by older official syncs. Remove no-op record-spec transformations from the canonical update owner. Regression: four official cases fail before the repair while four third-party controls pass. All 272 owner/sibling tests, full build, changed gate and independent review pass. A fresh Linux baseline/candidate CLI proof preserves both pins, reports the official newer release only after the fix, and executes the printed selector-change command without changing the other plugin. Production LOC: +15/-37 (net -22). Tests: +71/-35. Docs: +3/-1. Related: openclaw#105374 Original automatic-pin producer already repaired by openclaw#134490.
Failed-update triage now captures the operator's environment before managed candidate admission, so a coding agent installed only on the operator's PATH is still offered when the Gateway service's PATH differs. Restores the operator-environment contract from #134490 and keeps the launch confirmation from #143139. Proof: shipped CLI on isolated Linux (Crabbox) with a running systemd Gateway: accept launches the operator-only agent, decline starts nothing, base 18bee8e reports no agent found; published 2026.11.1 upgrades to the fix with settings intact. Co-authored-by: TorstenW <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: steipete <[email protected]>
…aw#194058) Failed-update triage now captures the operator's environment before managed candidate admission, so a coding agent installed only on the operator's PATH is still offered when the Gateway service's PATH differs. Restores the operator-environment contract from openclaw#134490 and keeps the launch confirmation from openclaw#143139. Proof: shipped CLI on isolated Linux (Crabbox) with a running systemd Gateway: accept launches the operator-only agent, decline starts nothing, base ba59f83 reports no agent found; published 2026.11.1 upgrades to the fix with settings intact. Co-authored-by: TorstenW <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: steipete <[email protected]>
…aw#194058) Failed-update triage now captures the operator's environment before managed candidate admission, so a coding agent installed only on the operator's PATH is still offered when the Gateway service's PATH differs. Restores the operator-environment contract from openclaw#134490 and keeps the launch confirmation from openclaw#143139. Proof: shipped CLI on isolated Linux (Crabbox) with a running systemd Gateway: accept launches the operator-only agent, decline starts nothing, base 18bee8e reports no agent found; published 2026.11.1 upgrades to the fix with settings intact. Co-authored-by: TorstenW <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: steipete <[email protected]> (cherry picked from commit 7c702c3) Release adaptation: Capture invoking operator env before candidate admission, forward to interactive triage only; preserve latest target selectors, confirmation and lease cleanup ordering. Exact three authorized production paths plus real lifecycle regression. Follow-up dispositions: ad4863d fix: preserve the running installation when an agent updates its Gateway (openclaw#201570); dc73ec0 fix: let updates finish when another tool briefly reads OpenClaw's databases (openclaw#202541); d07b530 fix: clarify PostgreSQL schema upgrades for Git installs (openclaw#202098); e60ea9f test(update): add a Git release upgrade-survivor scenario (openclaw#201956); 2ef6f7b fix(update): build and serve Git releases outside node_modules (openclaw#201917); dbc1aa0 fix: keep the openclaw command and Gateway working after updating a pnpm install (openclaw#201735); f5e7641 fix: Git checkout updates across a schema change no longer end as post-update-failed after the new release starts (openclaw#201600); 2183caf fix: Git checkout updates no longer fail before the new release starts on a schema change or a busy database (openclaw#201463); 47e8649 fix: explain why Doctor cannot restore a scheduled job’s account (openclaw#201550); 8f2cfd4 fix: remove updater-only restrictions from agent maintenance guidance; cb5cfb2 fix: keep a doubtful killed-update recovery on the repair path (openclaw#201361); 24cb734 fix: keep carried-over scheduled jobs running after updates (openclaw#200653); d1276e1 feat(doctor): check OpenClaw ID member roles and honor an optional roles default (openclaw#197785); 0a39956 fix: finish updates when another tool reads OpenClaw's databases during the update (openclaw#201330); ea1c9d5 fix(update): settle remounted package publications before admission (openclaw#201336); 66b5212 fix(update): isolate malformed retained-install markers (openclaw#201199); 7e79c83 fix: let the next update finish a killed source checkout update (openclaw#201009); d905d8a fix: let the next update finish a killed update after the machine restarted (openclaw#200994); fdf0c95 fix: let the next update finish a killed update that had already installed the new version (openclaw#200866); 0c19bcd chore(release): close out 2026.11.5 on main (openclaw#200577); a1940e0 fix(matrix): keep explicit recovery available during deferred migration (openclaw#200805); 18b4776 improve: explain package baseline drift during updates (openclaw#200802); 1ad4cad fix(doctor): reclaim macOS updater runtimes blocked by non-updater processes (openclaw#200732); 427c857 fix: keep one missing archived transcript from blocking every update (openclaw#200733); 802e3f7 fix(update): keep valid cold archives from blocking updates (openclaw#200659); 23fca1a fix: let the next update continue after a killed update when nothing is left to repair (openclaw#200680); 3afe212 fix: let Doctor publish unchanged plugin migrations in any order (openclaw#200658); f65e4db fix(doctor): reclaim runtimes blocked by unrelated Linux processes (openclaw#200657); dab086c fix(update): let candidate Doctor read plugin dependencies from the staged package (openclaw#200595); 3447bee fix(update): keep updates going when the predecessor writes during its stop (openclaw#200569); 0ce9c77 fix: let the next update settle a package publication that a killed update left behind (openclaw#200550); ae31ea3 fix(update): repair handoffs in the journal-pinned lease store (openclaw#200532); 74020ea fix: continue updates when initial SQLite capture is stale (openclaw#200328); 6747b1e feat(update): run Git checkout installs from releases behind the release link (openclaw#199706); e3f8a67 fix(state): keep completed retained agent stores out of startup upgrade (openclaw#200284); 3c512c5 fix(gateway): move managed update lease operations off the main thread (openclaw#200169); ea69fcb chore(release): close out 2026.11.4 on main (openclaw#199956); 618bf31 fix(state): bound startup upgrade copies and pruning to owned state (openclaw#199929); e4a3093 perf(update): replace the candidate canary with a runtime contract check (openclaw#198268); 5dbf569 fix(update): plugin failures never fail an update or Gateway health; 764761e fix(update): refuse missing host prerequisites in one line and record a cause per attempt; 4c4fef4 fix(ui): update dialog claims installation before progress is confirmed (openclaw#199254); 136e1f6 fix(update): retrying an update from a dev checkout is refused after a killed update (openclaw#198673); 3bd03da fix(update): avoid duplicate database copies while the Gateway is stopped (openclaw#198148); 68a839b fix: isolate held agent databases until explicit restoration (openclaw#198180); e333f7e chore(ci): drop retired test-lines allocation records (3/3) (openclaw#197657); fd6fa47 fix: converge Gateway updates with environment-only service overrides (openclaw#196371); 7cf5e75 fix: clarify split-install updates and blocked Doctor repairs (openclaw#196342); 6ff8c86 fix(update): retain lazy sqlite catalog generation (openclaw#197095); 930e1f7 fix: keep stable updates and recovery free of premature migrations (openclaw#196474); a15f737 fix: preserve external plugin data during update rehearsal (openclaw#196301); 92798ae fix: updates survive interrupted heartbeat runs (openclaw#195656); c1e55e2 fix(update): restore LaunchAgent registration after repair contention (openclaw#195406); 715c610 fix(doctor): repair retained ISO session end timestamps (openclaw#194685); 689cfc8 fix(update): reclaim dead closing triage repair leases (openclaw#194503); 86bc89e fix(doctor): keep standing Codex parameter advice out of retirement blockers (openclaw#193650); 691bc8d fix(backup): read the backup engine without copying the live database (openclaw#194234); 000542f fix(backup): backups and updates fail on slow storage when a header probe batch misses its deadline (openclaw#194239); 31a65d5 fix(update): skip --no-lazy-fetch on Git versions without it (openclaw#194198); e45e99d fix(update): preserve dev update sources in tag-only Git clones (openclaw#193109) Validation: Baseline2 intended operator-agent failures/32 controls passed; candidate34/34passed (194058-green.log). Accept launches synthetic operator-only CLI with expected env, decline starts nothing. Isolated updater flow, not live systemd/upgrade qualification. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 6689fd575ada8fe40a9593784deac18ec73041cd) (cherry picked from commit 92e7a9fa223b0dc35801f25f70be90b472d9a6b7)





What Problem This Solves
An upgrade can replace core files before Doctor, plugin repair or Gateway recovery fails. Operators need their authored configuration intact and a repair path that still works when the updated installation is unhealthy.
Failed interactive updates now finish service recovery and cleanup, enter
openclaw triage, and immediately open the first launchable installed Claude, Codex, OpenCode or Pi on the affected host. The agent receives the failure and installation context.--agentselects one explicitly; the update retains its original nonzero outcome after the repair session.Why This Change Was Made
The prepared handoff captures the operator environment and working directory before package replacement, uses current owned installation selectors after cleanup, and can use an in-memory prompt if writing diagnostics fails. Native activation remains owned by the current update result and service lifecycle; diagnostic exports and notifications do not authorize a restart.
Doctor preserves authored references when migrating configuration. Public snapshots omit private pre-migration input, and Doctor child processes receive the selected repair policy instead of accidentally inheriting a parent value. Plugin callers share declared source/cohort selection and retain typed consent failures until that specific plugin is repaired.
User Impact
Interactive repair uses the installed agent's normal permissions and authentication. JSON,
--yes, background and non-interactive updates collect diagnostics without opening an interactive fixer. No new persistent configuration option or database schema is introduced.The Control UI distinguishes a disconnect from a confirmed restart and directs operators to
openclaw triageon the Gateway host before retrying an update.Evidence
Candidate:
fb035e5eab6d5573a29a6f54467d34aa4836ecbaagainst main0730b41693592e7dbce141d0dc8dda6ad33eddb3.2026.8.1from the final commit; 59,563,917 bytes, SHA-256855cfd56d0fd1751aac2868751057f45e939bb4e6d731acc2e3efc09a816665b. Package verification passed with source unchanged.Real running Control UI in isolated Chromium; mocked Gateway WebSocket and synthetic updater outcomes. Before images show the original PR, not current main. Refreshed static dialog copy/layout matches these after images; animation/background pixels can vary.
Movement-adjusted net LOC: production +715, tests +4,320, test support +1,953, docs +198, authored metadata +3, generated baseline 0. The test/support split discounts 83 exact baseline fixture lines moved into shared support; their combined net is +6,273. The 327-line handoff-support move and nine relocated Windows cases add no new coverage in the final cleanup.
Production growth supplies immediate installed-agent repair and puts failure, config, consent and native-identity handling at existing owners; shared plugin source selection removes duplicate policy. No incoming-main or discarded branch-only code is counted as this feature's growth.
Whole-roster include migrations and native macOS/Windows behavior require their own evidence; the identity-include and local/shim fixtures do not establish them. A separate upstream follow-up remains for Matrix artifact bootstrap masking its download error.
Related: #127363, #127364. Original PR author: @steipete.