Adds a task reassignment sync helper to the core store, wires it into the system, and ships regression tests; includes a patch changeset for `@runfusion/fusion`. Fusion-Task-Id: FN-4132 Fusion-Task-Lineage: 80ec3c62-7c09-49dd-9e49-74b203e48bf4
332 B
332 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Recover agent/task reassignment sync from upstream PR #58 (author: HarryCordewener). TaskStore.updateTask now keeps agents.taskId aligned with task.assignedAgentId, clears stale checkout leases held by the outgoing agent, and protects against races where the outgoing agent has already moved on.