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] <message>" with instruction to acknowledge and begin working. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
65f84f9552
commit
10f6dbbd19
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue