From be6a3d4caffff11f1ef14e09614055860183a03b Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 18 Jan 2026 16:32:56 +0000 Subject: [PATCH] fix: unblock build and slack monitor --- src/agents/system-prompt.test.ts | 3 +++ src/slack/monitor/provider.ts | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/agents/system-prompt.test.ts b/src/agents/system-prompt.test.ts index 26b11a0b1..8c6fbc174 100644 --- a/src/agents/system-prompt.test.ts +++ b/src/agents/system-prompt.test.ts @@ -97,6 +97,9 @@ describe("buildAgentSystemPrompt", () => { "Use `Read` to load the SKILL.md at the location listed for that skill.", ); expect(prompt).toContain("Clawdbot docs: /tmp/clawd/docs"); + expect(prompt).toContain( + "For Clawdbot behavior, commands, config, or architecture: consult local docs first.", + ); }); it("includes docs guidance when docsPath is provided", () => { diff --git a/src/slack/monitor/provider.ts b/src/slack/monitor/provider.ts index 1bca0e124..5952d2fc7 100644 --- a/src/slack/monitor/provider.ts +++ b/src/slack/monitor/provider.ts @@ -26,8 +26,7 @@ import { normalizeAllowList } from "./allow-list.js"; import type { MonitorSlackOpts } from "./types.js"; -const { App, HTTPReceiver } = SlackBolt; - +const { App, HTTPReceiver } = SlackBolt as typeof import("@slack/bolt"); function parseApiAppIdFromAppToken(raw?: string) { const token = raw?.trim(); if (!token) return undefined;