refactor: decomposition WIP (orchestrator/server/execution-plan)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DhFXmKe4WisSSPf9LrmmTg
This commit is contained in:
@@ -542,6 +542,10 @@ class ServerModule(
|
||||
val planAlreadyLocked = eventStore.read(sessionId)
|
||||
.any { it.payload is ExecutionPlanLockedEvent }
|
||||
if (planAlreadyLocked) return
|
||||
// completeWorkflow evicts artifactContentCache on the planning graph's completion (#54),
|
||||
// so the execution_plan slot lockAndRun reads is gone by now. Rebuild it from the durable
|
||||
// ArtifactContentStoredEvent before handing off. Rehydrate-safe and idempotent.
|
||||
orchestrator.rehydrate(sessionId)
|
||||
freestyleDriver?.lockAndRun(sessionId)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user