Files
viettranx e03a11031f fix(team): propagate origin_sender_id for deferred task dispatches
When tasks are dispatched via ticker (deferred/unblocked), the context
has no real sender — only synthetic "ticker:system". This caused
workers to fail file writes in group chats with "permission denied:
system context cannot write files".

- team_tool_dispatch.go: fallback to task.Metadata["origin_sender_id"]
  when context sender is empty or synthetic
- task_ticker.go: propagate origin_sender_id and origin_role from task
  metadata when building ticker dispatch message

Fixes #915 deferred dispatch flow.
2026-04-18 15:53:40 +07:00
..