From 050c22668a458eba48462cdf8adfea7aceeac51d Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 14 Mar 2026 23:19:20 -0700 Subject: [PATCH] ACP: strengthen allowlist regression coverage --- src/agents/acp-spawn.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agents/acp-spawn.test.ts b/src/agents/acp-spawn.test.ts index 758aae8a164..e948d2c37de 100644 --- a/src/agents/acp-spawn.test.ts +++ b/src/agents/acp-spawn.test.ts @@ -1148,6 +1148,7 @@ describe("spawnAcpDirect", () => { status: "forbidden", error: "agentId is not allowed for sessions_spawn (allowed: research)", }); + expect(hoisted.callGatewayMock).not.toHaveBeenCalled(); expect(hoisted.initializeSessionMock).not.toHaveBeenCalled(); }); });