test(discord): align bound-thread target kind

This commit is contained in:
Shadow 2026-03-03 10:07:08 -06:00
parent 3b3738e41e
commit 3ee8528b17
No known key found for this signature in database

View File

@ -85,6 +85,7 @@ describe("preflightDiscordMessage", () => {
it("drops bound-thread bot system messages to prevent ACP self-loop", async () => {
const threadBinding = createThreadBinding({
targetKind: "session",
targetSessionKey: "agent:main:acp:discord-thread-1",
});
const threadId = "thread-system-1";
@ -171,6 +172,7 @@ describe("preflightDiscordMessage", () => {
it("keeps bound-thread regular bot messages flowing when allowBots=true", async () => {
const threadBinding = createThreadBinding({
targetKind: "session",
targetSessionKey: "agent:main:acp:discord-thread-1",
});
const threadId = "thread-bot-regular-1";