# task-005 status: done ## goal Register SteeringNoteAddedEvent in the eventModule polymorphic block via subclass(SteeringNoteAddedEvent::class) to prevent silent runtime deserialization failure. ## target artifact core/events/src/main/kotlin/com/correx/core/events/serialization/Serialization.kt ## execution steps - Add import for `SteeringNoteAddedEvent` in alphabetical order among other event imports - Add `subclass(SteeringNoteAddedEvent::class)` to the `eventModule` polymorphic block, placed after `SessionFailedEvent` and before `StageStartedEvent` - Run `./gradlew :core:events:compileKotlin --rerun-tasks` to verify compilation - Run `./gradlew :core:events:test --rerun-tasks` to verify existing tests still pass - Run `./gradlew :core:events:detekt` to verify no detekt errors introduced ## changed artifacts - `core/events/src/main/kotlin/com/correx/core/events/serialization/Serialization.kt` — added import and subclass registration for `SteeringNoteAddedEvent` ## blockers - none ## notes - No existing serialization round-trip test for `SteeringNoteAddedEvent` exists in the codebase (verified via grep in both `core/events/src/test` and `testing/`). The registration prevents silent runtime deserialization failure when the event is encountered in the event store, which is the primary purpose of this task. - All pre-existing detekt warnings (`NewLineAtEndOfFile`) are unrelated to this change.