Files
fusion/packages
Fusion Agent 97fcc5a7ad FN-203: support safe workspace task reset
Enable reset to cancel and clean up workspace tasks without deleting the coordinator directory.

- Plan per-repository reset targets using workspace layout and ownership checks
- Reserve, cancel, and remove workspace worktrees safely while clearing leases and land intents
- Document and test workspace reset behavior and publication cleanup

Files changed:
 .changeset/fn-203-workspace-task-reset.md          |   7 +
 docs/dashboard-guide.md                            |   6 +-
 docs/workspaces.md                                 |   6 +
 .../postgres/task-reset-publication.pg.test.ts     |  41 +++
 .../core/src/__tests__/task-reset-targets.test.ts  | 134 +++++++++
 packages/core/src/index.gate.ts                    |   2 +
 packages/core/src/index.ts                         |   2 +
 packages/core/src/task-store/reset-lifecycle.ts    |  16 ++
 packages/core/src/tasks/task-reset-targets.ts      | 103 +++++++
 .../task-reset-workspace-lifecycle.test.ts         | 306 +++++++++++++++++++++
 .../src/routes/register-task-workflow-routes.ts    | 200 +++++++++-----
 11 files changed, 753 insertions(+), 70 deletions(-)

Fusion-Task-Id: FN-203

Fusion-Task-Lineage: ac2406cb-6199-4c6b-82aa-d4790a677e6b

Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-27 22:26:42 +00:00
..
2026-08-26 20:06:31 -07:00
2026-08-26 20:06:31 -07:00
2026-08-26 20:06:31 -07:00
2026-08-26 20:06:31 -07:00