Fix clickup_task_status not reaching tool ctx
The tool registry only forwarded clickup_task_id from args to ctx, so clickup_task_status was silently filtered out. Phase 2 detection in create_content never saw the original "outline approved" status. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>fix/customer-field-migration
parent
b4f1ddfced
commit
7344781e73
|
|
@ -162,6 +162,8 @@ class ToolRegistry:
|
|||
# Pass scheduler-injected metadata through ctx (not LLM-visible)
|
||||
if "clickup_task_id" in args:
|
||||
ctx["clickup_task_id"] = args.pop("clickup_task_id")
|
||||
if "clickup_task_status" in args:
|
||||
ctx["clickup_task_status"] = args.pop("clickup_task_status")
|
||||
args["ctx"] = ctx
|
||||
|
||||
# Filter args to only params the function accepts (plus **kwargs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue