Context: What the Ordering Abstractions Roadmap Delivered
The completed ordering abstractions roadmap changed several design constraints that Phase 4b was planned against:
- Per-series
lane_order is the universal ordering mechanism. Spike-sorter electrode positions are now converted to SeriesLaneOverrideData.lane_order overrides at load time inside OpenGLWidget::loadSpikeSorterConfiguration. There is no longer a separate spike-sorter fallback path in the resolver.
- Resolver precedence (Phase D): explicit
lane_order → relational constraints → deterministic tie-break. The spike-sorter fallback level is gone.
- Signal wiring is already complete.
seriesLaneOverrideChanged and laneOverrideChanged are wired in OpenGLWidget::setState to set layout_response_dirty, clear the scene, and call update(). Task 6 below requires no additional wiring.
LaneOverrideData has no lane_order field. The ordering abstractions roadmap (Phase E) implemented relational constraints (StackableOrderingConstraintData) but did not add lane_order to LaneOverrideData. Given that the spike-sorter F2 approach routes through per-series lane_order, drag/drop should follow the same pattern: when a lane is dragged, update lane_order on all series that share the dragged lane_id to the new resolved rank. No new field in LaneOverrideData is needed.