From 43b8106f554bf2a86db7f6f7828a37877bd8a3e3 Mon Sep 17 00:00:00 2001 From: Chaim Date: Tue, 14 Apr 2026 16:08:07 +0000 Subject: [PATCH] Fix wakeup API source/triggerDetail enum values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Paperclip expects source ∈ {timer, assignment, on_demand, automation} and triggerDetail ∈ {manual, ping, callback, system}. Co-Authored-By: Claude Opus 4.6 (1M context) --- web/paperclip_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/paperclip_client.py b/web/paperclip_client.py index 85d44a8..afbb4de 100644 --- a/web/paperclip_client.py +++ b/web/paperclip_client.py @@ -313,8 +313,8 @@ async def wake_ceo_agent(issue_id: str, case_number: str) -> dict: url = f"{PAPERCLIP_API_URL}/api/agents/{CEO_AGENT_ID}/wakeup" payload = { - "source": "web-ui", - "triggerDetail": "user", + "source": "on_demand", + "triggerDetail": "manual", "reason": f"start_workflow_{case_number}", "payload": { "issueId": issue_id,