- Added `type` filter to the GET feature endpoint
- Fixed code references count returning zero after an unchanged rescan
- Improved segment membership handling: corrected read counts, zeroed out stale segment‑environment pairs, and ensured new WarehouseConnection records are always inserted on creation