dee1c29744
The previous fix derived the highlight by full-state equality against library entries, which broke as soon as the working rig was edited — e.g. after learning a MIDI binding, the working midiMap no longer equalled the saved entry, so nothing was highlighted on restart. Revert to an id-based highlight (survives edits, since edits don't change which saved rig the session derives from) and additionally persist the current-rig id on every autosave, so the stored id can never drift from the autosaved graph — which was the original cause of the highlight/graph mismatch. Both app targets build; suite green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>