Removed dangerous conditional version logic that could mask bugs:
- serialiseState(): Now uses state.version without fallback, as
SerializedLayoutState must always have a version
- toSerializedLayoutState(): Always uses CURRENT_LAYOUT_VERSION since
this function creates new serialized state
This makes version handling explicit:
- New serialization: Always use CURRENT_LAYOUT_VERSION
- Existing serialized data: Use the version it already has
- No fallbacks: Missing version indicates a programming error
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>