gsxdsm
24e0c44b4a
FN-5731: require confirmation before archiving near-duplicate tasks
Stop silent near-duplicate auto-archive by routing duplicates through explicit user confirmation in API, engine, and dashboard flows.
- add new near-duplicate confirmation metadata/types and preserve duplicate task rows until confirmation
- update workflow routes and triage logic to return confirmation-required outcomes instead of immediate archive
- add TaskCard and TaskDetailModal UI/actions plus styling and hook updates for confirming or rejecting duplicate handling
- expand dashboard and engine tests and task-management docs to cover the new confirmation path
Files changed:
docs/task-management.md | 14 ++++-
packages/core/src/types.ts | 4 ++
packages/dashboard/app/api/legacy.ts | 1 +
packages/dashboard/app/components/TaskCard.css | 59 ++++++++++++++++++
packages/dashboard/app/components/TaskCard.tsx | 46 +++++++++++++-
packages/dashboard/app/components/TaskDetailModal.css | 34 +++++++++++
packages/dashboard/app/components/TaskDetailModal.tsx | 71 +++++++++++++++++++++-
packages/dashboard/app/components/__tests__/TaskCard.test.tsx | 71 ++++++++++++++++++++++
packages/dashboard/app/components/__tests__/TaskDetailModal.rendering.test.tsx | 68 +++++++++++++++++++++
packages/dashboard/app/hooks/useTasks.ts | 2 +-
packages/dashboard/src/__tests__/routes-tasks-near-duplicate.test.ts | 45 ++++++++++++++
packages/dashboard/src/routes/register-task-workflow-routes.ts | 9 ++-
packages/engine/src/__tests__/reliability-interactions/near-duplicate-intake.test.ts | 16 +++--
packages/engine/src/triage.ts | 19 +++---
14 files changed, 433 insertions(+), 26 deletions(-)
Fusion-Task-Id: FN-5731
Fusion-Task-Lineage: fa004129-7bce-4457-b8c3-ceb9fb953319
2026-05-30 15:52:46 -07:00
..
2026-05-30 14:18:15 -07:00
2026-05-17 04:20:00 -07:00
2026-05-12 07:47:10 -07:00
2026-04-08 10:39:38 -07:00
2026-04-12 17:55:07 -07:00
2026-05-21 20:06:48 -07:00
2026-05-26 21:57:31 -07:00
2026-05-20 03:19:44 -07:00
2026-04-08 16:48:35 -07:00
2026-05-30 14:18:15 -07:00
2026-04-28 14:30:38 -07:00
2026-05-15 22:24:12 -07:00
2026-05-21 18:15:26 -07:00
2026-05-13 15:05:05 -07:00
2026-04-23 23:02:36 -07:00
2026-05-10 23:36:10 -07:00
2026-05-27 17:38:04 +02:00
2026-05-20 20:27:11 -07:00
2026-05-15 15:19:56 -07:00
2026-05-23 20:44:01 -07:00
2026-05-17 11:33:56 -07:00
2026-05-24 00:11:08 -07:00
2026-04-23 23:02:35 -07:00
2026-04-20 12:59:58 -07:00
2026-05-21 18:15:26 -07:00
2026-05-20 03:19:44 -07:00
2026-05-03 14:10:11 -07:00
2026-05-03 07:47:45 -07:00
2026-05-17 11:33:56 -07:00
2026-05-17 11:33:56 -07:00
2026-04-12 07:00:49 -07:00
2026-05-20 03:19:44 -07:00
2026-04-23 23:02:36 -07:00
2026-04-23 23:02:36 -07:00
2026-05-20 04:12:40 -07:00
2026-03-26 00:10:53 -04:00
2026-05-17 11:33:56 -07:00
2026-05-16 09:21:06 -07:00
2026-04-24 23:16:29 -07:00
2026-05-21 16:09:53 -07:00
2026-04-25 18:22:37 -07:00
2026-04-28 14:25:55 -07:00
2026-05-23 15:57:48 -07:00
2026-05-21 16:09:53 -07:00
2026-05-22 13:12:36 -07:00
2026-05-22 14:07:15 -07:00
2026-05-26 17:19:34 -07:00
2026-05-05 07:44:56 -07:00
2026-05-20 03:19:44 -07:00
2026-05-02 08:05:33 -07:00
2026-05-12 17:04:33 -07:00
2026-04-09 13:01:19 -07:00
2026-05-21 16:09:53 -07:00
2026-04-24 09:38:16 -07:00
2026-05-23 02:06:11 -07:00
2026-05-05 12:14:20 -07:00
2026-05-06 02:14:05 -07:00
2026-04-16 10:04:44 -07:00
2026-05-21 18:15:26 -07:00
2026-04-23 23:02:35 -07:00
2026-04-15 19:53:22 -07:00
2026-04-23 23:02:36 -07:00
2026-04-23 23:02:36 -07:00
2026-04-14 09:29:08 -07:00
2026-04-24 08:55:02 -07:00
2026-05-21 16:09:53 -07:00
2026-05-29 22:36:45 -07:00
2026-04-10 02:59:38 -07:00
2026-05-19 08:13:07 -07:00
2026-05-21 18:15:26 -07:00
2026-05-01 13:08:07 -07:00
2026-04-13 18:21:31 -07:00
2026-04-22 01:31:40 -07:00
2026-04-20 10:16:13 -07:00
2026-05-08 08:37:26 -07:00
2026-05-07 23:21:05 -07:00
2026-05-29 21:32:09 -07:00
2026-04-29 17:23:22 -07:00
2026-05-30 15:52:46 -07:00
2026-05-06 00:05:55 -07:00
2026-04-23 23:02:35 -07:00
2026-05-17 10:37:54 -07:00
2026-05-23 00:03:22 -07:00
2026-05-17 11:33:56 -07:00
2026-04-27 01:40:07 -07:00
2026-04-23 23:02:36 -07:00
2026-05-22 17:24:38 -07:00
2026-05-19 01:59:20 -07:00
2026-04-23 23:02:36 -07:00
2026-04-23 23:02:36 -07:00
2026-04-23 23:02:36 -07:00
2026-05-15 23:39:43 -07:00
2026-05-13 12:26:07 -07:00