Files
fusion/.changeset/FN-5220-explicit-duplicate-marker-guard.md
Fusion (runfusion.ai) 8f2d5e7e61 feat(FN-5220): guard explicit duplicate markers in triage and self-healing
Adds an explicit duplicate-marker guard (FN-5220) spanning core helper, dashboard API endpoint, triage short-circuit, and self-healing sweep to detect and handle duplicate task creation attempts; includes comprehensive test coverage across unit, API, and integration layers plus documentation.

Fusion-Task-Id: FN-5220
2026-05-20 14:28:45 -07:00

583 B

@runfusion/fusion
@runfusion/fusion
patch

Block explicit DUPLICATE: FN-NNNN redirect tasks from consuming planning cycles. The triage planning loop now short-circuits when the generated PROMPT.md is a one-line duplicate marker (bypassing the fn_review_spec APPROVE gate), a self-healing sweep resolves already-stuck duplicate-marker tasks in triage/todo, and the dashboard POST /api/tasks route surfaces a 409 duplicate_candidates with reason: "explicit-marker" when the description is exactly a duplicate redirect. Layered on top of FN-4829 / FN-4918 / FN-5152; fails open.