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;