From 84297ab2dc15bdc532004bcd6048c4d7fb12431b Mon Sep 17 00:00:00 2001 From: Vellum Assistant Date: Mon, 23 Feb 2026 21:36:56 -0500 Subject: [PATCH] fix: keep Gmail distinct from Mail in APP_CANONICAL_MAP The canonical mapping ['gmail', 'mail'] incorrectly collapsed Gmail and Mail into the same canonical key. This caused taskExplicitlyRequestsCrossApp() to record only one app mention for tasks involving both Gmail and Mail, preventing the cross-app escape path from activating. Change the mapping to ['gmail', 'gmail'] so Gmail retains its own canonical identity, allowing cross-app workflows like "copy from Gmail into Mail" to be detected correctly. Co-Authored-By: Claude Opus 4.6 --- assistant/src/daemon/computer-use-session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assistant/src/daemon/computer-use-session.ts b/assistant/src/daemon/computer-use-session.ts index 24e8e665ed8..ac0318ff20c 100644 --- a/assistant/src/daemon/computer-use-session.ts +++ b/assistant/src/daemon/computer-use-session.ts @@ -366,7 +366,7 @@ export class ComputerUseSession { ['vellum assistant', 'vellum'], ['visual studio code', 'vscode'], ['iterm2', 'iterm'], - ['gmail', 'mail'], + ['gmail', 'gmail'], ]); /**