c424f3ec08
The architecture promises that session_manager, runtime_threads, and task_manager reject persisted state from a newer schema_version on load, so a downgraded binary fails loud instead of silently truncating or corrupting data. Existing tests covered: - session_manager::test_checkpoint_rejects_newer_schema - task_manager (newer task schema rejection) - runtime_threads::store_load_thread_rejects_newer_schema_version Adds the missing coverage for the other persistence paths: - session_manager::test_load_session_rejects_newer_schema - session_manager::test_load_offline_queue_rejects_newer_schema - runtime_threads::store_load_turn_rejects_newer_schema_version - runtime_threads::store_load_item_rejects_newer_schema_version Each writes a JSON file with schema_version = CURRENT + 1 (or 999), loads through the public API, and asserts the error message contains "newer than supported". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>