From 0edecdb394e5fd0ecb7e62b07befa03559cd2ae7 Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Fri, 17 Apr 2026 21:04:36 -0700 Subject: [PATCH] fix(legacy-cleanup): add web-researcher to stale agent cleanup list Without this, upgrades from pre-rename installs that contain the old `web-researcher` agent artifact leave the stale file alongside the new `ce-web-researcher`, producing duplicate entries on Codex/OpenCode/etc. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/utils/legacy-cleanup.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/legacy-cleanup.ts b/src/utils/legacy-cleanup.ts index 801f851f..1603a3a7 100644 --- a/src/utils/legacy-cleanup.ts +++ b/src/utils/legacy-cleanup.ts @@ -118,6 +118,7 @@ const STALE_AGENT_NAMES = [ "security-sentinel", "spec-flow-analyzer", "testing-reviewer", + "web-researcher", ] /** Old prompt wrapper names (we no longer generate workflow prompts). */