openclaw/docs/cli/doctor
Peter Steinberger e304e4ffc6
fix(doctor): share plugin registries across agents in the tool-schema check (#162394)
doctor --fix heap-OOMed on a 739-agent state: the runtime tool-schema check resolved a model per agent workspace, and every plugin-load cache context cloned the full runtime config and retained a registry per workspace (516 MB of config clones at 2.4 GB heap). The loader now defers config capture until a cache miss and shares prepared provider registrations within a captured config generation for agents with matching configuration and plugin sources; a reentrant load during capture joins the in-flight load instead of registering twice. 300 synthetic agents: config clones 1,802 -> 3, registries 300 -> 1, peak RSS 1.25 GB -> 0.88 GB.

Closes #161869
2026-09-30 23:26:15 -07:00
..
checks.md fix(doctor): share plugin registries across agents in the tool-schema check (#162394) 2026-09-30 23:26:15 -07:00
health-contract.md
lint.md
recovery.md
running.md
sqlite-maintenance.md
state-migrations.md