- create missing device records safely with insert-ignore
- seed default dance data transactionally to avoid duplicate rows
- restore real default-agent reset behavior with MAC validation
- bind devices inside a transaction after ensuring the device exists