ICoreInterface is the vtable ABI contract between the already-loaded Plugin
and a freshly hot-reloaded Core. reloadConfig() was added mid-interface (after
getConfigJson), which shifted every later vtable slot — so the still-running
Plugin's calls to saveState/restoreState/getStateFormatVersion/onPluginEvent
dispatched to the wrong methods on the new Core. Symptom: state restore read a
garbage version (2303262719), threw basic_string::_M_create, and left the Core
uninitialized (onPluginEvent ignored, initialized=false).
Move reloadConfig() to the very end of the interface (append-only) so all
pre-existing slots keep their indices. Add a comment documenting the rule.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>