HF RL Explorer

Bug: Deleting a segment that is still referenced by flags silently succeeds

Bug: Deleting a segment that is still referenced by flags silently succeeds: a task in LegoFlow-SWE (Harbor dataset). When a segment is deleted through the DeleteSegment operation, the deletion succeeds even if the segment is actively used in flag rules or rollout rules. This leaves dangling…

The task

When a segment is deleted through the `DeleteSegment` operation, the deletion succeeds even if the segment is actively used in flag rules or rollout rules. This leaves dangling segment references in flag configurations, which can silently break flag evaluation logic.

Part of Lego-X/LegoFlow-SWE.