Repository navigation
fix(models): keep large fleets responsive during model preparation - #150223
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 16, 2026, 11:15 PM ET / September 17, 2026, 03:15 UTC (Revision 13). ClawSweeper reviewWhat this changesShares immutable configuration facts and yields between model-preparation stages so large agent fleets leave more time for Gateway requests. Merge readiness⛔ Blocked before merge - 2 items remain This remains a useful, distinct repair that current main does not implement. No blocking patch defect was identified; the PR now explicitly accepts the compatibility tradeoff requested by the previous review. Priority: P1 Review scores
Verification
How this fits togetherModel preparation combines configuration, plugin metadata, and each agent’s credentials into model catalogs used by Gateway requests. Repeated fleet-wide work in this process can prevent the Gateway from answering health and status requests. flowchart TD
A[Fleet configuration] --> B[Immutable configuration capture]
C[Plugin metadata and agent credentials] --> D[Model preparation]
B --> D
D --> E[Yield and check current generation]
E --> F[Publish agent model catalogs]
E --> G[Service Gateway requests]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +324, Tests +1319, Docs +2, Other +2. Total +1647 across 51 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain shared immutable preparation with the recorded plugin-contract acceptance, while keeping broader startup and post-ready recovery with their existing owners. Do we have a high-confidence way to reproduce the issue? Yes: current-main preparation loops and the documented 200-agent Gateway comparison establish a concrete starvation path; this read-only review did not execute it. Is this the best way to solve the issue? Yes, within the accepted scope: sharing captured facts and yielding in the existing preparation owner addresses the measured repeated work while preserving generation and agent boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c939e56c3a75. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (12 earlier review cycles; latest 8 shown)
|
) * fix(status): make online JSON status responsive on large fleets Use the narrow Gateway connection reader and consume the Gateway's status projection before local fleet discovery. Preserve read scope, expose prepared roster/configuration facts additively, and identify local inspections that were not collected. Keep the existing offline diagnostics path. Related: #149538 Gateway-side sibling: #150223 * test(gateway): align status scope expectations with projection default
9a4f5e1 to
e4035d9
Compare
1fdce1a to
236f82c
Compare
236f82c to
241983f
Compare
|
Merged via squash.
|
…claw#150269) * fix(status): make online JSON status responsive on large fleets Use the narrow Gateway connection reader and consume the Gateway's status projection before local fleet discovery. Preserve read scope, expose prepared roster/configuration facts additively, and identify local inspections that were not collected. Keep the existing offline diagnostics path. Related: openclaw#149538 Gateway-side sibling: openclaw#150223 * test(gateway): align status scope expectations with projection default
…penclaw#150223) Large fleets repeatedly serialized configuration and rebuilt discovery facts during model preparation, starving Gateway health and status requests. Publish batched discovery as shared immutable facts, reuse config and catalog fingerprints, and yield at guarded lifecycle boundaries while preserving agent-specific credentials, cancellation, and serialized publication. Keep captured observation config distinct from public config stamps so native catalog selection survives stamp advancement. Preserve invalid-config reset and diagnostic behavior by keeping invalid values out of object-keyed hashing, and include the new shared modules in the native wrapper inventory. Related: openclaw#149538, openclaw#148529. Thanks to @609NFT for the 632-agent reports, profiles, and startup breakdowns that identified this bottleneck. Scoped performance measurements, regression proof, and remaining upgrade and fleet-recovery limits are recorded in openclaw#150223.
Related: #149538, #148529
Thanks to @609NFT for the 632-agent reports and detailed profiles in #149538 and #148529.
What Problem This Solves
Large fleets keep the Gateway's main thread inside
buildSnapshotBatchon the microtask queue during model preparation and post-ready rebuilds, delaying health and status requests. The lead's separate 632-agent × 54-model reproduction recorded a 730-second gap around bind/model preparation, a 23.4-second post-ready gap, and 22 timed-out health probes out of 300 after readiness. This PR isolates and measures the batch owner with a 200-agent reproduction.Why This Change Was Made
The reported profiles put 71–96% under
buildSnapshotBatch: repeated activation/config serialization and fleet roster walks, followed by 49.5 seconds in recursive plugin argument restoration. Already-resolved promises kept that work on the microtask queue.Preparation now captures one immutable runtime/authored config pair per fleet generation and carries its provenance forward. Activation fingerprints, roster indexes, and argument-graph analysis reuse those prepared facts. Unchanged plugin selections preserve capture identity. Nine real event-loop yields separate bounded workspace/agent/source/registry/snapshot work, with current-owner checks after yielding and auth replay tied to the credential-capture boundary.
Valid config hashing retains the lazy memo keyed by the actual deeply frozen object. Invalid diagnostic snapshots short-circuit in the reset/bootstrap comparison and
config.getbefore hashing; reset still compares selected target, existence, validity, and raw revision. Valid fresh-install defaults retain their resolved revision even when the physical config file is absent. Capture records carry source/origin provenance, without eager fingerprints.Catalog finalization now prepares the shared
{agents, plugins}fingerprint in the existing build-local config map. Per-agent native source fingerprints combine it with that agent's selections and configured refs. Worker-generation code separately memoizes runtime/source config digests by immutable object identity, using its existing SHA-256/stable-stringify encoding; mutable worker reconstructions rehash. That separate encoding preserves distinctions such as undefined versus null. Full worker payloads, credential data, serialized SecretRef provenance, and generation checks remain intact.Merged #149314 is already in the benchmark baseline. It covers immutable metadata-inventory fingerprint caching and other startup work; it does not change activation result/config hashing or plugin argument restoration. This PR complements PR A #149600 (cron skill-review reconciliation), PR B #149716 (chat metadata), and PR C #150004 (eager Codex catalog-home roster construction). PR C merged after the measured baseline; these measured revisions do not include it.
User Impact
The pre-rebase 200-agent measurement restored model preparation near the prior fast candidate: 22.499 s finally, versus 23.331 s in V2, 46.531 s in the record-based sample, and 68.872 s before this PR. The Gateway answers health during preparation (8/23 within the phase), with phase RSS reduced to 943.9 MiB. The final 11.950-second blocked overlap and phase-health result remain worse than the best V2 sample; this PR does not claim all startup stalls are resolved.
Explicit dev reset recovers invalid config without a WeakMap exception. No new operator setting, CLI option, dependency, schema migration, or action is required. Normal update/recovery ownership is preserved; no published-driver × candidate upgrade result is claimed.
The 30-second full
openclaw status --jsongate is NOT fully met: 1/3 final attempts succeeded. The separate online CLI status follow-up landed in #150269; these historical measurements do not include that change. Direct Gateway status succeeds independently; it is not a substitute for full CLI completion.Evidence
Attribution of the slower sample
The 46.531-second clean sample on
01d7c3did not reproduce during attribution: the same production code measured 21.621 seconds, while prior production measured 18.548 seconds. Counts rule out the proposed 200-capture amplification in this fixture. Both versions create one runtime/source pair during model preparation and reuse it 400 times. The record-based change adds one authored-source hash, about 5 ms, rather than 200 hashes of separate captures. The 1,600 computations on 801 other config/environment inputs are unchanged across the counter runs; the shared runtime capture itself is hashed once in every variant. The historical wall-time difference remains unattributed; single runs do not control host activity, filesystem caches, or unrelated background work.Whole-boot counts through the same model-complete checkpoint were 2,230 calls / 1,631 computations for prior production, and 2,235 / 1,635 for record-based production. Both had three captures overall, three original objects, and two authored-source objects. Final whole-checkpoint public hashing is 2,230 calls / 1,631 computations (293.391 ms), with the same three capture creates and 400 reuses. Worker-config hashing makes 400 calls over two immutable objects: two computations and 398 hits. The final instrumented model phase is 14.156 seconds; its batch takes 7.933 seconds, followed by a 6.088-second synchronous committed-catalog refresh tail. That remaining scheduling work is a follow-up at
refreshCommittedProviderCatalogsinsrc/agents/prepared-model-runtime.refresh-scope.ts; the full-roster hashing identified in catalog finalization is fixed here.The prior production tree was materialized as a four-file overlay in the assigned worktree and verified byte-for-byte against
4687f3106744463b51f5072f8493b1dd5fdc09ad; the Git branch/HEAD was not switched. Both initial counter windows end at model-runtime completion, before readiness. One failed probe attempt and an early-bootstrap probe-preflight overlap were retained as tooling limitations, not product failures. Counters record numeric object identities and timing only; final performance claims below use a separate uninstrumented run.Uninstrumented 200-agent comparison
The fixture uses 200 distinct workspaces/agent databases, 54 model refs each (10,800 total), 53 inline models and one unresolved ref, the same 12 bundled plugins, and no model turns or channel traffic. Each run uses Node 26.8.2, the same source-performance profile, isolated HOME/state, a free loopback port, an independent 10 ms timer, one health probe per second with a 5-second deadline, and three full CLI status probes with 30-second deadlines. Diagnostic-tail work is excluded from the primary post-ready window. A full gap crossing a phase boundary is reported separately from its overlap inside the phase.
The clean run had no fingerprint preload (
measurement.instrumentationis null). The fixture manifest is identical across runs, while absolute paths differ because each run uses fresh isolated state. The final 13.843-second full gap crosses post-bind plugin loading; maximum overlap inside the phase is 11.950 seconds. A 30.286-second pre-ready gap and 6.936-second post-ready gap remain. Post-ready health completed 98/101 requests within its 100.683-second window. Final phase health and blocked overlap are not back to V2's 14/24 and 8.704 seconds. These are individual synthetic runs with host load and filesystem caches uncontrolled.Full CLI outcomes were timeout at 30.015 s, valid JSON/exit zero at 27.112 s, and timeout at 30.017 s. A separate diagnostic attempt spent 19.938 s in
status.config, including 200 metadata scans totaling 18.620 s and 200 freezes totaling 0.627 s;status.local-agentsandstatus.agent-admissionremained pending at its 30.020-second deadline. Those scan timings are nested inside config time. Separately, direct Gateway status returned independently parsed valid JSON in 2.099 s, with a 367 ms handler.The follow-up entry point is
src/commands/status.scan-overview.ts:168; its full metadata reader reaches the per-workspace loop insrc/config/io.plugin-metadata.ts:218, followed by local admission insrc/commands/status.agent-local.ts:42. Online status should consume the authorized Gateway's prepared status projection—admission state, session counts, heartbeat/tasks, and runtime vitals—while preserving explicit offline/local diagnostics and response scopes. This PR does not change that CLI path.All owned Gateways and diagnostic processes exited, with the isolated ports verified closed. Final local evidence is retained under
.local/fleet-serve/l470-after-200-final9a4/; the separate counter report is under.local/fleet-serve/l470-fingerprint-final9a4-200/. No remote-catalog timeout occurred in the final clean run; the synthetic missing-System-Agent memory warning remained.Rebase onto current main
The latest rebase moves this series onto
90b421ae252ceaea5bf5a9f106eab51bf384431b, which includes the Control UI budget and worktree-fixture fixes from #150491 and the wrapper-inventory fix from #150453. All ten commits are patch-identical ingit range-diff, including the inventory additions; there were no conflicts, andgit diff --checkpassed. The following paragraph records the earlier mechanical rebase.Rebased the published series from
1fdce1a4aa636b400179a0e43933d7fe52d45dddonto mainc32a31812663e577467453df24844aa82fb36d27. The only conflict wasscripts/pr-lib/wrapper-components.txt: all 1,122 main entries were retained and the same two PR modules were inserted in sorted order, producing 1,124 unique entries with no deletions.The resolution is mechanical. The first nine commits are patch-identical in
git range-diff; the default matcher shows the tenth inventory commit as removed/re-added because its two additions now sit within main's expanded inventory. Its added paths are byte-identical to the original patch. Independent comparison also confirms unchanged added/deleted line bytes across all 51 PR files. No production hunk, fixture behavior, or main-side landing was dropped or altered by conflict resolution. Per the lead's explicit mechanical-rebase rule, no fresh autoreview was run.All 28 requested focused files were exercised. 382 runtime/Gateway tests have passing results, covering catalog selection, all 20 chat-metadata lifecycle cases, invalid-config recovery, config/activation/argument sharing, lifecycle transitions, and worker metadata/credential reconstruction. The initial direct catalog-integration run hit its unchanged 120-second case timeout; that result is retained. A separate run through the retained CI-native group passed and exited normally in 103.959 seconds, with no watchdog or retry; no assertion or timeout was changed.
The two tooling suites reported 133 passed, 24 failed, 2 skipped. Fresh-main and provisioning failures include the known main-side omission of
src/plugins/discovery-availability.js, plus observed fixture command timing/termination failures (a 30-second case timeout, GitspawnSync ETIMEDOUT, and two null process-status results). The known inventory owner remains with its separate lane; these results are not presented as green tooling proof.Full
node scripts/check-changed.mjspassed, including core/test typechecks, core/script lint, zero dead exports, and zero runtime import cycles. No extension-lint host substitute was needed. The resolution changes 0 production lines and 0 test lines relative to the previously reviewed patch; it only relocates the same two tooling inventory additions within main's list.The new source base uses its frozen lockfile. The focused runner rebuilt runtime artifacts for the rebased head; no separate full build or 200-agent benchmark is claimed for this mechanical resolution. Prior benchmark tables remain historical evidence on their recorded revisions.
Wrapper inventory correction
The inventory follow-up
1fdce1a4aa636b400179a0e43933d7fe52d45dddwas published first under the lead ruling. It then conflicted with newer main and could not receive a pull-request CI run; the author-owned rebase described above resolves that conflict.The canonical source inventory in
scripts/pr-lib/wrapper-components.txtomitted two modules introduced by this PR. Main's newer provisioning wrapper reachessrc/config/runtime-snapshot.tsandsrc/config/runtime-source-projection.ts; their runtime imports requiresrc/shared/immutable-data.tsandsrc/config/runtime-config-capture-state.ts. Fresh materialized wrapper trees therefore failed withERR_MODULE_NOT_FOUNDbefore the fresh-main/provisioning assertions. Both files are now included in the existing inventory. Tooling +2/−0; production 0; tests 0.src/agents/prepared-model-runtime.oauth-providers.tsis intentionally excluded: its sole runtime importer issrc/agents/prepared-model-runtime.facts.ts, outside the wrapper's materialized import closure. The comparator's AuthStorage import is type-only. The two added inventory files introduce no further runtime module dependencies beyond Node built-ins.Scoped
node scripts/check-changed.mjs -- scripts/pr-lib/wrapper-components.txtpassed, including the tooling guards and script lint. Local Codex P1 review is scoped-clean. The operation-lock suite reported 139 passed, 1 failed, 1 skipped in 219.09 seconds. The lead accepted this proof for the inventory-only correction and classified the remaining failure as an observed host-load timeout on the shared worker host:scripts/pr per-PR operation lock > finishes native cleanup with linked wrapper (merge-run, failure=none).spawnSynclimit is 15,000 ms.expect(result.error, output).toBeUndefined()attest/scripts/pr-operation-lock.test.ts:1966.Error { code: "ETIMEDOUT", syscall: "spawnSync .../.worktrees/pr-42/scripts/pr" }, after the fixture printed its syntheticMERGEDreceipt.No timeout or assertion was changed.
test/scripts/pr-worktree-provision.test.tsis absent from this branch's base and was not run locally. It exists on newer main and runs in CI with that main-side wrapper; the lander will rebase once main is green, including the separate siblingdiscovery-availability.tsinventory correction. This follow-up does not rebase or change that sibling owner.Chat metadata lifecycle fixture correction
checks-node-compact-small-19onb16332e9111244d9782bfce2e60b906230f2bb97failed seven cases inserver-chat-metadata-lifecycle.integration.test.ts. The three-argument response contract was intact:models.liststill calledrespond(true, result, undefined), and the third argument is the optional RPC error. The mismatch was the second argument'savailable: falseafter the fixture marked native discovery ready.The seven-case synthetic readiness callback required exact identity with the authored
nativeConfig. This PR intentionally separates the public config stamp from the captured native observation config; the previous real Gateway catalog regression established that selection must use the discovery capture. The fixture now consumes the published owner's recordedobservationConfigand retains its strict identity guard, structural config assertion, and every response, metadata, pin-authority, generation, stamp, registry, disposal, revision, and discovery-count assertion. A local owner reader consolidates three repeated lookups and shrinks the over-cap test file by seven lines. Production is unchanged; restoring the authored identity in production would reintroduce the independently proven native selection defect.b16332e9111244d9782bfce2e60b906230f2bb97387f69830a81968ed2d4ef830d67456167bc7f43Both revisions used the same assigned worktree, Node 24.21.0, two workers, and unchanged test/dependency manifests. All seven original failures were payload-availability mismatches at the same registered-handler assertion. No sleeps, retries, changed deadlines, weakened expectations, or new production seams were added. The fixture-only local P1 review is scoped-clean, and the lead accepted publication of this correction before further hang attribution. The grouped native catalog integration subsequently hit its 120-second test timeout; an explicit-project probe then hit the 120-second local no-output watchdog without a result. These failures remain recorded. The remaining focused projects, changed-file gate, and fresh committed branch review have not been completed for this correction; the CI-group attribution is recorded below. No broader validation success is claimed.
No production boundary, capture, hash, or sharing logic changed. The successful full build from the preceding correction (8m 0.6s) remains applicable; neither it nor the historical 200-agent benchmark was repeated for this test-only change.
Native catalog hang attribution after publishing the fixture correction
The retained CI job runs
agentic-gateway-methods-hosted-1withgateway-methodsandgateway-methods-isolatedconfigs and exactly one included file:test/plugins/codex-model-catalog.gateway.test.ts. The reproduction usednode --import tsx scripts/ci-run-node-test-shard.mtswith that extracted group, two workers, the CI 300-second no-output watchdog and retry setting, and the unchanged 120-second test timeout. The isolated companion config has no matching test; it exits normally as in CI.445216f33ea26f87a72446e2eb47dd01d60e607379121743a16969fd86dfd88fcd5422dacea88ac3All six invocations exited normally after the passing case. Whole-command times were 325.320/95.280/133.261 seconds on the branch and 243.804/40.094/46.671 seconds on main; first invocations include runtime rebuilds. Both used local Node 24.21.0 and task-owned caches without CI's restored cache seed; each revision used its own frozen lockfile. Main's newer fs-safe dependency and peer-lock entries are a comparison difference. This is a scoped reproduction, not a fleet performance comparison or a rerun of unrelated groups packed into that CI job.
The hang did not reproduce in this CI group, so no pending owner is attributed and the head-only condition for scratch instrumentation was not met. The earlier local grouped run timed out during its only case; it did not print a passing case followed by a teardown stall. Its cause remains unproven. Read-only comparison with #150354 confirms overlapping catalog-worker, publication-join and pool-close owners, but that is not evidence that one caused these timeouts. No shared-owner production fix was made, and the unused scratch diagnostic template was not committed.
The assigned branch and its locked dependencies were restored after the comparison. CI 35167882651 is attached to the published fixture-correction head. The earlier incomplete broader validation is not recast as a full-suite pass.
Rebased catalog-selection correction
The unchanged registered Gateway test in
test/plugins/codex-model-catalog.gateway.test.tsexposed a publication defect after the rebase: native discovery recorded account/model readiness against the captured config, butcreatePreparedModelRuntimeSnapshotpublished the original config stamp asobservationConfig. The native harness correctly requires the exact discovery config and plugin-config identity, so selection returned unavailable despite successful discovery. The owner now publishesagentFacts.input.configfor observations while retainingpublishedConfigfor the public config stamp. No discovery retry, broader cache key, or auth/home-scope relaxation was added.e4035d9401faa02542d426fcff7d0fb3d49d3f22f542d35411621a9f2b17fa0186cb14880b83c976Both comparisons ran in the assigned worktree with Node 24.21.0, the
gateway-methodsproject, two workers, and identical test/manifest/lock/project configuration. Every branch failure was the original line-191 availability assertion. One additional main invocation produced no test result: the existing 120-second no-output watchdog terminated it after worker preparation took 79 seconds. Its exit-143 log is retained separately; the watchdog and assertions were unchanged. CI uses Linux Node 24.19.0, so local comparison does not replace CI.The new colocated regression awaits completed catalog loading and then evaluates the recorded readiness facts without polling. It failed pre-fix with
availability: falseinstead oftrue, and passes after the owner repair. It also verifies the public stamp, model-neutral stamp advancement, cloned-config and agent-directory isolation, and revocation. 361 focused tests across 24 files pass, including previous lifecycle, invalid-config recovery, worker reconstruction, and chat-metadata regressions. The original Gateway integration passes through its later refresh/account-change/revocation assertions.node scripts/check-changed.mjspassed completely, with core/test typechecks, lint, zero dead exports and zero runtime import cycles; no extension-lint host substitute was needed. Fullpnpm buildpassed in 8m 0.6s. Fresh Codex autoreview--mode branch --base origin/main --max-priority P1is scoped-clean onb16332e9111244d9782bfce2e60b906230f2bb97.This correction changes no capture shape, hashing, sharing key, or scheduling logic. The 200-agent table above is retained evidence from pre-rebase
9a4f5e11cf50a74cca1dcfe6bd9da52295385b4b; it was not remeasured on this rebased correction. It is not a new performance or CLI-responsiveness claim.Earlier regression and validation (before rebase)
The retained pre-fix invalid-reset result is:
Restoring the prior memo before applying diagnostic guards reproduces four failures: the original CLI case plus absent/null/string source cases. Raw-content and file-target drift refusals pass. After the owner fix, all six cases pass 10/10 each (60/60). Additional config-response coverage verifies invalid diagnostics avoid hashing and valid fresh-install defaults retain applied revision equality.
Boundary negatives also reproduce 201 full-config hashes instead of one for an uncaptured immutable config, 400 roster projections instead of two, 9→17 whole-roster digests as the fixture grows from 8→16 agents, and 33 worker config digests instead of one. The corrected code passes those bounds, keeps roster/plugin mutation and per-agent selection/ref invalidation, and preserves independently reconstructed worker fingerprints, including undefined/null and authored SecretRef distinctions. Catalog mutation tests request real catalog refresh before reading completed-discovery facts.
360 focused tests across 24 files pass, including the prior lifecycle and chat-metadata CI regressions. The three catalog-sharing cases passed again after an import-only cleanup.
node scripts/check-changed.mjspassed completely, including typechecks, lint, dead exports, and zero runtime import cycles; no extension-lint host substitute was needed.pnpm buildpassed (10m 15.8s), the matchingsourcePerformancebuild passed (57.4s), and fresh Codex autoreview--mode branch --base origin/main --max-priority P1is scoped-clean on the committed head.Hash entry-point audit
pre-bootstrap.tscomparisongateway/config-get-response.tsModelAuthAvailabilityRefobjects via the existing cast, and explicitly constructed provider wrappers.Production/test LOC and ownership justification
Whole PR: production +458/−134 (net +324); tooling +2/−0; tests +1,489/−170; docs +3/−1. This chat-metadata fixture correction against
b16332e: production +0/−0; tests +12/−19. The catalog-selection correction againste4035d9: production +1/−1; tests +95/−0. The earlier sharing correction against01d7c3was production +78/−49; tests +266/−6. Counts include imports, comments, moves, and formatting.The scheduling code remains nine
await nextTurn()sites plus two timer imports, with 19 added guard/plumbing lines for current-build checks. Other growth carries shared facts and lifecycle provenance; it does not add schedulers, persistent stores, or configuration.Earlier exact-head CI corrections retained in this PR
The original clone failure came from read-counting Proxy fixtures placed inside published config; the fixture now publishes plain data and observes a separate overlay, preserving the same read bounds. The lifecycle corrections replaced microtask/timer ordering assumptions and config-reference mock predicates with actual source-start, preparation, supersession and publication boundaries. Their production tree remained unchanged. Those cases are included in the focused validation above; no sleeps, retries, weakened expectations, or baseline increases were added.
Original accepted before/final table (historical v2 evidence)
The final column here describes
e927ea9b01651b1ce19cfe67c70f60c29d31e526, not the current head. The current comparison above supersedes it.Current head:
241983f40eec14e037f37b4065595f4f54eb4198. Release-note context is kept in this PR; the changelog remains release-owned.ClawSweeper review disposition
Landing disposition: accept the documented read-only
api.configregistration snapshot contract for this scoped repair, with installed-plugin mutation compatibility explicitly unverified. Plugins that write into registration configuration or its descendants may throw or have writes ignored. That compatibility tradeoff is accepted for the shared immutable preparation design; it is not evidence that installed-plugin upgrades are compatible.The published-driver × candidate upgrade rank-up request is skipped for this scoped model-preparation repair. Retained installed-plugin mutation compatibility remains unverified; no upgrade-acceptance result or complete 632-agent fleet recovery is claimed. The historical performance measurements and their remaining stalls are retained above.
The wrapper-inventory conflict identified in the review was resolved mechanically as documented above: main's entries were preserved, and the same two PR modules were inserted in sorted order. Native landing remains gated on green CI for the head being merged.