Fusion Agent
d16c8d650b
FN-204: add task stage restart controls
Add an operator restart action that reruns a task from its current workflow stage.
- Add core stage-restart planning and task lifecycle API support.
- Expose restart controls across board, list, detail, and grouped task views.
- Add localized labels, documentation, and route/core regression coverage.
Files changed:
.changeset/fn-204-restart-stage.md | 7 +
docs/dashboard-guide.md | 8 +-
.../core/src/__tests__/task-column-restart.test.ts | 112 +++++++
packages/core/src/index.gate.ts | 10 +
packages/core/src/index.ts | 10 +
packages/core/src/tasks/task-column-restart.ts | 176 +++++++++++
packages/dashboard/app/App.tsx | 7 +-
packages/dashboard/app/api/legacy.ts | 1 +
.../dashboard/app/api/tasks/tasks-lifecycle.ts | 8 +
packages/dashboard/app/components/AppModals.tsx | 2 +
packages/dashboard/app/components/Board.tsx | 10 +-
packages/dashboard/app/components/Column.tsx | 5 +-
packages/dashboard/app/components/ListView.tsx | 22 +-
packages/dashboard/app/components/TaskCard.tsx | 24 ++
.../dashboard/app/components/TaskContextMenu.tsx | 13 +
.../dashboard/app/components/TaskDetailModal.tsx | 25 ++
.../dashboard/app/components/WorktreeGroup.tsx | 8 +-
.../__tests__/RestartStage.host-inventory.test.tsx | 20 ++
.../components/__tests__/TaskContextMenu.test.tsx | 11 +
.../app/components/dashboard/MainContent.tsx | 11 +-
.../dashboard/app/components/dashboard/types.ts | 1 +
.../app/components/useRightDockController.tsx | 2 +
packages/dashboard/app/hooks/useTasks.ts | 6 +-
.../app/task-modal-touch-resize-e2e-fixture.tsx | 4 +-
.../src/__tests__/task-restart-stage-route.test.ts | 322 +++++++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 21 ++
.../dashboard/src/routes/task-restart-stage.ts | 166 +++++++++++
packages/engine/src/index.ts | 1 +
packages/i18n/locales/en/app.json | 6 +
packages/i18n/locales/es/app.json | 6 +
packages/i18n/locales/fr/app.json | 6 +
packages/i18n/locales/ko/app.json | 6 +
packages/i18n/locales/pt-BR/app.json | 6 +
packages/i18n/locales/zh-CN/app.json | 6 +
packages/i18n/locales/zh-TW/app.json | 6 +
packages/i18n/src/resources.d.ts | 6 +
36 files changed, 1044 insertions(+), 17 deletions(-)
Fusion-Task-Id: FN-204
Fusion-Task-Lineage: dd8a4493-0db8-41c3-8fe3-cf8ff30e59d5
Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-27 23:33:27 +00:00
..
2026-08-27 14:36:04 -07:00
2026-08-26 20:06:31 -07:00
2026-08-27 23:33:27 +00:00
2026-08-27 23:33:27 +00:00
2026-08-27 14:36:04 -07:00
2026-08-26 20:06:31 -07:00
2026-08-27 23:33:27 +00:00
2026-08-27 23:33:27 +00:00
2026-08-26 20:06:31 -07:00
2026-08-26 20:06:31 -07:00
2026-07-27 19:40:08 -07:00
2026-08-26 20:06:31 -07:00