From 9b9cc44a4e82f352fd74888f66161ea30b63caae Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 22 Feb 2026 10:40:49 +0100 Subject: [PATCH] fix: finalize modelByChannel validator landing (#23412) (thanks @ProspectOre) --- CHANGELOG.md | 1 + src/security/temp-path-guard.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 824e5a8d1..8783efccf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,6 +82,7 @@ Docs: https://docs.openclaw.ai - Security/Browser relay: harden extension relay auth token handling for `/extension` and `/cdp` pathways. - Cron: persist `delivered` state in cron job records so delivery failures remain visible in status and logs. (#19174) Thanks @simonemacario. - Config/Doctor: only repair the OAuth credentials directory when affected channels are configured, avoiding fresh-install noise. +- Config/Channels: whitelist `channels.modelByChannel` in config validation and exclude it from plugin auto-enable channel detection so model overrides no longer trigger `unknown channel id` validation errors or bogus `modelByChannel` plugin enables. (#23412) Thanks @ProspectOre. - Usage/Pricing: correct MiniMax M2.5 pricing defaults to fix inflated cost reporting. (#22755) Thanks @miloudbelarebia. - Gateway/Daemon: verify gateway health after daemon restart. - Agents/UI text: stop rewriting normal assistant billing/payment language outside explicit error contexts. (#17834) Thanks @niceysam. diff --git a/src/security/temp-path-guard.test.ts b/src/security/temp-path-guard.test.ts index 2a0520bd9..46c227743 100644 --- a/src/security/temp-path-guard.test.ts +++ b/src/security/temp-path-guard.test.ts @@ -6,6 +6,7 @@ const DYNAMIC_TMPDIR_JOIN_RE = /path\.join\(os\.tmpdir\(\),\s*`[^`]*\$\{[^`]*`/; const RUNTIME_ROOTS = ["src", "extensions"]; const SKIP_PATTERNS = [ /\.test\.tsx?$/, + /\.test-helpers\.tsx?$/, /\.test-utils\.tsx?$/, /\.e2e\.tsx?$/, /\.d\.ts$/,