test: cover auto-reply command gating

This commit is contained in:
Peter Steinberger
2026-01-11 02:27:07 +01:00
parent e0bf86f06c
commit 2d74119a08
10 changed files with 104 additions and 32 deletions

View File

@@ -103,7 +103,9 @@ function isClawdbotGatewayTaskName(name: string): boolean {
const normalized = name.trim().toLowerCase();
if (!normalized) return false;
const defaultName = resolveGatewayWindowsTaskName().toLowerCase();
return normalized === defaultName || normalized.startsWith("clawdbot gateway");
return (
normalized === defaultName || normalized.startsWith("clawdbot gateway")
);
}
function tryExtractPlistLabel(contents: string): string | null {