fix(events): register WriteScopeGrantedEvent in eventModule (#301 silent-deser trap)
The #301 escalation event shipped unregistered — it would silently fail to deserialize on replay, dropping the persisted write-scope grant and re-prompting the same path every session restart (breaks replay invariant). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -71,6 +71,7 @@ import com.correx.core.events.events.BuildPrerequisiteBootstrapAttemptedEvent
|
|||||||
import com.correx.core.events.events.WorkspaceVerificationObservedEvent
|
import com.correx.core.events.events.WorkspaceVerificationObservedEvent
|
||||||
import com.correx.core.events.events.PlanGroundingEvaluatedEvent
|
import com.correx.core.events.events.PlanGroundingEvaluatedEvent
|
||||||
import com.correx.core.events.events.OutsidePathAccessGrantedEvent
|
import com.correx.core.events.events.OutsidePathAccessGrantedEvent
|
||||||
|
import com.correx.core.events.events.WriteScopeGrantedEvent
|
||||||
import com.correx.core.events.events.WorkspaceStateObservedEvent
|
import com.correx.core.events.events.WorkspaceStateObservedEvent
|
||||||
import com.correx.core.events.events.RiskAssessedEvent
|
import com.correx.core.events.events.RiskAssessedEvent
|
||||||
import com.correx.core.events.events.SourceFetchedEvent
|
import com.correx.core.events.events.SourceFetchedEvent
|
||||||
@@ -168,6 +169,7 @@ val eventModule = SerializersModule {
|
|||||||
subclass(WorkspaceVerificationObservedEvent::class)
|
subclass(WorkspaceVerificationObservedEvent::class)
|
||||||
subclass(PlanGroundingEvaluatedEvent::class)
|
subclass(PlanGroundingEvaluatedEvent::class)
|
||||||
subclass(OutsidePathAccessGrantedEvent::class)
|
subclass(OutsidePathAccessGrantedEvent::class)
|
||||||
|
subclass(WriteScopeGrantedEvent::class)
|
||||||
subclass(RefinementIterationEvent::class)
|
subclass(RefinementIterationEvent::class)
|
||||||
subclass(RepoMapComputedEvent::class)
|
subclass(RepoMapComputedEvent::class)
|
||||||
subclass(WorkspaceStateObservedEvent::class)
|
subclass(WorkspaceStateObservedEvent::class)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
f8f9beb8-b1d4-40b5-8099-9f70eb84ac5b
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user