docs(loop-detection): fix config keys to match schema (#33182)

Merged via squash.

Prepared head SHA: 612ecc00d3
Co-authored-by: Mylszd <23611557+Mylszd@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Mylszd
2026-03-04 00:02:30 +08:00
committed by GitHub
parent ca307c3fdf
commit d89e1e40f9
3 changed files with 20 additions and 19 deletions

View File

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