From a3c164d63f57904a5e6334ba4677ac6dd9f7a34d Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Sun, 15 Nov 2026 17:18:54 -0600 Subject: [PATCH] =?UTF-8?q?fix(openclaw):=20drop=20copilot=20from=20runtim?= =?UTF-8?q?ePlugins=20=E2=80=94=20latent=20evaluation=20break=20blocking?= =?UTF-8?q?=20the=20switch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pinned nix-openclaw module asserts that a runtime plugin selected in runtimePlugins is never disabled in config.plugins.entries. Since #9551 Part A (Drew order 2026-11-13) the gateway settings set copilot.enabled = false to hide its model-picker provider — so the system evaluation has failed on main ever since, and no switch could build. Found while building the 2026-11-15 switch (the fork-pin / provider-restore switch); gen 556 predates the break. Copilot's only live surface was the picker (its ACP harness is already excluded from acpx allowedAgents), so the fix keeps Drew's outcome — picker stays clean — by not packaging the plugin: remove "copilot" from runtimePlugins, keep the entries flag, and record at both sites that re-enabling means flipping the two together. Verified: nix eval of nixosConfigurations.amd toplevel now succeeds (it failed with the assertion on pristine main before this change). --- home/openclaw/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/openclaw/default.nix b/home/openclaw/default.nix index 1ae5c14bdf..f210cc8bf3 100644 --- a/home/openclaw/default.nix +++ b/home/openclaw/default.nix @@ -322,7 +322,17 @@ in "matrix" "signal" "codex" # native Codex app-server harness - "copilot" # GitHub Copilot agent runtime + # NOTE: no "copilot" entry here — since #9551 Part A (Drew + # order 2026-11-13) the gateway settings below set + # plugins.entries.copilot.enabled = false (its only live + # surface was the model picker; its ACP harness is already + # excluded from acpx allowedAgents). The pinned nix-openclaw + # module asserts a selected runtime plugin is never disabled + # in plugins.entries, so selecting it here made the whole + # system evaluation fail (latent break, found at the + # 2026-11-15 switch). The plugin stays unpackaged and the + # picker stays clean; re-enable by restoring this line AND + # flipping the entries flag below together. "opencode" # OpenCode Zen/Go provider "deepseek" # DeepSeek provider (plan routes are via the local proxies below) "meta" # Meta provider