From 10f6dbbd192b78bb91230ccaf4c745c99c30c702 Mon Sep 17 00:00:00 2001 From: Mikkel Georgsen Date: Mon, 30 Mar 2026 12:41:24 +0000 Subject: [PATCH] fix: frame inbox messages as tasks with instruction to acknowledge Claude was just echoing raw text. Now messages include framing: "[MCP Bridge Task from claude.ai] " with instruction to acknowledge and begin working. Co-Authored-By: Claude Opus 4.6 (1M context) --- mcp_bridge/telegram_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp_bridge/telegram_bot.py b/mcp_bridge/telegram_bot.py index fdea47a..edc0266 100644 --- a/mcp_bridge/telegram_bot.py +++ b/mcp_bridge/telegram_bot.py @@ -263,7 +263,7 @@ class BridgeBot: inbox_path = Path.home() / "homelab" / "telegram" / "inbox" try: with open(inbox_path, "a") as f: - f.write(f"[{attribution}] {text}\n") + f.write(f"[MCP Bridge Task from {attribution}] {text}\nAcknowledge this task and begin working on it. Respond in the group chat.\n") logger.info(f"Wrote to homelab inbox: {text[:50]}...") except Exception as e: logger.error(f"Failed to write to homelab inbox: {e}")